Package cloud.google.com/go/maps/places/apiv1/placespb (v1.13.0)

Variables

EVConnectorType_name, EVConnectorType_value

  var 
  
 ( 
  
 EVConnectorType_name 
  
 = 
  
 map 
 [ 
  int32 
 
 ] 
  string 
 
 { 
  
 0 
 : 
  
 "EV_CONNECTOR_TYPE_UNSPECIFIED" 
 , 
  
 1 
 : 
  
 "EV_CONNECTOR_TYPE_OTHER" 
 , 
  
 2 
 : 
  
 "EV_CONNECTOR_TYPE_J1772" 
 , 
  
 3 
 : 
  
 "EV_CONNECTOR_TYPE_TYPE_2" 
 , 
  
 4 
 : 
  
 "EV_CONNECTOR_TYPE_CHADEMO" 
 , 
  
 5 
 : 
  
 "EV_CONNECTOR_TYPE_CCS_COMBO_1" 
 , 
  
 6 
 : 
  
 "EV_CONNECTOR_TYPE_CCS_COMBO_2" 
 , 
  
 7 
 : 
  
 "EV_CONNECTOR_TYPE_TESLA" 
 , 
  
 8 
 : 
  
 "EV_CONNECTOR_TYPE_UNSPECIFIED_GB_T" 
 , 
  
 9 
 : 
  
 "EV_CONNECTOR_TYPE_UNSPECIFIED_WALL_OUTLET" 
 , 
  
 } 
  
 EVConnectorType_value 
  
 = 
  
 map 
 [ 
  string 
 
 ] 
  int32 
 
 { 
  
 "EV_CONNECTOR_TYPE_UNSPECIFIED" 
 : 
  
 0 
 , 
  
 "EV_CONNECTOR_TYPE_OTHER" 
 : 
  
 1 
 , 
  
 "EV_CONNECTOR_TYPE_J1772" 
 : 
  
 2 
 , 
  
 "EV_CONNECTOR_TYPE_TYPE_2" 
 : 
  
 3 
 , 
  
 "EV_CONNECTOR_TYPE_CHADEMO" 
 : 
  
 4 
 , 
  
 "EV_CONNECTOR_TYPE_CCS_COMBO_1" 
 : 
  
 5 
 , 
  
 "EV_CONNECTOR_TYPE_CCS_COMBO_2" 
 : 
  
 6 
 , 
  
 "EV_CONNECTOR_TYPE_TESLA" 
 : 
  
 7 
 , 
  
 "EV_CONNECTOR_TYPE_UNSPECIFIED_GB_T" 
 : 
  
 8 
 , 
  
 "EV_CONNECTOR_TYPE_UNSPECIFIED_WALL_OUTLET" 
 : 
  
 9 
 , 
  
 } 
 ) 
 

Enum value maps for EVConnectorType.

FuelOptions_FuelPrice_FuelType_name, FuelOptions_FuelPrice_FuelType_value

  var 
  
 ( 
  
 FuelOptions_FuelPrice_FuelType_name 
  
 = 
  
 map 
 [ 
  int32 
 
 ] 
  string 
 
 { 
  
 0 
 : 
  
 "FUEL_TYPE_UNSPECIFIED" 
 , 
  
 1 
 : 
  
 "DIESEL" 
 , 
  
 2 
 : 
  
 "REGULAR_UNLEADED" 
 , 
  
 3 
 : 
  
 "MIDGRADE" 
 , 
  
 4 
 : 
  
 "PREMIUM" 
 , 
  
 5 
 : 
  
 "SP91" 
 , 
  
 6 
 : 
  
 "SP91_E10" 
 , 
  
 7 
 : 
  
 "SP92" 
 , 
  
 8 
 : 
  
 "SP95" 
 , 
  
 9 
 : 
  
 "SP95_E10" 
 , 
  
 10 
 : 
  
 "SP98" 
 , 
  
 11 
 : 
  
 "SP99" 
 , 
  
 12 
 : 
  
 "SP100" 
 , 
  
 13 
 : 
  
 "LPG" 
 , 
  
 14 
 : 
  
 "E80" 
 , 
  
 15 
 : 
  
 "E85" 
 , 
  
 16 
 : 
  
 "METHANE" 
 , 
  
 17 
 : 
  
 "BIO_DIESEL" 
 , 
  
 18 
 : 
  
 "TRUCK_DIESEL" 
 , 
  
 } 
  
 FuelOptions_FuelPrice_FuelType_value 
  
 = 
  
 map 
 [ 
  string 
 
 ] 
  int32 
 
 { 
  
 "FUEL_TYPE_UNSPECIFIED" 
 : 
  
 0 
 , 
  
 "DIESEL" 
 : 
  
 1 
 , 
  
 "REGULAR_UNLEADED" 
 : 
  
 2 
 , 
  
 "MIDGRADE" 
 : 
  
 3 
 , 
  
 "PREMIUM" 
 : 
  
 4 
 , 
  
 "SP91" 
 : 
  
 5 
 , 
  
 "SP91_E10" 
 : 
  
 6 
 , 
  
 "SP92" 
 : 
  
 7 
 , 
  
 "SP95" 
 : 
  
 8 
 , 
  
 "SP95_E10" 
 : 
  
 9 
 , 
  
 "SP98" 
 : 
  
 10 
 , 
  
 "SP99" 
 : 
  
 11 
 , 
  
 "SP100" 
 : 
  
 12 
 , 
  
 "LPG" 
 : 
  
 13 
 , 
  
 "E80" 
 : 
  
 14 
 , 
  
 "E85" 
 : 
  
 15 
 , 
  
 "METHANE" 
 : 
  
 16 
 , 
  
 "BIO_DIESEL" 
 : 
  
 17 
 , 
  
 "TRUCK_DIESEL" 
 : 
  
 18 
 , 
  
 } 
 ) 
 

Enum value maps for FuelOptions_FuelPrice_FuelType.

PriceLevel_name, PriceLevel_value

  var 
  
 ( 
  
 PriceLevel_name 
  
 = 
  
 map 
 [ 
  int32 
 
 ] 
  string 
 
 { 
  
 0 
 : 
  
 "PRICE_LEVEL_UNSPECIFIED" 
 , 
  
 1 
 : 
  
 "PRICE_LEVEL_FREE" 
 , 
  
 2 
 : 
  
 "PRICE_LEVEL_INEXPENSIVE" 
 , 
  
 3 
 : 
  
 "PRICE_LEVEL_MODERATE" 
 , 
  
 4 
 : 
  
 "PRICE_LEVEL_EXPENSIVE" 
 , 
  
 5 
 : 
  
 "PRICE_LEVEL_VERY_EXPENSIVE" 
 , 
  
 } 
  
 PriceLevel_value 
  
 = 
  
 map 
 [ 
  string 
 
 ] 
  int32 
 
 { 
  
 "PRICE_LEVEL_UNSPECIFIED" 
 : 
  
 0 
 , 
  
 "PRICE_LEVEL_FREE" 
 : 
  
 1 
 , 
  
 "PRICE_LEVEL_INEXPENSIVE" 
 : 
  
 2 
 , 
  
 "PRICE_LEVEL_MODERATE" 
 : 
  
 3 
 , 
  
 "PRICE_LEVEL_EXPENSIVE" 
 : 
  
 4 
 , 
  
 "PRICE_LEVEL_VERY_EXPENSIVE" 
 : 
  
 5 
 , 
  
 } 
 ) 
 

Enum value maps for PriceLevel.

Place_BusinessStatus_name, Place_BusinessStatus_value

  var 
  
 ( 
  
 Place_BusinessStatus_name 
  
 = 
  
 map 
 [ 
  int32 
 
 ] 
  string 
 
 { 
  
 0 
 : 
  
 "BUSINESS_STATUS_UNSPECIFIED" 
 , 
  
 1 
 : 
  
 "OPERATIONAL" 
 , 
  
 2 
 : 
  
 "CLOSED_TEMPORARILY" 
 , 
  
 3 
 : 
  
 "CLOSED_PERMANENTLY" 
 , 
  
 } 
  
 Place_BusinessStatus_value 
  
 = 
  
 map 
 [ 
  string 
 
 ] 
  int32 
 
 { 
  
 "BUSINESS_STATUS_UNSPECIFIED" 
 : 
  
 0 
 , 
  
 "OPERATIONAL" 
 : 
  
 1 
 , 
  
 "CLOSED_TEMPORARILY" 
 : 
  
 2 
 , 
  
 "CLOSED_PERMANENTLY" 
 : 
  
 3 
 , 
  
 } 
 ) 
 

Enum value maps for Place_BusinessStatus.

Place_OpeningHours_SecondaryHoursType_name, Place_OpeningHours_SecondaryHoursType_value

  var 
  
 ( 
  
 Place_OpeningHours_SecondaryHoursType_name 
  
 = 
  
 map 
 [ 
  int32 
 
 ] 
  string 
 
 { 
  
 0 
 : 
  
 "SECONDARY_HOURS_TYPE_UNSPECIFIED" 
 , 
  
 1 
 : 
  
 "DRIVE_THROUGH" 
 , 
  
 2 
 : 
  
 "HAPPY_HOUR" 
 , 
  
 3 
 : 
  
 "DELIVERY" 
 , 
  
 4 
 : 
  
 "TAKEOUT" 
 , 
  
 5 
 : 
  
 "KITCHEN" 
 , 
  
 6 
 : 
  
 "BREAKFAST" 
 , 
  
 7 
 : 
  
 "LUNCH" 
 , 
  
 8 
 : 
  
 "DINNER" 
 , 
  
 9 
 : 
  
 "BRUNCH" 
 , 
  
 10 
 : 
  
 "PICKUP" 
 , 
  
 11 
 : 
  
 "ACCESS" 
 , 
  
 12 
 : 
  
 "SENIOR_HOURS" 
 , 
  
 13 
 : 
  
 "ONLINE_SERVICE_HOURS" 
 , 
  
 } 
  
 Place_OpeningHours_SecondaryHoursType_value 
  
 = 
  
 map 
 [ 
  string 
 
 ] 
  int32 
 
 { 
  
 "SECONDARY_HOURS_TYPE_UNSPECIFIED" 
 : 
  
 0 
 , 
  
 "DRIVE_THROUGH" 
 : 
  
 1 
 , 
  
 "HAPPY_HOUR" 
 : 
  
 2 
 , 
  
 "DELIVERY" 
 : 
  
 3 
 , 
  
 "TAKEOUT" 
 : 
  
 4 
 , 
  
 "KITCHEN" 
 : 
  
 5 
 , 
  
 "BREAKFAST" 
 : 
  
 6 
 , 
  
 "LUNCH" 
 : 
  
 7 
 , 
  
 "DINNER" 
 : 
  
 8 
 , 
  
 "BRUNCH" 
 : 
  
 9 
 , 
  
 "PICKUP" 
 : 
  
 10 
 , 
  
 "ACCESS" 
 : 
  
 11 
 , 
  
 "SENIOR_HOURS" 
 : 
  
 12 
 , 
  
 "ONLINE_SERVICE_HOURS" 
 : 
  
 13 
 , 
  
 } 
 ) 
 

Enum value maps for Place_OpeningHours_SecondaryHoursType.

SearchNearbyRequest_RankPreference_name, SearchNearbyRequest_RankPreference_value

  var 
  
 ( 
  
 SearchNearbyRequest_RankPreference_name 
  
 = 
  
 map 
 [ 
  int32 
 
 ] 
  string 
 
 { 
  
 0 
 : 
  
 "RANK_PREFERENCE_UNSPECIFIED" 
 , 
  
 1 
 : 
  
 "DISTANCE" 
 , 
  
 2 
 : 
  
 "POPULARITY" 
 , 
  
 } 
  
 SearchNearbyRequest_RankPreference_value 
  
 = 
  
 map 
 [ 
  string 
 
 ] 
  int32 
 
 { 
  
 "RANK_PREFERENCE_UNSPECIFIED" 
 : 
  
 0 
 , 
  
 "DISTANCE" 
 : 
  
 1 
 , 
  
 "POPULARITY" 
 : 
  
 2 
 , 
  
 } 
 ) 
 

Enum value maps for SearchNearbyRequest_RankPreference.

SearchTextRequest_RankPreference_name, SearchTextRequest_RankPreference_value

  var 
  
 ( 
  
 SearchTextRequest_RankPreference_name 
  
 = 
  
 map 
 [ 
  int32 
 
 ] 
  string 
 
 { 
  
 0 
 : 
  
 "RANK_PREFERENCE_UNSPECIFIED" 
 , 
  
 1 
 : 
  
 "DISTANCE" 
 , 
  
 2 
 : 
  
 "RELEVANCE" 
 , 
  
 } 
  
 SearchTextRequest_RankPreference_value 
  
 = 
  
 map 
 [ 
  string 
 
 ] 
  int32 
 
 { 
  
 "RANK_PREFERENCE_UNSPECIFIED" 
 : 
  
 0 
 , 
  
 "DISTANCE" 
 : 
  
 1 
 , 
  
 "RELEVANCE" 
 : 
  
 2 
 , 
  
 } 
 ) 
 

Enum value maps for SearchTextRequest_RankPreference.

RoutingPreference_name, RoutingPreference_value

  var 
  
 ( 
  
 RoutingPreference_name 
  
 = 
  
 map 
 [ 
  int32 
 
 ] 
  string 
 
 { 
  
 0 
 : 
  
 "ROUTING_PREFERENCE_UNSPECIFIED" 
 , 
  
 1 
 : 
  
 "TRAFFIC_UNAWARE" 
 , 
  
 2 
 : 
  
 "TRAFFIC_AWARE" 
 , 
  
 3 
 : 
  
 "TRAFFIC_AWARE_OPTIMAL" 
 , 
  
 } 
  
 RoutingPreference_value 
  
 = 
  
 map 
 [ 
  string 
 
 ] 
  int32 
 
 { 
  
 "ROUTING_PREFERENCE_UNSPECIFIED" 
 : 
  
 0 
 , 
  
 "TRAFFIC_UNAWARE" 
 : 
  
 1 
 , 
  
 "TRAFFIC_AWARE" 
 : 
  
 2 
 , 
  
 "TRAFFIC_AWARE_OPTIMAL" 
 : 
  
 3 
 , 
  
 } 
 ) 
 

Enum value maps for RoutingPreference.

TravelMode_name, TravelMode_value

  var 
  
 ( 
  
 TravelMode_name 
  
 = 
  
 map 
 [ 
  int32 
 
 ] 
  string 
 
 { 
  
 0 
 : 
  
 "TRAVEL_MODE_UNSPECIFIED" 
 , 
  
 1 
 : 
  
 "DRIVE" 
 , 
  
 2 
 : 
  
 "BICYCLE" 
 , 
  
 3 
 : 
  
 "WALK" 
 , 
  
 4 
 : 
  
 "TWO_WHEELER" 
 , 
  
 } 
  
 TravelMode_value 
  
 = 
  
 map 
 [ 
  string 
 
 ] 
  int32 
 
 { 
  
 "TRAVEL_MODE_UNSPECIFIED" 
 : 
  
 0 
 , 
  
 "DRIVE" 
 : 
  
 1 
 , 
  
 "BICYCLE" 
 : 
  
 2 
 , 
  
 "WALK" 
 : 
  
 3 
 , 
  
 "TWO_WHEELER" 
 : 
  
 4 
 , 
  
 } 
 ) 
 

Enum value maps for TravelMode.

File_google_maps_places_v1_attribution_proto

  var 
  
 File_google_maps_places_v1_attribution_proto 
  
  protoreflect 
 
 . 
  FileDescriptor 
 
 

File_google_maps_places_v1_content_block_proto

  var 
  
 File_google_maps_places_v1_content_block_proto 
  
  protoreflect 
 
 . 
  FileDescriptor 
 
 

File_google_maps_places_v1_contextual_content_proto

  var 
  
 File_google_maps_places_v1_contextual_content_proto 
  
  protoreflect 
 
 . 
  FileDescriptor 
 
 

File_google_maps_places_v1_ev_charging_proto

  var 
  
 File_google_maps_places_v1_ev_charging_proto 
  
  protoreflect 
 
 . 
  FileDescriptor 
 
 

File_google_maps_places_v1_fuel_options_proto

  var 
  
 File_google_maps_places_v1_fuel_options_proto 
  
  protoreflect 
 
 . 
  FileDescriptor 
 
 

File_google_maps_places_v1_geometry_proto

  var 
  
 File_google_maps_places_v1_geometry_proto 
  
  protoreflect 
 
 . 
  FileDescriptor 
 
 

File_google_maps_places_v1_photo_proto

  var 
  
 File_google_maps_places_v1_photo_proto 
  
  protoreflect 
 
 . 
  FileDescriptor 
 
 

File_google_maps_places_v1_place_proto

  var 
  
 File_google_maps_places_v1_place_proto 
  
  protoreflect 
 
 . 
  FileDescriptor 
 
 

File_google_maps_places_v1_places_service_proto

  var 
  
 File_google_maps_places_v1_places_service_proto 
  
  protoreflect 
 
 . 
  FileDescriptor 
 
 

File_google_maps_places_v1_polyline_proto

  var 
  
 File_google_maps_places_v1_polyline_proto 
  
  protoreflect 
 
 . 
  FileDescriptor 
 
 

File_google_maps_places_v1_reference_proto

  var 
  
 File_google_maps_places_v1_reference_proto 
  
  protoreflect 
 
 . 
  FileDescriptor 
 
 

File_google_maps_places_v1_review_proto

  var 
  
 File_google_maps_places_v1_review_proto 
  
  protoreflect 
 
 . 
  FileDescriptor 
 
 

File_google_maps_places_v1_route_modifiers_proto

  var 
  
 File_google_maps_places_v1_route_modifiers_proto 
  
  protoreflect 
 
 . 
  FileDescriptor 
 
 

File_google_maps_places_v1_routing_preference_proto

  var 
  
 File_google_maps_places_v1_routing_preference_proto 
  
  protoreflect 
 
 . 
  FileDescriptor 
 
 

File_google_maps_places_v1_routing_summary_proto

  var 
  
 File_google_maps_places_v1_routing_summary_proto 
  
  protoreflect 
 
 . 
  FileDescriptor 
 
 

File_google_maps_places_v1_travel_mode_proto

  var 
  
 File_google_maps_places_v1_travel_mode_proto 
  
  protoreflect 
 
 . 
  FileDescriptor 
 
 

Functions

func RegisterPlacesServer

  func 
  
 RegisterPlacesServer 
 ( 
 s 
  
 * 
  grpc 
 
 . 
  Server 
 
 , 
  
 srv 
  
  PlacesServer 
 
 ) 
 

AuthorAttribution

  type 
  
 AuthorAttribution 
  
 struct 
  
 { 
  
 // Name of the author of the [Photo][google.maps.places.v1.Photo] or 
  
 // [Review][google.maps.places.v1.Review]. 
  
 DisplayName 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 
  
 // URI of the author of the [Photo][google.maps.places.v1.Photo] or 
  
 // [Review][google.maps.places.v1.Review]. 
  
 Uri 
  
  string 
 
  
 `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` 
  
 // Profile photo URI of the author of the 
  
 // [Photo][google.maps.places.v1.Photo] or 
  
 // [Review][google.maps.places.v1.Review]. 
  
 PhotoUri 
  
  string 
 
  
 `protobuf:"bytes,3,opt,name=photo_uri,json=photoUri,proto3" json:"photo_uri,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Information about the author of the UGC data. Used in [Photo][google.maps.places.v1.Photo], and [Review][google.maps.places.v1.Review].

func (*AuthorAttribution) Descriptor

  func 
  
 ( 
 * 
  AuthorAttribution 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use AuthorAttribution.ProtoReflect.Descriptor instead.

func (*AuthorAttribution) GetDisplayName

  func 
  
 ( 
 x 
  
 * 
  AuthorAttribution 
 
 ) 
  
 GetDisplayName 
 () 
  
  string 
 
 

func (*AuthorAttribution) GetPhotoUri

  func 
  
 ( 
 x 
  
 * 
  AuthorAttribution 
 
 ) 
  
 GetPhotoUri 
 () 
  
  string 
 
 

func (*AuthorAttribution) GetUri

  func 
  
 ( 
 x 
  
 * 
  AuthorAttribution 
 
 ) 
  
 GetUri 
 () 
  
  string 
 
 

func (*AuthorAttribution) ProtoMessage

  func 
  
 ( 
 * 
  AuthorAttribution 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*AuthorAttribution) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  AuthorAttribution 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*AuthorAttribution) Reset

  func 
  
 ( 
 x 
  
 * 
  AuthorAttribution 
 
 ) 
  
 Reset 
 () 
 

func (*AuthorAttribution) String

  func 
  
 ( 
 x 
  
 * 
  AuthorAttribution 
 
 ) 
  
 String 
 () 
  
  string 
 
 

AutocompletePlacesRequest

  type 
  
 AutocompletePlacesRequest 
  
 struct 
  
 { 
  
 Input 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"` 
  
 LocationBias 
  
 * 
  AutocompletePlacesRequest_LocationBias 
 
  
 `protobuf:"bytes,2,opt,name=location_bias,json=locationBias,proto3" json:"location_bias,omitempty"` 
  
 LocationRestriction 
  
 * 
  AutocompletePlacesRequest_LocationRestriction 
 
  
 `protobuf:"bytes,3,opt,name=location_restriction,json=locationRestriction,proto3" json:"location_restriction,omitempty"` 
  
 IncludedPrimaryTypes 
  
 [] 
  string 
 
  
 `protobuf:"bytes,4,rep,name=included_primary_types,json=includedPrimaryTypes,proto3" json:"included_primary_types,omitempty"` 
  
 IncludedRegionCodes 
  
 [] 
  string 
 
  
 `protobuf:"bytes,5,rep,name=included_region_codes,json=includedRegionCodes,proto3" json:"included_region_codes,omitempty"` 
  
 LanguageCode 
  
  string 
 
  
 `protobuf:"bytes,6,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 
  
 RegionCode 
  
  string 
 
  
 `protobuf:"bytes,7,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` 
  
 Origin 
  
 * 
  latlng 
 
 . 
  LatLng 
 
  
 `protobuf:"bytes,8,opt,name=origin,proto3" json:"origin,omitempty"` 
  
 InputOffset 
  
  int32 
 
  
 `protobuf:"varint,9,opt,name=input_offset,json=inputOffset,proto3" json:"input_offset,omitempty"` 
  
 IncludeQueryPredictions 
  
  bool 
 
  
 "" 
  
 /* 134 byte string literal not displayed */ 
  
 SessionToken 
  
  string 
 
  
 `protobuf:"bytes,11,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"` 
 } 
 

Request proto for AutocompletePlaces.

