forked from RoboCup-SSL/ssl-game-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathssl_game_controller_auto_ref.pb.go
410 lines (356 loc) · 16.1 KB
/
ssl_game_controller_auto_ref.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: ssl_game_controller_auto_ref.proto
package refproto
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
// AutoRefRegistration is the first message that a client must send to the controller to identify itself
type AutoRefRegistration struct {
// identifier is a unique name of the client
Identifier *string `protobuf:"bytes,1,req,name=identifier" json:"identifier,omitempty"`
// signature can optionally be specified to enable secure communication
Signature *Signature `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AutoRefRegistration) Reset() { *m = AutoRefRegistration{} }
func (m *AutoRefRegistration) String() string { return proto.CompactTextString(m) }
func (*AutoRefRegistration) ProtoMessage() {}
func (*AutoRefRegistration) Descriptor() ([]byte, []int) {
return fileDescriptor_2fbb3ba3bab9727c, []int{0}
}
func (m *AutoRefRegistration) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AutoRefRegistration.Unmarshal(m, b)
}
func (m *AutoRefRegistration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AutoRefRegistration.Marshal(b, m, deterministic)
}
func (m *AutoRefRegistration) XXX_Merge(src proto.Message) {
xxx_messageInfo_AutoRefRegistration.Merge(m, src)
}
func (m *AutoRefRegistration) XXX_Size() int {
return xxx_messageInfo_AutoRefRegistration.Size(m)
}
func (m *AutoRefRegistration) XXX_DiscardUnknown() {
xxx_messageInfo_AutoRefRegistration.DiscardUnknown(m)
}
var xxx_messageInfo_AutoRefRegistration proto.InternalMessageInfo
func (m *AutoRefRegistration) GetIdentifier() string {
if m != nil && m.Identifier != nil {
return *m.Identifier
}
return ""
}
func (m *AutoRefRegistration) GetSignature() *Signature {
if m != nil {
return m.Signature
}
return nil
}
// AutoRefToController is the wrapper message for all subsequent messages from the autoRef to the controller
type AutoRefToController struct {
// signature can optionally be specified to enable secure communication
Signature *Signature `protobuf:"bytes,1,opt,name=signature" json:"signature,omitempty"`
// game_event is an optional event that the autoRef detected during the game
GameEvent *GameEvent `protobuf:"bytes,2,opt,name=game_event,json=gameEvent" json:"game_event,omitempty"`
// auto_ref_message is an optional message that describes the current state or situation of the game/autoRef
// it is not and never was processed by the GC and is this marked deprecated
AutoRefMessage *AutoRefMessage `protobuf:"bytes,3,opt,name=auto_ref_message,json=autoRefMessage" json:"auto_ref_message,omitempty"` // Deprecated: Do not use.
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AutoRefToController) Reset() { *m = AutoRefToController{} }
func (m *AutoRefToController) String() string { return proto.CompactTextString(m) }
func (*AutoRefToController) ProtoMessage() {}
func (*AutoRefToController) Descriptor() ([]byte, []int) {
return fileDescriptor_2fbb3ba3bab9727c, []int{1}
}
func (m *AutoRefToController) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AutoRefToController.Unmarshal(m, b)
}
func (m *AutoRefToController) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AutoRefToController.Marshal(b, m, deterministic)
}
func (m *AutoRefToController) XXX_Merge(src proto.Message) {
xxx_messageInfo_AutoRefToController.Merge(m, src)
}
func (m *AutoRefToController) XXX_Size() int {
return xxx_messageInfo_AutoRefToController.Size(m)
}
func (m *AutoRefToController) XXX_DiscardUnknown() {
xxx_messageInfo_AutoRefToController.DiscardUnknown(m)
}
var xxx_messageInfo_AutoRefToController proto.InternalMessageInfo
func (m *AutoRefToController) GetSignature() *Signature {
if m != nil {
return m.Signature
}
return nil
}
func (m *AutoRefToController) GetGameEvent() *GameEvent {
if m != nil {
return m.GameEvent
}
return nil
}
// Deprecated: Do not use.
func (m *AutoRefToController) GetAutoRefMessage() *AutoRefMessage {
if m != nil {
return m.AutoRefMessage
}
return nil
}
// ControllerToAutoRef is the wrapper message for all messages from controller to autoRef
type ControllerToAutoRef struct {
// Types that are valid to be assigned to Msg:
// *ControllerToAutoRef_ControllerReply
Msg isControllerToAutoRef_Msg `protobuf_oneof:"msg"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ControllerToAutoRef) Reset() { *m = ControllerToAutoRef{} }
func (m *ControllerToAutoRef) String() string { return proto.CompactTextString(m) }
func (*ControllerToAutoRef) ProtoMessage() {}
func (*ControllerToAutoRef) Descriptor() ([]byte, []int) {
return fileDescriptor_2fbb3ba3bab9727c, []int{2}
}
func (m *ControllerToAutoRef) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ControllerToAutoRef.Unmarshal(m, b)
}
func (m *ControllerToAutoRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ControllerToAutoRef.Marshal(b, m, deterministic)
}
func (m *ControllerToAutoRef) XXX_Merge(src proto.Message) {
xxx_messageInfo_ControllerToAutoRef.Merge(m, src)
}
func (m *ControllerToAutoRef) XXX_Size() int {
return xxx_messageInfo_ControllerToAutoRef.Size(m)
}
func (m *ControllerToAutoRef) XXX_DiscardUnknown() {
xxx_messageInfo_ControllerToAutoRef.DiscardUnknown(m)
}
var xxx_messageInfo_ControllerToAutoRef proto.InternalMessageInfo
type isControllerToAutoRef_Msg interface {
isControllerToAutoRef_Msg()
}
type ControllerToAutoRef_ControllerReply struct {
ControllerReply *ControllerReply `protobuf:"bytes,1,opt,name=controller_reply,json=controllerReply,oneof"`
}
func (*ControllerToAutoRef_ControllerReply) isControllerToAutoRef_Msg() {}
func (m *ControllerToAutoRef) GetMsg() isControllerToAutoRef_Msg {
if m != nil {
return m.Msg
}
return nil
}
func (m *ControllerToAutoRef) GetControllerReply() *ControllerReply {
if x, ok := m.GetMsg().(*ControllerToAutoRef_ControllerReply); ok {
return x.ControllerReply
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*ControllerToAutoRef) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*ControllerToAutoRef_ControllerReply)(nil),
}
}
// a message from autoRef, describing the current state or situation
type AutoRefMessage struct {
// Types that are valid to be assigned to Message:
// *AutoRefMessage_Custom
// *AutoRefMessage_WaitForBots_
Message isAutoRefMessage_Message `protobuf_oneof:"message"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AutoRefMessage) Reset() { *m = AutoRefMessage{} }
func (m *AutoRefMessage) String() string { return proto.CompactTextString(m) }
func (*AutoRefMessage) ProtoMessage() {}
func (*AutoRefMessage) Descriptor() ([]byte, []int) {
return fileDescriptor_2fbb3ba3bab9727c, []int{3}
}
func (m *AutoRefMessage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AutoRefMessage.Unmarshal(m, b)
}
func (m *AutoRefMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AutoRefMessage.Marshal(b, m, deterministic)
}
func (m *AutoRefMessage) XXX_Merge(src proto.Message) {
xxx_messageInfo_AutoRefMessage.Merge(m, src)
}
func (m *AutoRefMessage) XXX_Size() int {
return xxx_messageInfo_AutoRefMessage.Size(m)
}
func (m *AutoRefMessage) XXX_DiscardUnknown() {
xxx_messageInfo_AutoRefMessage.DiscardUnknown(m)
}
var xxx_messageInfo_AutoRefMessage proto.InternalMessageInfo
type isAutoRefMessage_Message interface {
isAutoRefMessage_Message()
}
type AutoRefMessage_Custom struct {
Custom string `protobuf:"bytes,1,opt,name=custom,oneof"`
}
type AutoRefMessage_WaitForBots_ struct {
WaitForBots *AutoRefMessage_WaitForBots `protobuf:"bytes,2,opt,name=wait_for_bots,json=waitForBots,oneof"`
}
func (*AutoRefMessage_Custom) isAutoRefMessage_Message() {}
func (*AutoRefMessage_WaitForBots_) isAutoRefMessage_Message() {}
func (m *AutoRefMessage) GetMessage() isAutoRefMessage_Message {
if m != nil {
return m.Message
}
return nil
}
func (m *AutoRefMessage) GetCustom() string {
if x, ok := m.GetMessage().(*AutoRefMessage_Custom); ok {
return x.Custom
}
return ""
}
func (m *AutoRefMessage) GetWaitForBots() *AutoRefMessage_WaitForBots {
if x, ok := m.GetMessage().(*AutoRefMessage_WaitForBots_); ok {
return x.WaitForBots
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*AutoRefMessage) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*AutoRefMessage_Custom)(nil),
(*AutoRefMessage_WaitForBots_)(nil),
}
}
// the bots that is waited for
type AutoRefMessage_WaitForBots struct {
// the bots that are waited for
Violators []*AutoRefMessage_WaitForBots_Violator `protobuf:"bytes,1,rep,name=violators" json:"violators,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AutoRefMessage_WaitForBots) Reset() { *m = AutoRefMessage_WaitForBots{} }
func (m *AutoRefMessage_WaitForBots) String() string { return proto.CompactTextString(m) }
func (*AutoRefMessage_WaitForBots) ProtoMessage() {}
func (*AutoRefMessage_WaitForBots) Descriptor() ([]byte, []int) {
return fileDescriptor_2fbb3ba3bab9727c, []int{3, 0}
}
func (m *AutoRefMessage_WaitForBots) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AutoRefMessage_WaitForBots.Unmarshal(m, b)
}
func (m *AutoRefMessage_WaitForBots) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AutoRefMessage_WaitForBots.Marshal(b, m, deterministic)
}
func (m *AutoRefMessage_WaitForBots) XXX_Merge(src proto.Message) {
xxx_messageInfo_AutoRefMessage_WaitForBots.Merge(m, src)
}
func (m *AutoRefMessage_WaitForBots) XXX_Size() int {
return xxx_messageInfo_AutoRefMessage_WaitForBots.Size(m)
}
func (m *AutoRefMessage_WaitForBots) XXX_DiscardUnknown() {
xxx_messageInfo_AutoRefMessage_WaitForBots.DiscardUnknown(m)
}
var xxx_messageInfo_AutoRefMessage_WaitForBots proto.InternalMessageInfo
func (m *AutoRefMessage_WaitForBots) GetViolators() []*AutoRefMessage_WaitForBots_Violator {
if m != nil {
return m.Violators
}
return nil
}
type AutoRefMessage_WaitForBots_Violator struct {
// the id of the violator
BotId *BotId `protobuf:"bytes,1,req,name=bot_id,json=botId" json:"bot_id,omitempty"`
// the distance to the next valid position
Distance *float32 `protobuf:"fixed32,2,req,name=distance" json:"distance,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AutoRefMessage_WaitForBots_Violator) Reset() { *m = AutoRefMessage_WaitForBots_Violator{} }
func (m *AutoRefMessage_WaitForBots_Violator) String() string { return proto.CompactTextString(m) }
func (*AutoRefMessage_WaitForBots_Violator) ProtoMessage() {}
func (*AutoRefMessage_WaitForBots_Violator) Descriptor() ([]byte, []int) {
return fileDescriptor_2fbb3ba3bab9727c, []int{3, 0, 0}
}
func (m *AutoRefMessage_WaitForBots_Violator) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AutoRefMessage_WaitForBots_Violator.Unmarshal(m, b)
}
func (m *AutoRefMessage_WaitForBots_Violator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AutoRefMessage_WaitForBots_Violator.Marshal(b, m, deterministic)
}
func (m *AutoRefMessage_WaitForBots_Violator) XXX_Merge(src proto.Message) {
xxx_messageInfo_AutoRefMessage_WaitForBots_Violator.Merge(m, src)
}
func (m *AutoRefMessage_WaitForBots_Violator) XXX_Size() int {
return xxx_messageInfo_AutoRefMessage_WaitForBots_Violator.Size(m)
}
func (m *AutoRefMessage_WaitForBots_Violator) XXX_DiscardUnknown() {
xxx_messageInfo_AutoRefMessage_WaitForBots_Violator.DiscardUnknown(m)
}
var xxx_messageInfo_AutoRefMessage_WaitForBots_Violator proto.InternalMessageInfo
func (m *AutoRefMessage_WaitForBots_Violator) GetBotId() *BotId {
if m != nil {
return m.BotId
}
return nil
}
func (m *AutoRefMessage_WaitForBots_Violator) GetDistance() float32 {
if m != nil && m.Distance != nil {
return *m.Distance
}
return 0
}
func init() {
proto.RegisterType((*AutoRefRegistration)(nil), "AutoRefRegistration")
proto.RegisterType((*AutoRefToController)(nil), "AutoRefToController")
proto.RegisterType((*ControllerToAutoRef)(nil), "ControllerToAutoRef")
proto.RegisterType((*AutoRefMessage)(nil), "AutoRefMessage")
proto.RegisterType((*AutoRefMessage_WaitForBots)(nil), "AutoRefMessage.WaitForBots")
proto.RegisterType((*AutoRefMessage_WaitForBots_Violator)(nil), "AutoRefMessage.WaitForBots.Violator")
}
func init() { proto.RegisterFile("ssl_game_controller_auto_ref.proto", fileDescriptor_2fbb3ba3bab9727c) }
var fileDescriptor_2fbb3ba3bab9727c = []byte{
// 405 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xbf, 0x6e, 0xd4, 0x40,
0x10, 0xc6, 0xcf, 0x3e, 0xe5, 0x88, 0xc7, 0x22, 0x89, 0x36, 0x8d, 0x39, 0x04, 0x3a, 0x59, 0x14,
0xa6, 0xb1, 0xe0, 0x3a, 0x0a, 0x8a, 0x18, 0x05, 0x8e, 0x82, 0x66, 0x89, 0xa0, 0xa0, 0x58, 0xed,
0xd9, 0x6b, 0x6b, 0x25, 0xdb, 0x13, 0xed, 0x8e, 0x13, 0xf1, 0x1c, 0x34, 0xbc, 0x02, 0x6f, 0x89,
0x7c, 0x59, 0xdb, 0x67, 0x84, 0x52, 0xd9, 0xf3, 0x9b, 0x6f, 0xbe, 0xfd, 0xf6, 0x0f, 0xc4, 0xd6,
0xd6, 0xa2, 0x92, 0x8d, 0x12, 0x39, 0xb6, 0x64, 0xb0, 0xae, 0x95, 0x11, 0xb2, 0x23, 0x14, 0x46,
0x95, 0xe9, 0xad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