Debian Codegraph @

googleapis/maps/routes/v1/compute_route_matrix_request.pb.go

raw symbols SCIP
1 // Copyright 2022 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v3.12.2
19 // source: google/maps/routes/v1/compute_route_matrix_request.proto
20
21 package routes
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
31 )
32
33 const (
34 // Verify that this generated code is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36 // Verify that runtime/protoimpl is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40 // ComputeRouteMatrix request message
41 type ComputeRouteMatrixRequest struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46 // Required. Array of origins, which determines the rows of the response matrix.
47 // Several size restrictions apply to the cardinality of origins and
48 // destinations:
49 //
50 // * The number of elements (origins × destinations) must be no greater than
51 // 625 in any case.
52 // * The number of elements (origins × destinations) must be no greater than
53 // 100 if routing_preference is set to `TRAFFIC_AWARE_OPTIMAL`.
54 // * The number of waypoints (origins + destinations) specified as `place_id`
55 // must be no greater than 50.
56 Origins []*RouteMatrixOrigin `protobuf:"bytes,1,rep,name=origins,proto3" json:"origins,omitempty"`
57 // Required. Array of destinations, which determines the columns of the response matrix.
58 Destinations []*RouteMatrixDestination `protobuf:"bytes,2,rep,name=destinations,proto3" json:"destinations,omitempty"`
59 // Optional. Specifies the mode of transportation.
60 TravelMode RouteTravelMode `protobuf:"varint,3,opt,name=travel_mode,json=travelMode,proto3,enum=google.maps.routes.v1.RouteTravelMode" json:"travel_mode,omitempty"`
61 // Optional. Specifies how to compute the route. The server attempts to use the selected
62 // routing preference to compute the route. If the routing preference results
63 // in an error or an extra long latency, an error is returned. In the future,
64 // we might implement a fallback mechanism to use a different option when the
65 // preferred option does not give a valid result. You can specify this option
66 // only when the `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the
67 // request fails.
68 RoutingPreference RoutingPreference `protobuf:"varint,4,opt,name=routing_preference,json=routingPreference,proto3,enum=google.maps.routes.v1.RoutingPreference" json:"routing_preference,omitempty"`
69 // Optional. The departure time. If you don't set this value, this defaults to the time
70 // that you made the request. If you set this value to a time that has already
71 // occurred, the request fails.
72 DepartureTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=departure_time,json=departureTime,proto3" json:"departure_time,omitempty"`
73 }
74
75 func (x *ComputeRouteMatrixRequest) Reset() {
76 *x = ComputeRouteMatrixRequest{}
77 if protoimpl.UnsafeEnabled {
78 mi := &file_google_maps_routes_v1_compute_route_matrix_request_proto_msgTypes[0]
79 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
80 ms.StoreMessageInfo(mi)
81 }
82 }
83
84 func (x *ComputeRouteMatrixRequest) String() string {
85 return protoimpl.X.MessageStringOf(x)
86 }
87
88 func (*ComputeRouteMatrixRequest) ProtoMessage() {}
89
90 func (x *ComputeRouteMatrixRequest) ProtoReflect() protoreflect.Message {
91 mi := &file_google_maps_routes_v1_compute_route_matrix_request_proto_msgTypes[0]
92 if protoimpl.UnsafeEnabled && x != nil {
93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
94 if ms.LoadMessageInfo() == nil {
95 ms.StoreMessageInfo(mi)
96 }
97 return ms
98 }
99 return mi.MessageOf(x)
100 }
101
102 // Deprecated: Use ComputeRouteMatrixRequest.ProtoReflect.Descriptor instead.
103 func (*ComputeRouteMatrixRequest) Descriptor() ([]byte, []int) {
104 return file_google_maps_routes_v1_compute_route_matrix_request_proto_rawDescGZIP(), []int{0}
105 }
106
107 func (x *ComputeRouteMatrixRequest) GetOrigins() []*RouteMatrixOrigin {
108 if x != nil {
109 return x.Origins
110 }
111 return nil
112 }
113
114 func (x *ComputeRouteMatrixRequest) GetDestinations() []*RouteMatrixDestination {
115 if x != nil {
116 return x.Destinations
117 }
118 return nil
119 }
120
121 func (x *ComputeRouteMatrixRequest) GetTravelMode() RouteTravelMode {
122 if x != nil {
123 return x.TravelMode
124 }
125 return RouteTravelMode_TRAVEL_MODE_UNSPECIFIED
126 }
127
128 func (x *ComputeRouteMatrixRequest) GetRoutingPreference() RoutingPreference {
129 if x != nil {
130 return x.RoutingPreference
131 }
132 return RoutingPreference_ROUTING_PREFERENCE_UNSPECIFIED
133 }
134
135 func (x *ComputeRouteMatrixRequest) GetDepartureTime() *timestamppb.Timestamp {
136 if x != nil {
137 return x.DepartureTime
138 }
139 return nil
140 }
141
142 // A single origin for ComputeRouteMatrixRequest
143 type RouteMatrixOrigin struct {
144 state protoimpl.MessageState
145 sizeCache protoimpl.SizeCache
146 unknownFields protoimpl.UnknownFields
147
148 // Required. Origin waypoint
149 Waypoint *Waypoint `protobuf:"bytes,1,opt,name=waypoint,proto3" json:"waypoint,omitempty"`
150 // Optional. Modifiers for every route that takes this as the origin
151 RouteModifiers *RouteModifiers `protobuf:"bytes,2,opt,name=route_modifiers,json=routeModifiers,proto3" json:"route_modifiers,omitempty"`
152 }
153
154 func (x *RouteMatrixOrigin) Reset() {
155 *x = RouteMatrixOrigin{}
156 if protoimpl.UnsafeEnabled {
157 mi := &file_google_maps_routes_v1_compute_route_matrix_request_proto_msgTypes[1]
158 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
159 ms.StoreMessageInfo(mi)
160 }
161 }
162
163 func (x *RouteMatrixOrigin) String() string {
164 return protoimpl.X.MessageStringOf(x)
165 }
166
167 func (*RouteMatrixOrigin) ProtoMessage() {}
168
169 func (x *RouteMatrixOrigin) ProtoReflect() protoreflect.Message {
170 mi := &file_google_maps_routes_v1_compute_route_matrix_request_proto_msgTypes[1]
171 if protoimpl.UnsafeEnabled && x != nil {
172 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
173 if ms.LoadMessageInfo() == nil {
174 ms.StoreMessageInfo(mi)
175 }
176 return ms
177 }
178 return mi.MessageOf(x)
179 }
180
181 // Deprecated: Use RouteMatrixOrigin.ProtoReflect.Descriptor instead.
182 func (*RouteMatrixOrigin) Descriptor() ([]byte, []int) {
183 return file_google_maps_routes_v1_compute_route_matrix_request_proto_rawDescGZIP(), []int{1}
184 }
185
186 func (x *RouteMatrixOrigin) GetWaypoint() *Waypoint {
187 if x != nil {
188 return x.Waypoint
189 }
190 return nil
191 }
192
193 func (x *RouteMatrixOrigin) GetRouteModifiers() *RouteModifiers {
194 if x != nil {
195 return x.RouteModifiers
196 }
197 return nil
198 }
199
200 // A single destination for ComputeRouteMatrixRequest
201 type RouteMatrixDestination struct {
202 state protoimpl.MessageState
203 sizeCache protoimpl.SizeCache
204 unknownFields protoimpl.UnknownFields
205
206 // Required. Destination waypoint
207 Waypoint *Waypoint `protobuf:"bytes,1,opt,name=waypoint,proto3" json:"waypoint,omitempty"`
208 }
209
210 func (x *RouteMatrixDestination) Reset() {
211 *x = RouteMatrixDestination{}
212 if protoimpl.UnsafeEnabled {
213 mi := &file_google_maps_routes_v1_compute_route_matrix_request_proto_msgTypes[2]
214 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
215 ms.StoreMessageInfo(mi)
216 }
217 }
218
219 func (x *RouteMatrixDestination) String() string {
220 return protoimpl.X.MessageStringOf(x)
221 }
222
223 func (*RouteMatrixDestination) ProtoMessage() {}
224
225 func (x *RouteMatrixDestination) ProtoReflect() protoreflect.Message {
226 mi := &file_google_maps_routes_v1_compute_route_matrix_request_proto_msgTypes[2]
227 if protoimpl.UnsafeEnabled && x != nil {
228 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
229 if ms.LoadMessageInfo() == nil {
230 ms.StoreMessageInfo(mi)
231 }
232 return ms
233 }
234 return mi.MessageOf(x)
235 }
236
237 // Deprecated: Use RouteMatrixDestination.ProtoReflect.Descriptor instead.
238 func (*RouteMatrixDestination) Descriptor() ([]byte, []int) {
239 return file_google_maps_routes_v1_compute_route_matrix_request_proto_rawDescGZIP(), []int{2}
240 }
241
242 func (x *RouteMatrixDestination) GetWaypoint() *Waypoint {
243 if x != nil {
244 return x.Waypoint
245 }
246 return nil
247 }
248
249 var File_google_maps_routes_v1_compute_route_matrix_request_proto protoreflect.FileDescriptor
250
251 var file_google_maps_routes_v1_compute_route_matrix_request_proto_rawDesc = []byte{
252 0x0a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f,
253 0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f,
254 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x5f, 0x72, 0x65, 0x71,
255 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67,
256 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76,
257 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69,
258 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
259 0x74, 0x6f, 0x1a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f,
260 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74,
261 0x65, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
262 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d,
263 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x61,
264 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
265 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
266 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb0, 0x03,
267 0x0a, 0x19, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x61,
268 0x74, 0x72, 0x69, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x07, 0x6f,
269 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67,
270 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65,
271 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78,
272 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x6f, 0x72, 0x69,
273 0x67, 0x69, 0x6e, 0x73, 0x12, 0x56, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74,
274 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f,
275 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e,
276 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x44, 0x65,
277 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c,
278 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4c, 0x0a, 0x0b,
279 0x74, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
280 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e,
281 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x54,
282 0x72, 0x61, 0x76, 0x65, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a,
283 0x74, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x5c, 0x0a, 0x12, 0x72, 0x6f,
284 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
285 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
286 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52,
287 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
288 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x11, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72,
289 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x46, 0x0a, 0x0e, 0x64, 0x65, 0x70, 0x61,
290 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
291 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
292 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41,
293 0x01, 0x52, 0x0d, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65,
294 0x22, 0xaa, 0x01, 0x0a, 0x11, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78,
295 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x40, 0x0a, 0x08, 0x77, 0x61, 0x79, 0x70, 0x6f, 0x69,
296 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
297 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31,
298 0x2e, 0x57, 0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08,
299 0x77, 0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x53, 0x0a, 0x0f, 0x72, 0x6f, 0x75, 0x74,
300 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
301 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e,
302 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4d,
303 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x72,
304 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x22, 0x5a, 0x0a,
305 0x16, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x44, 0x65, 0x73, 0x74,
306 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x08, 0x77, 0x61, 0x79, 0x70, 0x6f,
307 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
308 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76,
309 0x31, 0x2e, 0x57, 0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
310 0x08, 0x77, 0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0xb4, 0x01, 0x0a, 0x19, 0x63, 0x6f,
311 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f,
312 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x1e, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65,
313 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65,
314 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
315 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e,
316 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
317 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b,
318 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x04, 0x47, 0x4d, 0x52, 0x53,
319 0xaa, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x52,
320 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
321 0x65, 0x5c, 0x4d, 0x61, 0x70, 0x73, 0x5c, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x5c, 0x56, 0x31,
322 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
323 }
324
325 var (
326 file_google_maps_routes_v1_compute_route_matrix_request_proto_rawDescOnce sync.Once
327 file_google_maps_routes_v1_compute_route_matrix_request_proto_rawDescData = file_google_maps_routes_v1_compute_route_matrix_request_proto_rawDesc
328 )
329
330 func file_google_maps_routes_v1_compute_route_matrix_request_proto_rawDescGZIP() []byte {
331 file_google_maps_routes_v1_compute_route_matrix_request_proto_rawDescOnce.Do(func() {
332 file_google_maps_routes_v1_compute_route_matrix_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_routes_v1_compute_route_matrix_request_proto_rawDescData)
333 })
334 return file_google_maps_routes_v1_compute_route_matrix_request_proto_rawDescData
335 }
336
337 var file_google_maps_routes_v1_compute_route_matrix_request_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
338 var file_google_maps_routes_v1_compute_route_matrix_request_proto_goTypes = []interface{}{
339 (*ComputeRouteMatrixRequest)(nil), // 0: google.maps.routes.v1.ComputeRouteMatrixRequest
340 (*RouteMatrixOrigin)(nil), // 1: google.maps.routes.v1.RouteMatrixOrigin
341 (*RouteMatrixDestination)(nil), // 2: google.maps.routes.v1.RouteMatrixDestination
342 (RouteTravelMode)(0), // 3: google.maps.routes.v1.RouteTravelMode
343 (RoutingPreference)(0), // 4: google.maps.routes.v1.RoutingPreference
344 (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
345 (*Waypoint)(nil), // 6: google.maps.routes.v1.Waypoint
346 (*RouteModifiers)(nil), // 7: google.maps.routes.v1.RouteModifiers
347 }
348 var file_google_maps_routes_v1_compute_route_matrix_request_proto_depIdxs = []int32{
349 1, // 0: google.maps.routes.v1.ComputeRouteMatrixRequest.origins:type_name -> google.maps.routes.v1.RouteMatrixOrigin
350 2, // 1: google.maps.routes.v1.ComputeRouteMatrixRequest.destinations:type_name -> google.maps.routes.v1.RouteMatrixDestination
351 3, // 2: google.maps.routes.v1.ComputeRouteMatrixRequest.travel_mode:type_name -> google.maps.routes.v1.RouteTravelMode
352 4, // 3: google.maps.routes.v1.ComputeRouteMatrixRequest.routing_preference:type_name -> google.maps.routes.v1.RoutingPreference
353 5, // 4: google.maps.routes.v1.ComputeRouteMatrixRequest.departure_time:type_name -> google.protobuf.Timestamp
354 6, // 5: google.maps.routes.v1.RouteMatrixOrigin.waypoint:type_name -> google.maps.routes.v1.Waypoint
355 7, // 6: google.maps.routes.v1.RouteMatrixOrigin.route_modifiers:type_name -> google.maps.routes.v1.RouteModifiers
356 6, // 7: google.maps.routes.v1.RouteMatrixDestination.waypoint:type_name -> google.maps.routes.v1.Waypoint
357 8, // [8:8] is the sub-list for method output_type
358 8, // [8:8] is the sub-list for method input_type
359 8, // [8:8] is the sub-list for extension type_name
360 8, // [8:8] is the sub-list for extension extendee
361 0, // [0:8] is the sub-list for field type_name
362 }
363
364 func init() { file_google_maps_routes_v1_compute_route_matrix_request_proto_init() }
365 func file_google_maps_routes_v1_compute_route_matrix_request_proto_init() {
366 if File_google_maps_routes_v1_compute_route_matrix_request_proto != nil {
367 return
368 }
369 file_google_maps_routes_v1_compute_routes_request_proto_init()
370 file_google_maps_routes_v1_waypoint_proto_init()
371 if !protoimpl.UnsafeEnabled {
372 file_google_maps_routes_v1_compute_route_matrix_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
373 switch v := v.(*ComputeRouteMatrixRequest); i {
374 case 0:
375 return &v.state
376 case 1:
377 return &v.sizeCache
378 case 2:
379 return &v.unknownFields
380 default:
381 return nil
382 }
383 }
384 file_google_maps_routes_v1_compute_route_matrix_request_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
385 switch v := v.(*RouteMatrixOrigin); i {
386 case 0:
387 return &v.state
388 case 1:
389 return &v.sizeCache
390 case 2:
391 return &v.unknownFields
392 default:
393 return nil
394 }
395 }
396 file_google_maps_routes_v1_compute_route_matrix_request_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
397 switch v := v.(*RouteMatrixDestination); i {
398 case 0:
399 return &v.state
400 case 1:
401 return &v.sizeCache
402 case 2:
403 return &v.unknownFields
404 default:
405 return nil
406 }
407 }
408 }
409 type x struct{}
410 out := protoimpl.TypeBuilder{
411 File: protoimpl.DescBuilder{
412 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
413 RawDescriptor: file_google_maps_routes_v1_compute_route_matrix_request_proto_rawDesc,
414 NumEnums: 0,
415 NumMessages: 3,
416 NumExtensions: 0,
417 NumServices: 0,
418 },
419 GoTypes: file_google_maps_routes_v1_compute_route_matrix_request_proto_goTypes,
420 DependencyIndexes: file_google_maps_routes_v1_compute_route_matrix_request_proto_depIdxs,
421 MessageInfos: file_google_maps_routes_v1_compute_route_matrix_request_proto_msgTypes,
422 }.Build()
423 File_google_maps_routes_v1_compute_route_matrix_request_proto = out.File
424 file_google_maps_routes_v1_compute_route_matrix_request_proto_rawDesc = nil
425 file_google_maps_routes_v1_compute_route_matrix_request_proto_goTypes = nil
426 file_google_maps_routes_v1_compute_route_matrix_request_proto_depIdxs = nil
427 }