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 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39 type ComputeRoutesResponse struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44
45
46
47
48
49 Routes []*Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
50
51
52
53
54 FallbackInfo *FallbackInfo `protobuf:"bytes,2,opt,name=fallback_info,json=fallbackInfo,proto3" json:"fallback_info,omitempty"`
55 }
56
57 func (x *ComputeRoutesResponse) Reset() {
58 *x = ComputeRoutesResponse{}
59 if protoimpl.UnsafeEnabled {
60 mi := &file_google_maps_routes_v1_compute_routes_response_proto_msgTypes[0]
61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
62 ms.StoreMessageInfo(mi)
63 }
64 }
65
66 func (x *ComputeRoutesResponse) String() string {
67 return protoimpl.X.MessageStringOf(x)
68 }
69
70 func (*ComputeRoutesResponse) ProtoMessage() {}
71
72 func (x *ComputeRoutesResponse) ProtoReflect() protoreflect.Message {
73 mi := &file_google_maps_routes_v1_compute_routes_response_proto_msgTypes[0]
74 if protoimpl.UnsafeEnabled && x != nil {
75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
76 if ms.LoadMessageInfo() == nil {
77 ms.StoreMessageInfo(mi)
78 }
79 return ms
80 }
81 return mi.MessageOf(x)
82 }
83
84
85 func (*ComputeRoutesResponse) Descriptor() ([]byte, []int) {
86 return file_google_maps_routes_v1_compute_routes_response_proto_rawDescGZIP(), []int{0}
87 }
88
89 func (x *ComputeRoutesResponse) GetRoutes() []*Route {
90 if x != nil {
91 return x.Routes
92 }
93 return nil
94 }
95
96 func (x *ComputeRoutesResponse) GetFallbackInfo() *FallbackInfo {
97 if x != nil {
98 return x.FallbackInfo
99 }
100 return nil
101 }
102
103 var File_google_maps_routes_v1_compute_routes_response_proto protoreflect.FileDescriptor
104
105 var file_google_maps_routes_v1_compute_routes_response_proto_rawDesc = []byte{
106 0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f,
107 0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f,
108 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e,
109 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61,
110 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x29, 0x67, 0x6f,
111 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73,
112 0x2f, 0x76, 0x31, 0x2f, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x66,
113 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
114 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72,
115 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x15, 0x43,
116 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
117 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01,
118 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61,
119 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75,
120 0x74, 0x65, 0x52, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x48, 0x0a, 0x0d, 0x66, 0x61,
121 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28,
122 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e,
123 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61,
124 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b,
125 0x49, 0x6e, 0x66, 0x6f, 0x42, 0xb0, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
126 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e,
127 0x76, 0x31, 0x42, 0x1a, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65,
128 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
129 0x5a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
130 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f,
131 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75,
132 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0xf8, 0x01, 0x01,
133 0xa2, 0x02, 0x04, 0x47, 0x4d, 0x52, 0x53, 0xaa, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
134 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca,
135 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x4d, 0x61, 0x70, 0x73, 0x5c, 0x52, 0x6f,
136 0x75, 0x74, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
137 }
138
139 var (
140 file_google_maps_routes_v1_compute_routes_response_proto_rawDescOnce sync.Once
141 file_google_maps_routes_v1_compute_routes_response_proto_rawDescData = file_google_maps_routes_v1_compute_routes_response_proto_rawDesc
142 )
143
144 func file_google_maps_routes_v1_compute_routes_response_proto_rawDescGZIP() []byte {
145 file_google_maps_routes_v1_compute_routes_response_proto_rawDescOnce.Do(func() {
146 file_google_maps_routes_v1_compute_routes_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_routes_v1_compute_routes_response_proto_rawDescData)
147 })
148 return file_google_maps_routes_v1_compute_routes_response_proto_rawDescData
149 }
150
151 var file_google_maps_routes_v1_compute_routes_response_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
152 var file_google_maps_routes_v1_compute_routes_response_proto_goTypes = []interface{}{
153 (*ComputeRoutesResponse)(nil),
154 (*Route)(nil),
155 (*FallbackInfo)(nil),
156 }
157 var file_google_maps_routes_v1_compute_routes_response_proto_depIdxs = []int32{
158 1,
159 2,
160 2,
161 2,
162 2,
163 2,
164 0,
165 }
166
167 func init() { file_google_maps_routes_v1_compute_routes_response_proto_init() }
168 func file_google_maps_routes_v1_compute_routes_response_proto_init() {
169 if File_google_maps_routes_v1_compute_routes_response_proto != nil {
170 return
171 }
172 file_google_maps_routes_v1_fallback_info_proto_init()
173 file_google_maps_routes_v1_route_proto_init()
174 if !protoimpl.UnsafeEnabled {
175 file_google_maps_routes_v1_compute_routes_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
176 switch v := v.(*ComputeRoutesResponse); i {
177 case 0:
178 return &v.state
179 case 1:
180 return &v.sizeCache
181 case 2:
182 return &v.unknownFields
183 default:
184 return nil
185 }
186 }
187 }
188 type x struct{}
189 out := protoimpl.TypeBuilder{
190 File: protoimpl.DescBuilder{
191 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
192 RawDescriptor: file_google_maps_routes_v1_compute_routes_response_proto_rawDesc,
193 NumEnums: 0,
194 NumMessages: 1,
195 NumExtensions: 0,
196 NumServices: 0,
197 },
198 GoTypes: file_google_maps_routes_v1_compute_routes_response_proto_goTypes,
199 DependencyIndexes: file_google_maps_routes_v1_compute_routes_response_proto_depIdxs,
200 MessageInfos: file_google_maps_routes_v1_compute_routes_response_proto_msgTypes,
201 }.Build()
202 File_google_maps_routes_v1_compute_routes_response_proto = out.File
203 file_google_maps_routes_v1_compute_routes_response_proto_rawDesc = nil
204 file_google_maps_routes_v1_compute_routes_response_proto_goTypes = nil
205 file_google_maps_routes_v1_compute_routes_response_proto_depIdxs = nil
206 }
207
View as plain text