func (*AutocompletePlacesRequest) Descriptor

  func 
  
 ( 
 * 
  AutocompletePlacesRequest 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use AutocompletePlacesRequest.ProtoReflect.Descriptor instead.

func (*AutocompletePlacesRequest) GetIncludeQueryPredictions

  func 
  
 ( 
 x 
  
 * 
  AutocompletePlacesRequest 
 
 ) 
  
 GetIncludeQueryPredictions 
 () 
  
  bool 
 
 

func (*AutocompletePlacesRequest) GetIncludedPrimaryTypes

  func 
  
 ( 
 x 
  
 * 
  AutocompletePlacesRequest 
 
 ) 
  
 GetIncludedPrimaryTypes 
 () 
  
 [] 
  string 
 
 

func (*AutocompletePlacesRequest) GetIncludedRegionCodes

  func 
  
 ( 
 x 
  
 * 
  AutocompletePlacesRequest 
 
 ) 
  
 GetIncludedRegionCodes 
 () 
  
 [] 
  string 
 
 

func (*AutocompletePlacesRequest) GetInput

  func 
  
 ( 
 x 
  
 * 
  AutocompletePlacesRequest 
 
 ) 
  
 GetInput 
 () 
  
  string 
 
 

func (*AutocompletePlacesRequest) GetInputOffset

  func 
  
 ( 
 x 
  
 * 
  AutocompletePlacesRequest 
 
 ) 
  
 GetInputOffset 
 () 
  
  int32 
 
 

func (*AutocompletePlacesRequest) GetLanguageCode

  func 
  
 ( 
 x 
  
 * 
  AutocompletePlacesRequest 
 
 ) 
  
 GetLanguageCode 
 () 
  
  string 
 
 

func (*AutocompletePlacesRequest) GetLocationBias

func (*AutocompletePlacesRequest) GetLocationRestriction

func (*AutocompletePlacesRequest) GetOrigin

func (*AutocompletePlacesRequest) GetRegionCode

  func 
  
 ( 
 x 
  
 * 
  AutocompletePlacesRequest 
 
 ) 
  
 GetRegionCode 
 () 
  
  string 
 
 

func (*AutocompletePlacesRequest) GetSessionToken

  func 
  
 ( 
 x 
  
 * 
  AutocompletePlacesRequest 
 
 ) 
  
 GetSessionToken 
 () 
  
  string 
 
 

func (*AutocompletePlacesRequest) ProtoMessage

  func 
  
 ( 
 * 
  AutocompletePlacesRequest 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*AutocompletePlacesRequest) ProtoReflect

func (*AutocompletePlacesRequest) Reset

  func 
  
 ( 
 x 
  
 * 
  AutocompletePlacesRequest 
 
 ) 
  
 Reset 
 () 
 

func (*AutocompletePlacesRequest) String

AutocompletePlacesRequest_LocationBias

  type 
  
 AutocompletePlacesRequest_LocationBias 
  
 struct 
  
 { 
  
 // Types that are assignable to Type: 
  
 // 
  
 //	*AutocompletePlacesRequest_LocationBias_Rectangle 
  
 //	*AutocompletePlacesRequest_LocationBias_Circle 
  
 Type 
  
 isAutocompletePlacesRequest_LocationBias_Type 
  
 `protobuf_oneof:"type"` 
  
 // contains filtered or unexported fields 
 } 
 

The region to search. The results may be biased around the specified region.

func (*AutocompletePlacesRequest_LocationBias) Descriptor

  func 
  
 ( 
 * 
  AutocompletePlacesRequest_LocationBias 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use AutocompletePlacesRequest_LocationBias.ProtoReflect.Descriptor instead.

func (*AutocompletePlacesRequest_LocationBias) GetCircle

func (*AutocompletePlacesRequest_LocationBias) GetRectangle

func (*AutocompletePlacesRequest_LocationBias) GetType

  func 
  
 ( 
 m 
  
 * 
  AutocompletePlacesRequest_LocationBias 
 
 ) 
  
 GetType 
 () 
  
 isAutocompletePlacesRequest_LocationBias_Type 
 

func (*AutocompletePlacesRequest_LocationBias) ProtoMessage

  func 
  
 ( 
 * 
  AutocompletePlacesRequest_LocationBias 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*AutocompletePlacesRequest_LocationBias) ProtoReflect

func (*AutocompletePlacesRequest_LocationBias) Reset

func (*AutocompletePlacesRequest_LocationBias) String

AutocompletePlacesRequest_LocationBias_Circle

  type 
  
 AutocompletePlacesRequest_LocationBias_Circle 
  
 struct 
  
 { 
  
 // A circle defined by a center point and radius. 
  
 Circle 
  
 * 
  Circle 
 
  
 `protobuf:"bytes,2,opt,name=circle,proto3,oneof"` 
 } 
 

AutocompletePlacesRequest_LocationBias_Rectangle

  type 
  
 AutocompletePlacesRequest_LocationBias_Rectangle 
  
 struct 
  
 { 
  
 // A viewport defined by a northeast and a southwest corner. 
  
 Rectangle 
  
 * 
  viewport 
 
 . 
  Viewport 
 
  
 `protobuf:"bytes,1,opt,name=rectangle,proto3,oneof"` 
 } 
 

AutocompletePlacesRequest_LocationRestriction

  type 
  
 AutocompletePlacesRequest_LocationRestriction 
  
 struct 
  
 { 
  
 // Types that are assignable to Type: 
  
 // 
  
 //	*AutocompletePlacesRequest_LocationRestriction_Rectangle 
  
 //	*AutocompletePlacesRequest_LocationRestriction_Circle 
  
 Type 
  
 isAutocompletePlacesRequest_LocationRestriction_Type 
  
 `protobuf_oneof:"type"` 
  
 // contains filtered or unexported fields 
 } 
 

The region to search. The results will be restricted to the specified region.

func (*AutocompletePlacesRequest_LocationRestriction) Descriptor

Deprecated: Use AutocompletePlacesRequest_LocationRestriction.ProtoReflect.Descriptor instead.

func (*AutocompletePlacesRequest_LocationRestriction) GetCircle

func (*AutocompletePlacesRequest_LocationRestriction) GetRectangle

func (*AutocompletePlacesRequest_LocationRestriction) GetType

  func 
  
 ( 
 m 
  
 * 
  AutocompletePlacesRequest_LocationRestriction 
 
 ) 
  
 GetType 
 () 
  
 isAutocompletePlacesRequest_LocationRestriction_Type 
 

func (*AutocompletePlacesRequest_LocationRestriction) ProtoMessage

func (*AutocompletePlacesRequest_LocationRestriction) ProtoReflect

func (*AutocompletePlacesRequest_LocationRestriction) Reset

func (*AutocompletePlacesRequest_LocationRestriction) String

AutocompletePlacesRequest_LocationRestriction_Circle

  type 
  
 AutocompletePlacesRequest_LocationRestriction_Circle 
  
 struct 
  
 { 
  
 // A circle defined by a center point and radius. 
  
 Circle 
  
 * 
  Circle 
 
  
 `protobuf:"bytes,2,opt,name=circle,proto3,oneof"` 
 } 
 

AutocompletePlacesRequest_LocationRestriction_Rectangle

  type 
  
 AutocompletePlacesRequest_LocationRestriction_Rectangle 
  
 struct 
  
 { 
  
 // A viewport defined by a northeast and a southwest corner. 
  
 Rectangle 
  
 * 
  viewport 
 
 . 
  Viewport 
 
  
 `protobuf:"bytes,1,opt,name=rectangle,proto3,oneof"` 
 } 
 

AutocompletePlacesResponse

  type 
  
 AutocompletePlacesResponse 
  
 struct 
  
 { 
  
 // Contains a list of suggestions, ordered in descending order of relevance. 
  
 Suggestions 
  
 [] 
 * 
  AutocompletePlacesResponse_Suggestion 
 
  
 `protobuf:"bytes,1,rep,name=suggestions,proto3" json:"suggestions,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Response proto for AutocompletePlaces.

func (*AutocompletePlacesResponse) Descriptor

  func 
  
 ( 
 * 
  AutocompletePlacesResponse 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use AutocompletePlacesResponse.ProtoReflect.Descriptor instead.

func (*AutocompletePlacesResponse) GetSuggestions

func (*AutocompletePlacesResponse) ProtoMessage

  func 
  
 ( 
 * 
  AutocompletePlacesResponse 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*AutocompletePlacesResponse) ProtoReflect

func (*AutocompletePlacesResponse) Reset

  func 
  
 ( 
 x 
  
 * 
  AutocompletePlacesResponse 
 
 ) 
  
 Reset 
 () 
 

func (*AutocompletePlacesResponse) String

AutocompletePlacesResponse_Suggestion

  type 
  
 AutocompletePlacesResponse_Suggestion 
  
 struct 
  
 { 
  
 // Types that are assignable to Kind: 
  
 // 
  
 //	*AutocompletePlacesResponse_Suggestion_PlacePrediction_ 
  
 //	*AutocompletePlacesResponse_Suggestion_QueryPrediction_ 
  
 Kind 
  
 isAutocompletePlacesResponse_Suggestion_Kind 
  
 `protobuf_oneof:"kind"` 
  
 // contains filtered or unexported fields 
 } 
 

An Autocomplete suggestion result.

func (*AutocompletePlacesResponse_Suggestion) Descriptor

  func 
  
 ( 
 * 
  AutocompletePlacesResponse_Suggestion 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use AutocompletePlacesResponse_Suggestion.ProtoReflect.Descriptor instead.

func (*AutocompletePlacesResponse_Suggestion) GetKind

  func 
  
 ( 
 m 
  
 * 
  AutocompletePlacesResponse_Suggestion 
 
 ) 
  
 GetKind 
 () 
  
 isAutocompletePlacesResponse_Suggestion_Kind 
 

func (*AutocompletePlacesResponse_Suggestion) GetPlacePrediction

func (*AutocompletePlacesResponse_Suggestion) GetQueryPrediction

func (*AutocompletePlacesResponse_Suggestion) ProtoMessage

  func 
  
 ( 
 * 
  AutocompletePlacesResponse_Suggestion 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*AutocompletePlacesResponse_Suggestion) ProtoReflect

func (*AutocompletePlacesResponse_Suggestion) Reset

func (*AutocompletePlacesResponse_Suggestion) String

AutocompletePlacesResponse_Suggestion_FormattableText

  type 
  
 AutocompletePlacesResponse_Suggestion_FormattableText 
  
 struct 
  
 { 
  
 // Text that may be used as is or formatted with `matches`. 
  
 Text 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` 
  
 // A list of string ranges identifying where the input request matched in 
  
 // `text`. The ranges can be used to format specific parts of `text`. The 
  
 // substrings may not be exact matches of `input` if the matching was 
  
 // determined by criteria other than string matching (for example, spell 
  
 // corrections or transliterations). 
  
 // 
  
 // These values are Unicode character offsets of `text`. The ranges are 
  
 // guaranteed to be ordered in increasing offset values. 
  
 Matches 
  
 [] 
 * 
  AutocompletePlacesResponse_Suggestion_StringRange 
 
  
 `protobuf:"bytes,2,rep,name=matches,proto3" json:"matches,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Text representing a Place or query prediction. The text may be used as is or formatted.

func (*AutocompletePlacesResponse_Suggestion_FormattableText) Descriptor

Deprecated: Use AutocompletePlacesResponse_Suggestion_FormattableText.ProtoReflect.Descriptor instead.

func (*AutocompletePlacesResponse_Suggestion_FormattableText) GetMatches

func (*AutocompletePlacesResponse_Suggestion_FormattableText) GetText

func (*AutocompletePlacesResponse_Suggestion_FormattableText) ProtoMessage

func (*AutocompletePlacesResponse_Suggestion_FormattableText) ProtoReflect

func (*AutocompletePlacesResponse_Suggestion_FormattableText) Reset

func (*AutocompletePlacesResponse_Suggestion_FormattableText) String

AutocompletePlacesResponse_Suggestion_PlacePrediction

  type 
  
 AutocompletePlacesResponse_Suggestion_PlacePrediction 
  
 struct 
  
 { 
  
 // The resource name of the suggested Place. This name can be used in 
  
 // other APIs that accept Place names. 
  
 Place 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=place,proto3" json:"place,omitempty"` 
  
 // The unique identifier of the suggested Place. This identifier can be 
  
 // used in other APIs that accept Place IDs. 
  
 PlaceId 
  
  string 
 
  
 `protobuf:"bytes,2,opt,name=place_id,json=placeId,proto3" json:"place_id,omitempty"` 
  
 // Contains the human-readable name for the returned result. For 
  
 // establishment results, this is usually the business name and address. 
  
 // 
  
 // `text` is recommended for developers who wish to show a single UI 
  
 // element. Developers who wish to show two separate, but related, UI 
  
 // elements may want to use `structured_format` instead. They are two 
  
 // different ways to represent a Place prediction. Users should not try to 
  
 // parse `structured_format` into `text` or vice versa. 
  
 // 
  
 // This text may be different from the `display_name` returned by 
  
 // GetPlace. 
  
 // 
  
 // May be in mixed languages if the request `input` and `language_code` 
  
 // are in different languages or if the Place does not have a translation 
  
 // from the local language to `language_code`. 
  
 Text 
  
 * 
  AutocompletePlacesResponse_Suggestion_FormattableText 
 
  
 `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` 
  
 // A breakdown of the Place prediction into main text containing the name 
  
 // of the Place and secondary text containing additional disambiguating 
  
 // features (such as a city or region). 
  
 // 
  
 // `structured_format` is recommended for developers who wish to show two 
  
 // separate, but related, UI elements. Developers who wish to show a 
  
 // single UI element may want to use `text` instead. They are two 
  
 // different ways to represent a Place prediction. Users should not try to 
  
 // parse `structured_format` into `text` or vice versa. 
  
 StructuredFormat 
  
 * 
  AutocompletePlacesResponse_Suggestion_StructuredFormat 
 
  
 `protobuf:"bytes,4,opt,name=structured_format,json=structuredFormat,proto3" json:"structured_format,omitempty"` 
  
 // List of types that apply to this Place from Table A or Table B in 
  
 // https://developers.google.com/maps/documentation/places/web-service/place-types. 
  
 // 
  
 // A type is a categorization of a Place. Places with shared types will 
  
 // share similar characteristics. 
  
 Types 
  
 [] 
  string 
 
  
 `protobuf:"bytes,5,rep,name=types,proto3" json:"types,omitempty"` 
  
 // The length of the geodesic in meters from `origin` if `origin` is 
  
 // specified. Certain predictions such as routes may not populate this 
  
 // field. 
  
 DistanceMeters 
  
  int32 
 
  
 `protobuf:"varint,6,opt,name=distance_meters,json=distanceMeters,proto3" json:"distance_meters,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Prediction results for a Place Autocomplete prediction.

func (*AutocompletePlacesResponse_Suggestion_PlacePrediction) Descriptor

Deprecated: Use AutocompletePlacesResponse_Suggestion_PlacePrediction.ProtoReflect.Descriptor instead.

func (*AutocompletePlacesResponse_Suggestion_PlacePrediction) GetDistanceMeters

func (*AutocompletePlacesResponse_Suggestion_PlacePrediction) GetPlace

func (*AutocompletePlacesResponse_Suggestion_PlacePrediction) GetPlaceId

func (*AutocompletePlacesResponse_Suggestion_PlacePrediction) GetStructuredFormat

func (*AutocompletePlacesResponse_Suggestion_PlacePrediction) GetText

func (*AutocompletePlacesResponse_Suggestion_PlacePrediction) GetTypes

func (*AutocompletePlacesResponse_Suggestion_PlacePrediction) ProtoMessage

func (*AutocompletePlacesResponse_Suggestion_PlacePrediction) ProtoReflect

func (*AutocompletePlacesResponse_Suggestion_PlacePrediction) Reset

func (*AutocompletePlacesResponse_Suggestion_PlacePrediction) String

AutocompletePlacesResponse_Suggestion_PlacePrediction_

  type 
  
 AutocompletePlacesResponse_Suggestion_PlacePrediction_ 
  
 struct 
  
 { 
  
 // A prediction for a Place. 
  
 PlacePrediction 
  
 * 
  AutocompletePlacesResponse_Suggestion_PlacePrediction 
 
  
 `protobuf:"bytes,1,opt,name=place_prediction,json=placePrediction,proto3,oneof"` 
 } 
 

AutocompletePlacesResponse_Suggestion_QueryPrediction

  type 
  
 AutocompletePlacesResponse_Suggestion_QueryPrediction 
  
 struct 
  
 { 
  
 // The predicted text. This text does not represent a Place, but rather a 
  
 // text query that could be used in a search endpoint (for example, 
  
 // Text Search). 
  
 // 
  
 // `text` is recommended for developers who wish to show a single UI 
  
 // element. Developers who wish to show two separate, but related, UI 
  
 // elements may want to use `structured_format` instead. They are two 
  
 // different ways to represent a query prediction. Users should not try to 
  
 // parse `structured_format` into `text` or vice versa. 
  
 // 
  
 // May be in mixed languages if the request `input` and `language_code` 
  
 // are in different languages or if part of the query does not have a 
  
 // translation from the local language to `language_code`. 
  
 Text 
  
 * 
  AutocompletePlacesResponse_Suggestion_FormattableText 
 
  
 `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` 
  
 // A breakdown of the query prediction into main text containing the query 
  
 // and secondary text containing additional disambiguating features (such 
  
 // as a city or region). 
  
 // 
  
 // `structured_format` is recommended for developers who wish to show two 
  
 // separate, but related, UI elements. Developers who wish to show a 
  
 // single UI element may want to use `text` instead. They are two 
  
 // different ways to represent a query prediction. Users should not try to 
  
 // parse `structured_format` into `text` or vice versa. 
  
 StructuredFormat 
  
 * 
  AutocompletePlacesResponse_Suggestion_StructuredFormat 
 
  
 `protobuf:"bytes,2,opt,name=structured_format,json=structuredFormat,proto3" json:"structured_format,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Prediction results for a Query Autocomplete prediction.

func (*AutocompletePlacesResponse_Suggestion_QueryPrediction) Descriptor

Deprecated: Use AutocompletePlacesResponse_Suggestion_QueryPrediction.ProtoReflect.Descriptor instead.

func (*AutocompletePlacesResponse_Suggestion_QueryPrediction) GetStructuredFormat

func (*AutocompletePlacesResponse_Suggestion_QueryPrediction) GetText

func (*AutocompletePlacesResponse_Suggestion_QueryPrediction) ProtoMessage

func (*AutocompletePlacesResponse_Suggestion_QueryPrediction) ProtoReflect

func (*AutocompletePlacesResponse_Suggestion_QueryPrediction) Reset

func (*AutocompletePlacesResponse_Suggestion_QueryPrediction) String

AutocompletePlacesResponse_Suggestion_QueryPrediction_

  type 
  
 AutocompletePlacesResponse_Suggestion_QueryPrediction_ 
  
 struct 
  
 { 
  
 // A prediction for a query. 
  
 QueryPrediction 
  
 * 
  AutocompletePlacesResponse_Suggestion_QueryPrediction 
 
  
 `protobuf:"bytes,2,opt,name=query_prediction,json=queryPrediction,proto3,oneof"` 
 } 
 

AutocompletePlacesResponse_Suggestion_StringRange

  type 
  
 AutocompletePlacesResponse_Suggestion_StringRange 
  
 struct 
  
 { 
  
 // Zero-based offset of the first Unicode character of the string 
  
 // (inclusive). 
  
 StartOffset 
  
  int32 
 
  
 `protobuf:"varint,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"` 
  
 // Zero-based offset of the last Unicode character (exclusive). 
  
 EndOffset 
  
  int32 
 
  
 `protobuf:"varint,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Identifies a substring within a given text.

func (*AutocompletePlacesResponse_Suggestion_StringRange) Descriptor

Deprecated: Use AutocompletePlacesResponse_Suggestion_StringRange.ProtoReflect.Descriptor instead.

func (*AutocompletePlacesResponse_Suggestion_StringRange) GetEndOffset

func (*AutocompletePlacesResponse_Suggestion_StringRange) GetStartOffset

func (*AutocompletePlacesResponse_Suggestion_StringRange) ProtoMessage

func (*AutocompletePlacesResponse_Suggestion_StringRange) ProtoReflect

func (*AutocompletePlacesResponse_Suggestion_StringRange) Reset

func (*AutocompletePlacesResponse_Suggestion_StringRange) String

AutocompletePlacesResponse_Suggestion_StructuredFormat

  type 
  
 AutocompletePlacesResponse_Suggestion_StructuredFormat 
  
 struct 
  
 { 
  
 // Represents the name of the Place or query. 
  
 MainText 
  
 * 
  AutocompletePlacesResponse_Suggestion_FormattableText 
 
  
 `protobuf:"bytes,1,opt,name=main_text,json=mainText,proto3" json:"main_text,omitempty"` 
  
 // Represents additional disambiguating features (such as a city or 
  
 // region) to further identify the Place or refine the query. 
  
 SecondaryText 
  
 * 
  AutocompletePlacesResponse_Suggestion_FormattableText 
 
  
 `protobuf:"bytes,2,opt,name=secondary_text,json=secondaryText,proto3" json:"secondary_text,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Contains a breakdown of a Place or query prediction into main text and secondary text.

For Place predictions, the main text contains the specific name of the Place. For query predictions, the main text contains the query.

The secondary text contains additional disambiguating features (such as a city or region) to further identify the Place or refine the query.

func (*AutocompletePlacesResponse_Suggestion_StructuredFormat) Descriptor

Deprecated: Use AutocompletePlacesResponse_Suggestion_StructuredFormat.ProtoReflect.Descriptor instead.

func (*AutocompletePlacesResponse_Suggestion_StructuredFormat) GetMainText

func (*AutocompletePlacesResponse_Suggestion_StructuredFormat) GetSecondaryText

func (*AutocompletePlacesResponse_Suggestion_StructuredFormat) ProtoMessage

func (*AutocompletePlacesResponse_Suggestion_StructuredFormat) ProtoReflect

func (*AutocompletePlacesResponse_Suggestion_StructuredFormat) Reset

func (*AutocompletePlacesResponse_Suggestion_StructuredFormat) String

Circle

  type 
  
 Circle 
  
 struct 
  
 { 
  
 // Required. Center latitude and longitude. 
  
 // 
  
 // The range of latitude must be within [-90.0, 90.0]. The range of the 
  
 // longitude must be within [-180.0, 180.0]. 
  
 Center 
  
 * 
  latlng 
 
 . 
  LatLng 
 
  
 `protobuf:"bytes,1,opt,name=center,proto3" json:"center,omitempty"` 
  
 // Required. Radius measured in meters. The radius must be within [0.0, 
  
 // 50000.0]. 
  
 Radius 
  
  float64 
 
  
 `protobuf:"fixed64,2,opt,name=radius,proto3" json:"radius,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Circle with a LatLng as center and radius.

func (*Circle) Descriptor

  func 
  
 ( 
 * 
  Circle 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Circle.ProtoReflect.Descriptor instead.

func (*Circle) GetCenter

  func 
  
 ( 
 x 
  
 * 
  Circle 
 
 ) 
  
 GetCenter 
 () 
  
 * 
  latlng 
 
 . 
  LatLng 
 
 

func (*Circle) GetRadius

  func 
  
 ( 
 x 
  
 * 
  Circle 
 
 ) 
  
 GetRadius 
 () 
  
  float64 
 
 

func (*Circle) ProtoMessage

  func 
  
 ( 
 * 
  Circle 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Circle) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  Circle 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*Circle) Reset

  func 
  
 ( 
 x 
  
 * 
  Circle 
 
 ) 
  
 Reset 
 () 
 

func (*Circle) String

  func 
  
 ( 
 x 
  
 * 
  Circle 
 
 ) 
  
 String 
 () 
  
  string 
 
 

ContentBlock

  type 
  
 ContentBlock 
  
 struct 
  
 { 
  
 // The topic of the content, for example "overview" or "restaurant". 
  
 Topic 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` 
  
 // Content related to the topic. 
  
 Content 
  
 * 
  localized_text 
 
 . 
  LocalizedText 
 
  
 `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` 
  
 // Experimental: See 
  
 // https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative 
  
 // for more details. 
  
 // 
  
 // References that are related to this block of content. 
  
 References 
  
 * 
  References 
 
  
 `protobuf:"bytes,3,opt,name=references,proto3" json:"references,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

A block of content that can be served individually.

func (*ContentBlock) Descriptor

  func 
  
 ( 
 * 
  ContentBlock 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use ContentBlock.ProtoReflect.Descriptor instead.

func (*ContentBlock) GetContent

func (*ContentBlock) GetReferences

  func 
  
 ( 
 x 
  
 * 
  ContentBlock 
 
 ) 
  
 GetReferences 
 () 
  
 * 
  References 
 
 

func (*ContentBlock) GetTopic

  func 
  
 ( 
 x 
  
 * 
  ContentBlock 
 
 ) 
  
 GetTopic 
 () 
  
  string 
 
 

func (*ContentBlock) ProtoMessage

  func 
  
 ( 
 * 
  ContentBlock 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*ContentBlock) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  ContentBlock 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*ContentBlock) Reset

  func 
  
 ( 
 x 
  
 * 
  ContentBlock 
 
 ) 
  
 Reset 
 () 
 

func (*ContentBlock) String

  func 
  
 ( 
 x 
  
 * 
  ContentBlock 
 
 ) 
  
 String 
 () 
  
  string 
 
 

ContextualContent

  type 
  
 ContextualContent 
  
 struct 
  
 { 
  
 // List of reviews about this place, contexual to the place query. 
  
 Reviews 
  
 [] 
 * 
  Review 
 
  
 `protobuf:"bytes,1,rep,name=reviews,proto3" json:"reviews,omitempty"` 
  
 // Information (including references) about photos of this place, contexual to 
  
 // the place query. 
  
 Photos 
  
 [] 
 * 
  Photo 
 
  
 `protobuf:"bytes,2,rep,name=photos,proto3" json:"photos,omitempty"` 
  
 // Experimental: See 
  
 // https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative 
  
 // for more details. 
  
 // 
  
 // Justifications for the place. 
  
 Justifications 
  
 [] 
 * 
  ContextualContent_Justification 
 
  
 `protobuf:"bytes,3,rep,name=justifications,proto3" json:"justifications,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details.

Content that is contextual to the place query.

func (*ContextualContent) Descriptor

  func 
  
 ( 
 * 
  ContextualContent 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use ContextualContent.ProtoReflect.Descriptor instead.

func (*ContextualContent) GetJustifications

  func 
  
 ( 
 x 
  
 * 
  ContextualContent 
 
 ) 
  
 GetJustifications 
 () 
  
 [] 
 * 
  ContextualContent_Justification 
 
 

func (*ContextualContent) GetPhotos

  func 
  
 ( 
 x 
  
 * 
  ContextualContent 
 
 ) 
  
 GetPhotos 
 () 
  
 [] 
 * 
  Photo 
 
 

func (*ContextualContent) GetReviews

  func 
  
 ( 
 x 
  
 * 
  ContextualContent 
 
 ) 
  
 GetReviews 
 () 
  
 [] 
 * 
  Review 
 
 

func (*ContextualContent) ProtoMessage

  func 
  
 ( 
 * 
  ContextualContent 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*ContextualContent) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  ContextualContent 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*ContextualContent) Reset

  func 
  
 ( 
 x 
  
 * 
  ContextualContent 
 
 ) 
  
 Reset 
 () 
 

func (*ContextualContent) String

  func 
  
 ( 
 x 
  
 * 
  ContextualContent 
 
 ) 
  
 String 
 () 
  
  string 
 
 

ContextualContent_Justification

  type 
  
 ContextualContent_Justification 
  
 struct 
  
 { 
  
 // Types that are assignable to Justification: 
  
 // 
  
 //	*ContextualContent_Justification_ReviewJustification_ 
  
 //	*ContextualContent_Justification_BusinessAvailabilityAttributesJustification_ 
  
 Justification 
  
 isContextualContent_Justification_Justification 
  
 `protobuf_oneof:"justification"` 
  
 // contains filtered or unexported fields 
 } 
 

Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details.

Justifications for the place. Justifications answers the question of why a place could interest an end user.

func (*ContextualContent_Justification) Descriptor

  func 
  
 ( 
 * 
  ContextualContent_Justification 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use ContextualContent_Justification.ProtoReflect.Descriptor instead.

func (*ContextualContent_Justification) GetBusinessAvailabilityAttributesJustification

func (*ContextualContent_Justification) GetJustification

  func 
  
 ( 
 m 
  
 * 
  ContextualContent_Justification 
 
 ) 
  
 GetJustification 
 () 
  
 isContextualContent_Justification_Justification 
 

func (*ContextualContent_Justification) GetReviewJustification

func (*ContextualContent_Justification) ProtoMessage

  func 
  
 ( 
 * 
  ContextualContent_Justification 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*ContextualContent_Justification) ProtoReflect

func (*ContextualContent_Justification) Reset

  func 
  
 ( 
 x 
  
 * 
  ContextualContent_Justification 
 
 ) 
  
 Reset 
 () 
 

func (*ContextualContent_Justification) String

ContextualContent_Justification_BusinessAvailabilityAttributesJustification

  type 
  
 ContextualContent_Justification_BusinessAvailabilityAttributesJustification 
  
 struct 
  
 { 
  
 // If a place provides takeout. 
  
 Takeout 
  
  bool 
 
  
 `protobuf:"varint,1,opt,name=takeout,proto3" json:"takeout,omitempty"` 
  
 // If a place provides delivery. 
  
 Delivery 
  
  bool 
 
  
 `protobuf:"varint,2,opt,name=delivery,proto3" json:"delivery,omitempty"` 
  
 // If a place provides dine-in. 
  
 DineIn 
  
  bool 
 
  
 `protobuf:"varint,3,opt,name=dine_in,json=dineIn,proto3" json:"dine_in,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. BusinessAvailabilityAttributes justifications. This shows some attributes a business has that could interest an end user.

func (*ContextualContent_Justification_BusinessAvailabilityAttributesJustification) Descriptor

Deprecated: Use ContextualContent_Justification_BusinessAvailabilityAttributesJustification.ProtoReflect.Descriptor instead.

func (*ContextualContent_Justification_BusinessAvailabilityAttributesJustification) GetDelivery

func (*ContextualContent_Justification_BusinessAvailabilityAttributesJustification) GetDineIn

func (*ContextualContent_Justification_BusinessAvailabilityAttributesJustification) GetTakeout

func (*ContextualContent_Justification_BusinessAvailabilityAttributesJustification) ProtoMessage

func (*ContextualContent_Justification_BusinessAvailabilityAttributesJustification) ProtoReflect

func (*ContextualContent_Justification_BusinessAvailabilityAttributesJustification) Reset

func (*ContextualContent_Justification_BusinessAvailabilityAttributesJustification) String

ContextualContent_Justification_BusinessAvailabilityAttributesJustification_

  type 
  
 ContextualContent_Justification_BusinessAvailabilityAttributesJustification_ 
  
 struct 
  
 { 
  
 BusinessAvailabilityAttributesJustification 
  
 * 
  ContextualContent_Justification_BusinessAvailabilityAttributesJustification 
 
  
 "" 
  
 /* 136 byte string literal not displayed */ 
 } 
 

ContextualContent_Justification_ReviewJustification

  type 
  
 ContextualContent_Justification_ReviewJustification 
  
 struct 
  
 { 
  
 HighlightedText 
  
 * 
  ContextualContent_Justification_ReviewJustification_HighlightedText 
 
  
 `protobuf:"bytes,1,opt,name=highlighted_text,json=highlightedText,proto3" json:"highlighted_text,omitempty"` 
  
 // The review that the highlighted text is generated from. 
  
 Review 
  
 * 
  Review 
 
  
 `protobuf:"bytes,2,opt,name=review,proto3" json:"review,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details.

User review justifications. This highlights a section of the user review that would interest an end user. For instance, if the search query is "firewood pizza", the review justification highlights the text relevant to the search query.

func (*ContextualContent_Justification_ReviewJustification) Descriptor

Deprecated: Use ContextualContent_Justification_ReviewJustification.ProtoReflect.Descriptor instead.

func (*ContextualContent_Justification_ReviewJustification) GetHighlightedText

func (*ContextualContent_Justification_ReviewJustification) GetReview

func (*ContextualContent_Justification_ReviewJustification) ProtoMessage

func (*ContextualContent_Justification_ReviewJustification) ProtoReflect

func (*ContextualContent_Justification_ReviewJustification) Reset

func (*ContextualContent_Justification_ReviewJustification) String

ContextualContent_Justification_ReviewJustification_

  type 
  
 ContextualContent_Justification_ReviewJustification_ 
  
 struct 
  
 { 
  
 // Experimental: See 
  
 // https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative 
  
 // for more details. 
  
 ReviewJustification 
  
 * 
  ContextualContent_Justification_ReviewJustification 
 
  
 `protobuf:"bytes,1,opt,name=review_justification,json=reviewJustification,proto3,oneof"` 
 } 
 

ContextualContent_Justification_ReviewJustification_HighlightedText

  type 
  
 ContextualContent_Justification_ReviewJustification_HighlightedText 
  
 struct 
  
 { 
  
 Text 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` 
  
 // The list of the ranges of the highlighted text. 
  
 HighlightedTextRanges 
  
 [] 
 * 
  ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange 
 
  
 `protobuf:"bytes,2,rep,name=highlighted_text_ranges,json=highlightedTextRanges,proto3" json:"highlighted_text_ranges,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

The text highlighted by the justification. This is a subset of the review itself. The exact word to highlight is marked by the HighlightedTextRange. There could be several words in the text being highlighted.

func (*ContextualContent_Justification_ReviewJustification_HighlightedText) Descriptor

Deprecated: Use ContextualContent_Justification_ReviewJustification_HighlightedText.ProtoReflect.Descriptor instead.

func (*ContextualContent_Justification_ReviewJustification_HighlightedText) GetHighlightedTextRanges

func (*ContextualContent_Justification_ReviewJustification_HighlightedText) GetText

func (*ContextualContent_Justification_ReviewJustification_HighlightedText) ProtoMessage

func (*ContextualContent_Justification_ReviewJustification_HighlightedText) ProtoReflect

func (*ContextualContent_Justification_ReviewJustification_HighlightedText) Reset

func (*ContextualContent_Justification_ReviewJustification_HighlightedText) String

ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange

  type 
  
 ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange 
  
 struct 
  
 { 
  
 StartIndex 
  
  int32 
 
  
 `protobuf:"varint,1,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"` 
  
 EndIndex 
  
  int32 
 
  
 `protobuf:"varint,2,opt,name=end_index,json=endIndex,proto3" json:"end_index,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

The range of highlighted text.

func (*ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange) Descriptor

Deprecated: Use ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange.ProtoReflect.Descriptor instead.

func (*ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange) GetEndIndex

func (*ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange) GetStartIndex

func (*ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange) ProtoMessage

func (*ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange) ProtoReflect

func (*ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange) Reset

func (*ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange) String

EVChargeOptions

  type 
  
 EVChargeOptions 
  
 struct 
  
 { 
  
 // Number of connectors at this station. However, because some ports can have 
  
 // multiple connectors but only be able to charge one car at a time (e.g.) the 
  
 // number of connectors may be greater than the total number of cars which can 
  
 // charge simultaneously. 
  
 ConnectorCount 
  
  int32 
 
  
 `protobuf:"varint,1,opt,name=connector_count,json=connectorCount,proto3" json:"connector_count,omitempty"` 
  
 // A list of EV charging connector aggregations that contain connectors of the 
  
 // same type and same charge rate. 
  
 ConnectorAggregation 
  
 [] 
 * 
  EVChargeOptions_ConnectorAggregation 
 
  
 `protobuf:"bytes,2,rep,name=connector_aggregation,json=connectorAggregation,proto3" json:"connector_aggregation,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Information about the EV Charge Station hosted in Place. Terminology follows https://afdc.energy.gov/fuels/electricity_infrastructure.html One port could charge one car at a time. One port has one or more connectors. One station has one or more ports.

func (*EVChargeOptions) Descriptor

  func 
  
 ( 
 * 
  EVChargeOptions 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use EVChargeOptions.ProtoReflect.Descriptor instead.

func (*EVChargeOptions) GetConnectorAggregation

  func 
  
 ( 
 x 
  
 * 
  EVChargeOptions 
 
 ) 
  
 GetConnectorAggregation 
 () 
  
 [] 
 * 
  EVChargeOptions_ConnectorAggregation 
 
 

func (*EVChargeOptions) GetConnectorCount

  func 
  
 ( 
 x 
  
 * 
  EVChargeOptions 
 
 ) 
  
 GetConnectorCount 
 () 
  
  int32 
 
 

func (*EVChargeOptions) ProtoMessage

  func 
  
 ( 
 * 
  EVChargeOptions 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*EVChargeOptions) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  EVChargeOptions 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*EVChargeOptions) Reset

  func 
  
 ( 
 x 
  
 * 
  EVChargeOptions 
 
 ) 
  
 Reset 
 () 
 

func (*EVChargeOptions) String

  func 
  
 ( 
 x 
  
 * 
  EVChargeOptions 
 
 ) 
  
 String 
 () 
  
  string 
 
 

EVChargeOptions_ConnectorAggregation

  type 
  
 EVChargeOptions_ConnectorAggregation 
  
 struct 
  
 { 
  
 Type 
  
  EVConnectorType 
 
  
 `protobuf:"varint,1,opt,name=type,proto3,enum=google.maps.places.v1.EVConnectorType" json:"type,omitempty"` 
  
 MaxChargeRateKw 
  
  float64 
 
  
 `protobuf:"fixed64,2,opt,name=max_charge_rate_kw,json=maxChargeRateKw,proto3" json:"max_charge_rate_kw,omitempty"` 
  
 Count 
  
  int32 
 
  
 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` 
  
 AvailableCount 
  
 * 
  int32 
 
  
 `protobuf:"varint,4,opt,name=available_count,json=availableCount,proto3,oneof" json:"available_count,omitempty"` 
  
 OutOfServiceCount 
  
 * 
  int32 
 
  
 `protobuf:"varint,5,opt,name=out_of_service_count,json=outOfServiceCount,proto3,oneof" json:"out_of_service_count,omitempty"` 
  
 AvailabilityLastUpdateTime 
  
 * 
  timestamppb 
 
 . 
  Timestamp 
 
  
 "" 
  
 /* 143 byte string literal not displayed */ 
 } 
 

EV charging information grouped by [type, max_charge_rate_kw]. Shows EV charge aggregation of connectors that have the same type and max charge rate in kw.

func (*EVChargeOptions_ConnectorAggregation) Descriptor

  func 
  
 ( 
 * 
  EVChargeOptions_ConnectorAggregation 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use EVChargeOptions_ConnectorAggregation.ProtoReflect.Descriptor instead.

func (*EVChargeOptions_ConnectorAggregation) GetAvailabilityLastUpdateTime

  func 
  
 ( 
 x 
  
 * 
  EVChargeOptions_ConnectorAggregation 
 
 ) 
  
 GetAvailabilityLastUpdateTime 
 () 
  
 * 
  timestamppb 
 
 . 
  Timestamp 
 
 

func (*EVChargeOptions_ConnectorAggregation) GetAvailableCount

  func 
  
 ( 
 x 
  
 * 
  EVChargeOptions_ConnectorAggregation 
 
 ) 
  
 GetAvailableCount 
 () 
  
  int32 
 
 

func (*EVChargeOptions_ConnectorAggregation) GetCount

func (*EVChargeOptions_ConnectorAggregation) GetMaxChargeRateKw

  func 
  
 ( 
 x 
  
 * 
  EVChargeOptions_ConnectorAggregation 
 
 ) 
  
 GetMaxChargeRateKw 
 () 
  
  float64 
 
 

func (*EVChargeOptions_ConnectorAggregation) GetOutOfServiceCount

  func 
  
 ( 
 x 
  
 * 
  EVChargeOptions_ConnectorAggregation 
 
 ) 
  
 GetOutOfServiceCount 
 () 
  
  int32 
 
 

func (*EVChargeOptions_ConnectorAggregation) GetType

func (*EVChargeOptions_ConnectorAggregation) ProtoMessage

  func 
  
 ( 
 * 
  EVChargeOptions_ConnectorAggregation 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*EVChargeOptions_ConnectorAggregation) ProtoReflect

func (*EVChargeOptions_ConnectorAggregation) Reset

func (*EVChargeOptions_ConnectorAggregation) String

EVConnectorType

  type 
  
 EVConnectorType 
  
  int32 
 
 

See http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=6872107 for additional information/context on EV charging connector types.

EVConnectorType_EV_CONNECTOR_TYPE_UNSPECIFIED, EVConnectorType_EV_CONNECTOR_TYPE_OTHER, EVConnectorType_EV_CONNECTOR_TYPE_J1772, EVConnectorType_EV_CONNECTOR_TYPE_TYPE_2, EVConnectorType_EV_CONNECTOR_TYPE_CHADEMO, EVConnectorType_EV_CONNECTOR_TYPE_CCS_COMBO_1, EVConnectorType_EV_CONNECTOR_TYPE_CCS_COMBO_2, EVConnectorType_EV_CONNECTOR_TYPE_TESLA, EVConnectorType_EV_CONNECTOR_TYPE_UNSPECIFIED_GB_T, EVConnectorType_EV_CONNECTOR_TYPE_UNSPECIFIED_WALL_OUTLET

  const 
  
 ( 
  
 // Unspecified connector. 
  
 EVConnectorType_EV_CONNECTOR_TYPE_UNSPECIFIED 
  
  EVConnectorType 
 
  
 = 
  
 0 
  
 // Other connector types. 
  
 EVConnectorType_EV_CONNECTOR_TYPE_OTHER 
  
  EVConnectorType 
 
  
 = 
  
 1 
  
 // J1772 type 1 connector. 
  
 EVConnectorType_EV_CONNECTOR_TYPE_J1772 
  
  EVConnectorType 
 
  
 = 
  
 2 
  
 // IEC 62196 type 2 connector. Often referred to as MENNEKES. 
  
 EVConnectorType_EV_CONNECTOR_TYPE_TYPE_2 
  
  EVConnectorType 
 
  
 = 
  
 3 
  
 // CHAdeMO type connector. 
  
 EVConnectorType_EV_CONNECTOR_TYPE_CHADEMO 
  
  EVConnectorType 
 
  
 = 
  
 4 
  
 // Combined Charging System (AC and DC). Based on SAE. 
  
 // 
  
 //	Type-1 J-1772 connector 
  
 EVConnectorType_EV_CONNECTOR_TYPE_CCS_COMBO_1 
  
  EVConnectorType 
 
  
 = 
  
 5 
  
 // Combined Charging System (AC and DC). Based on Type-2 
  
 // Mennekes connector 
  
 EVConnectorType_EV_CONNECTOR_TYPE_CCS_COMBO_2 
  
  EVConnectorType 
 
  
 = 
  
 6 
  
 // The generic TESLA connector. This is NACS in the North America but can be 
  
 // non-NACS in other parts of the world (e.g. CCS Combo 2 (CCS2) or GB/T). 
  
 // This value is less representative of an actual connector type, and more 
  
 // represents the ability to charge a Tesla brand vehicle at a Tesla owned 
  
 // charging station. 
  
 EVConnectorType_EV_CONNECTOR_TYPE_TESLA 
  
  EVConnectorType 
 
  
 = 
  
 7 
  
 // GB/T type corresponds to the GB/T standard in China. This type covers all 
  
 // GB_T types. 
  
 EVConnectorType_EV_CONNECTOR_TYPE_UNSPECIFIED_GB_T 
  
  EVConnectorType 
 
  
 = 
  
 8 
  
 // Unspecified wall outlet. 
  
 EVConnectorType_EV_CONNECTOR_TYPE_UNSPECIFIED_WALL_OUTLET 
  
  EVConnectorType 
 
  
 = 
  
 9 
 ) 
 

func (EVConnectorType) Descriptor

func (EVConnectorType) Enum

func (EVConnectorType) EnumDescriptor

  func 
  
 ( 
  EVConnectorType 
 
 ) 
  
 EnumDescriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use EVConnectorType.Descriptor instead.

func (EVConnectorType) Number

func (EVConnectorType) String

  func 
  
 ( 
 x 
  
  EVConnectorType 
 
 ) 
  
 String 
 () 
  
  string 
 
 

func (EVConnectorType) Type

FuelOptions

  type 
  
 FuelOptions 
  
 struct 
  
 { 
  
 // The last known fuel price for each type of fuel this station has. There is 
  
 // one entry per fuel type this station has. Order is not important. 
  
 FuelPrices 
  
 [] 
 * 
  FuelOptions_FuelPrice 
 
  
 `protobuf:"bytes,1,rep,name=fuel_prices,json=fuelPrices,proto3" json:"fuel_prices,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

The most recent information about fuel options in a gas station. This information is updated regularly.

func (*FuelOptions) Descriptor

  func 
  
 ( 
 * 
  FuelOptions 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use FuelOptions.ProtoReflect.Descriptor instead.

func (*FuelOptions) GetFuelPrices

  func 
  
 ( 
 x 
  
 * 
  FuelOptions 
 
 ) 
  
 GetFuelPrices 
 () 
  
 [] 
 * 
  FuelOptions_FuelPrice 
 
 

func (*FuelOptions) ProtoMessage

  func 
  
 ( 
 * 
  FuelOptions 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*FuelOptions) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  FuelOptions 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*FuelOptions) Reset

  func 
  
 ( 
 x 
  
 * 
  FuelOptions 
 
 ) 
  
 Reset 
 () 
 

func (*FuelOptions) String

  func 
  
 ( 
 x 
  
 * 
  FuelOptions 
 
 ) 
  
 String 
 () 
  
  string 
 
 

FuelOptions_FuelPrice

  type 
  
 FuelOptions_FuelPrice 
  
 struct 
  
 { 
  
 // The type of fuel. 
  
 Type 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 `protobuf:"varint,1,opt,name=type,proto3,enum=google.maps.places.v1.FuelOptions_FuelPrice_FuelType" json:"type,omitempty"` 
  
 // The price of the fuel. 
  
 Price 
  
 * 
  money 
 
 . 
  Money 
 
  
 `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"` 
  
 // The time the fuel price was last updated. 
  
 UpdateTime 
  
 * 
  timestamppb 
 
 . 
  Timestamp 
 
  
 `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Fuel price information for a given type.

func (*FuelOptions_FuelPrice) Descriptor

  func 
  
 ( 
 * 
  FuelOptions_FuelPrice 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use FuelOptions_FuelPrice.ProtoReflect.Descriptor instead.

func (*FuelOptions_FuelPrice) GetPrice

  func 
  
 ( 
 x 
  
 * 
  FuelOptions_FuelPrice 
 
 ) 
  
 GetPrice 
 () 
  
 * 
  money 
 
 . 
  Money 
 
 

func (*FuelOptions_FuelPrice) GetType

func (*FuelOptions_FuelPrice) GetUpdateTime

  func 
  
 ( 
 x 
  
 * 
  FuelOptions_FuelPrice 
 
 ) 
  
 GetUpdateTime 
 () 
  
 * 
  timestamppb 
 
 . 
  Timestamp 
 
 

func (*FuelOptions_FuelPrice) ProtoMessage

  func 
  
 ( 
 * 
  FuelOptions_FuelPrice 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*FuelOptions_FuelPrice) ProtoReflect

func (*FuelOptions_FuelPrice) Reset

  func 
  
 ( 
 x 
  
 * 
  FuelOptions_FuelPrice 
 
 ) 
  
 Reset 
 () 
 

func (*FuelOptions_FuelPrice) String

  func 
  
 ( 
 x 
  
 * 
  FuelOptions_FuelPrice 
 
 ) 
  
 String 
 () 
  
  string 
 
 

FuelOptions_FuelPrice_FuelType

  type 
  
 FuelOptions_FuelPrice_FuelType 
  
  int32 
 
 

Types of fuel.

FuelOptions_FuelPrice_FUEL_TYPE_UNSPECIFIED, FuelOptions_FuelPrice_DIESEL, FuelOptions_FuelPrice_REGULAR_UNLEADED, FuelOptions_FuelPrice_MIDGRADE, FuelOptions_FuelPrice_PREMIUM, FuelOptions_FuelPrice_SP91, FuelOptions_FuelPrice_SP91_E10, FuelOptions_FuelPrice_SP92, FuelOptions_FuelPrice_SP95, FuelOptions_FuelPrice_SP95_E10, FuelOptions_FuelPrice_SP98, FuelOptions_FuelPrice_SP99, FuelOptions_FuelPrice_SP100, FuelOptions_FuelPrice_LPG, FuelOptions_FuelPrice_E80, FuelOptions_FuelPrice_E85, FuelOptions_FuelPrice_METHANE, FuelOptions_FuelPrice_BIO_DIESEL, FuelOptions_FuelPrice_TRUCK_DIESEL

  const 
  
 ( 
  
 // Unspecified fuel type. 
  
 FuelOptions_FuelPrice_FUEL_TYPE_UNSPECIFIED 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 = 
  
 0 
  
 // Diesel fuel. 
  
 FuelOptions_FuelPrice_DIESEL 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 = 
  
 1 
  
 // Regular unleaded. 
  
 FuelOptions_FuelPrice_REGULAR_UNLEADED 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 = 
  
 2 
  
 // Midgrade. 
  
 FuelOptions_FuelPrice_MIDGRADE 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 = 
  
 3 
  
 // Premium. 
  
 FuelOptions_FuelPrice_PREMIUM 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 = 
  
 4 
  
 // SP 91. 
  
 FuelOptions_FuelPrice_SP91 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 = 
  
 5 
  
 // SP 91 E10. 
  
 FuelOptions_FuelPrice_SP91_E10 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 = 
  
 6 
  
 // SP 92. 
  
 FuelOptions_FuelPrice_SP92 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 = 
  
 7 
  
 // SP 95. 
  
 FuelOptions_FuelPrice_SP95 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 = 
  
 8 
  
 // SP95 E10. 
  
 FuelOptions_FuelPrice_SP95_E10 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 = 
  
 9 
  
 // SP 98. 
  
 FuelOptions_FuelPrice_SP98 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 = 
  
 10 
  
 // SP 99. 
  
 FuelOptions_FuelPrice_SP99 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 = 
  
 11 
  
 // SP 100. 
  
 FuelOptions_FuelPrice_SP100 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 = 
  
 12 
  
 // LPG. 
  
 FuelOptions_FuelPrice_LPG 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 = 
  
 13 
  
 // E 80. 
  
 FuelOptions_FuelPrice_E80 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 = 
  
 14 
  
 // E 85. 
  
 FuelOptions_FuelPrice_E85 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 = 
  
 15 
  
 // Methane. 
  
 FuelOptions_FuelPrice_METHANE 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 = 
  
 16 
  
 // Bio-diesel. 
  
 FuelOptions_FuelPrice_BIO_DIESEL 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 = 
  
 17 
  
 // Truck diesel. 
  
 FuelOptions_FuelPrice_TRUCK_DIESEL 
  
  FuelOptions_FuelPrice_FuelType 
 
  
 = 
  
 18 
 ) 
 

func (FuelOptions_FuelPrice_FuelType) Descriptor

func (FuelOptions_FuelPrice_FuelType) Enum

func (FuelOptions_FuelPrice_FuelType) EnumDescriptor

  func 
  
 ( 
  FuelOptions_FuelPrice_FuelType 
 
 ) 
  
 EnumDescriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use FuelOptions_FuelPrice_FuelType.Descriptor instead.

func (FuelOptions_FuelPrice_FuelType) Number

func (FuelOptions_FuelPrice_FuelType) String

func (FuelOptions_FuelPrice_FuelType) Type

GetPhotoMediaRequest

  type 
  
 GetPhotoMediaRequest 
  
 struct 
  
 { 
  
 // Required. The resource name of a photo media in the format: 
  
 // `places/{place_id}/photos/{photo_reference}/media`. 
  
 // 
  
 // The resource name of a photo as returned in a Place object's `photos.name` 
  
 // field comes with the format 
  
 // `places/{place_id}/photos/{photo_reference}`. You need to append `/media` 
  
 // at the end of the photo resource to get the photo media resource name. 
  
 Name 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 
  
 // Optional. Specifies the maximum desired width, in pixels, of the image. If 
  
 // the image is smaller than the values specified, the original image will be 
  
 // returned. If the image is larger in either dimension, it will be scaled to 
  
 // match the smaller of the two dimensions, restricted to its original aspect 
  
 // ratio. Both the max_height_px and max_width_px properties accept an integer 
  
 // between 1 and 4800, inclusively. If the value is not within the allowed 
  
 // range, an INVALID_ARGUMENT error will be returned. 
  
 // 
  
 // At least one of max_height_px or max_width_px needs to be specified. If 
  
 // neither max_height_px nor max_width_px is specified, an INVALID_ARGUMENT 
  
 // error will be returned. 
  
 MaxWidthPx 
  
  int32 
 
  
 `protobuf:"varint,2,opt,name=max_width_px,json=maxWidthPx,proto3" json:"max_width_px,omitempty"` 
  
 // Optional. Specifies the maximum desired height, in pixels, of the image. If 
  
 // the image is smaller than the values specified, the original image will be 
  
 // returned. If the image is larger in either dimension, it will be scaled to 
  
 // match the smaller of the two dimensions, restricted to its original aspect 
  
 // ratio. Both the max_height_px and max_width_px properties accept an integer 
  
 // between 1 and 4800, inclusively. If the value is not within the allowed 
  
 // range, an INVALID_ARGUMENT error will be returned. 
  
 // 
  
 // At least one of max_height_px or max_width_px needs to be specified. If 
  
 // neither max_height_px nor max_width_px is specified, an INVALID_ARGUMENT 
  
 // error will be returned. 
  
 MaxHeightPx 
  
  int32 
 
  
 `protobuf:"varint,3,opt,name=max_height_px,json=maxHeightPx,proto3" json:"max_height_px,omitempty"` 
  
 // Optional. If set, skip the default HTTP redirect behavior and render a text 
  
 // format (for example, in JSON format for HTTP use case) response. If not 
  
 // set, an HTTP redirect will be issued to redirect the call to the image 
  
 // media. This option is ignored for non-HTTP requests. 
  
 SkipHttpRedirect 
  
  bool 
 
  
 `protobuf:"varint,4,opt,name=skip_http_redirect,json=skipHttpRedirect,proto3" json:"skip_http_redirect,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Request for fetching a photo of a place using a photo resource name.

func (*GetPhotoMediaRequest) Descriptor

  func 
  
 ( 
 * 
  GetPhotoMediaRequest 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use GetPhotoMediaRequest.ProtoReflect.Descriptor instead.

func (*GetPhotoMediaRequest) GetMaxHeightPx

  func 
  
 ( 
 x 
  
 * 
  GetPhotoMediaRequest 
 
 ) 
  
 GetMaxHeightPx 
 () 
  
  int32 
 
 

func (*GetPhotoMediaRequest) GetMaxWidthPx

  func 
  
 ( 
 x 
  
 * 
  GetPhotoMediaRequest 
 
 ) 
  
 GetMaxWidthPx 
 () 
  
  int32 
 
 

func (*GetPhotoMediaRequest) GetName

  func 
  
 ( 
 x 
  
 * 
  GetPhotoMediaRequest 
 
 ) 
  
 GetName 
 () 
  
  string 
 
 

func (*GetPhotoMediaRequest) GetSkipHttpRedirect

  func 
  
 ( 
 x 
  
 * 
  GetPhotoMediaRequest 
 
 ) 
  
 GetSkipHttpRedirect 
 () 
  
  bool 
 
 

func (*GetPhotoMediaRequest) ProtoMessage

  func 
  
 ( 
 * 
  GetPhotoMediaRequest 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*GetPhotoMediaRequest) ProtoReflect

func (*GetPhotoMediaRequest) Reset

  func 
  
 ( 
 x 
  
 * 
  GetPhotoMediaRequest 
 
 ) 
  
 Reset 
 () 
 

func (*GetPhotoMediaRequest) String

  func 
  
 ( 
 x 
  
 * 
  GetPhotoMediaRequest 
 
 ) 
  
 String 
 () 
  
  string 
 
 

GetPlaceRequest

  type 
  
 GetPlaceRequest 
  
 struct 
  
 { 
  
 // Required. The resource name of a place, in the `places/{place_id}` format. 
  
 Name 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 
  
 // Optional. Place details will be displayed with the preferred language if 
  
 // available. 
  
 // 
  
 // Current list of supported languages: 
  
 // https://developers.google.com/maps/faq#languagesupport. 
  
 LanguageCode 
  
  string 
 
  
 `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 
  
 // Optional. The Unicode country/region code (CLDR) of the location where the 
  
 // request is coming from. This parameter is used to display the place 
  
 // details, like region-specific place name, if available. The parameter can 
  
 // affect results based on applicable law. 
  
 // For more information, see 
  
 // https://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html. 
  
 // 
  
 // Note that 3-digit region codes are not currently supported. 
  
 RegionCode 
  
  string 
 
  
 `protobuf:"bytes,3,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` 
  
 // Optional. A string which identifies an Autocomplete session for billing 
  
 // purposes. Must be a URL and filename safe base64 string with at most 36 
  
 // ASCII characters in length. Otherwise an INVALID_ARGUMENT error is 
  
 // returned. 
  
 // 
  
 // The session begins when the user starts typing a query, and concludes when 
  
 // they select a place and a call to Place Details or Address Validation is 
  
 // made. Each session can have multiple queries, followed by one Place Details 
  
 // or Address Validation request. The credentials used for each request within 
  
 // a session must belong to the same Google Cloud Console project. Once a 
  
 // session has concluded, the token is no longer valid; your app must generate 
  
 // a fresh token for each session. If the `session_token` parameter is 
  
 // omitted, or if you reuse a session token, the session is charged as if no 
  
 // session token was provided (each request is billed separately). 
  
 // 
  
 // We recommend the following guidelines: 
  
 // 
  
 //   - Use session tokens for all Place Autocomplete calls. 
  
 //   - Generate a fresh token for each session. Using a version 4 UUID is 
  
 //     recommended. 
  
 //   - Ensure that the credentials used for all Place Autocomplete, Place 
  
 //     Details, and Address Validation requests within a session belong to the 
  
 //     same Cloud Console project. 
  
 //   - Be sure to pass a unique session token for each new session. Using the 
  
 //     same token for more than one session will result in each request being 
  
 //     billed individually. 
  
 SessionToken 
  
  string 
 
  
 `protobuf:"bytes,4,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Request for fetching a Place based on its resource name, which is a string in the places/{place_id} format.

func (*GetPlaceRequest) Descriptor

  func 
  
 ( 
 * 
  GetPlaceRequest 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use GetPlaceRequest.ProtoReflect.Descriptor instead.

func (*GetPlaceRequest) GetLanguageCode

  func 
  
 ( 
 x 
  
 * 
  GetPlaceRequest 
 
 ) 
  
 GetLanguageCode 
 () 
  
  string 
 
 

func (*GetPlaceRequest) GetName

  func 
  
 ( 
 x 
  
 * 
  GetPlaceRequest 
 
 ) 
  
 GetName 
 () 
  
  string 
 
 

func (*GetPlaceRequest) GetRegionCode

  func 
  
 ( 
 x 
  
 * 
  GetPlaceRequest 
 
 ) 
  
 GetRegionCode 
 () 
  
  string 
 
 

func (*GetPlaceRequest) GetSessionToken

  func 
  
 ( 
 x 
  
 * 
  GetPlaceRequest 
 
 ) 
  
 GetSessionToken 
 () 
  
  string 
 
 

func (*GetPlaceRequest) ProtoMessage

  func 
  
 ( 
 * 
  GetPlaceRequest 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*GetPlaceRequest) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  GetPlaceRequest 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*GetPlaceRequest) Reset

  func 
  
 ( 
 x 
  
 * 
  GetPlaceRequest 
 
 ) 
  
 Reset 
 () 
 

func (*GetPlaceRequest) String

  func 
  
 ( 
 x 
  
 * 
  GetPlaceRequest 
 
 ) 
  
 String 
 () 
  
  string 
 
 

Photo

  type 
  
 Photo 
  
 struct 
  
 { 
  
 // Identifier. A reference representing this place photo which may be used to 
  
 // look up this place photo again (also called the API "resource" name: 
  
 // `places/{place_id}/photos/{photo}`). 
  
 Name 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 
  
 // The maximum available width, in pixels. 
  
 WidthPx 
  
  int32 
 
  
 `protobuf:"varint,2,opt,name=width_px,json=widthPx,proto3" json:"width_px,omitempty"` 
  
 // The maximum available height, in pixels. 
  
 HeightPx 
  
  int32 
 
  
 `protobuf:"varint,3,opt,name=height_px,json=heightPx,proto3" json:"height_px,omitempty"` 
  
 // This photo's authors. 
  
 AuthorAttributions 
  
 [] 
 * 
  AuthorAttribution 
 
  
 `protobuf:"bytes,4,rep,name=author_attributions,json=authorAttributions,proto3" json:"author_attributions,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Information about a photo of a place.

func (*Photo) Descriptor

  func 
  
 ( 
 * 
  Photo 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Photo.ProtoReflect.Descriptor instead.

func (*Photo) GetAuthorAttributions

  func 
  
 ( 
 x 
  
 * 
  Photo 
 
 ) 
  
 GetAuthorAttributions 
 () 
  
 [] 
 * 
  AuthorAttribution 
 
 

func (*Photo) GetHeightPx

  func 
  
 ( 
 x 
  
 * 
  Photo 
 
 ) 
  
 GetHeightPx 
 () 
  
  int32 
 
 

func (*Photo) GetName

  func 
  
 ( 
 x 
  
 * 
  Photo 
 
 ) 
  
 GetName 
 () 
  
  string 
 
 

func (*Photo) GetWidthPx

  func 
  
 ( 
 x 
  
 * 
  Photo 
 
 ) 
  
 GetWidthPx 
 () 
  
  int32 
 
 

func (*Photo) ProtoMessage

  func 
  
 ( 
 * 
  Photo 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Photo) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  Photo 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*Photo) Reset

  func 
  
 ( 
 x 
  
 * 
  Photo 
 
 ) 
  
 Reset 
 () 
 

func (*Photo) String

  func 
  
 ( 
 x 
  
 * 
  Photo 
 
 ) 
  
 String 
 () 
  
  string 
 
 

PhotoMedia

  type 
  
 PhotoMedia 
  
 struct 
  
 { 
  
 // The resource name of a photo media in the format: 
  
 // `places/{place_id}/photos/{photo_reference}/media`. 
  
 Name 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 
  
 // A short-lived uri that can be used to render the photo. 
  
 PhotoUri 
  
  string 
 
  
 `protobuf:"bytes,2,opt,name=photo_uri,json=photoUri,proto3" json:"photo_uri,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

A photo media from Places API.

func (*PhotoMedia) Descriptor

  func 
  
 ( 
 * 
  PhotoMedia 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use PhotoMedia.ProtoReflect.Descriptor instead.

func (*PhotoMedia) GetName

  func 
  
 ( 
 x 
  
 * 
  PhotoMedia 
 
 ) 
  
 GetName 
 () 
  
  string 
 
 

func (*PhotoMedia) GetPhotoUri

  func 
  
 ( 
 x 
  
 * 
  PhotoMedia 
 
 ) 
  
 GetPhotoUri 
 () 
  
  string 
 
 

func (*PhotoMedia) ProtoMessage

  func 
  
 ( 
 * 
  PhotoMedia 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*PhotoMedia) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  PhotoMedia 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*PhotoMedia) Reset

  func 
  
 ( 
 x 
  
 * 
  PhotoMedia 
 
 ) 
  
 Reset 
 () 
 

func (*PhotoMedia) String

  func 
  
 ( 
 x 
  
 * 
  PhotoMedia 
 
 ) 
  
 String 
 () 
  
  string 
 
 

Place

  type 
  
 Place 
  
 struct 
  
 { 
  
 Name 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 
  
 Id 
  
  string 
 
  
 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 
  
 DisplayName 
  
 * 
  localized_text 
 
 . 
  LocalizedText 
 
  
 `protobuf:"bytes,31,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 
  
 Types 
  
 [] 
  string 
 
  
 `protobuf:"bytes,5,rep,name=types,proto3" json:"types,omitempty"` 
  
 PrimaryType 
  
  string 
 
  
 `protobuf:"bytes,50,opt,name=primary_type,json=primaryType,proto3" json:"primary_type,omitempty"` 
  
 PrimaryTypeDisplayName 
  
 * 
  localized_text 
 
 . 
  LocalizedText 
 
  
 "" 
  
 /* 132 byte string literal not displayed */ 
  
 NationalPhoneNumber 
  
  string 
 
  
 `protobuf:"bytes,7,opt,name=national_phone_number,json=nationalPhoneNumber,proto3" json:"national_phone_number,omitempty"` 
  
 InternationalPhoneNumber 
  
  string 
 
  
 "" 
  
 /* 135 byte string literal not displayed */ 
  
 FormattedAddress 
  
  string 
 
  
 `protobuf:"bytes,9,opt,name=formatted_address,json=formattedAddress,proto3" json:"formatted_address,omitempty"` 
  
 ShortFormattedAddress 
  
  string 
 
  
 "" 
  
 /* 127 byte string literal not displayed */ 
  
 AddressComponents 
  
 [] 
 * 
  Place_AddressComponent 
 
  
 `protobuf:"bytes,10,rep,name=address_components,json=addressComponents,proto3" json:"address_components,omitempty"` 
  
 PlusCode 
  
 * 
  Place_PlusCode 
 
  
 `protobuf:"bytes,11,opt,name=plus_code,json=plusCode,proto3" json:"plus_code,omitempty"` 
  
 Location 
  
 * 
  latlng 
 
 . 
  LatLng 
 
  
 `protobuf:"bytes,12,opt,name=location,proto3" json:"location,omitempty"` 
  
 Viewport 
  
 * 
  viewport 
 
 . 
  Viewport 
 
  
 `protobuf:"bytes,13,opt,name=viewport,proto3" json:"viewport,omitempty"` 
  
 Rating 
  
  float64 
 
  
 `protobuf:"fixed64,14,opt,name=rating,proto3" json:"rating,omitempty"` 
  
 GoogleMapsUri 
  
  string 
 
  
 `protobuf:"bytes,15,opt,name=google_maps_uri,json=googleMapsUri,proto3" json:"google_maps_uri,omitempty"` 
  
 WebsiteUri 
  
  string 
 
  
 `protobuf:"bytes,16,opt,name=website_uri,json=websiteUri,proto3" json:"website_uri,omitempty"` 
  
 Reviews 
  
 [] 
 * 
  Review 
 
  
 `protobuf:"bytes,53,rep,name=reviews,proto3" json:"reviews,omitempty"` 
  
 RegularOpeningHours 
  
 * 
  Place_OpeningHours 
 
  
 `protobuf:"bytes,21,opt,name=regular_opening_hours,json=regularOpeningHours,proto3" json:"regular_opening_hours,omitempty"` 
  
 UtcOffsetMinutes 
  
 * 
  int32 
 
  
 `protobuf:"varint,22,opt,name=utc_offset_minutes,json=utcOffsetMinutes,proto3,oneof" json:"utc_offset_minutes,omitempty"` 
  
 Photos 
  
 [] 
 * 
  Photo 
 
  
 `protobuf:"bytes,54,rep,name=photos,proto3" json:"photos,omitempty"` 
  
 AdrFormatAddress 
  
  string 
 
  
 `protobuf:"bytes,24,opt,name=adr_format_address,json=adrFormatAddress,proto3" json:"adr_format_address,omitempty"` 
  
 BusinessStatus 
  
  Place_BusinessStatus 
 
  
 "" 
  
 /* 153 byte string literal not displayed */ 
  
 PriceLevel 
  
  PriceLevel 
 
  
 "" 
  
 /* 131 byte string literal not displayed */ 
  
 Attributions 
  
 [] 
 * 
  Place_Attribution 
 
  
 `protobuf:"bytes,27,rep,name=attributions,proto3" json:"attributions,omitempty"` 
  
 UserRatingCount 
  
 * 
  int32 
 
  
 `protobuf:"varint,28,opt,name=user_rating_count,json=userRatingCount,proto3,oneof" json:"user_rating_count,omitempty"` 
  
 IconMaskBaseUri 
  
  string 
 
  
 `protobuf:"bytes,29,opt,name=icon_mask_base_uri,json=iconMaskBaseUri,proto3" json:"icon_mask_base_uri,omitempty"` 
  
 IconBackgroundColor 
  
  string 
 
  
 `protobuf:"bytes,30,opt,name=icon_background_color,json=iconBackgroundColor,proto3" json:"icon_background_color,omitempty"` 
  
 Takeout 
  
 * 
  bool 
 
  
 `protobuf:"varint,33,opt,name=takeout,proto3,oneof" json:"takeout,omitempty"` 
  
 Delivery 
  
 * 
  bool 
 
  
 `protobuf:"varint,34,opt,name=delivery,proto3,oneof" json:"delivery,omitempty"` 
  
 DineIn 
  
 * 
  bool 
 
  
 `protobuf:"varint,35,opt,name=dine_in,json=dineIn,proto3,oneof" json:"dine_in,omitempty"` 
  
 CurbsidePickup 
  
 * 
  bool 
 
  
 `protobuf:"varint,36,opt,name=curbside_pickup,json=curbsidePickup,proto3,oneof" json:"curbside_pickup,omitempty"` 
  
 Reservable 
  
 * 
  bool 
 
  
 `protobuf:"varint,38,opt,name=reservable,proto3,oneof" json:"reservable,omitempty"` 
  
 ServesBreakfast 
  
 * 
  bool 
 
  
 `protobuf:"varint,39,opt,name=serves_breakfast,json=servesBreakfast,proto3,oneof" json:"serves_breakfast,omitempty"` 
  
 ServesLunch 
  
 * 
  bool 
 
  
 `protobuf:"varint,40,opt,name=serves_lunch,json=servesLunch,proto3,oneof" json:"serves_lunch,omitempty"` 
  
 ServesDinner 
  
 * 
  bool 
 
  
 `protobuf:"varint,41,opt,name=serves_dinner,json=servesDinner,proto3,oneof" json:"serves_dinner,omitempty"` 
  
 ServesBeer 
  
 * 
  bool 
 
  
 `protobuf:"varint,42,opt,name=serves_beer,json=servesBeer,proto3,oneof" json:"serves_beer,omitempty"` 
  
 ServesWine 
  
 * 
  bool 
 
  
 `protobuf:"varint,43,opt,name=serves_wine,json=servesWine,proto3,oneof" json:"serves_wine,omitempty"` 
  
 ServesBrunch 
  
 * 
  bool 
 
  
 `protobuf:"varint,44,opt,name=serves_brunch,json=servesBrunch,proto3,oneof" json:"serves_brunch,omitempty"` 
  
 ServesVegetarianFood 
  
 * 
  bool 
 
  
 "" 
  
 /* 131 byte string literal not displayed */ 
  
 CurrentOpeningHours 
  
 * 
  Place_OpeningHours 
 
  
 `protobuf:"bytes,46,opt,name=current_opening_hours,json=currentOpeningHours,proto3" json:"current_opening_hours,omitempty"` 
  
 CurrentSecondaryOpeningHours 
  
 [] 
 * 
  Place_OpeningHours 
 
  
 "" 
  
 /* 150 byte string literal not displayed */ 
  
 RegularSecondaryOpeningHours 
  
 [] 
 * 
  Place_OpeningHours 
 
  
 "" 
  
 /* 150 byte string literal not displayed */ 
  
 EditorialSummary 
  
 * 
  localized_text 
 
 . 
  LocalizedText 
 
  
 `protobuf:"bytes,52,opt,name=editorial_summary,json=editorialSummary,proto3" json:"editorial_summary,omitempty"` 
  
 OutdoorSeating 
  
 * 
  bool 
 
  
 `protobuf:"varint,55,opt,name=outdoor_seating,json=outdoorSeating,proto3,oneof" json:"outdoor_seating,omitempty"` 
  
 LiveMusic 
  
 * 
  bool 
 
  
 `protobuf:"varint,56,opt,name=live_music,json=liveMusic,proto3,oneof" json:"live_music,omitempty"` 
  
 MenuForChildren 
  
 * 
  bool 
 
  
 `protobuf:"varint,57,opt,name=menu_for_children,json=menuForChildren,proto3,oneof" json:"menu_for_children,omitempty"` 
  
 ServesCocktails 
  
 * 
  bool 
 
  
 `protobuf:"varint,58,opt,name=serves_cocktails,json=servesCocktails,proto3,oneof" json:"serves_cocktails,omitempty"` 
  
 ServesDessert 
  
 * 
  bool 
 
  
 `protobuf:"varint,59,opt,name=serves_dessert,json=servesDessert,proto3,oneof" json:"serves_dessert,omitempty"` 
  
 ServesCoffee 
  
 * 
  bool 
 
  
 `protobuf:"varint,60,opt,name=serves_coffee,json=servesCoffee,proto3,oneof" json:"serves_coffee,omitempty"` 
  
 GoodForChildren 
  
 * 
  bool 
 
  
 `protobuf:"varint,62,opt,name=good_for_children,json=goodForChildren,proto3,oneof" json:"good_for_children,omitempty"` 
  
 AllowsDogs 
  
 * 
  bool 
 
  
 `protobuf:"varint,63,opt,name=allows_dogs,json=allowsDogs,proto3,oneof" json:"allows_dogs,omitempty"` 
  
 Restroom 
  
 * 
  bool 
 
  
 `protobuf:"varint,64,opt,name=restroom,proto3,oneof" json:"restroom,omitempty"` 
  
 GoodForGroups 
  
 * 
  bool 
 
  
 `protobuf:"varint,65,opt,name=good_for_groups,json=goodForGroups,proto3,oneof" json:"good_for_groups,omitempty"` 
  
 GoodForWatchingSports 
  
 * 
  bool 
 
  
 "" 
  
 /* 136 byte string literal not displayed */ 
  
 PaymentOptions 
  
 * 
  Place_PaymentOptions 
 
  
 `protobuf:"bytes,67,opt,name=payment_options,json=paymentOptions,proto3" json:"payment_options,omitempty"` 
  
 ParkingOptions 
  
 * 
  Place_ParkingOptions 
 
  
 `protobuf:"bytes,70,opt,name=parking_options,json=parkingOptions,proto3" json:"parking_options,omitempty"` 
  
 SubDestinations 
  
 [] 
 * 
  Place_SubDestination 
 
  
 `protobuf:"bytes,71,rep,name=sub_destinations,json=subDestinations,proto3" json:"sub_destinations,omitempty"` 
  
 AccessibilityOptions 
  
 * 
  Place_AccessibilityOptions 
 
  
 "" 
  
 /* 128 byte string literal not displayed */ 
  
 FuelOptions 
  
 * 
  FuelOptions 
 
  
 `protobuf:"bytes,78,opt,name=fuel_options,json=fuelOptions,proto3" json:"fuel_options,omitempty"` 
  
 EvChargeOptions 
  
 * 
  EVChargeOptions 
 
  
 `protobuf:"bytes,79,opt,name=ev_charge_options,json=evChargeOptions,proto3" json:"ev_charge_options,omitempty"` 
  
 GenerativeSummary 
  
 * 
  Place_GenerativeSummary 
 
  
 `protobuf:"bytes,80,opt,name=generative_summary,json=generativeSummary,proto3" json:"generative_summary,omitempty"` 
  
 AreaSummary 
  
 * 
  Place_AreaSummary 
 
  
 `protobuf:"bytes,81,opt,name=area_summary,json=areaSummary,proto3" json:"area_summary,omitempty"` 
 } 
 

All the information representing a Place.

func (*Place) Descriptor

  func 
  
 ( 
 * 
  Place 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Place.ProtoReflect.Descriptor instead.

func (*Place) GetAccessibilityOptions

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetAccessibilityOptions 
 () 
  
 * 
  Place_AccessibilityOptions 
 
 

func (*Place) GetAddressComponents

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetAddressComponents 
 () 
  
 [] 
 * 
  Place_AddressComponent 
 
 

func (*Place) GetAdrFormatAddress

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetAdrFormatAddress 
 () 
  
  string 
 
 

func (*Place) GetAllowsDogs

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetAllowsDogs 
 () 
  
  bool 
 
 

func (*Place) GetAreaSummary

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetAreaSummary 
 () 
  
 * 
  Place_AreaSummary 
 
 

func (*Place) GetAttributions

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetAttributions 
 () 
  
 [] 
 * 
  Place_Attribution 
 
 

func (*Place) GetBusinessStatus

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetBusinessStatus 
 () 
  
  Place_BusinessStatus 
 
 

func (*Place) GetCurbsidePickup

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetCurbsidePickup 
 () 
  
  bool 
 
 

func (*Place) GetCurrentOpeningHours

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetCurrentOpeningHours 
 () 
  
 * 
  Place_OpeningHours 
 
 

func (*Place) GetCurrentSecondaryOpeningHours

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetCurrentSecondaryOpeningHours 
 () 
  
 [] 
 * 
  Place_OpeningHours 
 
 

func (*Place) GetDelivery

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetDelivery 
 () 
  
  bool 
 
 

func (*Place) GetDineIn

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetDineIn 
 () 
  
  bool 
 
 

func (*Place) GetDisplayName

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetDisplayName 
 () 
  
 * 
  localized_text 
 
 . 
  LocalizedText 
 
 

func (*Place) GetEditorialSummary

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetEditorialSummary 
 () 
  
 * 
  localized_text 
 
 . 
  LocalizedText 
 
 

func (*Place) GetEvChargeOptions

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetEvChargeOptions 
 () 
  
 * 
  EVChargeOptions 
 
 

func (*Place) GetFormattedAddress

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetFormattedAddress 
 () 
  
  string 
 
 

func (*Place) GetFuelOptions

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetFuelOptions 
 () 
  
 * 
  FuelOptions 
 
 

func (*Place) GetGenerativeSummary

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetGenerativeSummary 
 () 
  
 * 
  Place_GenerativeSummary 
 
 

func (*Place) GetGoodForChildren

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetGoodForChildren 
 () 
  
  bool 
 
 

func (*Place) GetGoodForGroups

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetGoodForGroups 
 () 
  
  bool 
 
 

func (*Place) GetGoodForWatchingSports

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetGoodForWatchingSports 
 () 
  
  bool 
 
 

func (*Place) GetGoogleMapsUri

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetGoogleMapsUri 
 () 
  
  string 
 
 

func (*Place) GetIconBackgroundColor

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetIconBackgroundColor 
 () 
  
  string 
 
 

func (*Place) GetIconMaskBaseUri

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetIconMaskBaseUri 
 () 
  
  string 
 
 

func (*Place) GetId

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetId 
 () 
  
  string 
 
 

func (*Place) GetInternationalPhoneNumber

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetInternationalPhoneNumber 
 () 
  
  string 
 
 

func (*Place) GetLiveMusic

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetLiveMusic 
 () 
  
  bool 
 
 

func (*Place) GetLocation

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetLocation 
 () 
  
 * 
  latlng 
 
 . 
  LatLng 
 
 

func (*Place) GetMenuForChildren

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetMenuForChildren 
 () 
  
  bool 
 
 

func (*Place) GetName

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetName 
 () 
  
  string 
 
 

func (*Place) GetNationalPhoneNumber

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetNationalPhoneNumber 
 () 
  
  string 
 
 

func (*Place) GetOutdoorSeating

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetOutdoorSeating 
 () 
  
  bool 
 
 

func (*Place) GetParkingOptions

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetParkingOptions 
 () 
  
 * 
  Place_ParkingOptions 
 
 

func (*Place) GetPaymentOptions

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetPaymentOptions 
 () 
  
 * 
  Place_PaymentOptions 
 
 

func (*Place) GetPhotos

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetPhotos 
 () 
  
 [] 
 * 
  Photo 
 
 

func (*Place) GetPlusCode

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetPlusCode 
 () 
  
 * 
  Place_PlusCode 
 
 

func (*Place) GetPriceLevel

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetPriceLevel 
 () 
  
  PriceLevel 
 
 

func (*Place) GetPrimaryType

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetPrimaryType 
 () 
  
  string 
 
 

func (*Place) GetPrimaryTypeDisplayName

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetPrimaryTypeDisplayName 
 () 
  
 * 
  localized_text 
 
 . 
  LocalizedText 
 
 

func (*Place) GetRating

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetRating 
 () 
  
  float64 
 
 

func (*Place) GetRegularOpeningHours

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetRegularOpeningHours 
 () 
  
 * 
  Place_OpeningHours 
 
 

func (*Place) GetRegularSecondaryOpeningHours

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetRegularSecondaryOpeningHours 
 () 
  
 [] 
 * 
  Place_OpeningHours 
 
 

func (*Place) GetReservable

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetReservable 
 () 
  
  bool 
 
 

func (*Place) GetRestroom

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetRestroom 
 () 
  
  bool 
 
 

func (*Place) GetReviews

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetReviews 
 () 
  
 [] 
 * 
  Review 
 
 

func (*Place) GetServesBeer

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetServesBeer 
 () 
  
  bool 
 
 

func (*Place) GetServesBreakfast

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetServesBreakfast 
 () 
  
  bool 
 
 

func (*Place) GetServesBrunch

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetServesBrunch 
 () 
  
  bool 
 
 

func (*Place) GetServesCocktails

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetServesCocktails 
 () 
  
  bool 
 
 

func (*Place) GetServesCoffee

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetServesCoffee 
 () 
  
  bool 
 
 

func (*Place) GetServesDessert

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetServesDessert 
 () 
  
  bool 
 
 

func (*Place) GetServesDinner

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetServesDinner 
 () 
  
  bool 
 
 

func (*Place) GetServesLunch

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetServesLunch 
 () 
  
  bool 
 
 

func (*Place) GetServesVegetarianFood

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetServesVegetarianFood 
 () 
  
  bool 
 
 

func (*Place) GetServesWine

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetServesWine 
 () 
  
  bool 
 
 

func (*Place) GetShortFormattedAddress

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetShortFormattedAddress 
 () 
  
  string 
 
 

func (*Place) GetSubDestinations

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetSubDestinations 
 () 
  
 [] 
 * 
  Place_SubDestination 
 
 

func (*Place) GetTakeout

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetTakeout 
 () 
  
  bool 
 
 

func (*Place) GetTypes

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetTypes 
 () 
  
 [] 
  string 
 
 

func (*Place) GetUserRatingCount

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetUserRatingCount 
 () 
  
  int32 
 
 

func (*Place) GetUtcOffsetMinutes

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetUtcOffsetMinutes 
 () 
  
  int32 
 
 

func (*Place) GetViewport

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetViewport 
 () 
  
 * 
  viewport 
 
 . 
  Viewport 
 
 

func (*Place) GetWebsiteUri

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 GetWebsiteUri 
 () 
  
  string 
 
 

func (*Place) ProtoMessage

  func 
  
 ( 
 * 
  Place 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Place) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*Place) Reset

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 Reset 
 () 
 

func (*Place) String

  func 
  
 ( 
 x 
  
 * 
  Place 
 
 ) 
  
 String 
 () 
  
  string 
 
 

Place_AccessibilityOptions

  type 
  
 Place_AccessibilityOptions 
  
 struct 
  
 { 
  
 WheelchairAccessibleParking 
  
 * 
  bool 
 
  
 "" 
  
 /* 151 byte string literal not displayed */ 
  
 WheelchairAccessibleEntrance 
  
 * 
  bool 
 
  
 "" 
  
 /* 154 byte string literal not displayed */ 
  
 WheelchairAccessibleRestroom 
  
 * 
  bool 
 
  
 "" 
  
 /* 154 byte string literal not displayed */ 
  
 WheelchairAccessibleSeating 
  
 * 
  bool 
 
  
 "" 
  
 /* 151 byte string literal not displayed */ 
 } 
 

Information about the accessibility options a place offers.

func (*Place_AccessibilityOptions) Descriptor

  func 
  
 ( 
 * 
  Place_AccessibilityOptions 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Place_AccessibilityOptions.ProtoReflect.Descriptor instead.

func (*Place_AccessibilityOptions) GetWheelchairAccessibleEntrance

  func 
  
 ( 
 x 
  
 * 
  Place_AccessibilityOptions 
 
 ) 
  
 GetWheelchairAccessibleEntrance 
 () 
  
  bool 
 
 

func (*Place_AccessibilityOptions) GetWheelchairAccessibleParking

  func 
  
 ( 
 x 
  
 * 
  Place_AccessibilityOptions 
 
 ) 
  
 GetWheelchairAccessibleParking 
 () 
  
  bool 
 
 

func (*Place_AccessibilityOptions) GetWheelchairAccessibleRestroom

  func 
  
 ( 
 x 
  
 * 
  Place_AccessibilityOptions 
 
 ) 
  
 GetWheelchairAccessibleRestroom 
 () 
  
  bool 
 
 

func (*Place_AccessibilityOptions) GetWheelchairAccessibleSeating

  func 
  
 ( 
 x 
  
 * 
  Place_AccessibilityOptions 
 
 ) 
  
 GetWheelchairAccessibleSeating 
 () 
  
  bool 
 
 

func (*Place_AccessibilityOptions) ProtoMessage

  func 
  
 ( 
 * 
  Place_AccessibilityOptions 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Place_AccessibilityOptions) ProtoReflect

func (*Place_AccessibilityOptions) Reset

  func 
  
 ( 
 x 
  
 * 
  Place_AccessibilityOptions 
 
 ) 
  
 Reset 
 () 
 

func (*Place_AccessibilityOptions) String

Place_AddressComponent

  type 
  
 Place_AddressComponent 
  
 struct 
  
 { 
  
 // The full text description or name of the address component. For example, 
  
 // an address component for the country Australia may have a long_name of 
  
 // "Australia". 
  
 LongText 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=long_text,json=longText,proto3" json:"long_text,omitempty"` 
  
 // An abbreviated textual name for the address component, if available. For 
  
 // example, an address component for the country of Australia may have a 
  
 // short_name of "AU". 
  
 ShortText 
  
  string 
 
  
 `protobuf:"bytes,2,opt,name=short_text,json=shortText,proto3" json:"short_text,omitempty"` 
  
 // An array indicating the type(s) of the address component. 
  
 Types 
  
 [] 
  string 
 
  
 `protobuf:"bytes,3,rep,name=types,proto3" json:"types,omitempty"` 
  
 // The language used to format this components, in CLDR notation. 
  
 LanguageCode 
  
  string 
 
  
 `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

The structured components that form the formatted address, if this information is available.

func (*Place_AddressComponent) Descriptor

  func 
  
 ( 
 * 
  Place_AddressComponent 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Place_AddressComponent.ProtoReflect.Descriptor instead.

func (*Place_AddressComponent) GetLanguageCode

  func 
  
 ( 
 x 
  
 * 
  Place_AddressComponent 
 
 ) 
  
 GetLanguageCode 
 () 
  
  string 
 
 

func (*Place_AddressComponent) GetLongText

  func 
  
 ( 
 x 
  
 * 
  Place_AddressComponent 
 
 ) 
  
 GetLongText 
 () 
  
  string 
 
 

func (*Place_AddressComponent) GetShortText

  func 
  
 ( 
 x 
  
 * 
  Place_AddressComponent 
 
 ) 
  
 GetShortText 
 () 
  
  string 
 
 

func (*Place_AddressComponent) GetTypes

  func 
  
 ( 
 x 
  
 * 
  Place_AddressComponent 
 
 ) 
  
 GetTypes 
 () 
  
 [] 
  string 
 
 

func (*Place_AddressComponent) ProtoMessage

  func 
  
 ( 
 * 
  Place_AddressComponent 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Place_AddressComponent) ProtoReflect

func (*Place_AddressComponent) Reset

  func 
  
 ( 
 x 
  
 * 
  Place_AddressComponent 
 
 ) 
  
 Reset 
 () 
 

func (*Place_AddressComponent) String

  func 
  
 ( 
 x 
  
 * 
  Place_AddressComponent 
 
 ) 
  
 String 
 () 
  
  string 
 
 

Place_AreaSummary

  type 
  
 Place_AreaSummary 
  
 struct 
  
 { 
  
 // Content blocks that compose the area summary. Each block has a separate 
  
 // topic about the area. 
  
 ContentBlocks 
  
 [] 
 * 
  ContentBlock 
 
  
 `protobuf:"bytes,4,rep,name=content_blocks,json=contentBlocks,proto3" json:"content_blocks,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details.

AI-generated summary of the area that the place is in.

func (*Place_AreaSummary) Descriptor

  func 
  
 ( 
 * 
  Place_AreaSummary 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Place_AreaSummary.ProtoReflect.Descriptor instead.

func (*Place_AreaSummary) GetContentBlocks

  func 
  
 ( 
 x 
  
 * 
  Place_AreaSummary 
 
 ) 
  
 GetContentBlocks 
 () 
  
 [] 
 * 
  ContentBlock 
 
 

func (*Place_AreaSummary) ProtoMessage

  func 
  
 ( 
 * 
  Place_AreaSummary 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Place_AreaSummary) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  Place_AreaSummary 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*Place_AreaSummary) Reset

  func 
  
 ( 
 x 
  
 * 
  Place_AreaSummary 
 
 ) 
  
 Reset 
 () 
 

func (*Place_AreaSummary) String

  func 
  
 ( 
 x 
  
 * 
  Place_AreaSummary 
 
 ) 
  
 String 
 () 
  
  string 
 
 

Place_Attribution

  type 
  
 Place_Attribution 
  
 struct 
  
 { 
  
 // Name of the Place's data provider. 
  
 Provider 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` 
  
 // URI to the Place's data provider. 
  
 ProviderUri 
  
  string 
 
  
 `protobuf:"bytes,2,opt,name=provider_uri,json=providerUri,proto3" json:"provider_uri,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Information about data providers of this place.

func (*Place_Attribution) Descriptor

  func 
  
 ( 
 * 
  Place_Attribution 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Place_Attribution.ProtoReflect.Descriptor instead.

func (*Place_Attribution) GetProvider

  func 
  
 ( 
 x 
  
 * 
  Place_Attribution 
 
 ) 
  
 GetProvider 
 () 
  
  string 
 
 

func (*Place_Attribution) GetProviderUri

  func 
  
 ( 
 x 
  
 * 
  Place_Attribution 
 
 ) 
  
 GetProviderUri 
 () 
  
  string 
 
 

func (*Place_Attribution) ProtoMessage

  func 
  
 ( 
 * 
  Place_Attribution 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Place_Attribution) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  Place_Attribution 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*Place_Attribution) Reset

  func 
  
 ( 
 x 
  
 * 
  Place_Attribution 
 
 ) 
  
 Reset 
 () 
 

func (*Place_Attribution) String

  func 
  
 ( 
 x 
  
 * 
  Place_Attribution 
 
 ) 
  
 String 
 () 
  
  string 
 
 

Place_BusinessStatus

  type 
  
 Place_BusinessStatus 
  
  int32 
 
 

Business status for the place.

Place_BUSINESS_STATUS_UNSPECIFIED, Place_OPERATIONAL, Place_CLOSED_TEMPORARILY, Place_CLOSED_PERMANENTLY

  const 
  
 ( 
  
 // Default value. This value is unused. 
  
 Place_BUSINESS_STATUS_UNSPECIFIED 
  
  Place_BusinessStatus 
 
  
 = 
  
 0 
  
 // The establishment is operational, not necessarily open now. 
  
 Place_OPERATIONAL 
  
  Place_BusinessStatus 
 
  
 = 
  
 1 
  
 // The establishment is temporarily closed. 
  
 Place_CLOSED_TEMPORARILY 
  
  Place_BusinessStatus 
 
  
 = 
  
 2 
  
 // The establishment is permanently closed. 
  
 Place_CLOSED_PERMANENTLY 
  
  Place_BusinessStatus 
 
  
 = 
  
 3 
 ) 
 

func (Place_BusinessStatus) Descriptor

func (Place_BusinessStatus) Enum

func (Place_BusinessStatus) EnumDescriptor

  func 
  
 ( 
  Place_BusinessStatus 
 
 ) 
  
 EnumDescriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Place_BusinessStatus.Descriptor instead.

func (Place_BusinessStatus) Number

func (Place_BusinessStatus) String

  func 
  
 ( 
 x 
  
  Place_BusinessStatus 
 
 ) 
  
 String 
 () 
  
  string 
 
 

func (Place_BusinessStatus) Type

Place_GenerativeSummary

  type 
  
 Place_GenerativeSummary 
  
 struct 
  
 { 
  
 // The overview of the place. 
  
 Overview 
  
 * 
  localized_text 
 
 . 
  LocalizedText 
 
  
 `protobuf:"bytes,1,opt,name=overview,proto3" json:"overview,omitempty"` 
  
 // The detailed description of the place. 
  
 Description 
  
 * 
  localized_text 
 
 . 
  LocalizedText 
 
  
 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 
  
 // References that are used to generate the summary description. 
  
 References 
  
 * 
  References 
 
  
 `protobuf:"bytes,3,opt,name=references,proto3" json:"references,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details.

AI-generated summary of the place.

func (*Place_GenerativeSummary) Descriptor

  func 
  
 ( 
 * 
  Place_GenerativeSummary 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Place_GenerativeSummary.ProtoReflect.Descriptor instead.

func (*Place_GenerativeSummary) GetDescription

func (*Place_GenerativeSummary) GetOverview

func (*Place_GenerativeSummary) GetReferences

  func 
  
 ( 
 x 
  
 * 
  Place_GenerativeSummary 
 
 ) 
  
 GetReferences 
 () 
  
 * 
  References 
 
 

func (*Place_GenerativeSummary) ProtoMessage

  func 
  
 ( 
 * 
  Place_GenerativeSummary 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Place_GenerativeSummary) ProtoReflect

func (*Place_GenerativeSummary) Reset

  func 
  
 ( 
 x 
  
 * 
  Place_GenerativeSummary 
 
 ) 
  
 Reset 
 () 
 

func (*Place_GenerativeSummary) String

  func 
  
 ( 
 x 
  
 * 
  Place_GenerativeSummary 
 
 ) 
  
 String 
 () 
  
  string 
 
 

Place_OpeningHours

  type 
  
 Place_OpeningHours 
  
 struct 
  
 { 
  
 OpenNow 
  
 * 
  bool 
 
  
 `protobuf:"varint,1,opt,name=open_now,json=openNow,proto3,oneof" json:"open_now,omitempty"` 
  
 Periods 
  
 [] 
 * 
  Place_OpeningHours_Period 
 
  
 `protobuf:"bytes,2,rep,name=periods,proto3" json:"periods,omitempty"` 
  
 WeekdayDescriptions 
  
 [] 
  string 
 
  
 `protobuf:"bytes,3,rep,name=weekday_descriptions,json=weekdayDescriptions,proto3" json:"weekday_descriptions,omitempty"` 
  
 SecondaryHoursType 
  
  Place_OpeningHours_SecondaryHoursType 
 
  
 "" 
  
 /* 183 byte string literal not displayed */ 
  
 SpecialDays 
  
 [] 
 * 
  Place_OpeningHours_SpecialDay 
 
  
 `protobuf:"bytes,5,rep,name=special_days,json=specialDays,proto3" json:"special_days,omitempty"` 
 } 
 

Information about business hour of the place.

func (*Place_OpeningHours) Descriptor

  func 
  
 ( 
 * 
  Place_OpeningHours 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Place_OpeningHours.ProtoReflect.Descriptor instead.

func (*Place_OpeningHours) GetOpenNow

  func 
  
 ( 
 x 
  
 * 
  Place_OpeningHours 
 
 ) 
  
 GetOpenNow 
 () 
  
  bool 
 
 

func (*Place_OpeningHours) GetPeriods

func (*Place_OpeningHours) GetSecondaryHoursType

func (*Place_OpeningHours) GetSpecialDays

  func 
  
 ( 
 x 
  
 * 
  Place_OpeningHours 
 
 ) 
  
 GetSpecialDays 
 () 
  
 [] 
 * 
  Place_OpeningHours_SpecialDay 
 
 

func (*Place_OpeningHours) GetWeekdayDescriptions

  func 
  
 ( 
 x 
  
 * 
  Place_OpeningHours 
 
 ) 
  
 GetWeekdayDescriptions 
 () 
  
 [] 
  string 
 
 

func (*Place_OpeningHours) ProtoMessage

  func 
  
 ( 
 * 
  Place_OpeningHours 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Place_OpeningHours) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  Place_OpeningHours 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*Place_OpeningHours) Reset

  func 
  
 ( 
 x 
  
 * 
  Place_OpeningHours 
 
 ) 
  
 Reset 
 () 
 

func (*Place_OpeningHours) String

  func 
  
 ( 
 x 
  
 * 
  Place_OpeningHours 
 
 ) 
  
 String 
 () 
  
  string 
 
 

Place_OpeningHours_Period

  type 
  
 Place_OpeningHours_Period 
  
 struct 
  
 { 
  
 // The time that the place starts to be open. 
  
 Open 
  
 * 
  Place_OpeningHours_Period_Point 
 
  
 `protobuf:"bytes,1,opt,name=open,proto3" json:"open,omitempty"` 
  
 // The time that the place starts to be closed. 
  
 Close 
  
 * 
  Place_OpeningHours_Period_Point 
 
  
 `protobuf:"bytes,2,opt,name=close,proto3" json:"close,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

A period the place remains in open_now status.

func (*Place_OpeningHours_Period) Descriptor

  func 
  
 ( 
 * 
  Place_OpeningHours_Period 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Place_OpeningHours_Period.ProtoReflect.Descriptor instead.

func (*Place_OpeningHours_Period) GetClose

func (*Place_OpeningHours_Period) GetOpen

func (*Place_OpeningHours_Period) ProtoMessage

  func 
  
 ( 
 * 
  Place_OpeningHours_Period 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Place_OpeningHours_Period) ProtoReflect

func (*Place_OpeningHours_Period) Reset

  func 
  
 ( 
 x 
  
 * 
  Place_OpeningHours_Period 
 
 ) 
  
 Reset 
 () 
 

func (*Place_OpeningHours_Period) String

Place_OpeningHours_Period_Point

  type 
  
 Place_OpeningHours_Period_Point 
  
 struct 
  
 { 
  
 // A day of the week, as an integer in the range 0-6.  0 is Sunday, 1 is 
  
 // Monday, etc. 
  
 Day 
  
 * 
  int32 
 
  
 `protobuf:"varint,1,opt,name=day,proto3,oneof" json:"day,omitempty"` 
  
 // The hour in 2 digits. Ranges from 00 to 23. 
  
 Hour 
  
 * 
  int32 
 
  
 `protobuf:"varint,2,opt,name=hour,proto3,oneof" json:"hour,omitempty"` 
  
 // The minute in 2 digits. Ranges from 00 to 59. 
  
 Minute 
  
 * 
  int32 
 
  
 `protobuf:"varint,3,opt,name=minute,proto3,oneof" json:"minute,omitempty"` 
  
 // Date in the local timezone for the place. 
  
 Date 
  
 * 
  date 
 
 . 
  Date 
 
  
 `protobuf:"bytes,6,opt,name=date,proto3" json:"date,omitempty"` 
  
 // Whether or not this endpoint was truncated. Truncation occurs when 
  
 // the real hours are outside the times we are willing to return hours 
  
 // between, so we truncate the hours back to these boundaries. This 
  
 // ensures that at most 24 * 7 hours from midnight of the day of the 
  
 // request are returned. 
  
 Truncated 
  
  bool 
 
  
 `protobuf:"varint,5,opt,name=truncated,proto3" json:"truncated,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Status changing points.

func (*Place_OpeningHours_Period_Point) Descriptor

  func 
  
 ( 
 * 
  Place_OpeningHours_Period_Point 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Place_OpeningHours_Period_Point.ProtoReflect.Descriptor instead.

func (*Place_OpeningHours_Period_Point) GetDate

func (*Place_OpeningHours_Period_Point) GetDay

func (*Place_OpeningHours_Period_Point) GetHour

func (*Place_OpeningHours_Period_Point) GetMinute

func (*Place_OpeningHours_Period_Point) GetTruncated

  func 
  
 ( 
 x 
  
 * 
  Place_OpeningHours_Period_Point 
 
 ) 
  
 GetTruncated 
 () 
  
  bool 
 
 

func (*Place_OpeningHours_Period_Point) ProtoMessage

  func 
  
 ( 
 * 
  Place_OpeningHours_Period_Point 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Place_OpeningHours_Period_Point) ProtoReflect

func (*Place_OpeningHours_Period_Point) Reset

  func 
  
 ( 
 x 
  
 * 
  Place_OpeningHours_Period_Point 
 
 ) 
  
 Reset 
 () 
 

func (*Place_OpeningHours_Period_Point) String

Place_OpeningHours_SecondaryHoursType

  type 
  
 Place_OpeningHours_SecondaryHoursType 
  
  int32 
 
 

A type used to identify the type of secondary hours.

Place_OpeningHours_SECONDARY_HOURS_TYPE_UNSPECIFIED, Place_OpeningHours_DRIVE_THROUGH, Place_OpeningHours_HAPPY_HOUR, Place_OpeningHours_DELIVERY, Place_OpeningHours_TAKEOUT, Place_OpeningHours_KITCHEN, Place_OpeningHours_BREAKFAST, Place_OpeningHours_LUNCH, Place_OpeningHours_DINNER, Place_OpeningHours_BRUNCH, Place_OpeningHours_PICKUP, Place_OpeningHours_ACCESS, Place_OpeningHours_SENIOR_HOURS, Place_OpeningHours_ONLINE_SERVICE_HOURS

  const 
  
 ( 
  
 // Default value when secondary hour type is not specified. 
  
 Place_OpeningHours_SECONDARY_HOURS_TYPE_UNSPECIFIED 
  
  Place_OpeningHours_SecondaryHoursType 
 
  
 = 
  
 0 
  
 // The drive-through hour for banks, restaurants, or pharmacies. 
  
 Place_OpeningHours_DRIVE_THROUGH 
  
  Place_OpeningHours_SecondaryHoursType 
 
  
 = 
  
 1 
  
 // The happy hour. 
  
 Place_OpeningHours_HAPPY_HOUR 
  
  Place_OpeningHours_SecondaryHoursType 
 
  
 = 
  
 2 
  
 // The delivery hour. 
  
 Place_OpeningHours_DELIVERY 
  
  Place_OpeningHours_SecondaryHoursType 
 
  
 = 
  
 3 
  
 // The takeout hour. 
  
 Place_OpeningHours_TAKEOUT 
  
  Place_OpeningHours_SecondaryHoursType 
 
  
 = 
  
 4 
  
 // The kitchen hour. 
  
 Place_OpeningHours_KITCHEN 
  
  Place_OpeningHours_SecondaryHoursType 
 
  
 = 
  
 5 
  
 // The breakfast hour. 
  
 Place_OpeningHours_BREAKFAST 
  
  Place_OpeningHours_SecondaryHoursType 
 
  
 = 
  
 6 
  
 // The lunch hour. 
  
 Place_OpeningHours_LUNCH 
  
  Place_OpeningHours_SecondaryHoursType 
 
  
 = 
  
 7 
  
 // The dinner hour. 
  
 Place_OpeningHours_DINNER 
  
  Place_OpeningHours_SecondaryHoursType 
 
  
 = 
  
 8 
  
 // The brunch hour. 
  
 Place_OpeningHours_BRUNCH 
  
  Place_OpeningHours_SecondaryHoursType 
 
  
 = 
  
 9 
  
 // The pickup hour. 
  
 Place_OpeningHours_PICKUP 
  
  Place_OpeningHours_SecondaryHoursType 
 
  
 = 
  
 10 
  
 // The access hours for storage places. 
  
 Place_OpeningHours_ACCESS 
  
  Place_OpeningHours_SecondaryHoursType 
 
  
 = 
  
 11 
  
 // The special hours for seniors. 
  
 Place_OpeningHours_SENIOR_HOURS 
  
  Place_OpeningHours_SecondaryHoursType 
 
  
 = 
  
 12 
  
 // The online service hours. 
  
 Place_OpeningHours_ONLINE_SERVICE_HOURS 
  
  Place_OpeningHours_SecondaryHoursType 
 
  
 = 
  
 13 
 ) 
 

func (Place_OpeningHours_SecondaryHoursType) Descriptor

func (Place_OpeningHours_SecondaryHoursType) Enum

func (Place_OpeningHours_SecondaryHoursType) EnumDescriptor

  func 
  
 ( 
  Place_OpeningHours_SecondaryHoursType 
 
 ) 
  
 EnumDescriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Place_OpeningHours_SecondaryHoursType.Descriptor instead.

func (Place_OpeningHours_SecondaryHoursType) Number

func (Place_OpeningHours_SecondaryHoursType) String

func (Place_OpeningHours_SecondaryHoursType) Type

Place_OpeningHours_SpecialDay

  type 
  
 Place_OpeningHours_SpecialDay 
  
 struct 
  
 { 
  
 // The date of this special day. 
  
 Date 
  
 * 
  date 
 
 . 
  Date 
 
  
 `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day.

func (*Place_OpeningHours_SpecialDay) Descriptor

  func 
  
 ( 
 * 
  Place_OpeningHours_SpecialDay 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Place_OpeningHours_SpecialDay.ProtoReflect.Descriptor instead.

func (*Place_OpeningHours_SpecialDay) GetDate

func (*Place_OpeningHours_SpecialDay) ProtoMessage

  func 
  
 ( 
 * 
  Place_OpeningHours_SpecialDay 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Place_OpeningHours_SpecialDay) ProtoReflect

func (*Place_OpeningHours_SpecialDay) Reset

  func 
  
 ( 
 x 
  
 * 
  Place_OpeningHours_SpecialDay 
 
 ) 
  
 Reset 
 () 
 

func (*Place_OpeningHours_SpecialDay) String

Place_ParkingOptions

  type 
  
 Place_ParkingOptions 
  
 struct 
  
 { 
  
 // Place offers free parking lots. 
  
 FreeParkingLot 
  
 * 
  bool 
 
  
 `protobuf:"varint,1,opt,name=free_parking_lot,json=freeParkingLot,proto3,oneof" json:"free_parking_lot,omitempty"` 
  
 // Place offers paid parking lots. 
  
 PaidParkingLot 
  
 * 
  bool 
 
  
 `protobuf:"varint,2,opt,name=paid_parking_lot,json=paidParkingLot,proto3,oneof" json:"paid_parking_lot,omitempty"` 
  
 // Place offers free street parking. 
  
 FreeStreetParking 
  
 * 
  bool 
 
  
 `protobuf:"varint,3,opt,name=free_street_parking,json=freeStreetParking,proto3,oneof" json:"free_street_parking,omitempty"` 
  
 // Place offers paid street parking. 
  
 PaidStreetParking 
  
 * 
  bool 
 
  
 `protobuf:"varint,4,opt,name=paid_street_parking,json=paidStreetParking,proto3,oneof" json:"paid_street_parking,omitempty"` 
  
 // Place offers valet parking. 
  
 ValetParking 
  
 * 
  bool 
 
  
 `protobuf:"varint,5,opt,name=valet_parking,json=valetParking,proto3,oneof" json:"valet_parking,omitempty"` 
  
 // Place offers free garage parking. 
  
 FreeGarageParking 
  
 * 
  bool 
 
  
 `protobuf:"varint,6,opt,name=free_garage_parking,json=freeGarageParking,proto3,oneof" json:"free_garage_parking,omitempty"` 
  
 // Place offers paid garage parking. 
  
 PaidGarageParking 
  
 * 
  bool 
 
  
 `protobuf:"varint,7,opt,name=paid_garage_parking,json=paidGarageParking,proto3,oneof" json:"paid_garage_parking,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Information about parking options for the place. A parking lot could support more than one option at the same time.

func (*Place_ParkingOptions) Descriptor

  func 
  
 ( 
 * 
  Place_ParkingOptions 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Place_ParkingOptions.ProtoReflect.Descriptor instead.

func (*Place_ParkingOptions) GetFreeGarageParking

  func 
  
 ( 
 x 
  
 * 
  Place_ParkingOptions 
 
 ) 
  
 GetFreeGarageParking 
 () 
  
  bool 
 
 

func (*Place_ParkingOptions) GetFreeParkingLot

  func 
  
 ( 
 x 
  
 * 
  Place_ParkingOptions 
 
 ) 
  
 GetFreeParkingLot 
 () 
  
  bool 
 
 

func (*Place_ParkingOptions) GetFreeStreetParking

  func 
  
 ( 
 x 
  
 * 
  Place_ParkingOptions 
 
 ) 
  
 GetFreeStreetParking 
 () 
  
  bool 
 
 

func (*Place_ParkingOptions) GetPaidGarageParking

  func 
  
 ( 
 x 
  
 * 
  Place_ParkingOptions 
 
 ) 
  
 GetPaidGarageParking 
 () 
  
  bool 
 
 

func (*Place_ParkingOptions) GetPaidParkingLot

  func 
  
 ( 
 x 
  
 * 
  Place_ParkingOptions 
 
 ) 
  
 GetPaidParkingLot 
 () 
  
  bool 
 
 

func (*Place_ParkingOptions) GetPaidStreetParking

  func 
  
 ( 
 x 
  
 * 
  Place_ParkingOptions 
 
 ) 
  
 GetPaidStreetParking 
 () 
  
  bool 
 
 

func (*Place_ParkingOptions) GetValetParking

  func 
  
 ( 
 x 
  
 * 
  Place_ParkingOptions 
 
 ) 
  
 GetValetParking 
 () 
  
  bool 
 
 

func (*Place_ParkingOptions) ProtoMessage

  func 
  
 ( 
 * 
  Place_ParkingOptions 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Place_ParkingOptions) ProtoReflect

func (*Place_ParkingOptions) Reset

  func 
  
 ( 
 x 
  
 * 
  Place_ParkingOptions 
 
 ) 
  
 Reset 
 () 
 

func (*Place_ParkingOptions) String

  func 
  
 ( 
 x 
  
 * 
  Place_ParkingOptions 
 
 ) 
  
 String 
 () 
  
  string 
 
 

Place_PaymentOptions

  type 
  
 Place_PaymentOptions 
  
 struct 
  
 { 
  
 // Place accepts credit cards as payment. 
  
 AcceptsCreditCards 
  
 * 
  bool 
 
  
 `protobuf:"varint,1,opt,name=accepts_credit_cards,json=acceptsCreditCards,proto3,oneof" json:"accepts_credit_cards,omitempty"` 
  
 // Place accepts debit cards as payment. 
  
 AcceptsDebitCards 
  
 * 
  bool 
 
  
 `protobuf:"varint,2,opt,name=accepts_debit_cards,json=acceptsDebitCards,proto3,oneof" json:"accepts_debit_cards,omitempty"` 
  
 // Place accepts cash only as payment. Places with this attribute may still 
  
 // accept other payment methods. 
  
 AcceptsCashOnly 
  
 * 
  bool 
 
  
 `protobuf:"varint,3,opt,name=accepts_cash_only,json=acceptsCashOnly,proto3,oneof" json:"accepts_cash_only,omitempty"` 
  
 // Place accepts NFC payments. 
  
 AcceptsNfc 
  
 * 
  bool 
 
  
 `protobuf:"varint,4,opt,name=accepts_nfc,json=acceptsNfc,proto3,oneof" json:"accepts_nfc,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Payment options the place accepts.

func (*Place_PaymentOptions) Descriptor

  func 
  
 ( 
 * 
  Place_PaymentOptions 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Place_PaymentOptions.ProtoReflect.Descriptor instead.

func (*Place_PaymentOptions) GetAcceptsCashOnly

  func 
  
 ( 
 x 
  
 * 
  Place_PaymentOptions 
 
 ) 
  
 GetAcceptsCashOnly 
 () 
  
  bool 
 
 

func (*Place_PaymentOptions) GetAcceptsCreditCards

  func 
  
 ( 
 x 
  
 * 
  Place_PaymentOptions 
 
 ) 
  
 GetAcceptsCreditCards 
 () 
  
  bool 
 
 

func (*Place_PaymentOptions) GetAcceptsDebitCards

  func 
  
 ( 
 x 
  
 * 
  Place_PaymentOptions 
 
 ) 
  
 GetAcceptsDebitCards 
 () 
  
  bool 
 
 

func (*Place_PaymentOptions) GetAcceptsNfc

  func 
  
 ( 
 x 
  
 * 
  Place_PaymentOptions 
 
 ) 
  
 GetAcceptsNfc 
 () 
  
  bool 
 
 

func (*Place_PaymentOptions) ProtoMessage

  func 
  
 ( 
 * 
  Place_PaymentOptions 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Place_PaymentOptions) ProtoReflect

func (*Place_PaymentOptions) Reset

  func 
  
 ( 
 x 
  
 * 
  Place_PaymentOptions 
 
 ) 
  
 Reset 
 () 
 

func (*Place_PaymentOptions) String

  func 
  
 ( 
 x 
  
 * 
  Place_PaymentOptions 
 
 ) 
  
 String 
 () 
  
  string 
 
 

Place_PlusCode

  type 
  
 Place_PlusCode 
  
 struct 
  
 { 
  
 // Place's global (full) code, such as "9FWM33GV+HQ", representing an 
  
 // 1/8000 by 1/8000 degree area (~14 by 14 meters). 
  
 GlobalCode 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=global_code,json=globalCode,proto3" json:"global_code,omitempty"` 
  
 // Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing 
  
 // the suffix of the global code and replacing the prefix with a formatted 
  
 // name of a reference entity. 
  
 CompoundCode 
  
  string 
 
  
 `protobuf:"bytes,2,opt,name=compound_code,json=compoundCode,proto3" json:"compound_code,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Plus code ( http://plus.codes ) is a location reference with two formats: global code defining a 14mx14m (1/8000th of a degree) or smaller rectangle, and compound code, replacing the prefix with a reference location.

func (*Place_PlusCode) Descriptor

  func 
  
 ( 
 * 
  Place_PlusCode 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Place_PlusCode.ProtoReflect.Descriptor instead.

func (*Place_PlusCode) GetCompoundCode

  func 
  
 ( 
 x 
  
 * 
  Place_PlusCode 
 
 ) 
  
 GetCompoundCode 
 () 
  
  string 
 
 

func (*Place_PlusCode) GetGlobalCode

  func 
  
 ( 
 x 
  
 * 
  Place_PlusCode 
 
 ) 
  
 GetGlobalCode 
 () 
  
  string 
 
 

func (*Place_PlusCode) ProtoMessage

  func 
  
 ( 
 * 
  Place_PlusCode 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Place_PlusCode) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  Place_PlusCode 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*Place_PlusCode) Reset

  func 
  
 ( 
 x 
  
 * 
  Place_PlusCode 
 
 ) 
  
 Reset 
 () 
 

func (*Place_PlusCode) String

  func 
  
 ( 
 x 
  
 * 
  Place_PlusCode 
 
 ) 
  
 String 
 () 
  
  string 
 
 

Place_SubDestination

  type 
  
 Place_SubDestination 
  
 struct 
  
 { 
  
 // The resource name of the sub destination. 
  
 Name 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 
  
 // The place id of the sub destination. 
  
 Id 
  
  string 
 
  
 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Place resource name and id of sub destinations that relate to the place. For example, different terminals are different destinations of an airport.

func (*Place_SubDestination) Descriptor

  func 
  
 ( 
 * 
  Place_SubDestination 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Place_SubDestination.ProtoReflect.Descriptor instead.

func (*Place_SubDestination) GetId

  func 
  
 ( 
 x 
  
 * 
  Place_SubDestination 
 
 ) 
  
 GetId 
 () 
  
  string 
 
 

func (*Place_SubDestination) GetName

  func 
  
 ( 
 x 
  
 * 
  Place_SubDestination 
 
 ) 
  
 GetName 
 () 
  
  string 
 
 

func (*Place_SubDestination) ProtoMessage

  func 
  
 ( 
 * 
  Place_SubDestination 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Place_SubDestination) ProtoReflect

func (*Place_SubDestination) Reset

  func 
  
 ( 
 x 
  
 * 
  Place_SubDestination 
 
 ) 
  
 Reset 
 () 
 

func (*Place_SubDestination) String

  func 
  
 ( 
 x 
  
 * 
  Place_SubDestination 
 
 ) 
  
 String 
 () 
  
  string 
 
 

PlacesClient

  type 
  
 PlacesClient 
  
 interface 
  
 { 
  
 // Search for places near locations. 
  
 SearchNearby 
 ( 
 ctx 
  
  context 
 
 . 
  Context 
 
 , 
  
 in 
  
 * 
  SearchNearbyRequest 
 
 , 
  
 opts 
  
 ... 
  grpc 
 
 . 
  CallOption 
 
 ) 
  
 ( 
 * 
  SearchNearbyResponse 
 
 , 
  
  error 
 
 ) 
  
 // Text query based place search. 
  
 SearchText 
 ( 
 ctx 
  
  context 
 
 . 
  Context 
 
 , 
  
 in 
  
 * 
  SearchTextRequest 
 
 , 
  
 opts 
  
 ... 
  grpc 
 
 . 
  CallOption 
 
 ) 
  
 ( 
 * 
  SearchTextResponse 
 
 , 
  
  error 
 
 ) 
  
 // Get a photo media with a photo reference string. 
  
 GetPhotoMedia 
 ( 
 ctx 
  
  context 
 
 . 
  Context 
 
 , 
  
 in 
  
 * 
  GetPhotoMediaRequest 
 
 , 
  
 opts 
  
 ... 
  grpc 
 
 . 
  CallOption 
 
 ) 
  
 ( 
 * 
  PhotoMedia 
 
 , 
  
  error 
 
 ) 
  
 // Get the details of a place based on its resource name, which is a string 
  
 // in the `places/{place_id}` format. 
  
 GetPlace 
 ( 
 ctx 
  
  context 
 
 . 
  Context 
 
 , 
  
 in 
  
 * 
  GetPlaceRequest 
 
 , 
  
 opts 
  
 ... 
  grpc 
 
 . 
  CallOption 
 
 ) 
  
 ( 
 * 
  Place 
 
 , 
  
  error 
 
 ) 
  
 // Returns predictions for the given input. 
  
 AutocompletePlaces 
 ( 
 ctx 
  
  context 
 
 . 
  Context 
 
 , 
  
 in 
  
 * 
  AutocompletePlacesRequest 
 
 , 
  
 opts 
  
 ... 
  grpc 
 
 . 
  CallOption 
 
 ) 
  
 ( 
 * 
  AutocompletePlacesResponse 
 
 , 
  
  error 
 
 ) 
 } 
 

PlacesClient is the client API for Places service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream .

func NewPlacesClient

  func 
  
 NewPlacesClient 
 ( 
 cc 
  
  grpc 
 
 . 
  ClientConnInterface 
 
 ) 
  
  PlacesClient 
 
 

PlacesServer

  type 
  
 PlacesServer 
  
 interface 
  
 { 
  
 // Search for places near locations. 
  
 SearchNearby 
 ( 
  context 
 
 . 
  Context 
 
 , 
  
 * 
  SearchNearbyRequest 
 
 ) 
  
 ( 
 * 
  SearchNearbyResponse 
 
 , 
  
  error 
 
 ) 
  
 // Text query based place search. 
  
 SearchText 
 ( 
  context 
 
 . 
  Context 
 
 , 
  
 * 
  SearchTextRequest 
 
 ) 
  
 ( 
 * 
  SearchTextResponse 
 
 , 
  
  error 
 
 ) 
  
 // Get a photo media with a photo reference string. 
  
 GetPhotoMedia 
 ( 
  context 
 
 . 
  Context 
 
 , 
  
 * 
  GetPhotoMediaRequest 
 
 ) 
  
 ( 
 * 
  PhotoMedia 
 
 , 
  
  error 
 
 ) 
  
 // Get the details of a place based on its resource name, which is a string 
  
 // in the `places/{place_id}` format. 
  
 GetPlace 
 ( 
  context 
 
 . 
  Context 
 
 , 
  
 * 
  GetPlaceRequest 
 
 ) 
  
 ( 
 * 
  Place 
 
 , 
  
  error 
 
 ) 
  
 // Returns predictions for the given input. 
  
 AutocompletePlaces 
 ( 
  context 
 
 . 
  Context 
 
 , 
  
 * 
  AutocompletePlacesRequest 
 
 ) 
  
 ( 
 * 
  AutocompletePlacesResponse 
 
 , 
  
  error 
 
 ) 
 } 
 

PlacesServer is the server API for Places service.

Polyline

  type 
  
 Polyline 
  
 struct 
  
 { 
  
 // Encapsulates the type of polyline. Routes API output defaults to 
  
 // `encoded_polyline`. 
  
 // 
  
 // Types that are assignable to PolylineType: 
  
 // 
  
 //	*Polyline_EncodedPolyline 
  
 PolylineType 
  
 isPolyline_PolylineType 
  
 `protobuf_oneof:"polyline_type"` 
  
 // contains filtered or unexported fields 
 } 
 

A route polyline. Only supports an encoded polyline , which can be passed as a string and includes compression with minimal lossiness. This is the Routes API default output.

func (*Polyline) Descriptor

  func 
  
 ( 
 * 
  Polyline 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Polyline.ProtoReflect.Descriptor instead.

func (*Polyline) GetEncodedPolyline

  func 
  
 ( 
 x 
  
 * 
  Polyline 
 
 ) 
  
 GetEncodedPolyline 
 () 
  
  string 
 
 

func (*Polyline) GetPolylineType

  func 
  
 ( 
 m 
  
 * 
  Polyline 
 
 ) 
  
 GetPolylineType 
 () 
  
 isPolyline_PolylineType 
 

func (*Polyline) ProtoMessage

  func 
  
 ( 
 * 
  Polyline 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Polyline) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  Polyline 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*Polyline) Reset

  func 
  
 ( 
 x 
  
 * 
  Polyline 
 
 ) 
  
 Reset 
 () 
 

func (*Polyline) String

  func 
  
 ( 
 x 
  
 * 
  Polyline 
 
 ) 
  
 String 
 () 
  
  string 
 
 

Polyline_EncodedPolyline

  type 
  
 Polyline_EncodedPolyline 
  
 struct 
  
 { 
  
 // An [encoded 
  
 // polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm), 
  
 // as returned by the [Routes API by 
  
 // default](https://developers.google.com/maps/documentation/routes/reference/rest/v2/TopLevel/computeRoutes#polylineencoding). 
  
 // See the 
  
 // [encoder](https://developers.google.com/maps/documentation/utilities/polylineutility) 
  
 // and 
  
 // [decoder](https://developers.google.com/maps/documentation/routes/polylinedecoder) 
  
 // tools. 
  
 EncodedPolyline 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=encoded_polyline,json=encodedPolyline,proto3,oneof"` 
 } 
 

PriceLevel

  type 
  
 PriceLevel 
  
  int32 
 
 

Price level of the place.

PriceLevel_PRICE_LEVEL_UNSPECIFIED, PriceLevel_PRICE_LEVEL_FREE, PriceLevel_PRICE_LEVEL_INEXPENSIVE, PriceLevel_PRICE_LEVEL_MODERATE, PriceLevel_PRICE_LEVEL_EXPENSIVE, PriceLevel_PRICE_LEVEL_VERY_EXPENSIVE

  const 
  
 ( 
  
 // Place price level is unspecified or unknown. 
  
 PriceLevel_PRICE_LEVEL_UNSPECIFIED 
  
  PriceLevel 
 
  
 = 
  
 0 
  
 // Place provides free services. 
  
 PriceLevel_PRICE_LEVEL_FREE 
  
  PriceLevel 
 
  
 = 
  
 1 
  
 // Place provides inexpensive services. 
  
 PriceLevel_PRICE_LEVEL_INEXPENSIVE 
  
  PriceLevel 
 
  
 = 
  
 2 
  
 // Place provides moderately priced services. 
  
 PriceLevel_PRICE_LEVEL_MODERATE 
  
  PriceLevel 
 
  
 = 
  
 3 
  
 // Place provides expensive services. 
  
 PriceLevel_PRICE_LEVEL_EXPENSIVE 
  
  PriceLevel 
 
  
 = 
  
 4 
  
 // Place provides very expensive services. 
  
 PriceLevel_PRICE_LEVEL_VERY_EXPENSIVE 
  
  PriceLevel 
 
  
 = 
  
 5 
 ) 
 

func (PriceLevel) Descriptor

func (PriceLevel) Enum

  func 
  
 ( 
 x 
  
  PriceLevel 
 
 ) 
  
 Enum 
 () 
  
 * 
  PriceLevel 
 
 

func (PriceLevel) EnumDescriptor

  func 
  
 ( 
  PriceLevel 
 
 ) 
  
 EnumDescriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use PriceLevel.Descriptor instead.

func (PriceLevel) Number

func (PriceLevel) String

  func 
  
 ( 
 x 
  
  PriceLevel 
 
 ) 
  
 String 
 () 
  
  string 
 
 

func (PriceLevel) Type

References

  type 
  
 References 
  
 struct 
  
 { 
  
 // Reviews that serve as references. 
  
 Reviews 
  
 [] 
 * 
  Review 
 
  
 `protobuf:"bytes,1,rep,name=reviews,proto3" json:"reviews,omitempty"` 
  
 // The list of resource names of the referenced places. This name can be used 
  
 // in other APIs that accept Place resource names. 
  
 Places 
  
 [] 
  string 
 
  
 `protobuf:"bytes,2,rep,name=places,proto3" json:"places,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details.

Reference that the generative content is related to.

func (*References) Descriptor

  func 
  
 ( 
 * 
  References 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use References.ProtoReflect.Descriptor instead.

func (*References) GetPlaces

  func 
  
 ( 
 x 
  
 * 
  References 
 
 ) 
  
 GetPlaces 
 () 
  
 [] 
  string 
 
 

func (*References) GetReviews

  func 
  
 ( 
 x 
  
 * 
  References 
 
 ) 
  
 GetReviews 
 () 
  
 [] 
 * 
  Review 
 
 

func (*References) ProtoMessage

  func 
  
 ( 
 * 
  References 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*References) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  References 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*References) Reset

  func 
  
 ( 
 x 
  
 * 
  References 
 
 ) 
  
 Reset 
 () 
 

func (*References) String

  func 
  
 ( 
 x 
  
 * 
  References 
 
 ) 
  
 String 
 () 
  
  string 
 
 

Review

  type 
  
 Review 
  
 struct 
  
 { 
  
 Name 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 
  
 RelativePublishTimeDescription 
  
  string 
 
  
 "" 
  
 /* 155 byte string literal not displayed */ 
  
 Text 
  
 * 
  localized_text 
 
 . 
  LocalizedText 
 
  
 `protobuf:"bytes,9,opt,name=text,proto3" json:"text,omitempty"` 
  
 OriginalText 
  
 * 
  localized_text 
 
 . 
  LocalizedText 
 
  
 `protobuf:"bytes,12,opt,name=original_text,json=originalText,proto3" json:"original_text,omitempty"` 
  
 Rating 
  
  float64 
 
  
 `protobuf:"fixed64,7,opt,name=rating,proto3" json:"rating,omitempty"` 
  
 AuthorAttribution 
  
 * 
  AuthorAttribution 
 
  
 `protobuf:"bytes,13,opt,name=author_attribution,json=authorAttribution,proto3" json:"author_attribution,omitempty"` 
  
 PublishTime 
  
 * 
  timestamppb 
 
 . 
  Timestamp 
 
  
 `protobuf:"bytes,14,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"` 
 } 
 

Information about a review of a place.

func (*Review) Descriptor

  func 
  
 ( 
 * 
  Review 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use Review.ProtoReflect.Descriptor instead.

func (*Review) GetAuthorAttribution

  func 
  
 ( 
 x 
  
 * 
  Review 
 
 ) 
  
 GetAuthorAttribution 
 () 
  
 * 
  AuthorAttribution 
 
 

func (*Review) GetName

  func 
  
 ( 
 x 
  
 * 
  Review 
 
 ) 
  
 GetName 
 () 
  
  string 
 
 

func (*Review) GetOriginalText

  func 
  
 ( 
 x 
  
 * 
  Review 
 
 ) 
  
 GetOriginalText 
 () 
  
 * 
  localized_text 
 
 . 
  LocalizedText 
 
 

func (*Review) GetPublishTime

  func 
  
 ( 
 x 
  
 * 
  Review 
 
 ) 
  
 GetPublishTime 
 () 
  
 * 
  timestamppb 
 
 . 
  Timestamp 
 
 

func (*Review) GetRating

  func 
  
 ( 
 x 
  
 * 
  Review 
 
 ) 
  
 GetRating 
 () 
  
  float64 
 
 

func (*Review) GetRelativePublishTimeDescription

  func 
  
 ( 
 x 
  
 * 
  Review 
 
 ) 
  
 GetRelativePublishTimeDescription 
 () 
  
  string 
 
 

func (*Review) GetText

  func 
  
 ( 
 x 
  
 * 
  Review 
 
 ) 
  
 GetText 
 () 
  
 * 
  localized_text 
 
 . 
  LocalizedText 
 
 

func (*Review) ProtoMessage

  func 
  
 ( 
 * 
  Review 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*Review) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  Review 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*Review) Reset

  func 
  
 ( 
 x 
  
 * 
  Review 
 
 ) 
  
 Reset 
 () 
 

func (*Review) String

  func 
  
 ( 
 x 
  
 * 
  Review 
 
 ) 
  
 String 
 () 
  
  string 
 
 

RouteModifiers

  type 
  
 RouteModifiers 
  
 struct 
  
 { 
  
 // Optional. When set to true, avoids toll roads where reasonable, giving 
  
 // preference to routes not containing toll roads. Applies only to the `DRIVE` 
  
 // and `TWO_WHEELER` [`TravelMode`][google.maps.places.v1.TravelMode]. 
  
 AvoidTolls 
  
  bool 
 
  
 `protobuf:"varint,1,opt,name=avoid_tolls,json=avoidTolls,proto3" json:"avoid_tolls,omitempty"` 
  
 // Optional. When set to true, avoids highways where reasonable, giving 
  
 // preference to routes not containing highways. Applies only to the `DRIVE` 
  
 // and `TWO_WHEELER` [`TravelMode`][google.maps.places.v1.TravelMode]. 
  
 AvoidHighways 
  
  bool 
 
  
 `protobuf:"varint,2,opt,name=avoid_highways,json=avoidHighways,proto3" json:"avoid_highways,omitempty"` 
  
 // Optional. When set to true, avoids ferries where reasonable, giving 
  
 // preference to routes not containing ferries. Applies only to the `DRIVE` 
  
 // and `TWO_WHEELER` [`TravelMode`][google.maps.places.v1.TravelMode]. 
  
 AvoidFerries 
  
  bool 
 
  
 `protobuf:"varint,3,opt,name=avoid_ferries,json=avoidFerries,proto3" json:"avoid_ferries,omitempty"` 
  
 // Optional. When set to true, avoids navigating indoors where reasonable, 
  
 // giving preference to routes not containing indoor navigation. Applies only 
  
 // to the `WALK` [`TravelMode`][google.maps.places.v1.TravelMode]. 
  
 AvoidIndoor 
  
  bool 
 
  
 `protobuf:"varint,4,opt,name=avoid_indoor,json=avoidIndoor,proto3" json:"avoid_indoor,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Encapsulates a set of optional conditions to satisfy when calculating the routes.

func (*RouteModifiers) Descriptor

  func 
  
 ( 
 * 
  RouteModifiers 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use RouteModifiers.ProtoReflect.Descriptor instead.

func (*RouteModifiers) GetAvoidFerries

  func 
  
 ( 
 x 
  
 * 
  RouteModifiers 
 
 ) 
  
 GetAvoidFerries 
 () 
  
  bool 
 
 

func (*RouteModifiers) GetAvoidHighways

  func 
  
 ( 
 x 
  
 * 
  RouteModifiers 
 
 ) 
  
 GetAvoidHighways 
 () 
  
  bool 
 
 

func (*RouteModifiers) GetAvoidIndoor

  func 
  
 ( 
 x 
  
 * 
  RouteModifiers 
 
 ) 
  
 GetAvoidIndoor 
 () 
  
  bool 
 
 

func (*RouteModifiers) GetAvoidTolls

  func 
  
 ( 
 x 
  
 * 
  RouteModifiers 
 
 ) 
  
 GetAvoidTolls 
 () 
  
  bool 
 
 

func (*RouteModifiers) ProtoMessage

  func 
  
 ( 
 * 
  RouteModifiers 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*RouteModifiers) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  RouteModifiers 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*RouteModifiers) Reset

  func 
  
 ( 
 x 
  
 * 
  RouteModifiers 
 
 ) 
  
 Reset 
 () 
 

func (*RouteModifiers) String

  func 
  
 ( 
 x 
  
 * 
  RouteModifiers 
 
 ) 
  
 String 
 () 
  
  string 
 
 

RoutingParameters

  type 
  
 RoutingParameters 
  
 struct 
  
 { 
  
 Origin 
  
 * 
  latlng 
 
 . 
  LatLng 
 
  
 `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` 
  
 TravelMode 
  
  TravelMode 
 
  
 "" 
  
 /* 130 byte string literal not displayed */ 
  
 RouteModifiers 
  
 * 
  RouteModifiers 
 
  
 `protobuf:"bytes,3,opt,name=route_modifiers,json=routeModifiers,proto3" json:"route_modifiers,omitempty"` 
  
 RoutingPreference 
  
  RoutingPreference 
 
  
 "" 
  
 /* 158 byte string literal not displayed */ 
 } 
 

Parameters to configure the routing calculations to the places in the response, both along a route (where result ranking will be influenced) and for calculating travel times on results.

func (*RoutingParameters) Descriptor

  func 
  
 ( 
 * 
  RoutingParameters 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use RoutingParameters.ProtoReflect.Descriptor instead.

func (*RoutingParameters) GetOrigin

  func 
  
 ( 
 x 
  
 * 
  RoutingParameters 
 
 ) 
  
 GetOrigin 
 () 
  
 * 
  latlng 
 
 . 
  LatLng 
 
 

func (*RoutingParameters) GetRouteModifiers

  func 
  
 ( 
 x 
  
 * 
  RoutingParameters 
 
 ) 
  
 GetRouteModifiers 
 () 
  
 * 
  RouteModifiers 
 
 

func (*RoutingParameters) GetRoutingPreference

  func 
  
 ( 
 x 
  
 * 
  RoutingParameters 
 
 ) 
  
 GetRoutingPreference 
 () 
  
  RoutingPreference 
 
 

func (*RoutingParameters) GetTravelMode

  func 
  
 ( 
 x 
  
 * 
  RoutingParameters 
 
 ) 
  
 GetTravelMode 
 () 
  
  TravelMode 
 
 

func (*RoutingParameters) ProtoMessage

  func 
  
 ( 
 * 
  RoutingParameters 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*RoutingParameters) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  RoutingParameters 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*RoutingParameters) Reset

  func 
  
 ( 
 x 
  
 * 
  RoutingParameters 
 
 ) 
  
 Reset 
 () 
 

func (*RoutingParameters) String

  func 
  
 ( 
 x 
  
 * 
  RoutingParameters 
 
 ) 
  
 String 
 () 
  
  string 
 
 

RoutingPreference

  type 
  
 RoutingPreference 
  
  int32 
 
 

A set of values that specify factors to take into consideration when calculating the route.

RoutingPreference_ROUTING_PREFERENCE_UNSPECIFIED, RoutingPreference_TRAFFIC_UNAWARE, RoutingPreference_TRAFFIC_AWARE, RoutingPreference_TRAFFIC_AWARE_OPTIMAL

  const 
  
 ( 
  
 // No routing preference specified. Default to `TRAFFIC_UNAWARE`. 
  
 RoutingPreference_ROUTING_PREFERENCE_UNSPECIFIED 
  
  RoutingPreference 
 
  
 = 
  
 0 
  
 // Computes routes without taking live traffic conditions into consideration. 
  
 // Suitable when traffic conditions don't matter or are not applicable. 
  
 // Using this value produces the lowest latency. 
  
 // Note: For [`TravelMode`][google.maps.places.v1.TravelMode] 
  
 // `DRIVE` and `TWO_WHEELER`, the route and duration chosen are based on road 
  
 // network and average time-independent traffic conditions, not current road 
  
 // conditions. Consequently, routes may include roads that are temporarily 
  
 // closed. Results for a given 
  
 // request may vary over time due to changes in the road network, updated 
  
 // average traffic conditions, and the distributed nature of the service. 
  
 // Results may also vary between nearly-equivalent routes at any time or 
  
 // frequency. 
  
 RoutingPreference_TRAFFIC_UNAWARE 
  
  RoutingPreference 
 
  
 = 
  
 1 
  
 // Calculates routes taking live traffic conditions into consideration. 
  
 // In contrast to `TRAFFIC_AWARE_OPTIMAL`, some optimizations are applied to 
  
 // significantly reduce latency. 
  
 RoutingPreference_TRAFFIC_AWARE 
  
  RoutingPreference 
 
  
 = 
  
 2 
  
 // Calculates the routes taking live traffic conditions into consideration, 
  
 // without applying most performance optimizations. Using this value produces 
  
 // the highest latency. 
  
 RoutingPreference_TRAFFIC_AWARE_OPTIMAL 
  
  RoutingPreference 
 
  
 = 
  
 3 
 ) 
 

func (RoutingPreference) Descriptor

func (RoutingPreference) Enum

func (RoutingPreference) EnumDescriptor

  func 
  
 ( 
  RoutingPreference 
 
 ) 
  
 EnumDescriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use RoutingPreference.Descriptor instead.

func (RoutingPreference) Number

func (RoutingPreference) String

  func 
  
 ( 
 x 
  
  RoutingPreference 
 
 ) 
  
 String 
 () 
  
  string 
 
 

func (RoutingPreference) Type

RoutingSummary

  type 
  
 RoutingSummary 
  
 struct 
  
 { 
  
 // The legs of the trip. 
  
 // 
  
 // When you calculate travel duration and distance from a set origin, `legs` 
  
 // contains a single leg containing the duration and distance from the origin 
  
 // to the destination.  When you do a search along route, `legs` contains two 
  
 // legs: one from the origin to place, and one from the place to the 
  
 // destination. 
  
 Legs 
  
 [] 
 * 
  RoutingSummary_Leg 
 
  
 `protobuf:"bytes,1,rep,name=legs,proto3" json:"legs,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

The duration and distance from the routing origin to a place in the response, and a second leg from that place to the destination, if requested. Note: Adding routingSummaries in the field mask without also including either the routingParameters.origin parameter or the searchAlongRouteParameters.polyline.encodedPolyline parameter in the request causes an error.

func (*RoutingSummary) Descriptor

  func 
  
 ( 
 * 
  RoutingSummary 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use RoutingSummary.ProtoReflect.Descriptor instead.

func (*RoutingSummary) GetLegs

  func 
  
 ( 
 x 
  
 * 
  RoutingSummary 
 
 ) 
  
 GetLegs 
 () 
  
 [] 
 * 
  RoutingSummary_Leg 
 
 

func (*RoutingSummary) ProtoMessage

  func 
  
 ( 
 * 
  RoutingSummary 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*RoutingSummary) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  RoutingSummary 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*RoutingSummary) Reset

  func 
  
 ( 
 x 
  
 * 
  RoutingSummary 
 
 ) 
  
 Reset 
 () 
 

func (*RoutingSummary) String

  func 
  
 ( 
 x 
  
 * 
  RoutingSummary 
 
 ) 
  
 String 
 () 
  
  string 
 
 

RoutingSummary_Leg

  type 
  
 RoutingSummary_Leg 
  
 struct 
  
 { 
  
 // The time it takes to complete this leg of the trip. 
  
 Duration 
  
 * 
  durationpb 
 
 . 
  Duration 
 
  
 `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"` 
  
 // The distance of this leg of the trip. 
  
 DistanceMeters 
  
  int32 
 
  
 `protobuf:"varint,2,opt,name=distance_meters,json=distanceMeters,proto3" json:"distance_meters,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

A leg is a single portion of a journey from one location to another.

func (*RoutingSummary_Leg) Descriptor

  func 
  
 ( 
 * 
  RoutingSummary_Leg 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use RoutingSummary_Leg.ProtoReflect.Descriptor instead.

func (*RoutingSummary_Leg) GetDistanceMeters

  func 
  
 ( 
 x 
  
 * 
  RoutingSummary_Leg 
 
 ) 
  
 GetDistanceMeters 
 () 
  
  int32 
 
 

func (*RoutingSummary_Leg) GetDuration

  func 
  
 ( 
 x 
  
 * 
  RoutingSummary_Leg 
 
 ) 
  
 GetDuration 
 () 
  
 * 
  durationpb 
 
 . 
  Duration 
 
 

func (*RoutingSummary_Leg) ProtoMessage

  func 
  
 ( 
 * 
  RoutingSummary_Leg 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*RoutingSummary_Leg) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  RoutingSummary_Leg 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*RoutingSummary_Leg) Reset

  func 
  
 ( 
 x 
  
 * 
  RoutingSummary_Leg 
 
 ) 
  
 Reset 
 () 
 

func (*RoutingSummary_Leg) String

  func 
  
 ( 
 x 
  
 * 
  RoutingSummary_Leg 
 
 ) 
  
 String 
 () 
  
  string 
 
 

SearchNearbyRequest

  type 
  
 SearchNearbyRequest 
  
 struct 
  
 { 
  
 LanguageCode 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 
  
 RegionCode 
  
  string 
 
  
 `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` 
  
 IncludedTypes 
  
 [] 
  string 
 
  
 `protobuf:"bytes,3,rep,name=included_types,json=includedTypes,proto3" json:"included_types,omitempty"` 
  
 ExcludedTypes 
  
 [] 
  string 
 
  
 `protobuf:"bytes,4,rep,name=excluded_types,json=excludedTypes,proto3" json:"excluded_types,omitempty"` 
  
 IncludedPrimaryTypes 
  
 [] 
  string 
 
  
 `protobuf:"bytes,5,rep,name=included_primary_types,json=includedPrimaryTypes,proto3" json:"included_primary_types,omitempty"` 
  
 ExcludedPrimaryTypes 
  
 [] 
  string 
 
  
 `protobuf:"bytes,6,rep,name=excluded_primary_types,json=excludedPrimaryTypes,proto3" json:"excluded_primary_types,omitempty"` 
  
 MaxResultCount 
  
  int32 
 
  
 `protobuf:"varint,7,opt,name=max_result_count,json=maxResultCount,proto3" json:"max_result_count,omitempty"` 
  
 LocationRestriction 
  
 * 
  SearchNearbyRequest_LocationRestriction 
 
  
 `protobuf:"bytes,8,opt,name=location_restriction,json=locationRestriction,proto3" json:"location_restriction,omitempty"` 
  
 RankPreference 
  
  SearchNearbyRequest_RankPreference 
 
  
 "" 
  
 /* 166 byte string literal not displayed */ 
  
 RoutingParameters 
  
 * 
  RoutingParameters 
 
  
 `protobuf:"bytes,10,opt,name=routing_parameters,json=routingParameters,proto3" json:"routing_parameters,omitempty"` 
 } 
 

Request proto for Search Nearby.

func (*SearchNearbyRequest) Descriptor

  func 
  
 ( 
 * 
  SearchNearbyRequest 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use SearchNearbyRequest.ProtoReflect.Descriptor instead.

func (*SearchNearbyRequest) GetExcludedPrimaryTypes

  func 
  
 ( 
 x 
  
 * 
  SearchNearbyRequest 
 
 ) 
  
 GetExcludedPrimaryTypes 
 () 
  
 [] 
  string 
 
 

func (*SearchNearbyRequest) GetExcludedTypes

  func 
  
 ( 
 x 
  
 * 
  SearchNearbyRequest 
 
 ) 
  
 GetExcludedTypes 
 () 
  
 [] 
  string 
 
 

func (*SearchNearbyRequest) GetIncludedPrimaryTypes

  func 
  
 ( 
 x 
  
 * 
  SearchNearbyRequest 
 
 ) 
  
 GetIncludedPrimaryTypes 
 () 
  
 [] 
  string 
 
 

func (*SearchNearbyRequest) GetIncludedTypes

  func 
  
 ( 
 x 
  
 * 
  SearchNearbyRequest 
 
 ) 
  
 GetIncludedTypes 
 () 
  
 [] 
  string 
 
 

func (*SearchNearbyRequest) GetLanguageCode

  func 
  
 ( 
 x 
  
 * 
  SearchNearbyRequest 
 
 ) 
  
 GetLanguageCode 
 () 
  
  string 
 
 

func (*SearchNearbyRequest) GetLocationRestriction

func (*SearchNearbyRequest) GetMaxResultCount

  func 
  
 ( 
 x 
  
 * 
  SearchNearbyRequest 
 
 ) 
  
 GetMaxResultCount 
 () 
  
  int32 
 
 

func (*SearchNearbyRequest) GetRankPreference

func (*SearchNearbyRequest) GetRegionCode

  func 
  
 ( 
 x 
  
 * 
  SearchNearbyRequest 
 
 ) 
  
 GetRegionCode 
 () 
  
  string 
 
 

func (*SearchNearbyRequest) GetRoutingParameters

  func 
  
 ( 
 x 
  
 * 
  SearchNearbyRequest 
 
 ) 
  
 GetRoutingParameters 
 () 
  
 * 
  RoutingParameters 
 
 

func (*SearchNearbyRequest) ProtoMessage

  func 
  
 ( 
 * 
  SearchNearbyRequest 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*SearchNearbyRequest) ProtoReflect

func (*SearchNearbyRequest) Reset

  func 
  
 ( 
 x 
  
 * 
  SearchNearbyRequest 
 
 ) 
  
 Reset 
 () 
 

func (*SearchNearbyRequest) String

  func 
  
 ( 
 x 
  
 * 
  SearchNearbyRequest 
 
 ) 
  
 String 
 () 
  
  string 
 
 

SearchNearbyRequest_LocationRestriction

  type 
  
 SearchNearbyRequest_LocationRestriction 
  
 struct 
  
 { 
  
 // Types that are assignable to Type: 
  
 // 
  
 //	*SearchNearbyRequest_LocationRestriction_Circle 
  
 Type 
  
 isSearchNearbyRequest_LocationRestriction_Type 
  
 `protobuf_oneof:"type"` 
  
 // contains filtered or unexported fields 
 } 
 

The region to search.

func (*SearchNearbyRequest_LocationRestriction) Descriptor

Deprecated: Use SearchNearbyRequest_LocationRestriction.ProtoReflect.Descriptor instead.

func (*SearchNearbyRequest_LocationRestriction) GetCircle

func (*SearchNearbyRequest_LocationRestriction) GetType

  func 
  
 ( 
 m 
  
 * 
  SearchNearbyRequest_LocationRestriction 
 
 ) 
  
 GetType 
 () 
  
 isSearchNearbyRequest_LocationRestriction_Type 
 

func (*SearchNearbyRequest_LocationRestriction) ProtoMessage

func (*SearchNearbyRequest_LocationRestriction) ProtoReflect

func (*SearchNearbyRequest_LocationRestriction) Reset

func (*SearchNearbyRequest_LocationRestriction) String

SearchNearbyRequest_LocationRestriction_Circle

  type 
  
 SearchNearbyRequest_LocationRestriction_Circle 
  
 struct 
  
 { 
  
 // A circle defined by center point and radius. 
  
 Circle 
  
 * 
  Circle 
 
  
 `protobuf:"bytes,2,opt,name=circle,proto3,oneof"` 
 } 
 

SearchNearbyRequest_RankPreference

  type 
  
 SearchNearbyRequest_RankPreference 
  
  int32 
 
 

How results will be ranked in the response.

SearchNearbyRequest_RANK_PREFERENCE_UNSPECIFIED, SearchNearbyRequest_DISTANCE, SearchNearbyRequest_POPULARITY

  const 
  
 ( 
  
 // RankPreference value not set. Will use rank by POPULARITY by default. 
  
 SearchNearbyRequest_RANK_PREFERENCE_UNSPECIFIED 
  
  SearchNearbyRequest_RankPreference 
 
  
 = 
  
 0 
  
 // Ranks results by distance. 
  
 SearchNearbyRequest_DISTANCE 
  
  SearchNearbyRequest_RankPreference 
 
  
 = 
  
 1 
  
 // Ranks results by popularity. 
  
 SearchNearbyRequest_POPULARITY 
  
  SearchNearbyRequest_RankPreference 
 
  
 = 
  
 2 
 ) 
 

func (SearchNearbyRequest_RankPreference) Descriptor

func (SearchNearbyRequest_RankPreference) Enum

func (SearchNearbyRequest_RankPreference) EnumDescriptor

  func 
  
 ( 
  SearchNearbyRequest_RankPreference 
 
 ) 
  
 EnumDescriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use SearchNearbyRequest_RankPreference.Descriptor instead.

func (SearchNearbyRequest_RankPreference) Number

func (SearchNearbyRequest_RankPreference) String

func (SearchNearbyRequest_RankPreference) Type

SearchNearbyResponse

  type 
  
 SearchNearbyResponse 
  
 struct 
  
 { 
  
 // A list of places that meets user's requirements like places 
  
 // types, number of places and specific location restriction. 
  
 Places 
  
 [] 
 * 
  Place 
 
  
 `protobuf:"bytes,1,rep,name=places,proto3" json:"places,omitempty"` 
  
 // A list of routing summaries where each entry associates to the 
  
 // corresponding place in the same index in the places field. If the routing 
  
 // summary is not available for one of the places, it will contain an empty 
  
 // entry. This list should have as many entries as the list of places if 
  
 // requested. 
  
 RoutingSummaries 
  
 [] 
 * 
  RoutingSummary 
 
  
 `protobuf:"bytes,2,rep,name=routing_summaries,json=routingSummaries,proto3" json:"routing_summaries,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Response proto for Search Nearby.

func (*SearchNearbyResponse) Descriptor

  func 
  
 ( 
 * 
  SearchNearbyResponse 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use SearchNearbyResponse.ProtoReflect.Descriptor instead.

func (*SearchNearbyResponse) GetPlaces

  func 
  
 ( 
 x 
  
 * 
  SearchNearbyResponse 
 
 ) 
  
 GetPlaces 
 () 
  
 [] 
 * 
  Place 
 
 

func (*SearchNearbyResponse) GetRoutingSummaries

  func 
  
 ( 
 x 
  
 * 
  SearchNearbyResponse 
 
 ) 
  
 GetRoutingSummaries 
 () 
  
 [] 
 * 
  RoutingSummary 
 
 

func (*SearchNearbyResponse) ProtoMessage

  func 
  
 ( 
 * 
  SearchNearbyResponse 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*SearchNearbyResponse) ProtoReflect

func (*SearchNearbyResponse) Reset

  func 
  
 ( 
 x 
  
 * 
  SearchNearbyResponse 
 
 ) 
  
 Reset 
 () 
 

func (*SearchNearbyResponse) String

  func 
  
 ( 
 x 
  
 * 
  SearchNearbyResponse 
 
 ) 
  
 String 
 () 
  
  string 
 
 

SearchTextRequest

  type 
  
 SearchTextRequest 
  
 struct 
  
 { 
  
 TextQuery 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=text_query,json=textQuery,proto3" json:"text_query,omitempty"` 
  
 LanguageCode 
  
  string 
 
  
 `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 
  
 RegionCode 
  
  string 
 
  
 `protobuf:"bytes,3,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` 
  
 RankPreference 
  
  SearchTextRequest_RankPreference 
 
  
 "" 
  
 /* 164 byte string literal not displayed */ 
  
 IncludedType 
  
  string 
 
  
 `protobuf:"bytes,6,opt,name=included_type,json=includedType,proto3" json:"included_type,omitempty"` 
  
 OpenNow 
  
  bool 
 
  
 `protobuf:"varint,7,opt,name=open_now,json=openNow,proto3" json:"open_now,omitempty"` 
  
 MinRating 
  
  float64 
 
  
 `protobuf:"fixed64,9,opt,name=min_rating,json=minRating,proto3" json:"min_rating,omitempty"` 
  
 MaxResultCount 
  
  int32 
 
  
 `protobuf:"varint,10,opt,name=max_result_count,json=maxResultCount,proto3" json:"max_result_count,omitempty"` 
  
 PriceLevels 
  
 [] 
  PriceLevel 
 
  
 "" 
  
 /* 141 byte string literal not displayed */ 
  
 StrictTypeFiltering 
  
  bool 
 
  
 `protobuf:"varint,12,opt,name=strict_type_filtering,json=strictTypeFiltering,proto3" json:"strict_type_filtering,omitempty"` 
  
 LocationBias 
  
 * 
  SearchTextRequest_LocationBias 
 
  
 `protobuf:"bytes,13,opt,name=location_bias,json=locationBias,proto3" json:"location_bias,omitempty"` 
  
 LocationRestriction 
  
 * 
  SearchTextRequest_LocationRestriction 
 
  
 `protobuf:"bytes,14,opt,name=location_restriction,json=locationRestriction,proto3" json:"location_restriction,omitempty"` 
  
 EvOptions 
  
 * 
  SearchTextRequest_EVOptions 
 
  
 `protobuf:"bytes,15,opt,name=ev_options,json=evOptions,proto3" json:"ev_options,omitempty"` 
  
 RoutingParameters 
  
 * 
  RoutingParameters 
 
  
 `protobuf:"bytes,16,opt,name=routing_parameters,json=routingParameters,proto3" json:"routing_parameters,omitempty"` 
  
 SearchAlongRouteParameters 
  
 * 
  SearchTextRequest_SearchAlongRouteParameters 
 
  
 "" 
  
 /* 144 byte string literal not displayed */ 
 } 
 

Request proto for SearchText.

func (*SearchTextRequest) Descriptor

  func 
  
 ( 
 * 
  SearchTextRequest 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use SearchTextRequest.ProtoReflect.Descriptor instead.

func (*SearchTextRequest) GetEvOptions

func (*SearchTextRequest) GetIncludedType

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest 
 
 ) 
  
 GetIncludedType 
 () 
  
  string 
 
 

func (*SearchTextRequest) GetLanguageCode

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest 
 
 ) 
  
 GetLanguageCode 
 () 
  
  string 
 
 

func (*SearchTextRequest) GetLocationBias

func (*SearchTextRequest) GetLocationRestriction

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest 
 
 ) 
  
 GetLocationRestriction 
 () 
  
 * 
  SearchTextRequest_LocationRestriction 
 
 

func (*SearchTextRequest) GetMaxResultCount

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest 
 
 ) 
  
 GetMaxResultCount 
 () 
  
  int32 
 
 

func (*SearchTextRequest) GetMinRating

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest 
 
 ) 
  
 GetMinRating 
 () 
  
  float64 
 
 

func (*SearchTextRequest) GetOpenNow

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest 
 
 ) 
  
 GetOpenNow 
 () 
  
  bool 
 
 

func (*SearchTextRequest) GetPriceLevels

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest 
 
 ) 
  
 GetPriceLevels 
 () 
  
 [] 
  PriceLevel 
 
 

func (*SearchTextRequest) GetRankPreference

func (*SearchTextRequest) GetRegionCode

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest 
 
 ) 
  
 GetRegionCode 
 () 
  
  string 
 
 

func (*SearchTextRequest) GetRoutingParameters

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest 
 
 ) 
  
 GetRoutingParameters 
 () 
  
 * 
  RoutingParameters 
 
 

func (*SearchTextRequest) GetSearchAlongRouteParameters

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest 
 
 ) 
  
 GetSearchAlongRouteParameters 
 () 
  
 * 
  SearchTextRequest_SearchAlongRouteParameters 
 
 

func (*SearchTextRequest) GetStrictTypeFiltering

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest 
 
 ) 
  
 GetStrictTypeFiltering 
 () 
  
  bool 
 
 

func (*SearchTextRequest) GetTextQuery

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest 
 
 ) 
  
 GetTextQuery 
 () 
  
  string 
 
 

func (*SearchTextRequest) ProtoMessage

  func 
  
 ( 
 * 
  SearchTextRequest 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*SearchTextRequest) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*SearchTextRequest) Reset

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest 
 
 ) 
  
 Reset 
 () 
 

func (*SearchTextRequest) String

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest 
 
 ) 
  
 String 
 () 
  
  string 
 
 

SearchTextRequest_EVOptions

  type 
  
 SearchTextRequest_EVOptions 
  
 struct 
  
 { 
  
 MinimumChargingRateKw 
  
  float64 
 
  
 "" 
  
 /* 130 byte string literal not displayed */ 
  
 ConnectorTypes 
  
 [] 
  EVConnectorType 
 
  
 "" 
  
 /* 154 byte string literal not displayed */ 
 } 
 

Searchable EV options of a place search request.

func (*SearchTextRequest_EVOptions) Descriptor

  func 
  
 ( 
 * 
  SearchTextRequest_EVOptions 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use SearchTextRequest_EVOptions.ProtoReflect.Descriptor instead.

func (*SearchTextRequest_EVOptions) GetConnectorTypes

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest_EVOptions 
 
 ) 
  
 GetConnectorTypes 
 () 
  
 [] 
  EVConnectorType 
 
 

func (*SearchTextRequest_EVOptions) GetMinimumChargingRateKw

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest_EVOptions 
 
 ) 
  
 GetMinimumChargingRateKw 
 () 
  
  float64 
 
 

func (*SearchTextRequest_EVOptions) ProtoMessage

  func 
  
 ( 
 * 
  SearchTextRequest_EVOptions 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*SearchTextRequest_EVOptions) ProtoReflect

func (*SearchTextRequest_EVOptions) Reset

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest_EVOptions 
 
 ) 
  
 Reset 
 () 
 

func (*SearchTextRequest_EVOptions) String

SearchTextRequest_LocationBias

  type 
  
 SearchTextRequest_LocationBias 
  
 struct 
  
 { 
  
 // Types that are assignable to Type: 
  
 // 
  
 //	*SearchTextRequest_LocationBias_Rectangle 
  
 //	*SearchTextRequest_LocationBias_Circle 
  
 Type 
  
 isSearchTextRequest_LocationBias_Type 
  
 `protobuf_oneof:"type"` 
  
 // contains filtered or unexported fields 
 } 
 

The region to search. This location serves as a bias which means results around given location might be returned.

func (*SearchTextRequest_LocationBias) Descriptor

  func 
  
 ( 
 * 
  SearchTextRequest_LocationBias 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use SearchTextRequest_LocationBias.ProtoReflect.Descriptor instead.

func (*SearchTextRequest_LocationBias) GetCircle

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest_LocationBias 
 
 ) 
  
 GetCircle 
 () 
  
 * 
  Circle 
 
 

func (*SearchTextRequest_LocationBias) GetRectangle

func (*SearchTextRequest_LocationBias) GetType

  func 
  
 ( 
 m 
  
 * 
  SearchTextRequest_LocationBias 
 
 ) 
  
 GetType 
 () 
  
 isSearchTextRequest_LocationBias_Type 
 

func (*SearchTextRequest_LocationBias) ProtoMessage

  func 
  
 ( 
 * 
  SearchTextRequest_LocationBias 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*SearchTextRequest_LocationBias) ProtoReflect

func (*SearchTextRequest_LocationBias) Reset

  func 
  
 ( 
 x 
  
 * 
  SearchTextRequest_LocationBias 
 
 ) 
  
 Reset 
 () 
 

func (*SearchTextRequest_LocationBias) String

SearchTextRequest_LocationBias_Circle

  type 
  
 SearchTextRequest_LocationBias_Circle 
  
 struct 
  
 { 
  
 // A circle defined by center point and radius. 
  
 Circle 
  
 * 
  Circle 
 
  
 `protobuf:"bytes,2,opt,name=circle,proto3,oneof"` 
 } 
 

SearchTextRequest_LocationBias_Rectangle

  type 
  
 SearchTextRequest_LocationBias_Rectangle 
  
 struct 
  
 { 
  
 // A rectangle box defined by northeast and southwest corner. 
  
 // `rectangle.high()` must be the northeast point of the rectangle 
  
 // viewport. `rectangle.low()` must be the southwest point of the 
  
 // rectangle viewport. `rectangle.low().latitude()` cannot be greater than 
  
 // `rectangle.high().latitude()`. This will result in an empty latitude 
  
 // range. A rectangle viewport cannot be wider than 180 degrees. 
  
 Rectangle 
  
 * 
  viewport 
 
 . 
  Viewport 
 
  
 `protobuf:"bytes,1,opt,name=rectangle,proto3,oneof"` 
 } 
 

SearchTextRequest_LocationRestriction

  type 
  
 SearchTextRequest_LocationRestriction 
  
 struct 
  
 { 
  
 // Types that are assignable to Type: 
  
 // 
  
 //	*SearchTextRequest_LocationRestriction_Rectangle 
  
 Type 
  
 isSearchTextRequest_LocationRestriction_Type 
  
 `protobuf_oneof:"type"` 
  
 // contains filtered or unexported fields 
 } 
 

The region to search. This location serves as a restriction which means results outside given location will not be returned.

func (*SearchTextRequest_LocationRestriction) Descriptor

  func 
  
 ( 
 * 
  SearchTextRequest_LocationRestriction 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use SearchTextRequest_LocationRestriction.ProtoReflect.Descriptor instead.

func (*SearchTextRequest_LocationRestriction) GetRectangle

func (*SearchTextRequest_LocationRestriction) GetType

  func 
  
 ( 
 m 
  
 * 
  SearchTextRequest_LocationRestriction 
 
 ) 
  
 GetType 
 () 
  
 isSearchTextRequest_LocationRestriction_Type 
 

func (*SearchTextRequest_LocationRestriction) ProtoMessage

  func 
  
 ( 
 * 
  SearchTextRequest_LocationRestriction 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*SearchTextRequest_LocationRestriction) ProtoReflect

func (*SearchTextRequest_LocationRestriction) Reset

func (*SearchTextRequest_LocationRestriction) String

SearchTextRequest_LocationRestriction_Rectangle

  type 
  
 SearchTextRequest_LocationRestriction_Rectangle 
  
 struct 
  
 { 
  
 // A rectangle box defined by northeast and southwest corner. 
  
 // `rectangle.high()` must be the northeast point of the rectangle 
  
 // viewport. `rectangle.low()` must be the southwest point of the 
  
 // rectangle viewport. `rectangle.low().latitude()` cannot be greater than 
  
 // `rectangle.high().latitude()`. This will result in an empty latitude 
  
 // range. A rectangle viewport cannot be wider than 180 degrees. 
  
 Rectangle 
  
 * 
  viewport 
 
 . 
  Viewport 
 
  
 `protobuf:"bytes,1,opt,name=rectangle,proto3,oneof"` 
 } 
 

SearchTextRequest_RankPreference

  type 
  
 SearchTextRequest_RankPreference 
  
  int32 
 
 

How results will be ranked in the response.

SearchTextRequest_RANK_PREFERENCE_UNSPECIFIED, SearchTextRequest_DISTANCE, SearchTextRequest_RELEVANCE

  const 
  
 ( 
  
 // For a categorical query such as "Restaurants in New York City", RELEVANCE 
  
 // is the default. For non-categorical queries such as "Mountain View, CA" 
  
 // we recommend that you leave rankPreference unset. 
  
 SearchTextRequest_RANK_PREFERENCE_UNSPECIFIED 
  
  SearchTextRequest_RankPreference 
 
  
 = 
  
 0 
  
 // Ranks results by distance. 
  
 SearchTextRequest_DISTANCE 
  
  SearchTextRequest_RankPreference 
 
  
 = 
  
 1 
  
 // Ranks results by relevance. Sort order determined by normal ranking 
  
 // stack. 
  
 SearchTextRequest_RELEVANCE 
  
  SearchTextRequest_RankPreference 
 
  
 = 
  
 2 
 ) 
 

func (SearchTextRequest_RankPreference) Descriptor

func (SearchTextRequest_RankPreference) Enum

func (SearchTextRequest_RankPreference) EnumDescriptor

  func 
  
 ( 
  SearchTextRequest_RankPreference 
 
 ) 
  
 EnumDescriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use SearchTextRequest_RankPreference.Descriptor instead.

func (SearchTextRequest_RankPreference) Number

func (SearchTextRequest_RankPreference) String

func (SearchTextRequest_RankPreference) Type

SearchTextRequest_SearchAlongRouteParameters

  type 
  
 SearchTextRequest_SearchAlongRouteParameters 
  
 struct 
  
 { 
  
 // Required. The route polyline. 
  
 Polyline 
  
 * 
  Polyline 
 
  
 `protobuf:"bytes,1,opt,name=polyline,proto3" json:"polyline,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Specifies a precalculated polyline from the Routes API defining the route to search. Searching along a route is similar to using the locationBias or locationRestriction request option to bias the search results. However, while the locationBias and locationRestriction options let you specify a region to bias the search results, this option lets you bias the results along a trip route.

Results are not guaranteed to be along the route provided, but rather are ranked within the search area defined by the polyline and, optionally, by the locationBias or locationRestriction based on minimal detour times from origin to destination. The results might be along an alternate route, especially if the provided polyline does not define an optimal route from origin to destination.

func (*SearchTextRequest_SearchAlongRouteParameters) Descriptor

Deprecated: Use SearchTextRequest_SearchAlongRouteParameters.ProtoReflect.Descriptor instead.

func (*SearchTextRequest_SearchAlongRouteParameters) GetPolyline

func (*SearchTextRequest_SearchAlongRouteParameters) ProtoMessage

func (*SearchTextRequest_SearchAlongRouteParameters) ProtoReflect

func (*SearchTextRequest_SearchAlongRouteParameters) Reset

func (*SearchTextRequest_SearchAlongRouteParameters) String

SearchTextResponse

  type 
  
 SearchTextResponse 
  
 struct 
  
 { 
  
 // A list of places that meet the user's text search criteria. 
  
 Places 
  
 [] 
 * 
  Place 
 
  
 `protobuf:"bytes,1,rep,name=places,proto3" json:"places,omitempty"` 
  
 // A list of routing summaries where each entry associates to the 
  
 // corresponding place in the same index in the places field. If the routing 
  
 // summary is not available for one of the places, it will contain an empty 
  
 // entry. This list will have as many entries as the list of places if 
  
 // requested. 
  
 RoutingSummaries 
  
 [] 
 * 
  RoutingSummary 
 
  
 `protobuf:"bytes,2,rep,name=routing_summaries,json=routingSummaries,proto3" json:"routing_summaries,omitempty"` 
  
 // Experimental: See 
  
 // https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative 
  
 // for more details. 
  
 // 
  
 // A list of contextual contents where each entry associates to the 
  
 // corresponding place in the same index in the places field. The contents 
  
 // that are relevant to the `text_query` in the request are preferred. If the 
  
 // contextual content is not available for one of the places, it will return 
  
 // non-contextual content. It will be empty only when the content is 
  
 // unavailable for this place. This list will have as many entries as the 
  
 // list of places if requested. 
  
 ContextualContents 
  
 [] 
 * 
  ContextualContent 
 
  
 `protobuf:"bytes,3,rep,name=contextual_contents,json=contextualContents,proto3" json:"contextual_contents,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Response proto for SearchText.

func (*SearchTextResponse) Descriptor

  func 
  
 ( 
 * 
  SearchTextResponse 
 
 ) 
  
 Descriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use SearchTextResponse.ProtoReflect.Descriptor instead.

func (*SearchTextResponse) GetContextualContents

  func 
  
 ( 
 x 
  
 * 
  SearchTextResponse 
 
 ) 
  
 GetContextualContents 
 () 
  
 [] 
 * 
  ContextualContent 
 
 

func (*SearchTextResponse) GetPlaces

  func 
  
 ( 
 x 
  
 * 
  SearchTextResponse 
 
 ) 
  
 GetPlaces 
 () 
  
 [] 
 * 
  Place 
 
 

func (*SearchTextResponse) GetRoutingSummaries

  func 
  
 ( 
 x 
  
 * 
  SearchTextResponse 
 
 ) 
  
 GetRoutingSummaries 
 () 
  
 [] 
 * 
  RoutingSummary 
 
 

func (*SearchTextResponse) ProtoMessage

  func 
  
 ( 
 * 
  SearchTextResponse 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*SearchTextResponse) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  SearchTextResponse 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*SearchTextResponse) Reset

  func 
  
 ( 
 x 
  
 * 
  SearchTextResponse 
 
 ) 
  
 Reset 
 () 
 

func (*SearchTextResponse) String

  func 
  
 ( 
 x 
  
 * 
  SearchTextResponse 
 
 ) 
  
 String 
 () 
  
  string 
 
 

TravelMode

  type 
  
 TravelMode 
  
  int32 
 
 

Travel mode options. These options map to what Routes API offers .

TravelMode_TRAVEL_MODE_UNSPECIFIED, TravelMode_DRIVE, TravelMode_BICYCLE, TravelMode_WALK, TravelMode_TWO_WHEELER

  const 
  
 ( 
  
 // No travel mode specified. Defaults to `DRIVE`. 
  
 TravelMode_TRAVEL_MODE_UNSPECIFIED 
  
  TravelMode 
 
  
 = 
  
 0 
  
 // Travel by passenger car. 
  
 TravelMode_DRIVE 
  
  TravelMode 
 
  
 = 
  
 1 
  
 // Travel by bicycle.  Not supported with `search_along_route_parameters`. 
  
 TravelMode_BICYCLE 
  
  TravelMode 
 
  
 = 
  
 2 
  
 // Travel by walking.  Not supported with `search_along_route_parameters`. 
  
 TravelMode_WALK 
  
  TravelMode 
 
  
 = 
  
 3 
  
 // Motorized two wheeled vehicles of all kinds such as scooters and 
  
 // motorcycles. Note that this is distinct from the `BICYCLE` travel mode 
  
 // which covers human-powered transport.  Not supported with 
  
 // `search_along_route_parameters`. Only supported in those countries listed 
  
 // at [Countries and regions supported for two-wheeled 
  
 // vehicles](https://developers.google.com/maps/documentation/routes/coverage-two-wheeled). 
  
 TravelMode_TWO_WHEELER 
  
  TravelMode 
 
  
 = 
  
 4 
 ) 
 

func (TravelMode) Descriptor

func (TravelMode) Enum

  func 
  
 ( 
 x 
  
  TravelMode 
 
 ) 
  
 Enum 
 () 
  
 * 
  TravelMode 
 
 

func (TravelMode) EnumDescriptor

  func 
  
 ( 
  TravelMode 
 
 ) 
  
 EnumDescriptor 
 () 
  
 ([] 
  byte 
 
 , 
  
 [] 
  int 
 
 ) 
 

Deprecated: Use TravelMode.Descriptor instead.

func (TravelMode) Number

func (TravelMode) String

  func 
  
 ( 
 x 
  
  TravelMode 
 
 ) 
  
 String 
 () 
  
  string 
 
 

func (TravelMode) Type

UnimplementedPlacesServer

  type 
  
 UnimplementedPlacesServer 
  
 struct 
  
 { 
 } 
 

UnimplementedPlacesServer can be embedded to have forward compatible implementations.

func (*UnimplementedPlacesServer) AutocompletePlaces

func (*UnimplementedPlacesServer) GetPhotoMedia

func (*UnimplementedPlacesServer) GetPlace

func (*UnimplementedPlacesServer) SearchNearby

func (*UnimplementedPlacesServer) SearchText

Design a Mobile Site
View Site in Mobile | Classic
Share by: