This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
boid.pb.go
69 lines (56 loc) · 2.21 KB
/
boid.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
// Code generated by protoc-gen-go.
// source: boid.proto
// DO NOT EDIT!
/*
Package main is a generated protocol buffer package.
It is generated from these files:
boid.proto
It has these top-level messages:
BoidPosition
*/
package main
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import 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.ProtoPackageIsVersion2 // please upgrade the proto package
type BoidPosition struct {
Id int32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
Position []float64 `protobuf:"fixed64,2,rep,packed,name=position" json:"position,omitempty"`
}
func (m *BoidPosition) Reset() { *m = BoidPosition{} }
func (m *BoidPosition) String() string { return proto.CompactTextString(m) }
func (*BoidPosition) ProtoMessage() {}
func (*BoidPosition) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *BoidPosition) GetId() int32 {
if m != nil {
return m.Id
}
return 0
}
func (m *BoidPosition) GetPosition() []float64 {
if m != nil {
return m.Position
}
return nil
}
func init() {
proto.RegisterType((*BoidPosition)(nil), "main.BoidPosition")
}
func init() { proto.RegisterFile("boid.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 95 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4a, 0xca, 0xcf, 0x4c,
0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0xc9, 0x4d, 0xcc, 0xcc, 0x53, 0xb2, 0xe2, 0xe2,
0x71, 0xca, 0xcf, 0x4c, 0x09, 0xc8, 0x2f, 0xce, 0x2c, 0xc9, 0xcc, 0xcf, 0x13, 0xe2, 0xe3, 0x62,
0xca, 0x4c, 0x91, 0x60, 0x54, 0x60, 0xd4, 0x60, 0x0d, 0x62, 0xca, 0x4c, 0x11, 0x92, 0xe2, 0xe2,
0x28, 0x80, 0xca, 0x49, 0x30, 0x29, 0x30, 0x6b, 0x30, 0x06, 0xc1, 0xf9, 0x49, 0x6c, 0x60, 0x83,
0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x01, 0x24, 0x02, 0x8d, 0x56, 0x00, 0x00, 0x00,
}