com.google.maps.places.v1.PlacesServiceProto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-maps-places-v1 Show documentation
Show all versions of proto-google-maps-places-v1 Show documentation
Proto library for google-maps-places
/*
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/maps/places/v1/places_service.proto
package com.google.maps.places.v1;
public final class PlacesServiceProto {
private PlacesServiceProto() {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_maps_places_v1_SearchNearbyRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_maps_places_v1_SearchNearbyRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_maps_places_v1_SearchNearbyRequest_LocationRestriction_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_maps_places_v1_SearchNearbyRequest_LocationRestriction_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_maps_places_v1_SearchNearbyResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_maps_places_v1_SearchNearbyResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_maps_places_v1_SearchTextRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_maps_places_v1_SearchTextRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_maps_places_v1_SearchTextRequest_LocationBias_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_maps_places_v1_SearchTextRequest_LocationBias_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_maps_places_v1_SearchTextRequest_LocationRestriction_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_maps_places_v1_SearchTextRequest_LocationRestriction_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_maps_places_v1_SearchTextResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_maps_places_v1_SearchTextResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_maps_places_v1_GetPhotoMediaRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_maps_places_v1_GetPhotoMediaRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_maps_places_v1_PhotoMedia_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_maps_places_v1_PhotoMedia_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_maps_places_v1_GetPlaceRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_maps_places_v1_GetPlaceRequest_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
static {
java.lang.String[] descriptorData = {
"\n*google/maps/places/v1/places_service.p"
+ "roto\022\025google.maps.places.v1\032\034google/api/"
+ "annotations.proto\032\027google/api/client.pro"
+ "to\032\037google/api/field_behavior.proto\032\031goo"
+ "gle/api/resource.proto\032\036google/geo/type/"
+ "viewport.proto\032$google/maps/places/v1/ge"
+ "ometry.proto\032!google/maps/places/v1/plac"
+ "e.proto\"\244\004\n\023SearchNearbyRequest\022\025\n\rlangu"
+ "age_code\030\001 \001(\t\022\023\n\013region_code\030\002 \001(\t\022\026\n\016i"
+ "ncluded_types\030\003 \003(\t\022\026\n\016excluded_types\030\004 "
+ "\003(\t\022\036\n\026included_primary_types\030\005 \003(\t\022\036\n\026e"
+ "xcluded_primary_types\030\006 \003(\t\022\030\n\020max_resul"
+ "t_count\030\007 \001(\005\022b\n\024location_restriction\030\010 "
+ "\001(\0132>.google.maps.places.v1.SearchNearby"
+ "Request.LocationRestrictionB\004\342A\001\002\022R\n\017ran"
+ "k_preference\030\t \001(\01629.google.maps.places."
+ "v1.SearchNearbyRequest.RankPreference\032N\n"
+ "\023LocationRestriction\022/\n\006circle\030\002 \001(\0132\035.g"
+ "oogle.maps.places.v1.CircleH\000B\006\n\004type\"O\n"
+ "\016RankPreference\022\037\n\033RANK_PREFERENCE_UNSPE"
+ "CIFIED\020\000\022\014\n\010DISTANCE\020\001\022\016\n\nPOPULARITY\020\002\"D"
+ "\n\024SearchNearbyResponse\022,\n\006places\030\001 \003(\0132\034"
+ ".google.maps.places.v1.Place\"\234\006\n\021SearchT"
+ "extRequest\022\030\n\ntext_query\030\001 \001(\tB\004\342A\001\002\022\025\n\r"
+ "language_code\030\002 \001(\t\022\023\n\013region_code\030\003 \001(\t"
+ "\022P\n\017rank_preference\030\004 \001(\01627.google.maps."
+ "places.v1.SearchTextRequest.RankPreferen"
+ "ce\022\025\n\rincluded_type\030\006 \001(\t\022\020\n\010open_now\030\007 "
+ "\001(\010\022\022\n\nmin_rating\030\t \001(\001\022\030\n\020max_result_co"
+ "unt\030\n \001(\005\0227\n\014price_levels\030\013 \003(\0162!.google"
+ ".maps.places.v1.PriceLevel\022\035\n\025strict_typ"
+ "e_filtering\030\014 \001(\010\022L\n\rlocation_bias\030\r \001(\013"
+ "25.google.maps.places.v1.SearchTextReque"
+ "st.LocationBias\022Z\n\024location_restriction\030"
+ "\016 \001(\0132<.google.maps.places.v1.SearchText"
+ "Request.LocationRestriction\032w\n\014LocationB"
+ "ias\022.\n\trectangle\030\001 \001(\0132\031.google.geo.type"
+ ".ViewportH\000\022/\n\006circle\030\002 \001(\0132\035.google.map"
+ "s.places.v1.CircleH\000B\006\n\004type\032M\n\023Location"
+ "Restriction\022.\n\trectangle\030\001 \001(\0132\031.google."
+ "geo.type.ViewportH\000B\006\n\004type\"N\n\016RankPrefe"
+ "rence\022\037\n\033RANK_PREFERENCE_UNSPECIFIED\020\000\022\014"
+ "\n\010DISTANCE\020\001\022\r\n\tRELEVANCE\020\002\"B\n\022SearchTex"
+ "tResponse\022,\n\006places\030\001 \003(\0132\034.google.maps."
+ "places.v1.Place\"\252\001\n\024GetPhotoMediaRequest"
+ "\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n places.googleap"
+ "is.com/PhotoMedia\022\032\n\014max_width_px\030\002 \001(\005B"
+ "\004\342A\001\001\022\033\n\rmax_height_px\030\003 \001(\005B\004\342A\001\001\022 \n\022sk"
+ "ip_http_redirect\030\004 \001(\010B\004\342A\001\001\"\237\001\n\nPhotoMe"
+ "dia\022\014\n\004name\030\001 \001(\t\022\021\n\tphoto_uri\030\002 \001(\t:p\352A"
+ "m\n places.googleapis.com/PhotoMedia\0220pla"
+ "ces/{place_id}/photos/{photo_reference}/"
+ "media*\013photoMedias2\nphotoMedia\"}\n\017GetPla"
+ "ceRequest\0222\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033places"
+ ".googleapis.com/Place\022\033\n\rlanguage_code\030\002"
+ " \001(\tB\004\342A\001\001\022\031\n\013region_code\030\003 \001(\tB\004\342A\001\0012\301\004"
+ "\n\006Places\022\213\001\n\014SearchNearby\022*.google.maps."
+ "places.v1.SearchNearbyRequest\032+.google.m"
+ "aps.places.v1.SearchNearbyResponse\"\"\202\323\344\223"
+ "\002\034\"\027/v1/places:searchNearby:\001*\022\203\001\n\nSearc"
+ "hText\022(.google.maps.places.v1.SearchText"
+ "Request\032).google.maps.places.v1.SearchTe"
+ "xtResponse\" \202\323\344\223\002\032\"\025/v1/places:searchTex"
+ "t:\001*\022\222\001\n\rGetPhotoMedia\022+.google.maps.pla"
+ "ces.v1.GetPhotoMediaRequest\032!.google.map"
+ "s.places.v1.PhotoMedia\"1\332A\004name\202\323\344\223\002$\022\"/"
+ "v1/{name=places/*/photos/*/media}\022t\n\010Get"
+ "Place\022&.google.maps.places.v1.GetPlaceRe"
+ "quest\032\034.google.maps.places.v1.Place\"\"\332A\004"
+ "name\202\323\344\223\002\025\022\023/v1/{name=places/*}\032\030\312A\025plac"
+ "es.googleapis.comB\246\001\n\031com.google.maps.pl"
+ "aces.v1B\022PlacesServiceProtoP\001Z7cloud.goo"
+ "gle.com/go/maps/places/apiv1/placespb;pl"
+ "acespb\370\001\001\242\002\006GMPSV1\252\002\025Google.Maps.Places."
+ "V1\312\002\025Google\\Maps\\Places\\V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.ClientProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.geo.type.ViewportProto.getDescriptor(),
com.google.maps.places.v1.GeometryProto.getDescriptor(),
com.google.maps.places.v1.PlaceProto.getDescriptor(),
});
internal_static_google_maps_places_v1_SearchNearbyRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_maps_places_v1_SearchNearbyRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_maps_places_v1_SearchNearbyRequest_descriptor,
new java.lang.String[] {
"LanguageCode",
"RegionCode",
"IncludedTypes",
"ExcludedTypes",
"IncludedPrimaryTypes",
"ExcludedPrimaryTypes",
"MaxResultCount",
"LocationRestriction",
"RankPreference",
});
internal_static_google_maps_places_v1_SearchNearbyRequest_LocationRestriction_descriptor =
internal_static_google_maps_places_v1_SearchNearbyRequest_descriptor
.getNestedTypes()
.get(0);
internal_static_google_maps_places_v1_SearchNearbyRequest_LocationRestriction_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_maps_places_v1_SearchNearbyRequest_LocationRestriction_descriptor,
new java.lang.String[] {
"Circle", "Type",
});
internal_static_google_maps_places_v1_SearchNearbyResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_google_maps_places_v1_SearchNearbyResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_maps_places_v1_SearchNearbyResponse_descriptor,
new java.lang.String[] {
"Places",
});
internal_static_google_maps_places_v1_SearchTextRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_google_maps_places_v1_SearchTextRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_maps_places_v1_SearchTextRequest_descriptor,
new java.lang.String[] {
"TextQuery",
"LanguageCode",
"RegionCode",
"RankPreference",
"IncludedType",
"OpenNow",
"MinRating",
"MaxResultCount",
"PriceLevels",
"StrictTypeFiltering",
"LocationBias",
"LocationRestriction",
});
internal_static_google_maps_places_v1_SearchTextRequest_LocationBias_descriptor =
internal_static_google_maps_places_v1_SearchTextRequest_descriptor.getNestedTypes().get(0);
internal_static_google_maps_places_v1_SearchTextRequest_LocationBias_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_maps_places_v1_SearchTextRequest_LocationBias_descriptor,
new java.lang.String[] {
"Rectangle", "Circle", "Type",
});
internal_static_google_maps_places_v1_SearchTextRequest_LocationRestriction_descriptor =
internal_static_google_maps_places_v1_SearchTextRequest_descriptor.getNestedTypes().get(1);
internal_static_google_maps_places_v1_SearchTextRequest_LocationRestriction_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_maps_places_v1_SearchTextRequest_LocationRestriction_descriptor,
new java.lang.String[] {
"Rectangle", "Type",
});
internal_static_google_maps_places_v1_SearchTextResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_google_maps_places_v1_SearchTextResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_maps_places_v1_SearchTextResponse_descriptor,
new java.lang.String[] {
"Places",
});
internal_static_google_maps_places_v1_GetPhotoMediaRequest_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_google_maps_places_v1_GetPhotoMediaRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_maps_places_v1_GetPhotoMediaRequest_descriptor,
new java.lang.String[] {
"Name", "MaxWidthPx", "MaxHeightPx", "SkipHttpRedirect",
});
internal_static_google_maps_places_v1_PhotoMedia_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_google_maps_places_v1_PhotoMedia_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_maps_places_v1_PhotoMedia_descriptor,
new java.lang.String[] {
"Name", "PhotoUri",
});
internal_static_google_maps_places_v1_GetPlaceRequest_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_google_maps_places_v1_GetPlaceRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_maps_places_v1_GetPlaceRequest_descriptor,
new java.lang.String[] {
"Name", "LanguageCode", "RegionCode",
});
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.ClientProto.defaultHost);
registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
registry.add(com.google.api.AnnotationsProto.http);
registry.add(com.google.api.ClientProto.methodSignature);
registry.add(com.google.api.ResourceProto.resource);
registry.add(com.google.api.ResourceProto.resourceReference);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
com.google.api.AnnotationsProto.getDescriptor();
com.google.api.ClientProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.geo.type.ViewportProto.getDescriptor();
com.google.maps.places.v1.GeometryProto.getDescriptor();
com.google.maps.places.v1.PlaceProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}