| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
package routes |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
status "google.golang.org/genproto/googleapis/rpc/status" |
| 28 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 29 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 30 |
durationpb "google.golang.org/protobuf/types/known/durationpb" |
| 31 |
) |
| 32 |
|
| 33 |
const ( |
| 34 |
|
| 35 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 36 |
|
| 37 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 38 |
) |
| 39 |
|
| 40 |
|
| 41 |
type RouteMatrixElementCondition int32 |
| 42 |
|
| 43 |
const ( |
| 44 |
|
| 45 |
RouteMatrixElementCondition_ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED RouteMatrixElementCondition = 0 |
| 46 |
|
| 47 |
|
| 48 |
RouteMatrixElementCondition_ROUTE_EXISTS RouteMatrixElementCondition = 1 |
| 49 |
|
| 50 |
|
| 51 |
RouteMatrixElementCondition_ROUTE_NOT_FOUND RouteMatrixElementCondition = 2 |
| 52 |
) |
| 53 |
|
| 54 |
|
| 55 |
var ( |
| 56 |
RouteMatrixElementCondition_name = map[int32]string{ |
| 57 |
0: "ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED", |
| 58 |
1: "ROUTE_EXISTS", |
| 59 |
2: "ROUTE_NOT_FOUND", |
| 60 |
} |
| 61 |
RouteMatrixElementCondition_value = map[string]int32{ |
| 62 |
"ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED": 0, |
| 63 |
"ROUTE_EXISTS": 1, |
| 64 |
"ROUTE_NOT_FOUND": 2, |
| 65 |
} |
| 66 |
) |
| 67 |
|
| 68 |
func (x RouteMatrixElementCondition) Enum() *RouteMatrixElementCondition { |
| 69 |
p := new(RouteMatrixElementCondition) |
| 70 |
*p = x |
| 71 |
return p |
| 72 |
} |
| 73 |
|
| 74 |
func (x RouteMatrixElementCondition) String() string { |
| 75 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 76 |
} |
| 77 |
|
| 78 |
func (RouteMatrixElementCondition) Descriptor() protoreflect.EnumDescriptor { |
| 79 |
return file_google_maps_routes_v1_route_matrix_element_proto_enumTypes[0].Descriptor() |
| 80 |
} |
| 81 |
|
| 82 |
func (RouteMatrixElementCondition) Type() protoreflect.EnumType { |
| 83 |
return &file_google_maps_routes_v1_route_matrix_element_proto_enumTypes[0] |
| 84 |
} |
| 85 |
|
| 86 |
func (x RouteMatrixElementCondition) Number() protoreflect.EnumNumber { |
| 87 |
return protoreflect.EnumNumber(x) |
| 88 |
} |
| 89 |
|
| 90 |
|
| 91 |
func (RouteMatrixElementCondition) EnumDescriptor() ([]byte, []int) { |
| 92 |
return file_google_maps_routes_v1_route_matrix_element_proto_rawDescGZIP(), []int{0} |
| 93 |
} |
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
type RouteMatrixElement struct { |
| 98 |
state protoimpl.MessageState |
| 99 |
sizeCache protoimpl.SizeCache |
| 100 |
unknownFields protoimpl.UnknownFields |
| 101 |
|
| 102 |
|
| 103 |
OriginIndex int32 `protobuf:"varint,1,opt,name=origin_index,json=originIndex,proto3" json:"origin_index,omitempty"` |
| 104 |
|
| 105 |
DestinationIndex int32 `protobuf:"varint,2,opt,name=destination_index,json=destinationIndex,proto3" json:"destination_index,omitempty"` |
| 106 |
|
| 107 |
Status *status.Status `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` |
| 108 |
|
| 109 |
Condition RouteMatrixElementCondition `protobuf:"varint,9,opt,name=condition,proto3,enum=google.maps.routes.v1.RouteMatrixElementCondition" json:"condition,omitempty"` |
| 110 |
|
| 111 |
DistanceMeters int32 `protobuf:"varint,4,opt,name=distance_meters,json=distanceMeters,proto3" json:"distance_meters,omitempty"` |
| 112 |
|
| 113 |
|
| 114 |
|
| 115 |
|
| 116 |
|
| 117 |
Duration *durationpb.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"` |
| 118 |
|
| 119 |
|
| 120 |
StaticDuration *durationpb.Duration `protobuf:"bytes,6,opt,name=static_duration,json=staticDuration,proto3" json:"static_duration,omitempty"` |
| 121 |
|
| 122 |
|
| 123 |
TravelAdvisory *RouteTravelAdvisory `protobuf:"bytes,7,opt,name=travel_advisory,json=travelAdvisory,proto3" json:"travel_advisory,omitempty"` |
| 124 |
|
| 125 |
|
| 126 |
|
| 127 |
|
| 128 |
|
| 129 |
FallbackInfo *FallbackInfo `protobuf:"bytes,8,opt,name=fallback_info,json=fallbackInfo,proto3" json:"fallback_info,omitempty"` |
| 130 |
} |
| 131 |
|
| 132 |
func (x *RouteMatrixElement) Reset() { |
| 133 |
*x = RouteMatrixElement{} |
| 134 |
if protoimpl.UnsafeEnabled { |
| 135 |
mi := &file_google_maps_routes_v1_route_matrix_element_proto_msgTypes[0] |
| 136 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 137 |
ms.StoreMessageInfo(mi) |
| 138 |
} |
| 139 |
} |
| 140 |
|
| 141 |
func (x *RouteMatrixElement) String() string { |
| 142 |
return protoimpl.X.MessageStringOf(x) |
| 143 |
} |
| 144 |
|
| 145 |
func (*RouteMatrixElement) ProtoMessage() {} |
| 146 |
|
| 147 |
func (x *RouteMatrixElement) ProtoReflect() protoreflect.Message { |
| 148 |
mi := &file_google_maps_routes_v1_route_matrix_element_proto_msgTypes[0] |
| 149 |
if protoimpl.UnsafeEnabled && x != nil { |
| 150 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 151 |
if ms.LoadMessageInfo() == nil { |
| 152 |
ms.StoreMessageInfo(mi) |
| 153 |
} |
| 154 |
return ms |
| 155 |
} |
| 156 |
return mi.MessageOf(x) |
| 157 |
} |
| 158 |
|
| 159 |
|
| 160 |
func (*RouteMatrixElement) Descriptor() ([]byte, []int) { |
| 161 |
return file_google_maps_routes_v1_route_matrix_element_proto_rawDescGZIP(), []int{0} |
| 162 |
} |
| 163 |
|
| 164 |
func (x *RouteMatrixElement) GetOriginIndex() int32 { |
| 165 |
if x != nil { |
| 166 |
return x.OriginIndex |
| 167 |
} |
| 168 |
return 0 |
| 169 |
} |
| 170 |
|
| 171 |
func (x *RouteMatrixElement) GetDestinationIndex() int32 { |
| 172 |
if x != nil { |
| 173 |
return x.DestinationIndex |
| 174 |
} |
| 175 |
return 0 |
| 176 |
} |
| 177 |
|
| 178 |
func (x *RouteMatrixElement) GetStatus() *status.Status { |
| 179 |
if x != nil { |
| 180 |
return x.Status |
| 181 |
} |
| 182 |
return nil |
| 183 |
} |
| 184 |
|
| 185 |
func (x *RouteMatrixElement) GetCondition() RouteMatrixElementCondition { |
| 186 |
if x != nil { |
| 187 |
return x.Condition |
| 188 |
} |
| 189 |
return RouteMatrixElementCondition_ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED |
| 190 |
} |
| 191 |
|
| 192 |
func (x *RouteMatrixElement) GetDistanceMeters() int32 { |
| 193 |
if x != nil { |
| 194 |
return x.DistanceMeters |
| 195 |
} |
| 196 |
return 0 |
| 197 |
} |
| 198 |
|
| 199 |
func (x *RouteMatrixElement) GetDuration() *durationpb.Duration { |
| 200 |
if x != nil { |
| 201 |
return x.Duration |
| 202 |
} |
| 203 |
return nil |
| 204 |
} |
| 205 |
|
| 206 |
func (x *RouteMatrixElement) GetStaticDuration() *durationpb.Duration { |
| 207 |
if x != nil { |
| 208 |
return x.StaticDuration |
| 209 |
} |
| 210 |
return nil |
| 211 |
} |
| 212 |
|
| 213 |
func (x *RouteMatrixElement) GetTravelAdvisory() *RouteTravelAdvisory { |
| 214 |
if x != nil { |
| 215 |
return x.TravelAdvisory |
| 216 |
} |
| 217 |
return nil |
| 218 |
} |
| 219 |
|
| 220 |
func (x *RouteMatrixElement) GetFallbackInfo() *FallbackInfo { |
| 221 |
if x != nil { |
| 222 |
return x.FallbackInfo |
| 223 |
} |
| 224 |
return nil |
| 225 |
} |
| 226 |
|
| 227 |
var File_google_maps_routes_v1_route_matrix_element_proto protoreflect.FileDescriptor |
| 228 |
|
| 229 |
var file_google_maps_routes_v1_route_matrix_element_proto_rawDesc = []byte{ |
| 230 |
0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, |
| 231 |
0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x6d, 0x61, |
| 232 |
0x74, 0x72, 0x69, 0x78, 0x5f, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, |
| 233 |
0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, |
| 234 |
0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 235 |
0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, |
| 236 |
0x2f, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, |
| 237 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, |
| 238 |
0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x6f, 0x75, 0x74, |
| 239 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 240 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, |
| 241 |
0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 242 |
0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 243 |
0x22, 0xa5, 0x04, 0x0a, 0x12, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, |
| 244 |
0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x72, 0x69, 0x67, 0x69, |
| 245 |
0x6e, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6f, |
| 246 |
0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x65, |
| 247 |
0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, |
| 248 |
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, |
| 249 |
0x6f, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, |
| 250 |
0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 251 |
0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, |
| 252 |
0x74, 0x75, 0x73, 0x12, 0x50, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, |
| 253 |
0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 254 |
0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, |
| 255 |
0x6f, 0x75, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, |
| 256 |
0x74, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64, |
| 257 |
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, |
| 258 |
0x65, 0x5f, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, |
| 259 |
0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x35, |
| 260 |
0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, |
| 261 |
0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 262 |
0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x64, 0x75, 0x72, |
| 263 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, |
| 264 |
0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, |
| 265 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 266 |
0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x69, |
| 267 |
0x63, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x0f, 0x74, 0x72, 0x61, |
| 268 |
0x76, 0x65, 0x6c, 0x5f, 0x61, 0x64, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, |
| 269 |
0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, |
| 270 |
0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, |
| 271 |
0x54, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x41, 0x64, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x79, 0x52, 0x0e, |
| 272 |
0x74, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x41, 0x64, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x79, 0x12, 0x48, |
| 273 |
0x0a, 0x0d, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, |
| 274 |
0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, |
| 275 |
0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x61, |
| 276 |
0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x66, 0x61, 0x6c, 0x6c, |
| 277 |
0x62, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x2a, 0x74, 0x0a, 0x1b, 0x52, 0x6f, 0x75, 0x74, |
| 278 |
0x65, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, |
| 279 |
0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x2a, 0x52, 0x4f, 0x55, 0x54, 0x45, |
| 280 |
0x5f, 0x4d, 0x41, 0x54, 0x52, 0x49, 0x58, 0x5f, 0x45, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, |
| 281 |
0x43, 0x4f, 0x4e, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, |
| 282 |
0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x4f, 0x55, 0x54, 0x45, |
| 283 |
0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x53, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x4f, 0x55, |
| 284 |
0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x02, 0x42, 0xb4, |
| 285 |
0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, |
| 286 |
0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x1e, 0x43, 0x6f, |
| 287 |
0x6d, 0x70, 0x75, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, |
| 288 |
0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, |
| 289 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, |
| 290 |
0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 291 |
0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, |
| 292 |
0x73, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0xf8, 0x01, 0x01, 0xa2, 0x02, |
| 293 |
0x04, 0x47, 0x4d, 0x52, 0x53, 0xaa, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x4d, |
| 294 |
0x61, 0x70, 0x73, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15, |
| 295 |
0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x4d, 0x61, 0x70, 0x73, 0x5c, 0x52, 0x6f, 0x75, 0x74, |
| 296 |
0x65, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 297 |
} |
| 298 |
|
| 299 |
var ( |
| 300 |
file_google_maps_routes_v1_route_matrix_element_proto_rawDescOnce sync.Once |
| 301 |
file_google_maps_routes_v1_route_matrix_element_proto_rawDescData = file_google_maps_routes_v1_route_matrix_element_proto_rawDesc |
| 302 |
) |
| 303 |
|
| 304 |
func file_google_maps_routes_v1_route_matrix_element_proto_rawDescGZIP() []byte { |
| 305 |
file_google_maps_routes_v1_route_matrix_element_proto_rawDescOnce.Do(func() { |
| 306 |
file_google_maps_routes_v1_route_matrix_element_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_routes_v1_route_matrix_element_proto_rawDescData) |
| 307 |
}) |
| 308 |
return file_google_maps_routes_v1_route_matrix_element_proto_rawDescData |
| 309 |
} |
| 310 |
|
| 311 |
var file_google_maps_routes_v1_route_matrix_element_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 312 |
var file_google_maps_routes_v1_route_matrix_element_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 313 |
var file_google_maps_routes_v1_route_matrix_element_proto_goTypes = []interface{}{ |
| 314 |
(RouteMatrixElementCondition)(0), |
| 315 |
(*RouteMatrixElement)(nil), |
| 316 |
(*status.Status)(nil), |
| 317 |
(*durationpb.Duration)(nil), |
| 318 |
(*RouteTravelAdvisory)(nil), |
| 319 |
(*FallbackInfo)(nil), |
| 320 |
} |
| 321 |
var file_google_maps_routes_v1_route_matrix_element_proto_depIdxs = []int32{ |
| 322 |
2, |
| 323 |
0, |
| 324 |
3, |
| 325 |
3, |
| 326 |
4, |
| 327 |
5, |
| 328 |
6, |
| 329 |
6, |
| 330 |
6, |
| 331 |
6, |
| 332 |
0, |
| 333 |
} |
| 334 |
|
| 335 |
func init() { file_google_maps_routes_v1_route_matrix_element_proto_init() } |
| 336 |
func file_google_maps_routes_v1_route_matrix_element_proto_init() { |
| 337 |
if File_google_maps_routes_v1_route_matrix_element_proto != nil { |
| 338 |
return |
| 339 |
} |
| 340 |
file_google_maps_routes_v1_fallback_info_proto_init() |
| 341 |
file_google_maps_routes_v1_route_proto_init() |
| 342 |
if !protoimpl.UnsafeEnabled { |
| 343 |
file_google_maps_routes_v1_route_matrix_element_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 344 |
switch v := v.(*RouteMatrixElement); i { |
| 345 |
case 0: |
| 346 |
return &v.state |
| 347 |
case 1: |
| 348 |
return &v.sizeCache |
| 349 |
case 2: |
| 350 |
return &v.unknownFields |
| 351 |
default: |
| 352 |
return nil |
| 353 |
} |
| 354 |
} |
| 355 |
} |
| 356 |
type x struct{} |
| 357 |
out := protoimpl.TypeBuilder{ |
| 358 |
File: protoimpl.DescBuilder{ |
| 359 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 360 |
RawDescriptor: file_google_maps_routes_v1_route_matrix_element_proto_rawDesc, |
| 361 |
NumEnums: 1, |
| 362 |
NumMessages: 1, |
| 363 |
NumExtensions: 0, |
| 364 |
NumServices: 0, |
| 365 |
}, |
| 366 |
GoTypes: file_google_maps_routes_v1_route_matrix_element_proto_goTypes, |
| 367 |
DependencyIndexes: file_google_maps_routes_v1_route_matrix_element_proto_depIdxs, |
| 368 |
EnumInfos: file_google_maps_routes_v1_route_matrix_element_proto_enumTypes, |
| 369 |
MessageInfos: file_google_maps_routes_v1_route_matrix_element_proto_msgTypes, |
| 370 |
}.Build() |
| 371 |
File_google_maps_routes_v1_route_matrix_element_proto = out.File |
| 372 |
file_google_maps_routes_v1_route_matrix_element_proto_rawDesc = nil |
| 373 |
file_google_maps_routes_v1_route_matrix_element_proto_goTypes = nil |
| 374 |
file_google_maps_routes_v1_route_matrix_element_proto_depIdxs = nil |
| 375 |
} |