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
40
41 type CustomRoute struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46
47 Route *Route `protobuf:"bytes,11,opt,name=route,proto3" json:"route,omitempty"`
48
49
50
51
52
53 Token string `protobuf:"bytes,12,opt,name=token,proto3" json:"token,omitempty"`
54 }
55
56 func (x *CustomRoute) Reset() {
57 *x = CustomRoute{}
58 if protoimpl.UnsafeEnabled {
59 mi := &file_google_maps_routes_v1_custom_route_proto_msgTypes[0]
60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61 ms.StoreMessageInfo(mi)
62 }
63 }
64
65 func (x *CustomRoute) String() string {
66 return protoimpl.X.MessageStringOf(x)
67 }
68
69 func (*CustomRoute) ProtoMessage() {}
70
71 func (x *CustomRoute) ProtoReflect() protoreflect.Message {
72 mi := &file_google_maps_routes_v1_custom_route_proto_msgTypes[0]
73 if protoimpl.UnsafeEnabled && x != nil {
74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75 if ms.LoadMessageInfo() == nil {
76 ms.StoreMessageInfo(mi)
77 }
78 return ms
79 }
80 return mi.MessageOf(x)
81 }
82
83
84 func (*CustomRoute) Descriptor() ([]byte, []int) {
85 return file_google_maps_routes_v1_custom_route_proto_rawDescGZIP(), []int{0}
86 }
87
88 func (x *CustomRoute) GetRoute() *Route {
89 if x != nil {
90 return x.Route
91 }
92 return nil
93 }
94
95 func (x *CustomRoute) GetToken() string {
96 if x != nil {
97 return x.Token
98 }
99 return ""
100 }
101
102 var File_google_maps_routes_v1_custom_route_proto protoreflect.FileDescriptor
103
104 var file_google_maps_routes_v1_custom_route_proto_rawDesc = []byte{
105 0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f,
106 0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x72,
107 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67,
108 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76,
109 0x31, 0x1a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72,
110 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x70,
111 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x0b, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f,
112 0x75, 0x74, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01,
113 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73,
114 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65,
115 0x52, 0x05, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
116 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0xa6, 0x01,
117 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70,
118 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x43, 0x75, 0x73,
119 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
120 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
121 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67,
122 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74,
123 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0xf8, 0x01, 0x01, 0xa2,
124 0x02, 0x04, 0x47, 0x4d, 0x52, 0x53, 0xaa, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
125 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02,
126 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x4d, 0x61, 0x70, 0x73, 0x5c, 0x52, 0x6f, 0x75,
127 0x74, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
128 }
129
130 var (
131 file_google_maps_routes_v1_custom_route_proto_rawDescOnce sync.Once
132 file_google_maps_routes_v1_custom_route_proto_rawDescData = file_google_maps_routes_v1_custom_route_proto_rawDesc
133 )
134
135 func file_google_maps_routes_v1_custom_route_proto_rawDescGZIP() []byte {
136 file_google_maps_routes_v1_custom_route_proto_rawDescOnce.Do(func() {
137 file_google_maps_routes_v1_custom_route_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_routes_v1_custom_route_proto_rawDescData)
138 })
139 return file_google_maps_routes_v1_custom_route_proto_rawDescData
140 }
141
142 var file_google_maps_routes_v1_custom_route_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
143 var file_google_maps_routes_v1_custom_route_proto_goTypes = []interface{}{
144 (*CustomRoute)(nil),
145 (*Route)(nil),
146 }
147 var file_google_maps_routes_v1_custom_route_proto_depIdxs = []int32{
148 1,
149 1,
150 1,
151 1,
152 1,
153 0,
154 }
155
156 func init() { file_google_maps_routes_v1_custom_route_proto_init() }
157 func file_google_maps_routes_v1_custom_route_proto_init() {
158 if File_google_maps_routes_v1_custom_route_proto != nil {
159 return
160 }
161 file_google_maps_routes_v1_route_proto_init()
162 if !protoimpl.UnsafeEnabled {
163 file_google_maps_routes_v1_custom_route_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
164 switch v := v.(*CustomRoute); i {
165 case 0:
166 return &v.state
167 case 1:
168 return &v.sizeCache
169 case 2:
170 return &v.unknownFields
171 default:
172 return nil
173 }
174 }
175 }
176 type x struct{}
177 out := protoimpl.TypeBuilder{
178 File: protoimpl.DescBuilder{
179 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
180 RawDescriptor: file_google_maps_routes_v1_custom_route_proto_rawDesc,
181 NumEnums: 0,
182 NumMessages: 1,
183 NumExtensions: 0,
184 NumServices: 0,
185 },
186 GoTypes: file_google_maps_routes_v1_custom_route_proto_goTypes,
187 DependencyIndexes: file_google_maps_routes_v1_custom_route_proto_depIdxs,
188 MessageInfos: file_google_maps_routes_v1_custom_route_proto_msgTypes,
189 }.Build()
190 File_google_maps_routes_v1_custom_route_proto = out.File
191 file_google_maps_routes_v1_custom_route_proto_rawDesc = nil
192 file_google_maps_routes_v1_custom_route_proto_goTypes = nil
193 file_google_maps_routes_v1_custom_route_proto_depIdxs = nil
194 }
195
View as plain text