1
2
3
4
5
6
7 package freightv1
8
9 import (
10 _ "google.golang.org/genproto/googleapis/api/annotations"
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
14 reflect "reflect"
15 sync "sync"
16 )
17
18 const (
19
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25
26
27
28 type Shipment 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
45 OriginSite string `protobuf:"bytes,5,opt,name=origin_site,json=originSite,proto3" json:"origin_site,omitempty"`
46
47
48 DestinationSite string `protobuf:"bytes,6,opt,name=destination_site,json=destinationSite,proto3" json:"destination_site,omitempty"`
49
50 PickupEarliestTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=pickup_earliest_time,json=pickupEarliestTime,proto3" json:"pickup_earliest_time,omitempty"`
51
52 PickupLatestTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=pickup_latest_time,json=pickupLatestTime,proto3" json:"pickup_latest_time,omitempty"`
53
54 DeliveryEarliestTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=delivery_earliest_time,json=deliveryEarliestTime,proto3" json:"delivery_earliest_time,omitempty"`
55
56 DeliveryLatestTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=delivery_latest_time,json=deliveryLatestTime,proto3" json:"delivery_latest_time,omitempty"`
57
58 LineItems []*LineItem `protobuf:"bytes,11,rep,name=line_items,json=lineItems,proto3" json:"line_items,omitempty"`
59
60 Annotations map[string]string `protobuf:"bytes,12,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
61
62 ExternalReferenceId string `protobuf:"bytes,13,opt,name=external_reference_id,json=externalReferenceId,proto3" json:"external_reference_id,omitempty"`
63 }
64
65 func (x *Shipment) Reset() {
66 *x = Shipment{}
67 if protoimpl.UnsafeEnabled {
68 mi := &file_einride_example_freight_v1_shipment_proto_msgTypes[0]
69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
70 ms.StoreMessageInfo(mi)
71 }
72 }
73
74 func (x *Shipment) String() string {
75 return protoimpl.X.MessageStringOf(x)
76 }
77
78 func (*Shipment) ProtoMessage() {}
79
80 func (x *Shipment) ProtoReflect() protoreflect.Message {
81 mi := &file_einride_example_freight_v1_shipment_proto_msgTypes[0]
82 if protoimpl.UnsafeEnabled && x != nil {
83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
84 if ms.LoadMessageInfo() == nil {
85 ms.StoreMessageInfo(mi)
86 }
87 return ms
88 }
89 return mi.MessageOf(x)
90 }
91
92
93 func (*Shipment) Descriptor() ([]byte, []int) {
94 return file_einride_example_freight_v1_shipment_proto_rawDescGZIP(), []int{0}
95 }
96
97 func (x *Shipment) GetName() string {
98 if x != nil {
99 return x.Name
100 }
101 return ""
102 }
103
104 func (x *Shipment) GetCreateTime() *timestamppb.Timestamp {
105 if x != nil {
106 return x.CreateTime
107 }
108 return nil
109 }
110
111 func (x *Shipment) GetUpdateTime() *timestamppb.Timestamp {
112 if x != nil {
113 return x.UpdateTime
114 }
115 return nil
116 }
117
118 func (x *Shipment) GetDeleteTime() *timestamppb.Timestamp {
119 if x != nil {
120 return x.DeleteTime
121 }
122 return nil
123 }
124
125 func (x *Shipment) GetOriginSite() string {
126 if x != nil {
127 return x.OriginSite
128 }
129 return ""
130 }
131
132 func (x *Shipment) GetDestinationSite() string {
133 if x != nil {
134 return x.DestinationSite
135 }
136 return ""
137 }
138
139 func (x *Shipment) GetPickupEarliestTime() *timestamppb.Timestamp {
140 if x != nil {
141 return x.PickupEarliestTime
142 }
143 return nil
144 }
145
146 func (x *Shipment) GetPickupLatestTime() *timestamppb.Timestamp {
147 if x != nil {
148 return x.PickupLatestTime
149 }
150 return nil
151 }
152
153 func (x *Shipment) GetDeliveryEarliestTime() *timestamppb.Timestamp {
154 if x != nil {
155 return x.DeliveryEarliestTime
156 }
157 return nil
158 }
159
160 func (x *Shipment) GetDeliveryLatestTime() *timestamppb.Timestamp {
161 if x != nil {
162 return x.DeliveryLatestTime
163 }
164 return nil
165 }
166
167 func (x *Shipment) GetLineItems() []*LineItem {
168 if x != nil {
169 return x.LineItems
170 }
171 return nil
172 }
173
174 func (x *Shipment) GetAnnotations() map[string]string {
175 if x != nil {
176 return x.Annotations
177 }
178 return nil
179 }
180
181 func (x *Shipment) GetExternalReferenceId() string {
182 if x != nil {
183 return x.ExternalReferenceId
184 }
185 return ""
186 }
187
188
189 type LineItem struct {
190 state protoimpl.MessageState
191 sizeCache protoimpl.SizeCache
192 unknownFields protoimpl.UnknownFields
193
194
195 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
196
197 Quantity float32 `protobuf:"fixed32,2,opt,name=quantity,proto3" json:"quantity,omitempty"`
198
199 WeightKg float32 `protobuf:"fixed32,3,opt,name=weight_kg,json=weightKg,proto3" json:"weight_kg,omitempty"`
200
201 VolumeM3 float32 `protobuf:"fixed32,4,opt,name=volume_m3,json=volumeM3,proto3" json:"volume_m3,omitempty"`
202
203 ExternalReferenceId string `protobuf:"bytes,5,opt,name=external_reference_id,json=externalReferenceId,proto3" json:"external_reference_id,omitempty"`
204 }
205
206 func (x *LineItem) Reset() {
207 *x = LineItem{}
208 if protoimpl.UnsafeEnabled {
209 mi := &file_einride_example_freight_v1_shipment_proto_msgTypes[1]
210 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
211 ms.StoreMessageInfo(mi)
212 }
213 }
214
215 func (x *LineItem) String() string {
216 return protoimpl.X.MessageStringOf(x)
217 }
218
219 func (*LineItem) ProtoMessage() {}
220
221 func (x *LineItem) ProtoReflect() protoreflect.Message {
222 mi := &file_einride_example_freight_v1_shipment_proto_msgTypes[1]
223 if protoimpl.UnsafeEnabled && x != nil {
224 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
225 if ms.LoadMessageInfo() == nil {
226 ms.StoreMessageInfo(mi)
227 }
228 return ms
229 }
230 return mi.MessageOf(x)
231 }
232
233
234 func (*LineItem) Descriptor() ([]byte, []int) {
235 return file_einride_example_freight_v1_shipment_proto_rawDescGZIP(), []int{1}
236 }
237
238 func (x *LineItem) GetTitle() string {
239 if x != nil {
240 return x.Title
241 }
242 return ""
243 }
244
245 func (x *LineItem) GetQuantity() float32 {
246 if x != nil {
247 return x.Quantity
248 }
249 return 0
250 }
251
252 func (x *LineItem) GetWeightKg() float32 {
253 if x != nil {
254 return x.WeightKg
255 }
256 return 0
257 }
258
259 func (x *LineItem) GetVolumeM3() float32 {
260 if x != nil {
261 return x.VolumeM3
262 }
263 return 0
264 }
265
266 func (x *LineItem) GetExternalReferenceId() string {
267 if x != nil {
268 return x.ExternalReferenceId
269 }
270 return ""
271 }
272
273 var File_einride_example_freight_v1_shipment_proto protoreflect.FileDescriptor
274
275 var file_einride_example_freight_v1_shipment_proto_rawDesc = []byte{
276 0x0a, 0x29, 0x65, 0x69, 0x6e, 0x72, 0x69, 0x64, 0x65, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c,
277 0x65, 0x2f, 0x66, 0x72, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x68, 0x69,
278 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x65, 0x69, 0x6e,
279 0x72, 0x69, 0x64, 0x65, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x66, 0x72, 0x65,
280 0x69, 0x67, 0x68, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
281 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69,
282 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
283 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72,
284 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
285 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70,
286 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd3, 0x08, 0x0a, 0x08, 0x53, 0x68, 0x69, 0x70, 0x6d, 0x65, 0x6e,
287 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
288 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,
289 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
290 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
291 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65,
292 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74,
293 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
294 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
295 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75,
296 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x64, 0x65, 0x6c,
297 0x65, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
298 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
299 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
300 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4a, 0x0a, 0x0b, 0x6f,
301 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x73, 0x69, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
302 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x66, 0x72, 0x65, 0x69, 0x67, 0x68,
303 0x74, 0x2d, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x65, 0x69, 0x6e, 0x72, 0x69, 0x64,
304 0x65, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x2f, 0x53, 0x69, 0x74, 0x65, 0x52, 0x0a, 0x6f, 0x72, 0x69,
305 0x67, 0x69, 0x6e, 0x53, 0x69, 0x74, 0x65, 0x12, 0x54, 0x0a, 0x10, 0x64, 0x65, 0x73, 0x74, 0x69,
306 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
307 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x66, 0x72, 0x65, 0x69, 0x67,
308 0x68, 0x74, 0x2d, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x65, 0x69, 0x6e, 0x72, 0x69,
309 0x64, 0x65, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x2f, 0x53, 0x69, 0x74, 0x65, 0x52, 0x0f, 0x64, 0x65,
310 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x74, 0x65, 0x12, 0x51, 0x0a,
311 0x14, 0x70, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x65, 0x61, 0x72, 0x6c, 0x69, 0x65, 0x73, 0x74,
312 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
313 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
314 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x12, 0x70, 0x69,
315 0x63, 0x6b, 0x75, 0x70, 0x45, 0x61, 0x72, 0x6c, 0x69, 0x65, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65,
316 0x12, 0x4d, 0x0a, 0x12, 0x70, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x6c, 0x61, 0x74, 0x65, 0x73,
317 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
318 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
319 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x70,
320 0x69, 0x63, 0x6b, 0x75, 0x70, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12,
321 0x55, 0x0a, 0x16, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x5f, 0x65, 0x61, 0x72, 0x6c,
322 0x69, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32,
323 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
324 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02,
325 0x52, 0x14, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x45, 0x61, 0x72, 0x6c, 0x69, 0x65,
326 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x14, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65,
327 0x72, 0x79, 0x5f, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a,
328 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
329 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
330 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x12, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x4c,
331 0x61, 0x74, 0x65, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x6c, 0x69, 0x6e,
332 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e,
333 0x65, 0x69, 0x6e, 0x72, 0x69, 0x64, 0x65, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e,
334 0x66, 0x72, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x49,
335 0x74, 0x65, 0x6d, 0x52, 0x09, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x57,
336 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0c, 0x20,
337 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x65, 0x69, 0x6e, 0x72, 0x69, 0x64, 0x65, 0x2e, 0x65, 0x78,
338 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x66, 0x72, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x76, 0x31,
339 0x2e, 0x53, 0x68, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
340 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f,
341 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x15, 0x65, 0x78, 0x74, 0x65, 0x72,
342 0x6e, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64,
343 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x13, 0x65, 0x78, 0x74,
344 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64,
345 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45,
346 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
347 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
348 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
349 0x3a, 0x68, 0xea, 0x41, 0x65, 0x0a, 0x25, 0x66, 0x72, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2d, 0x65,
350 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x65, 0x69, 0x6e, 0x72, 0x69, 0x64, 0x65, 0x2e, 0x74,
351 0x65, 0x63, 0x68, 0x2f, 0x53, 0x68, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x73, 0x68,
352 0x69, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x73, 0x68, 0x69, 0x70, 0x70, 0x65, 0x72, 0x7d,
353 0x2f, 0x73, 0x68, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x73, 0x68, 0x69, 0x70,
354 0x6d, 0x65, 0x6e, 0x74, 0x7d, 0x2a, 0x09, 0x73, 0x68, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x73,
355 0x32, 0x08, 0x73, 0x68, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xaf, 0x01, 0x0a, 0x08, 0x4c,
356 0x69, 0x6e, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,
357 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1a, 0x0a,
358 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52,
359 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x77, 0x65, 0x69,
360 0x67, 0x68, 0x74, 0x5f, 0x6b, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x77, 0x65,
361 0x69, 0x67, 0x68, 0x74, 0x4b, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
362 0x5f, 0x6d, 0x33, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
363 0x65, 0x4d, 0x33, 0x12, 0x37, 0x0a, 0x15, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f,
364 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01,
365 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x13, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,
366 0x6c, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x42, 0xfe, 0x01, 0x0a,
367 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x69, 0x6e, 0x72, 0x69, 0x64, 0x65, 0x2e, 0x65, 0x78, 0x61,
368 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x66, 0x72, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x76, 0x31, 0x42,
369 0x0d, 0x53, 0x68, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
370 0x5a, 0x42, 0x67, 0x6f, 0x2e, 0x65, 0x69, 0x6e, 0x72, 0x69, 0x64, 0x65, 0x2e, 0x74, 0x65, 0x63,
371 0x68, 0x2f, 0x61, 0x69, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f,
372 0x65, 0x69, 0x6e, 0x72, 0x69, 0x64, 0x65, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f,
373 0x66, 0x72, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x66, 0x72, 0x65, 0x69, 0x67,
374 0x68, 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x45, 0x45, 0x46, 0xaa, 0x02, 0x1a, 0x45, 0x69, 0x6e,
375 0x72, 0x69, 0x64, 0x65, 0x2e, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x46, 0x72, 0x65,
376 0x69, 0x67, 0x68, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1a, 0x45, 0x69, 0x6e, 0x72, 0x69, 0x64,
377 0x65, 0x5c, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5c, 0x46, 0x72, 0x65, 0x69, 0x67, 0x68,
378 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x26, 0x45, 0x69, 0x6e, 0x72, 0x69, 0x64, 0x65, 0x5c, 0x45,
379 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5c, 0x46, 0x72, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5c, 0x56,
380 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1d,
381 0x45, 0x69, 0x6e, 0x72, 0x69, 0x64, 0x65, 0x3a, 0x3a, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65,
382 0x3a, 0x3a, 0x46, 0x72, 0x65, 0x69, 0x67, 0x68, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
383 0x72, 0x6f, 0x74, 0x6f, 0x33,
384 }
385
386 var (
387 file_einride_example_freight_v1_shipment_proto_rawDescOnce sync.Once
388 file_einride_example_freight_v1_shipment_proto_rawDescData = file_einride_example_freight_v1_shipment_proto_rawDesc
389 )
390
391 func file_einride_example_freight_v1_shipment_proto_rawDescGZIP() []byte {
392 file_einride_example_freight_v1_shipment_proto_rawDescOnce.Do(func() {
393 file_einride_example_freight_v1_shipment_proto_rawDescData = protoimpl.X.CompressGZIP(file_einride_example_freight_v1_shipment_proto_rawDescData)
394 })
395 return file_einride_example_freight_v1_shipment_proto_rawDescData
396 }
397
398 var file_einride_example_freight_v1_shipment_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
399 var file_einride_example_freight_v1_shipment_proto_goTypes = []interface{}{
400 (*Shipment)(nil),
401 (*LineItem)(nil),
402 nil,
403 (*timestamppb.Timestamp)(nil),
404 }
405 var file_einride_example_freight_v1_shipment_proto_depIdxs = []int32{
406 3,
407 3,
408 3,
409 3,
410 3,
411 3,
412 3,
413 1,
414 2,
415 9,
416 9,
417 9,
418 9,
419 0,
420 }
421
422 func init() { file_einride_example_freight_v1_shipment_proto_init() }
423 func file_einride_example_freight_v1_shipment_proto_init() {
424 if File_einride_example_freight_v1_shipment_proto != nil {
425 return
426 }
427 if !protoimpl.UnsafeEnabled {
428 file_einride_example_freight_v1_shipment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
429 switch v := v.(*Shipment); i {
430 case 0:
431 return &v.state
432 case 1:
433 return &v.sizeCache
434 case 2:
435 return &v.unknownFields
436 default:
437 return nil
438 }
439 }
440 file_einride_example_freight_v1_shipment_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
441 switch v := v.(*LineItem); i {
442 case 0:
443 return &v.state
444 case 1:
445 return &v.sizeCache
446 case 2:
447 return &v.unknownFields
448 default:
449 return nil
450 }
451 }
452 }
453 type x struct{}
454 out := protoimpl.TypeBuilder{
455 File: protoimpl.DescBuilder{
456 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
457 RawDescriptor: file_einride_example_freight_v1_shipment_proto_rawDesc,
458 NumEnums: 0,
459 NumMessages: 3,
460 NumExtensions: 0,
461 NumServices: 0,
462 },
463 GoTypes: file_einride_example_freight_v1_shipment_proto_goTypes,
464 DependencyIndexes: file_einride_example_freight_v1_shipment_proto_depIdxs,
465 MessageInfos: file_einride_example_freight_v1_shipment_proto_msgTypes,
466 }.Build()
467 File_einride_example_freight_v1_shipment_proto = out.File
468 file_einride_example_freight_v1_shipment_proto_rawDesc = nil
469 file_einride_example_freight_v1_shipment_proto_goTypes = nil
470 file_einride_example_freight_v1_shipment_proto_depIdxs = nil
471 }
472
View as plain text