| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
package placespb |
| 22 |
|
| 23 |
import ( |
| 24 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 25 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 26 |
reflect "reflect" |
| 27 |
sync "sync" |
| 28 |
) |
| 29 |
|
| 30 |
const ( |
| 31 |
|
| 32 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 33 |
|
| 34 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 35 |
) |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
type TravelMode int32 |
| 41 |
|
| 42 |
const ( |
| 43 |
|
| 44 |
TravelMode_TRAVEL_MODE_UNSPECIFIED TravelMode = 0 |
| 45 |
|
| 46 |
TravelMode_DRIVE TravelMode = 1 |
| 47 |
|
| 48 |
TravelMode_BICYCLE TravelMode = 2 |
| 49 |
|
| 50 |
TravelMode_WALK TravelMode = 3 |
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
TravelMode_TWO_WHEELER TravelMode = 4 |
| 58 |
) |
| 59 |
|
| 60 |
|
| 61 |
var ( |
| 62 |
TravelMode_name = map[int32]string{ |
| 63 |
0: "TRAVEL_MODE_UNSPECIFIED", |
| 64 |
1: "DRIVE", |
| 65 |
2: "BICYCLE", |
| 66 |
3: "WALK", |
| 67 |
4: "TWO_WHEELER", |
| 68 |
} |
| 69 |
TravelMode_value = map[string]int32{ |
| 70 |
"TRAVEL_MODE_UNSPECIFIED": 0, |
| 71 |
"DRIVE": 1, |
| 72 |
"BICYCLE": 2, |
| 73 |
"WALK": 3, |
| 74 |
"TWO_WHEELER": 4, |
| 75 |
} |
| 76 |
) |
| 77 |
|
| 78 |
func (x TravelMode) Enum() *TravelMode { |
| 79 |
p := new(TravelMode) |
| 80 |
*p = x |
| 81 |
return p |
| 82 |
} |
| 83 |
|
| 84 |
func (x TravelMode) String() string { |
| 85 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 86 |
} |
| 87 |
|
| 88 |
func (TravelMode) Descriptor() protoreflect.EnumDescriptor { |
| 89 |
return file_google_maps_places_v1_travel_mode_proto_enumTypes[0].Descriptor() |
| 90 |
} |
| 91 |
|
| 92 |
func (TravelMode) Type() protoreflect.EnumType { |
| 93 |
return &file_google_maps_places_v1_travel_mode_proto_enumTypes[0] |
| 94 |
} |
| 95 |
|
| 96 |
func (x TravelMode) Number() protoreflect.EnumNumber { |
| 97 |
return protoreflect.EnumNumber(x) |
| 98 |
} |
| 99 |
|
| 100 |
|
| 101 |
func (TravelMode) EnumDescriptor() ([]byte, []int) { |
| 102 |
return file_google_maps_places_v1_travel_mode_proto_rawDescGZIP(), []int{0} |
| 103 |
} |
| 104 |
|
| 105 |
var File_google_maps_places_v1_travel_mode_proto protoreflect.FileDescriptor |
| 106 |
|
| 107 |
var file_google_maps_places_v1_travel_mode_proto_rawDesc = []byte{ |
| 108 |
0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x70, 0x6c, |
| 109 |
0x61, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x5f, 0x6d, |
| 110 |
0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 111 |
0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, |
| 112 |
0x2a, 0x5c, 0x0a, 0x0a, 0x54, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1b, |
| 113 |
0x0a, 0x17, 0x54, 0x52, 0x41, 0x56, 0x45, 0x4c, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, |
| 114 |
0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x44, |
| 115 |
0x52, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x49, 0x43, 0x59, 0x43, 0x4c, |
| 116 |
0x45, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x57, 0x41, 0x4c, 0x4b, 0x10, 0x03, 0x12, 0x0f, 0x0a, |
| 117 |
0x0b, 0x54, 0x57, 0x4f, 0x5f, 0x57, 0x48, 0x45, 0x45, 0x4c, 0x45, 0x52, 0x10, 0x04, 0x42, 0xa0, |
| 118 |
0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, |
| 119 |
0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x54, 0x72, |
| 120 |
0x61, 0x76, 0x65, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, |
| 121 |
0x37, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, |
| 122 |
0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, |
| 123 |
0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x70, 0x62, 0x3b, |
| 124 |
0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x70, 0x62, 0xa2, 0x02, 0x06, 0x47, 0x4d, 0x50, 0x53, 0x56, |
| 125 |
0x31, 0xaa, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, |
| 126 |
0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, |
| 127 |
0x6c, 0x65, 0x5c, 0x4d, 0x61, 0x70, 0x73, 0x5c, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x5c, 0x56, |
| 128 |
0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 129 |
} |
| 130 |
|
| 131 |
var ( |
| 132 |
file_google_maps_places_v1_travel_mode_proto_rawDescOnce sync.Once |
| 133 |
file_google_maps_places_v1_travel_mode_proto_rawDescData = file_google_maps_places_v1_travel_mode_proto_rawDesc |
| 134 |
) |
| 135 |
|
| 136 |
func file_google_maps_places_v1_travel_mode_proto_rawDescGZIP() []byte { |
| 137 |
file_google_maps_places_v1_travel_mode_proto_rawDescOnce.Do(func() { |
| 138 |
file_google_maps_places_v1_travel_mode_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_places_v1_travel_mode_proto_rawDescData) |
| 139 |
}) |
| 140 |
return file_google_maps_places_v1_travel_mode_proto_rawDescData |
| 141 |
} |
| 142 |
|
| 143 |
var file_google_maps_places_v1_travel_mode_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 144 |
var file_google_maps_places_v1_travel_mode_proto_goTypes = []any{ |
| 145 |
(TravelMode)(0), |
| 146 |
} |
| 147 |
var file_google_maps_places_v1_travel_mode_proto_depIdxs = []int32{ |
| 148 |
0, |
| 149 |
0, |
| 150 |
0, |
| 151 |
0, |
| 152 |
0, |
| 153 |
} |
| 154 |
|
| 155 |
func init() { file_google_maps_places_v1_travel_mode_proto_init() } |
| 156 |
func file_google_maps_places_v1_travel_mode_proto_init() { |
| 157 |
if File_google_maps_places_v1_travel_mode_proto != nil { |
| 158 |
return |
| 159 |
} |
| 160 |
type x struct{} |
| 161 |
out := protoimpl.TypeBuilder{ |
| 162 |
File: protoimpl.DescBuilder{ |
| 163 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 164 |
RawDescriptor: file_google_maps_places_v1_travel_mode_proto_rawDesc, |
| 165 |
NumEnums: 1, |
| 166 |
NumMessages: 0, |
| 167 |
NumExtensions: 0, |
| 168 |
NumServices: 0, |
| 169 |
}, |
| 170 |
GoTypes: file_google_maps_places_v1_travel_mode_proto_goTypes, |
| 171 |
DependencyIndexes: file_google_maps_places_v1_travel_mode_proto_depIdxs, |
| 172 |
EnumInfos: file_google_maps_places_v1_travel_mode_proto_enumTypes, |
| 173 |
}.Build() |
| 174 |
File_google_maps_places_v1_travel_mode_proto = out.File |
| 175 |
file_google_maps_places_v1_travel_mode_proto_rawDesc = nil |
| 176 |
file_google_maps_places_v1_travel_mode_proto_goTypes = nil |
| 177 |
file_google_maps_places_v1_travel_mode_proto_depIdxs = nil |
| 178 |
} |