robocar-protobuf/go/events/events.pb.go

423 lines
14 KiB
Go
Raw Normal View History

2019-12-31 14:43:01 +00:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: events/events.proto
package robocar_events
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type TypeObject int32
const (
TypeObject_ANY TypeObject = 0
TypeObject_CAR TypeObject = 1
TypeObject_BUMP TypeObject = 2
TypeObject_PLOT TypeObject = 3
)
var TypeObject_name = map[int32]string{
0: "ANY",
1: "CAR",
2: "BUMP",
3: "PLOT",
}
var TypeObject_value = map[string]int32{
"ANY": 0,
"CAR": 1,
"BUMP": 2,
"PLOT": 3,
}
func (x TypeObject) String() string {
return proto.EnumName(TypeObject_name, int32(x))
}
func (TypeObject) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_8ec31f2d2a3db598, []int{0}
}
type FrameRef struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FrameRef) Reset() { *m = FrameRef{} }
func (m *FrameRef) String() string { return proto.CompactTextString(m) }
func (*FrameRef) ProtoMessage() {}
func (*FrameRef) Descriptor() ([]byte, []int) {
return fileDescriptor_8ec31f2d2a3db598, []int{0}
}
func (m *FrameRef) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FrameRef.Unmarshal(m, b)
}
func (m *FrameRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FrameRef.Marshal(b, m, deterministic)
}
func (m *FrameRef) XXX_Merge(src proto.Message) {
xxx_messageInfo_FrameRef.Merge(m, src)
}
func (m *FrameRef) XXX_Size() int {
return xxx_messageInfo_FrameRef.Size(m)
}
func (m *FrameRef) XXX_DiscardUnknown() {
xxx_messageInfo_FrameRef.DiscardUnknown(m)
}
var xxx_messageInfo_FrameRef proto.InternalMessageInfo
func (m *FrameRef) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *FrameRef) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type FrameMessage struct {
Id *FrameRef `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Frame []byte `protobuf:"bytes,2,opt,name=frame,proto3" json:"frame,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FrameMessage) Reset() { *m = FrameMessage{} }
func (m *FrameMessage) String() string { return proto.CompactTextString(m) }
func (*FrameMessage) ProtoMessage() {}
func (*FrameMessage) Descriptor() ([]byte, []int) {
return fileDescriptor_8ec31f2d2a3db598, []int{1}
}
func (m *FrameMessage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FrameMessage.Unmarshal(m, b)
}
func (m *FrameMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FrameMessage.Marshal(b, m, deterministic)
}
func (m *FrameMessage) XXX_Merge(src proto.Message) {
xxx_messageInfo_FrameMessage.Merge(m, src)
}
func (m *FrameMessage) XXX_Size() int {
return xxx_messageInfo_FrameMessage.Size(m)
}
func (m *FrameMessage) XXX_DiscardUnknown() {
xxx_messageInfo_FrameMessage.DiscardUnknown(m)
}
var xxx_messageInfo_FrameMessage proto.InternalMessageInfo
func (m *FrameMessage) GetId() *FrameRef {
if m != nil {
return m.Id
}
return nil
}
func (m *FrameMessage) GetFrame() []byte {
if m != nil {
return m.Frame
}
return nil
}
type SteeringMessage struct {
Steering float32 `protobuf:"fixed32,1,opt,name=steering,proto3" json:"steering,omitempty"`
Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
FrameRef *FrameRef `protobuf:"bytes,3,opt,name=frame_ref,json=frameRef,proto3" json:"frame_ref,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SteeringMessage) Reset() { *m = SteeringMessage{} }
func (m *SteeringMessage) String() string { return proto.CompactTextString(m) }
func (*SteeringMessage) ProtoMessage() {}
func (*SteeringMessage) Descriptor() ([]byte, []int) {
return fileDescriptor_8ec31f2d2a3db598, []int{2}
}
func (m *SteeringMessage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SteeringMessage.Unmarshal(m, b)
}
func (m *SteeringMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SteeringMessage.Marshal(b, m, deterministic)
}
func (m *SteeringMessage) XXX_Merge(src proto.Message) {
xxx_messageInfo_SteeringMessage.Merge(m, src)
}
func (m *SteeringMessage) XXX_Size() int {
return xxx_messageInfo_SteeringMessage.Size(m)
}
func (m *SteeringMessage) XXX_DiscardUnknown() {
xxx_messageInfo_SteeringMessage.DiscardUnknown(m)
}
var xxx_messageInfo_SteeringMessage proto.InternalMessageInfo
func (m *SteeringMessage) GetSteering() float32 {
if m != nil {
return m.Steering
}
return 0
}
func (m *SteeringMessage) GetConfidence() float32 {
if m != nil {
return m.Confidence
}
return 0
}
func (m *SteeringMessage) GetFrameRef() *FrameRef {
if m != nil {
return m.FrameRef
}
return nil
}
type ThrottleMessage struct {
Throttle float32 `protobuf:"fixed32,1,opt,name=throttle,proto3" json:"throttle,omitempty"`
Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
FrameRef *FrameRef `protobuf:"bytes,3,opt,name=frame_ref,json=frameRef,proto3" json:"frame_ref,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ThrottleMessage) Reset() { *m = ThrottleMessage{} }
func (m *ThrottleMessage) String() string { return proto.CompactTextString(m) }
func (*ThrottleMessage) ProtoMessage() {}
func (*ThrottleMessage) Descriptor() ([]byte, []int) {
return fileDescriptor_8ec31f2d2a3db598, []int{3}
}
func (m *ThrottleMessage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ThrottleMessage.Unmarshal(m, b)
}
func (m *ThrottleMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ThrottleMessage.Marshal(b, m, deterministic)
}
func (m *ThrottleMessage) XXX_Merge(src proto.Message) {
xxx_messageInfo_ThrottleMessage.Merge(m, src)
}
func (m *ThrottleMessage) XXX_Size() int {
return xxx_messageInfo_ThrottleMessage.Size(m)
}
func (m *ThrottleMessage) XXX_DiscardUnknown() {
xxx_messageInfo_ThrottleMessage.DiscardUnknown(m)
}
var xxx_messageInfo_ThrottleMessage proto.InternalMessageInfo
func (m *ThrottleMessage) GetThrottle() float32 {
if m != nil {
return m.Throttle
}
return 0
}
func (m *ThrottleMessage) GetConfidence() float32 {
if m != nil {
return m.Confidence
}
return 0
}
func (m *ThrottleMessage) GetFrameRef() *FrameRef {
if m != nil {
return m.FrameRef
}
return nil
}
type ObjectsMessage struct {
Objects []*Object `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
FrameRef *FrameRef `protobuf:"bytes,2,opt,name=frame_ref,json=frameRef,proto3" json:"frame_ref,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ObjectsMessage) Reset() { *m = ObjectsMessage{} }
func (m *ObjectsMessage) String() string { return proto.CompactTextString(m) }
func (*ObjectsMessage) ProtoMessage() {}
func (*ObjectsMessage) Descriptor() ([]byte, []int) {
return fileDescriptor_8ec31f2d2a3db598, []int{4}
}
func (m *ObjectsMessage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ObjectsMessage.Unmarshal(m, b)
}
func (m *ObjectsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ObjectsMessage.Marshal(b, m, deterministic)
}
func (m *ObjectsMessage) XXX_Merge(src proto.Message) {
xxx_messageInfo_ObjectsMessage.Merge(m, src)
}
func (m *ObjectsMessage) XXX_Size() int {
return xxx_messageInfo_ObjectsMessage.Size(m)
}
func (m *ObjectsMessage) XXX_DiscardUnknown() {
xxx_messageInfo_ObjectsMessage.DiscardUnknown(m)
}
var xxx_messageInfo_ObjectsMessage proto.InternalMessageInfo
func (m *ObjectsMessage) GetObjects() []*Object {
if m != nil {
return m.Objects
}
return nil
}
func (m *ObjectsMessage) GetFrameRef() *FrameRef {
if m != nil {
return m.FrameRef
}
return nil
}
type Object struct {
Type TypeObject `protobuf:"varint,1,opt,name=type,proto3,enum=robocar.events.TypeObject" json:"type,omitempty"`
LLeft int32 `protobuf:"varint,2,opt,name=lLeft,proto3" json:"lLeft,omitempty"`
Up int32 `protobuf:"varint,3,opt,name=up,proto3" json:"up,omitempty"`
Right int32 `protobuf:"varint,4,opt,name=right,proto3" json:"right,omitempty"`
Bottom int32 `protobuf:"varint,5,opt,name=bottom,proto3" json:"bottom,omitempty"`
Confidence float32 `protobuf:"fixed32,6,opt,name=confidence,proto3" json:"confidence,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Object) Reset() { *m = Object{} }
func (m *Object) String() string { return proto.CompactTextString(m) }
func (*Object) ProtoMessage() {}
func (*Object) Descriptor() ([]byte, []int) {
return fileDescriptor_8ec31f2d2a3db598, []int{5}
}
func (m *Object) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Object.Unmarshal(m, b)
}
func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Object.Marshal(b, m, deterministic)
}
func (m *Object) XXX_Merge(src proto.Message) {
xxx_messageInfo_Object.Merge(m, src)
}
func (m *Object) XXX_Size() int {
return xxx_messageInfo_Object.Size(m)
}
func (m *Object) XXX_DiscardUnknown() {
xxx_messageInfo_Object.DiscardUnknown(m)
}
var xxx_messageInfo_Object proto.InternalMessageInfo
func (m *Object) GetType() TypeObject {
if m != nil {
return m.Type
}
return TypeObject_ANY
}
func (m *Object) GetLLeft() int32 {
if m != nil {
return m.LLeft
}
return 0
}
func (m *Object) GetUp() int32 {
if m != nil {
return m.Up
}
return 0
}
func (m *Object) GetRight() int32 {
if m != nil {
return m.Right
}
return 0
}
func (m *Object) GetBottom() int32 {
if m != nil {
return m.Bottom
}
return 0
}
func (m *Object) GetConfidence() float32 {
if m != nil {
return m.Confidence
}
return 0
}
func init() {
proto.RegisterEnum("robocar.events.TypeObject", TypeObject_name, TypeObject_value)
proto.RegisterType((*FrameRef)(nil), "robocar.events.FrameRef")
proto.RegisterType((*FrameMessage)(nil), "robocar.events.FrameMessage")
proto.RegisterType((*SteeringMessage)(nil), "robocar.events.SteeringMessage")
proto.RegisterType((*ThrottleMessage)(nil), "robocar.events.ThrottleMessage")
proto.RegisterType((*ObjectsMessage)(nil), "robocar.events.ObjectsMessage")
proto.RegisterType((*Object)(nil), "robocar.events.Object")
}
func init() { proto.RegisterFile("events/events.proto", fileDescriptor_8ec31f2d2a3db598) }
var fileDescriptor_8ec31f2d2a3db598 = []byte{
// 377 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x53, 0x4d, 0x6f, 0xa3, 0x30,
0x10, 0x5d, 0xcc, 0x47, 0xc8, 0x24, 0x62, 0x91, 0x77, 0x15, 0xa1, 0x1c, 0x56, 0x51, 0x4e, 0xd1,
0x1e, 0xd8, 0x15, 0xab, 0xfd, 0x01, 0x69, 0xa5, 0x9e, 0xf2, 0x25, 0x37, 0x3d,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