1
2
3
4
5
6
7 package freightv1
8
9 import (
10 _ "google.golang.org/genproto/googleapis/api/annotations"
11 latlng "google.golang.org/genproto/googleapis/type/latlng"
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
15 reflect "reflect"
16 sync "sync"
17 )
18
19 const (
20
21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
22
23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
24 )
25
26
27
28 type Site struct {
29 state protoimpl.MessageState
30 sizeCache protoimpl.SizeCache
31 unknownFields protoimpl.UnknownFields
32
33
34 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
35
36 CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
37
38
39
40 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
41
42 DeleteTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
43
44 DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
45
46 LatLng *latlng.LatLng `protobuf:"bytes,6,opt,name=lat_lng,json=latLng,proto3" json:"lat_lng,omitempty"`
47 }
48
49 func (x *Site) Reset() {
50 *x = Site{}
51 if protoimpl.UnsafeEnabled {
52 mi := &file_einride_example_freight_v1_site_proto_msgTypes[0]
53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
54 ms.StoreMessageInfo(mi)
55 }
56 }
57
58 func (x *Site) String() string {
59 return protoimpl.X.MessageStringOf(x)
60 }
61
62 func (*Site) ProtoMessage() {}
63
64 func (x *Site) ProtoReflect() protoreflect.Message {
65 mi := &file_einride_example_freight_v1_site_proto_msgTypes[0]
66 if protoimpl.UnsafeEnabled && x != nil {
67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
68 if ms.LoadMessageInfo() == nil {
69 ms.StoreMessageInfo(mi)
70 }
71 return ms
72 }
73 return mi.MessageOf(x)
74 }
75
76
77 func (*Site) Descriptor() ([]byte, []int) {
78 return file_einride_example_freight_v1_site_proto_rawDescGZIP(), []int{0}
79 }
80
81 func (x *Site) GetName() string {
82 if x != nil {
83 return x.Name
84 }
85 return ""
86 }
87
88 func (x *Site) GetCreateTime() *timestamppb.Timestamp {
89 if x != nil {
90 return x.CreateTime
91 }
92 return nil
93 }
94
95 func (x *Site) GetUpdateTime() *timestamppb.Timestamp {
96 if x != nil {
97 return x.UpdateTime
98 }
99 return nil
100 }
101
102 func (x *Site) GetDeleteTime() *timestamppb.Timestamp {
103 if x != nil {
104 return x.DeleteTime
105 }
106 return nil
107 }
108
109 func (x *Site) GetDisplayName() string {
110 if x != nil {
111 return x.DisplayName
112 }
113 return ""
114 }
115
116 func (x *Site) GetLatLng() *latlng.LatLng {
117 if x != nil {
118 return x.LatLng
119 }
120 return nil
121 }
122
123 var File_einride_example_freight_v1_site_proto protoreflect.FileDescriptor
124
125 var file_einride_example_freight_v1_site_proto_rawDesc = []byte{
126 0x0a, 0x25, 0x65, 0x69, 0x6e, 0x72, 0x69, 0x64, 0x65, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c,
127 0x65, 0x2f, 0x66, 0x72, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x69, 0x74,
128 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x65, 0x69, 0x6e, 0x72, 0x69, 0x64, 0x65,
129 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x66, 0x72, 0x65, 0x69, 0x67, 0x68, 0x74,
130 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
131 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70,
132 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
133 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
134 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
135 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
136 0x1a, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6c, 0x61,
137 0x74, 0x6c, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x03, 0x0a, 0x04, 0x53,
138 0x69, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
139 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74,
140 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
141 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
142 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63,
143 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64,
144 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
145 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
146 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
147 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x64,
148 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
149 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
150 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41,
151 0x03, 0x52, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a,
152 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20,
153 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
154 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x6c, 0x61, 0x74, 0x5f, 0x6c, 0x6e, 0x67,
155 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
156 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4c, 0x61, 0x74, 0x4c, 0x6e, 0x67, 0x52, 0x06, 0x6c, 0x61, 0x74,
157 0x4c, 0x6e, 0x67, 0x3a, 0x54, 0xea, 0x41, 0x51, 0x0a, 0x21, 0x66, 0x72, 0x65, 0x69, 0x67, 0x68,
158 0x74, 0x2d, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x65, 0x69, 0x6e, 0x72, 0x69, 0x64,
159 0x65, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x2f, 0x53, 0x69, 0x74, 0x65, 0x12, 0x1f, 0x73, 0x68, 0x69,
160 0x70, 0x70, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x73, 0x68, 0x69, 0x70, 0x70, 0x65, 0x72, 0x7d, 0x2f,
161 0x73, 0x69, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x69, 0x74, 0x65, 0x7d, 0x2a, 0x05, 0x73, 0x69,
162 0x74, 0x65, 0x73, 0x32, 0x04, 0x73, 0x69, 0x74, 0x65, 0x42, 0xfa, 0x01, 0x0a, 0x1e, 0x63, 0x6f,
163 0x6d, 0x2e, 0x65, 0x69, 0x6e, 0x72, 0x69, 0x64, 0x65, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c,
164 0x65, 0x2e, 0x66, 0x72, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x53, 0x69,
165 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x6f, 0x2e, 0x65, 0x69,
166 0x6e, 0x72, 0x69, 0x64, 0x65, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x2f, 0x61, 0x69, 0x70, 0x2f, 0x70,
167 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x69, 0x6e, 0x72, 0x69, 0x64, 0x65,
168 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x66, 0x72, 0x65, 0x69, 0x67, 0x68, 0x74,
169 0x2f, 0x76, 0x31, 0x3b, 0x66, 0x72, 0x65, 0x69, 0x67, 0x68, 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03,
170 0x45, 0x45, 0x46, 0xaa, 0x02, 0x1a, 0x45, 0x69, 0x6e, 0x72, 0x69, 0x64, 0x65, 0x2e, 0x45, 0x78,
171 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x46, 0x72, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x56, 0x31,
172 0xca, 0x02, 0x1a, 0x45, 0x69, 0x6e, 0x72, 0x69, 0x64, 0x65, 0x5c, 0x45, 0x78, 0x61, 0x6d, 0x70,
173 0x6c, 0x65, 0x5c, 0x46, 0x72, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x26,
174 0x45, 0x69, 0x6e, 0x72, 0x69, 0x64, 0x65, 0x5c, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5c,
175 0x46, 0x72, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65,
176 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x45, 0x69, 0x6e, 0x72, 0x69, 0x64, 0x65,
177 0x3a, 0x3a, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x3a, 0x3a, 0x46, 0x72, 0x65, 0x69, 0x67,
178 0x68, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
179 }
180
181 var (
182 file_einride_example_freight_v1_site_proto_rawDescOnce sync.Once
183 file_einride_example_freight_v1_site_proto_rawDescData = file_einride_example_freight_v1_site_proto_rawDesc
184 )
185
186 func file_einride_example_freight_v1_site_proto_rawDescGZIP() []byte {
187 file_einride_example_freight_v1_site_proto_rawDescOnce.Do(func() {
188 file_einride_example_freight_v1_site_proto_rawDescData = protoimpl.X.CompressGZIP(file_einride_example_freight_v1_site_proto_rawDescData)
189 })
190 return file_einride_example_freight_v1_site_proto_rawDescData
191 }
192
193 var file_einride_example_freight_v1_site_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
194 var file_einride_example_freight_v1_site_proto_goTypes = []interface{}{
195 (*Site)(nil),
196 (*timestamppb.Timestamp)(nil),
197 (*latlng.LatLng)(nil),
198 }
199 var file_einride_example_freight_v1_site_proto_depIdxs = []int32{
200 1,
201 1,
202 1,
203 2,
204 4,
205 4,
206 4,
207 4,
208 0,
209 }
210
211 func init() { file_einride_example_freight_v1_site_proto_init() }
212 func file_einride_example_freight_v1_site_proto_init() {
213 if File_einride_example_freight_v1_site_proto != nil {
214 return
215 }
216 if !protoimpl.UnsafeEnabled {
217 file_einride_example_freight_v1_site_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
218 switch v := v.(*Site); i {
219 case 0:
220 return &v.state
221 case 1:
222 return &v.sizeCache
223 case 2:
224 return &v.unknownFields
225 default:
226 return nil
227 }
228 }
229 }
230 type x struct{}
231 out := protoimpl.TypeBuilder{
232 File: protoimpl.DescBuilder{
233 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
234 RawDescriptor: file_einride_example_freight_v1_site_proto_rawDesc,
235 NumEnums: 0,
236 NumMessages: 1,
237 NumExtensions: 0,
238 NumServices: 0,
239 },
240 GoTypes: file_einride_example_freight_v1_site_proto_goTypes,
241 DependencyIndexes: file_einride_example_freight_v1_site_proto_depIdxs,
242 MessageInfos: file_einride_example_freight_v1_site_proto_msgTypes,
243 }.Build()
244 File_einride_example_freight_v1_site_proto = out.File
245 file_einride_example_freight_v1_site_proto_rawDesc = nil
246 file_einride_example_freight_v1_site_proto_goTypes = nil
247 file_einride_example_freight_v1_site_proto_depIdxs = nil
248 }
249
View as plain text