| 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 aliasgen. DO NOT EDIT. |
| 16 |
|
| 17 |
// Package routing aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/maps/routing/apiv2/routingpb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package routing |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/maps/routing/apiv2/routingpb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 31 |
const ( |
| 32 |
ComputeRoutesRequest_FUEL_EFFICIENT = src.ComputeRoutesRequest_FUEL_EFFICIENT |
| 33 |
ComputeRoutesRequest_REFERENCE_ROUTE_UNSPECIFIED = src.ComputeRoutesRequest_REFERENCE_ROUTE_UNSPECIFIED |
| 34 |
FallbackReason_FALLBACK_REASON_UNSPECIFIED = src.FallbackReason_FALLBACK_REASON_UNSPECIFIED |
| 35 |
FallbackReason_LATENCY_EXCEEDED = src.FallbackReason_LATENCY_EXCEEDED |
| 36 |
FallbackReason_SERVER_ERROR = src.FallbackReason_SERVER_ERROR |
| 37 |
FallbackRoutingMode_FALLBACK_ROUTING_MODE_UNSPECIFIED = src.FallbackRoutingMode_FALLBACK_ROUTING_MODE_UNSPECIFIED |
| 38 |
FallbackRoutingMode_FALLBACK_TRAFFIC_AWARE = src.FallbackRoutingMode_FALLBACK_TRAFFIC_AWARE |
| 39 |
FallbackRoutingMode_FALLBACK_TRAFFIC_UNAWARE = src.FallbackRoutingMode_FALLBACK_TRAFFIC_UNAWARE |
| 40 |
Maneuver_FERRY = src.Maneuver_FERRY |
| 41 |
Maneuver_FERRY_TRAIN = src.Maneuver_FERRY_TRAIN |
| 42 |
Maneuver_FORK_LEFT = src.Maneuver_FORK_LEFT |
| 43 |
Maneuver_FORK_RIGHT = src.Maneuver_FORK_RIGHT |
| 44 |
Maneuver_MANEUVER_UNSPECIFIED = src.Maneuver_MANEUVER_UNSPECIFIED |
| 45 |
Maneuver_MERGE = src.Maneuver_MERGE |
| 46 |
Maneuver_RAMP_LEFT = src.Maneuver_RAMP_LEFT |
| 47 |
Maneuver_RAMP_RIGHT = src.Maneuver_RAMP_RIGHT |
| 48 |
Maneuver_ROUNDABOUT_LEFT = src.Maneuver_ROUNDABOUT_LEFT |
| 49 |
Maneuver_ROUNDABOUT_RIGHT = src.Maneuver_ROUNDABOUT_RIGHT |
| 50 |
Maneuver_STRAIGHT = src.Maneuver_STRAIGHT |
| 51 |
Maneuver_TURN_LEFT = src.Maneuver_TURN_LEFT |
| 52 |
Maneuver_TURN_RIGHT = src.Maneuver_TURN_RIGHT |
| 53 |
Maneuver_TURN_SHARP_LEFT = src.Maneuver_TURN_SHARP_LEFT |
| 54 |
Maneuver_TURN_SHARP_RIGHT = src.Maneuver_TURN_SHARP_RIGHT |
| 55 |
Maneuver_TURN_SLIGHT_LEFT = src.Maneuver_TURN_SLIGHT_LEFT |
| 56 |
Maneuver_TURN_SLIGHT_RIGHT = src.Maneuver_TURN_SLIGHT_RIGHT |
| 57 |
Maneuver_UTURN_LEFT = src.Maneuver_UTURN_LEFT |
| 58 |
Maneuver_UTURN_RIGHT = src.Maneuver_UTURN_RIGHT |
| 59 |
PolylineEncoding_ENCODED_POLYLINE = src.PolylineEncoding_ENCODED_POLYLINE |
| 60 |
PolylineEncoding_GEO_JSON_LINESTRING = src.PolylineEncoding_GEO_JSON_LINESTRING |
| 61 |
PolylineEncoding_POLYLINE_ENCODING_UNSPECIFIED = src.PolylineEncoding_POLYLINE_ENCODING_UNSPECIFIED |
| 62 |
PolylineQuality_HIGH_QUALITY = src.PolylineQuality_HIGH_QUALITY |
| 63 |
PolylineQuality_OVERVIEW = src.PolylineQuality_OVERVIEW |
| 64 |
PolylineQuality_POLYLINE_QUALITY_UNSPECIFIED = src.PolylineQuality_POLYLINE_QUALITY_UNSPECIFIED |
| 65 |
RouteLabel_DEFAULT_ROUTE = src.RouteLabel_DEFAULT_ROUTE |
| 66 |
RouteLabel_DEFAULT_ROUTE_ALTERNATE = src.RouteLabel_DEFAULT_ROUTE_ALTERNATE |
| 67 |
RouteLabel_FUEL_EFFICIENT = src.RouteLabel_FUEL_EFFICIENT |
| 68 |
RouteLabel_ROUTE_LABEL_UNSPECIFIED = src.RouteLabel_ROUTE_LABEL_UNSPECIFIED |
| 69 |
RouteMatrixElementCondition_ROUTE_EXISTS = src.RouteMatrixElementCondition_ROUTE_EXISTS |
| 70 |
RouteMatrixElementCondition_ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED = src.RouteMatrixElementCondition_ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED |
| 71 |
RouteMatrixElementCondition_ROUTE_NOT_FOUND = src.RouteMatrixElementCondition_ROUTE_NOT_FOUND |
| 72 |
RouteTravelMode_BICYCLE = src.RouteTravelMode_BICYCLE |
| 73 |
RouteTravelMode_DRIVE = src.RouteTravelMode_DRIVE |
| 74 |
RouteTravelMode_TRAVEL_MODE_UNSPECIFIED = src.RouteTravelMode_TRAVEL_MODE_UNSPECIFIED |
| 75 |
RouteTravelMode_TWO_WHEELER = src.RouteTravelMode_TWO_WHEELER |
| 76 |
RouteTravelMode_WALK = src.RouteTravelMode_WALK |
| 77 |
RoutingPreference_ROUTING_PREFERENCE_UNSPECIFIED = src.RoutingPreference_ROUTING_PREFERENCE_UNSPECIFIED |
| 78 |
RoutingPreference_TRAFFIC_AWARE = src.RoutingPreference_TRAFFIC_AWARE |
| 79 |
RoutingPreference_TRAFFIC_AWARE_OPTIMAL = src.RoutingPreference_TRAFFIC_AWARE_OPTIMAL |
| 80 |
RoutingPreference_TRAFFIC_UNAWARE = src.RoutingPreference_TRAFFIC_UNAWARE |
| 81 |
SpeedReadingInterval_NORMAL = src.SpeedReadingInterval_NORMAL |
| 82 |
SpeedReadingInterval_SLOW = src.SpeedReadingInterval_SLOW |
| 83 |
SpeedReadingInterval_SPEED_UNSPECIFIED = src.SpeedReadingInterval_SPEED_UNSPECIFIED |
| 84 |
SpeedReadingInterval_TRAFFIC_JAM = src.SpeedReadingInterval_TRAFFIC_JAM |
| 85 |
TollPass_AR_TELEPASE = src.TollPass_AR_TELEPASE |
| 86 |
TollPass_AU_ETOLL_TAG = src.TollPass_AU_ETOLL_TAG |
| 87 |
TollPass_AU_EWAY_TAG = src.TollPass_AU_EWAY_TAG |
| 88 |
TollPass_AU_LINKT = src.TollPass_AU_LINKT |
| 89 |
TollPass_BR_AUTO_EXPRESO = src.TollPass_BR_AUTO_EXPRESO |
| 90 |
TollPass_BR_CONECTCAR = src.TollPass_BR_CONECTCAR |
| 91 |
TollPass_BR_MOVE_MAIS = src.TollPass_BR_MOVE_MAIS |
| 92 |
TollPass_BR_PASSA_RAPIDO = src.TollPass_BR_PASSA_RAPIDO |
| 93 |
TollPass_BR_SEM_PARAR = src.TollPass_BR_SEM_PARAR |
| 94 |
TollPass_BR_TAGGY = src.TollPass_BR_TAGGY |
| 95 |
TollPass_BR_VELOE = src.TollPass_BR_VELOE |
| 96 |
TollPass_CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD = src.TollPass_CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD |
| 97 |
TollPass_CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD = src.TollPass_CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD |
| 98 |
TollPass_CA_US_BLUE_WATER_EDGE_PASS = src.TollPass_CA_US_BLUE_WATER_EDGE_PASS |
| 99 |
TollPass_CA_US_CONNEXION = src.TollPass_CA_US_CONNEXION |
| 100 |
TollPass_CA_US_NEXUS_CARD = src.TollPass_CA_US_NEXUS_CARD |
| 101 |
TollPass_ID_E_TOLL = src.TollPass_ID_E_TOLL |
| 102 |
TollPass_IN_FASTAG = src.TollPass_IN_FASTAG |
| 103 |
TollPass_IN_LOCAL_HP_PLATE_EXEMPT = src.TollPass_IN_LOCAL_HP_PLATE_EXEMPT |
| 104 |
TollPass_MX_IAVE = src.TollPass_MX_IAVE |
| 105 |
TollPass_MX_PASE = src.TollPass_MX_PASE |
| 106 |
TollPass_MX_QUICKPASS = src.TollPass_MX_QUICKPASS |
| 107 |
TollPass_MX_SISTEMA_TELEPEAJE_CHIHUAHUA = src.TollPass_MX_SISTEMA_TELEPEAJE_CHIHUAHUA |
| 108 |
TollPass_MX_TAG_IAVE = src.TollPass_MX_TAG_IAVE |
| 109 |
TollPass_MX_TAG_TELEVIA = src.TollPass_MX_TAG_TELEVIA |
| 110 |
TollPass_MX_TELEVIA = src.TollPass_MX_TELEVIA |
| 111 |
TollPass_MX_VIAPASS = src.TollPass_MX_VIAPASS |
| 112 |
TollPass_TOLL_PASS_UNSPECIFIED = src.TollPass_TOLL_PASS_UNSPECIFIED |
| 113 |
TollPass_US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS = src.TollPass_US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS |
| 114 |
TollPass_US_AL_FREEDOM_PASS = src.TollPass_US_AL_FREEDOM_PASS |
| 115 |
TollPass_US_CA_FASTRAK = src.TollPass_US_CA_FASTRAK |
| 116 |
TollPass_US_CA_FASTRAK_CAV_STICKER = src.TollPass_US_CA_FASTRAK_CAV_STICKER |
| 117 |
TollPass_US_CO_EXPRESSTOLL = src.TollPass_US_CO_EXPRESSTOLL |
| 118 |
TollPass_US_CO_GO_PASS = src.TollPass_US_CO_GO_PASS |
| 119 |
TollPass_US_DE_EZPASSDE = src.TollPass_US_DE_EZPASSDE |
| 120 |
TollPass_US_FL_BOB_SIKES_TOLL_BRIDGE_PASS = src.TollPass_US_FL_BOB_SIKES_TOLL_BRIDGE_PASS |
| 121 |
TollPass_US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD = src.TollPass_US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD |
| 122 |
TollPass_US_FL_EPASS = src.TollPass_US_FL_EPASS |
| 123 |
TollPass_US_FL_GIBA_TOLL_PASS = src.TollPass_US_FL_GIBA_TOLL_PASS |
| 124 |
TollPass_US_FL_LEEWAY = src.TollPass_US_FL_LEEWAY |
| 125 |
TollPass_US_FL_SUNPASS = src.TollPass_US_FL_SUNPASS |
| 126 |
TollPass_US_FL_SUNPASS_PRO = src.TollPass_US_FL_SUNPASS_PRO |
| 127 |
TollPass_US_IL_EZPASSIL = src.TollPass_US_IL_EZPASSIL |
| 128 |
TollPass_US_IL_IPASS = src.TollPass_US_IL_IPASS |
| 129 |
TollPass_US_IN_EZPASSIN = src.TollPass_US_IN_EZPASSIN |
| 130 |
TollPass_US_KS_BESTPASS_HORIZON = src.TollPass_US_KS_BESTPASS_HORIZON |
| 131 |
TollPass_US_KS_KTAG = src.TollPass_US_KS_KTAG |
| 132 |
TollPass_US_KS_NATIONALPASS = src.TollPass_US_KS_NATIONALPASS |
| 133 |
TollPass_US_KS_PREPASS_ELITEPASS = src.TollPass_US_KS_PREPASS_ELITEPASS |
| 134 |
TollPass_US_KY_RIVERLINK = src.TollPass_US_KY_RIVERLINK |
| 135 |
TollPass_US_LA_GEAUXPASS = src.TollPass_US_LA_GEAUXPASS |
| 136 |
TollPass_US_LA_TOLL_TAG = src.TollPass_US_LA_TOLL_TAG |
| 137 |
TollPass_US_MA_EZPASSMA = src.TollPass_US_MA_EZPASSMA |
| 138 |
TollPass_US_MD_EZPASSMD = src.TollPass_US_MD_EZPASSMD |
| 139 |
TollPass_US_ME_EZPASSME = src.TollPass_US_ME_EZPASSME |
| 140 |
TollPass_US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD = src.TollPass_US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD |
| 141 |
TollPass_US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG = src.TollPass_US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG |
| 142 |
TollPass_US_MI_IQ_PROX_CARD = src.TollPass_US_MI_IQ_PROX_CARD |
| 143 |
TollPass_US_MI_MACKINAC_BRIDGE_MAC_PASS = src.TollPass_US_MI_MACKINAC_BRIDGE_MAC_PASS |
| 144 |
TollPass_US_MI_NEXPRESS_TOLL = src.TollPass_US_MI_NEXPRESS_TOLL |
| 145 |
TollPass_US_MN_EZPASSMN = src.TollPass_US_MN_EZPASSMN |
| 146 |
TollPass_US_NC_EZPASSNC = src.TollPass_US_NC_EZPASSNC |
| 147 |
TollPass_US_NC_PEACH_PASS = src.TollPass_US_NC_PEACH_PASS |
| 148 |
TollPass_US_NC_QUICK_PASS = src.TollPass_US_NC_QUICK_PASS |
| 149 |
TollPass_US_NH_EZPASSNH = src.TollPass_US_NH_EZPASSNH |
| 150 |
TollPass_US_NJ_DOWNBEACH_EXPRESS_PASS = src.TollPass_US_NJ_DOWNBEACH_EXPRESS_PASS |
| 151 |
TollPass_US_NJ_EZPASSNJ = src.TollPass_US_NJ_EZPASSNJ |
| 152 |
TollPass_US_NY_EXPRESSPASS = src.TollPass_US_NY_EXPRESSPASS |
| 153 |
TollPass_US_NY_EZPASSNY = src.TollPass_US_NY_EZPASSNY |
| 154 |
TollPass_US_OH_EZPASSOH = src.TollPass_US_OH_EZPASSOH |
| 155 |
TollPass_US_PA_EZPASSPA = src.TollPass_US_PA_EZPASSPA |
| 156 |
TollPass_US_RI_EZPASSRI = src.TollPass_US_RI_EZPASSRI |
| 157 |
TollPass_US_SC_PALPASS = src.TollPass_US_SC_PALPASS |
| 158 |
TollPass_US_TX_BANCPASS = src.TollPass_US_TX_BANCPASS |
| 159 |
TollPass_US_TX_DEL_RIO_PASS = src.TollPass_US_TX_DEL_RIO_PASS |
| 160 |
TollPass_US_TX_EAGLE_PASS_EXPRESS_CARD = src.TollPass_US_TX_EAGLE_PASS_EXPRESS_CARD |
| 161 |
TollPass_US_TX_EFAST_PASS = src.TollPass_US_TX_EFAST_PASS |
| 162 |
TollPass_US_TX_EPTOLL = src.TollPass_US_TX_EPTOLL |
| 163 |
TollPass_US_TX_EZTAG = src.TollPass_US_TX_EZTAG |
| 164 |
TollPass_US_TX_EZ_CROSS = src.TollPass_US_TX_EZ_CROSS |
| 165 |
TollPass_US_TX_LAREDO_TRADE_TAG = src.TollPass_US_TX_LAREDO_TRADE_TAG |
| 166 |
TollPass_US_TX_PLUSPASS = src.TollPass_US_TX_PLUSPASS |
| 167 |
TollPass_US_TX_TOLLTAG = src.TollPass_US_TX_TOLLTAG |
| 168 |
TollPass_US_TX_TXTAG = src.TollPass_US_TX_TXTAG |
| 169 |
TollPass_US_TX_XPRESS_CARD = src.TollPass_US_TX_XPRESS_CARD |
| 170 |
TollPass_US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD = src.TollPass_US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD |
| 171 |
TollPass_US_VA_EZPASSVA = src.TollPass_US_VA_EZPASSVA |
| 172 |
TollPass_US_WA_BREEZEBY = src.TollPass_US_WA_BREEZEBY |
| 173 |
TollPass_US_WA_GOOD_TO_GO = src.TollPass_US_WA_GOOD_TO_GO |
| 174 |
TollPass_US_WV_EZPASSWV = src.TollPass_US_WV_EZPASSWV |
| 175 |
TollPass_US_WV_MEMORIAL_BRIDGE_TICKETS = src.TollPass_US_WV_MEMORIAL_BRIDGE_TICKETS |
| 176 |
TollPass_US_WV_NEWELL_TOLL_BRIDGE_TICKET = src.TollPass_US_WV_NEWELL_TOLL_BRIDGE_TICKET |
| 177 |
Units_IMPERIAL = src.Units_IMPERIAL |
| 178 |
Units_METRIC = src.Units_METRIC |
| 179 |
Units_UNITS_UNSPECIFIED = src.Units_UNITS_UNSPECIFIED |
| 180 |
VehicleEmissionType_DIESEL = src.VehicleEmissionType_DIESEL |
| 181 |
VehicleEmissionType_ELECTRIC = src.VehicleEmissionType_ELECTRIC |
| 182 |
VehicleEmissionType_GASOLINE = src.VehicleEmissionType_GASOLINE |
| 183 |
VehicleEmissionType_HYBRID = src.VehicleEmissionType_HYBRID |
| 184 |
VehicleEmissionType_VEHICLE_EMISSION_TYPE_UNSPECIFIED = src.VehicleEmissionType_VEHICLE_EMISSION_TYPE_UNSPECIFIED |
| 185 |
) |
| 186 |
|
| 187 |
// Deprecated: Please use vars in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 188 |
var ( |
| 189 |
ComputeRoutesRequest_ReferenceRoute_name = src.ComputeRoutesRequest_ReferenceRoute_name |
| 190 |
ComputeRoutesRequest_ReferenceRoute_value = src.ComputeRoutesRequest_ReferenceRoute_value |
| 191 |
FallbackReason_name = src.FallbackReason_name |
| 192 |
FallbackReason_value = src.FallbackReason_value |
| 193 |
FallbackRoutingMode_name = src.FallbackRoutingMode_name |
| 194 |
FallbackRoutingMode_value = src.FallbackRoutingMode_value |
| 195 |
File_google_maps_routing_v2_fallback_info_proto = src.File_google_maps_routing_v2_fallback_info_proto |
| 196 |
File_google_maps_routing_v2_location_proto = src.File_google_maps_routing_v2_location_proto |
| 197 |
File_google_maps_routing_v2_maneuver_proto = src.File_google_maps_routing_v2_maneuver_proto |
| 198 |
File_google_maps_routing_v2_navigation_instruction_proto = src.File_google_maps_routing_v2_navigation_instruction_proto |
| 199 |
File_google_maps_routing_v2_polyline_proto = src.File_google_maps_routing_v2_polyline_proto |
| 200 |
File_google_maps_routing_v2_route_label_proto = src.File_google_maps_routing_v2_route_label_proto |
| 201 |
File_google_maps_routing_v2_route_modifiers_proto = src.File_google_maps_routing_v2_route_modifiers_proto |
| 202 |
File_google_maps_routing_v2_route_proto = src.File_google_maps_routing_v2_route_proto |
| 203 |
File_google_maps_routing_v2_route_travel_mode_proto = src.File_google_maps_routing_v2_route_travel_mode_proto |
| 204 |
File_google_maps_routing_v2_routes_service_proto = src.File_google_maps_routing_v2_routes_service_proto |
| 205 |
File_google_maps_routing_v2_routing_preference_proto = src.File_google_maps_routing_v2_routing_preference_proto |
| 206 |
File_google_maps_routing_v2_speed_reading_interval_proto = src.File_google_maps_routing_v2_speed_reading_interval_proto |
| 207 |
File_google_maps_routing_v2_toll_info_proto = src.File_google_maps_routing_v2_toll_info_proto |
| 208 |
File_google_maps_routing_v2_toll_passes_proto = src.File_google_maps_routing_v2_toll_passes_proto |
| 209 |
File_google_maps_routing_v2_units_proto = src.File_google_maps_routing_v2_units_proto |
| 210 |
File_google_maps_routing_v2_vehicle_emission_type_proto = src.File_google_maps_routing_v2_vehicle_emission_type_proto |
| 211 |
File_google_maps_routing_v2_vehicle_info_proto = src.File_google_maps_routing_v2_vehicle_info_proto |
| 212 |
File_google_maps_routing_v2_waypoint_proto = src.File_google_maps_routing_v2_waypoint_proto |
| 213 |
Maneuver_name = src.Maneuver_name |
| 214 |
Maneuver_value = src.Maneuver_value |
| 215 |
PolylineEncoding_name = src.PolylineEncoding_name |
| 216 |
PolylineEncoding_value = src.PolylineEncoding_value |
| 217 |
PolylineQuality_name = src.PolylineQuality_name |
| 218 |
PolylineQuality_value = src.PolylineQuality_value |
| 219 |
RouteLabel_name = src.RouteLabel_name |
| 220 |
RouteLabel_value = src.RouteLabel_value |
| 221 |
RouteMatrixElementCondition_name = src.RouteMatrixElementCondition_name |
| 222 |
RouteMatrixElementCondition_value = src.RouteMatrixElementCondition_value |
| 223 |
RouteTravelMode_name = src.RouteTravelMode_name |
| 224 |
RouteTravelMode_value = src.RouteTravelMode_value |
| 225 |
RoutingPreference_name = src.RoutingPreference_name |
| 226 |
RoutingPreference_value = src.RoutingPreference_value |
| 227 |
SpeedReadingInterval_Speed_name = src.SpeedReadingInterval_Speed_name |
| 228 |
SpeedReadingInterval_Speed_value = src.SpeedReadingInterval_Speed_value |
| 229 |
TollPass_name = src.TollPass_name |
| 230 |
TollPass_value = src.TollPass_value |
| 231 |
Units_name = src.Units_name |
| 232 |
Units_value = src.Units_value |
| 233 |
VehicleEmissionType_name = src.VehicleEmissionType_name |
| 234 |
VehicleEmissionType_value = src.VehicleEmissionType_value |
| 235 |
) |
| 236 |
|
| 237 |
// ComputeRouteMatrix request message |
| 238 |
// |
| 239 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 240 |
type ComputeRouteMatrixRequest = src.ComputeRouteMatrixRequest |
| 241 |
|
| 242 |
// ComputeRoutes request message. |
| 243 |
// |
| 244 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 245 |
type ComputeRoutesRequest = src.ComputeRoutesRequest |
| 246 |
|
| 247 |
// A supported reference route on the ComputeRoutesRequest. |
| 248 |
// |
| 249 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 250 |
type ComputeRoutesRequest_ReferenceRoute = src.ComputeRoutesRequest_ReferenceRoute |
| 251 |
|
| 252 |
// ComputeRoutes the response message. |
| 253 |
// |
| 254 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 255 |
type ComputeRoutesResponse = src.ComputeRoutesResponse |
| 256 |
|
| 257 |
// Information related to how and why a fallback result was used. If this |
| 258 |
// field is set, then it means the server used a different routing mode from |
| 259 |
// your preferred mode as fallback. |
| 260 |
// |
| 261 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 262 |
type FallbackInfo = src.FallbackInfo |
| 263 |
|
| 264 |
// Reasons for using fallback response. |
| 265 |
// |
| 266 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 267 |
type FallbackReason = src.FallbackReason |
| 268 |
|
| 269 |
// Actual routing mode used for returned fallback response. |
| 270 |
// |
| 271 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 272 |
type FallbackRoutingMode = src.FallbackRoutingMode |
| 273 |
|
| 274 |
// Encapsulates a location (a geographic point, and an optional heading). |
| 275 |
// |
| 276 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 277 |
type Location = src.Location |
| 278 |
|
| 279 |
// A set of values that specify the navigation action to take for the current |
| 280 |
// step (e.g., turn left, merge, straight, etc.). |
| 281 |
// |
| 282 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 283 |
type Maneuver = src.Maneuver |
| 284 |
|
| 285 |
// Encapsulates navigation instructions for a |
| 286 |
// [RouteLegStep][google.maps.routing.v2.RouteLegStep] |
| 287 |
// |
| 288 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 289 |
type NavigationInstruction = src.NavigationInstruction |
| 290 |
|
| 291 |
// Encapsulates an encoded polyline. |
| 292 |
// |
| 293 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 294 |
type Polyline = src.Polyline |
| 295 |
|
| 296 |
// Specifies the preferred type of polyline to be returned. |
| 297 |
// |
| 298 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 299 |
type PolylineEncoding = src.PolylineEncoding |
| 300 |
|
| 301 |
// A set of values that specify the quality of the polyline. |
| 302 |
// |
| 303 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 304 |
type PolylineQuality = src.PolylineQuality |
| 305 |
type Polyline_EncodedPolyline = src.Polyline_EncodedPolyline |
| 306 |
type Polyline_GeoJsonLinestring = src.Polyline_GeoJsonLinestring |
| 307 |
|
| 308 |
// Encapsulates a route, which consists of a series of connected road segments |
| 309 |
// that join beginning, ending, and intermediate waypoints. |
| 310 |
// |
| 311 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 312 |
type Route = src.Route |
| 313 |
|
| 314 |
// Labels for the `Route` that are useful to identify specific properties of |
| 315 |
// the route to compare against others. |
| 316 |
// |
| 317 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 318 |
type RouteLabel = src.RouteLabel |
| 319 |
|
| 320 |
// Encapsulates a segment between non-`via` waypoints. |
| 321 |
// |
| 322 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 323 |
type RouteLeg = src.RouteLeg |
| 324 |
|
| 325 |
// Encapsulates a segment of a `RouteLeg`. A step corresponds to a single |
| 326 |
// navigation instruction. Route legs are made up of steps. |
| 327 |
// |
| 328 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 329 |
type RouteLegStep = src.RouteLegStep |
| 330 |
|
| 331 |
// Encapsulates the additional information that the user should be informed |
| 332 |
// about, such as possible traffic zone restriction on a leg step. |
| 333 |
// |
| 334 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 335 |
type RouteLegStepTravelAdvisory = src.RouteLegStepTravelAdvisory |
| 336 |
|
| 337 |
// Encapsulates the additional information that the user should be informed |
| 338 |
// about, such as possible traffic zone restriction etc. on a route leg. |
| 339 |
// |
| 340 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 341 |
type RouteLegTravelAdvisory = src.RouteLegTravelAdvisory |
| 342 |
|
| 343 |
// A single destination for ComputeRouteMatrixRequest |
| 344 |
// |
| 345 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 346 |
type RouteMatrixDestination = src.RouteMatrixDestination |
| 347 |
|
| 348 |
// Encapsulates route information computed for an origin/destination pair in |
| 349 |
// the ComputeRouteMatrix API. This proto can be streamed to the client. |
| 350 |
// |
| 351 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 352 |
type RouteMatrixElement = src.RouteMatrixElement |
| 353 |
|
| 354 |
// The condition of the route being returned. |
| 355 |
// |
| 356 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 357 |
type RouteMatrixElementCondition = src.RouteMatrixElementCondition |
| 358 |
|
| 359 |
// A single origin for ComputeRouteMatrixRequest |
| 360 |
// |
| 361 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 362 |
type RouteMatrixOrigin = src.RouteMatrixOrigin |
| 363 |
|
| 364 |
// Encapsulates a set of optional conditions to satisfy when calculating the |
| 365 |
// routes. |
| 366 |
// |
| 367 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 368 |
type RouteModifiers = src.RouteModifiers |
| 369 |
|
| 370 |
// Encapsulates the additional information that the user should be informed |
| 371 |
// about, such as possible traffic zone restriction etc. |
| 372 |
// |
| 373 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 374 |
type RouteTravelAdvisory = src.RouteTravelAdvisory |
| 375 |
|
| 376 |
// A set of values used to specify the mode of travel. |
| 377 |
// |
| 378 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 379 |
type RouteTravelMode = src.RouteTravelMode |
| 380 |
|
| 381 |
// RoutesClient is the client API for Routes service. For semantics around ctx |
| 382 |
// use and closing/ending streaming RPCs, please refer to |
| 383 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 384 |
// |
| 385 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 386 |
type RoutesClient = src.RoutesClient |
| 387 |
|
| 388 |
// RoutesServer is the server API for Routes service. |
| 389 |
// |
| 390 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 391 |
type RoutesServer = src.RoutesServer |
| 392 |
type Routes_ComputeRouteMatrixClient = src.Routes_ComputeRouteMatrixClient |
| 393 |
type Routes_ComputeRouteMatrixServer = src.Routes_ComputeRouteMatrixServer |
| 394 |
|
| 395 |
// A set of values that specify factors to take into consideration when |
| 396 |
// calculating the route. |
| 397 |
// |
| 398 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 399 |
type RoutingPreference = src.RoutingPreference |
| 400 |
|
| 401 |
// Traffic density indicator on a contiguous segment of a polyline or path. |
| 402 |
// Given a path with points P_0, P_1, ... , P_N (zero-based index), the |
| 403 |
// SpeedReadingInterval defines an interval and describes its traffic using the |
| 404 |
// following categories. |
| 405 |
// |
| 406 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 407 |
type SpeedReadingInterval = src.SpeedReadingInterval |
| 408 |
|
| 409 |
// The classification of polyline speed based on traffic data. |
| 410 |
// |
| 411 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 412 |
type SpeedReadingInterval_Speed = src.SpeedReadingInterval_Speed |
| 413 |
|
| 414 |
// Encapsulates toll information on a `Route` or on a `RouteLeg`. |
| 415 |
// |
| 416 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 417 |
type TollInfo = src.TollInfo |
| 418 |
|
| 419 |
// List of toll passes around the world that we support. |
| 420 |
// |
| 421 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 422 |
type TollPass = src.TollPass |
| 423 |
|
| 424 |
// UnimplementedRoutesServer can be embedded to have forward compatible |
| 425 |
// implementations. |
| 426 |
// |
| 427 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 428 |
type UnimplementedRoutesServer = src.UnimplementedRoutesServer |
| 429 |
|
| 430 |
// A set of values that specify the unit of measure used in the display. |
| 431 |
// |
| 432 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 433 |
type Units = src.Units |
| 434 |
|
| 435 |
// A set of values describing the vehicle's emission type. Applies only to the |
| 436 |
// DRIVE travel mode. |
| 437 |
// |
| 438 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 439 |
type VehicleEmissionType = src.VehicleEmissionType |
| 440 |
|
| 441 |
// Encapsulates the vehicle information, such as the license plate last |
| 442 |
// character. |
| 443 |
// |
| 444 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 445 |
type VehicleInfo = src.VehicleInfo |
| 446 |
|
| 447 |
// Encapsulates a waypoint. Waypoints mark both the beginning and end of a |
| 448 |
// route, and include intermediate stops along the route. |
| 449 |
// |
| 450 |
// Deprecated: Please use types in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 451 |
type Waypoint = src.Waypoint |
| 452 |
type Waypoint_Location = src.Waypoint_Location |
| 453 |
type Waypoint_PlaceId = src.Waypoint_PlaceId |
| 454 |
|
| 455 |
// Deprecated: Please use funcs in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 456 |
func NewRoutesClient(cc grpc.ClientConnInterface) RoutesClient { return src.NewRoutesClient(cc) } |
| 457 |
|
| 458 |
// Deprecated: Please use funcs in: cloud.google.com/go/maps/routing/apiv2/routingpb |
| 459 |
func RegisterRoutesServer(s *grpc.Server, srv RoutesServer) { src.RegisterRoutesServer(s, srv) } |