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