Class Geocode.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Geocode.Builder>
-
- com.google.maps.addressvalidation.v1.Geocode.Builder
-
- All Implemented Interfaces:
GeocodeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Geocode
public static final class Geocode.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Geocode.Builder> implements GeocodeOrBuilder
Contains information about the place the input was geocoded to.
Protobuf typegoogle.maps.addressvalidation.v1.Geocode
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Geocode.BuilderaddAllPlaceTypes(Iterable<String> values)The type(s) of place that the input geocoded to.Geocode.BuilderaddPlaceTypes(String value)The type(s) of place that the input geocoded to.Geocode.BuilderaddPlaceTypesBytes(com.google.protobuf.ByteString value)The type(s) of place that the input geocoded to.Geocode.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Geocodebuild()GeocodebuildPartial()Geocode.Builderclear()Geocode.BuilderclearBounds()The bounds of the geocoded place.Geocode.BuilderclearFeatureSizeMeters()The size of the geocoded place, in meters.Geocode.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Geocode.BuilderclearLocation()The geocoded location of the input.Geocode.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Geocode.BuilderclearPlaceId()The PlaceID of the place this input geocodes to.Geocode.BuilderclearPlaceTypes()The type(s) of place that the input geocoded to.Geocode.BuilderclearPlusCode()The plus code corresponding to the `location`.Geocode.Builderclone()com.google.geo.type.ViewportgetBounds()The bounds of the geocoded place.com.google.geo.type.Viewport.BuildergetBoundsBuilder()The bounds of the geocoded place.com.google.geo.type.ViewportOrBuildergetBoundsOrBuilder()The bounds of the geocoded place.GeocodegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()floatgetFeatureSizeMeters()The size of the geocoded place, in meters.com.google.type.LatLnggetLocation()The geocoded location of the input.com.google.type.LatLng.BuildergetLocationBuilder()The geocoded location of the input.com.google.type.LatLngOrBuildergetLocationOrBuilder()The geocoded location of the input.StringgetPlaceId()The PlaceID of the place this input geocodes to.com.google.protobuf.ByteStringgetPlaceIdBytes()The PlaceID of the place this input geocodes to.StringgetPlaceTypes(int index)The type(s) of place that the input geocoded to.com.google.protobuf.ByteStringgetPlaceTypesBytes(int index)The type(s) of place that the input geocoded to.intgetPlaceTypesCount()The type(s) of place that the input geocoded to.com.google.protobuf.ProtocolStringListgetPlaceTypesList()The type(s) of place that the input geocoded to.PlusCodegetPlusCode()The plus code corresponding to the `location`.PlusCode.BuildergetPlusCodeBuilder()The plus code corresponding to the `location`.PlusCodeOrBuildergetPlusCodeOrBuilder()The plus code corresponding to the `location`.booleanhasBounds()The bounds of the geocoded place.booleanhasLocation()The geocoded location of the input.booleanhasPlusCode()The plus code corresponding to the `location`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Geocode.BuildermergeBounds(com.google.geo.type.Viewport value)The bounds of the geocoded place.Geocode.BuildermergeFrom(Geocode other)Geocode.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Geocode.BuildermergeFrom(com.google.protobuf.Message other)Geocode.BuildermergeLocation(com.google.type.LatLng value)The geocoded location of the input.Geocode.BuildermergePlusCode(PlusCode value)The plus code corresponding to the `location`.Geocode.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Geocode.BuildersetBounds(com.google.geo.type.Viewport value)The bounds of the geocoded place.Geocode.BuildersetBounds(com.google.geo.type.Viewport.Builder builderForValue)The bounds of the geocoded place.Geocode.BuildersetFeatureSizeMeters(float value)The size of the geocoded place, in meters.Geocode.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Geocode.BuildersetLocation(com.google.type.LatLng value)The geocoded location of the input.Geocode.BuildersetLocation(com.google.type.LatLng.Builder builderForValue)The geocoded location of the input.Geocode.BuildersetPlaceId(String value)The PlaceID of the place this input geocodes to.Geocode.BuildersetPlaceIdBytes(com.google.protobuf.ByteString value)The PlaceID of the place this input geocodes to.Geocode.BuildersetPlaceTypes(int index, String value)The type(s) of place that the input geocoded to.Geocode.BuildersetPlusCode(PlusCode value)The plus code corresponding to the `location`.Geocode.BuildersetPlusCode(PlusCode.Builder builderForValue)The plus code corresponding to the `location`.Geocode.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Geocode.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Geocode.Builder>
-
clear
public Geocode.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Geocode.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Geocode.Builder>
-
getDefaultInstanceForType
public Geocode getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Geocode build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Geocode buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Geocode.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Geocode.Builder>
-
setField
public Geocode.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Geocode.Builder>
-
clearField
public Geocode.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Geocode.Builder>
-
clearOneof
public Geocode.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Geocode.Builder>
-
setRepeatedField
public Geocode.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Geocode.Builder>
-
addRepeatedField
public Geocode.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Geocode.Builder>
-
mergeFrom
public Geocode.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Geocode.Builder>
-
mergeFrom
public Geocode.Builder mergeFrom(Geocode other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Geocode.Builder>
-
mergeFrom
public Geocode.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Geocode.Builder>- Throws:
IOException
-
hasLocation
public boolean hasLocation()
The geocoded location of the input. Using place IDs is preferred over using addresses, latitude/longitude coordinates, or plus codes. Using coordinates when routing or calculating driving directions will always result in the point being snapped to the road nearest to those coordinates. This may not be a road that will quickly or safely lead to the destination and may not be near an access point to the property. Additionally, when a location is reverse geocoded, there is no guarantee that the returned address will match the original.
.google.type.LatLng location = 1;- Specified by:
hasLocationin interfaceGeocodeOrBuilder- Returns:
- Whether the location field is set.
-
getLocation
public com.google.type.LatLng getLocation()
The geocoded location of the input. Using place IDs is preferred over using addresses, latitude/longitude coordinates, or plus codes. Using coordinates when routing or calculating driving directions will always result in the point being snapped to the road nearest to those coordinates. This may not be a road that will quickly or safely lead to the destination and may not be near an access point to the property. Additionally, when a location is reverse geocoded, there is no guarantee that the returned address will match the original.
.google.type.LatLng location = 1;- Specified by:
getLocationin interfaceGeocodeOrBuilder- Returns:
- The location.
-
setLocation
public Geocode.Builder setLocation(com.google.type.LatLng value)
The geocoded location of the input. Using place IDs is preferred over using addresses, latitude/longitude coordinates, or plus codes. Using coordinates when routing or calculating driving directions will always result in the point being snapped to the road nearest to those coordinates. This may not be a road that will quickly or safely lead to the destination and may not be near an access point to the property. Additionally, when a location is reverse geocoded, there is no guarantee that the returned address will match the original.
.google.type.LatLng location = 1;
-
setLocation
public Geocode.Builder setLocation(com.google.type.LatLng.Builder builderForValue)
The geocoded location of the input. Using place IDs is preferred over using addresses, latitude/longitude coordinates, or plus codes. Using coordinates when routing or calculating driving directions will always result in the point being snapped to the road nearest to those coordinates. This may not be a road that will quickly or safely lead to the destination and may not be near an access point to the property. Additionally, when a location is reverse geocoded, there is no guarantee that the returned address will match the original.
.google.type.LatLng location = 1;
-
mergeLocation
public Geocode.Builder mergeLocation(com.google.type.LatLng value)
The geocoded location of the input. Using place IDs is preferred over using addresses, latitude/longitude coordinates, or plus codes. Using coordinates when routing or calculating driving directions will always result in the point being snapped to the road nearest to those coordinates. This may not be a road that will quickly or safely lead to the destination and may not be near an access point to the property. Additionally, when a location is reverse geocoded, there is no guarantee that the returned address will match the original.
.google.type.LatLng location = 1;
-
clearLocation
public Geocode.Builder clearLocation()
The geocoded location of the input. Using place IDs is preferred over using addresses, latitude/longitude coordinates, or plus codes. Using coordinates when routing or calculating driving directions will always result in the point being snapped to the road nearest to those coordinates. This may not be a road that will quickly or safely lead to the destination and may not be near an access point to the property. Additionally, when a location is reverse geocoded, there is no guarantee that the returned address will match the original.
.google.type.LatLng location = 1;
-
getLocationBuilder
public com.google.type.LatLng.Builder getLocationBuilder()
The geocoded location of the input. Using place IDs is preferred over using addresses, latitude/longitude coordinates, or plus codes. Using coordinates when routing or calculating driving directions will always result in the point being snapped to the road nearest to those coordinates. This may not be a road that will quickly or safely lead to the destination and may not be near an access point to the property. Additionally, when a location is reverse geocoded, there is no guarantee that the returned address will match the original.
.google.type.LatLng location = 1;
-
getLocationOrBuilder
public com.google.type.LatLngOrBuilder getLocationOrBuilder()
The geocoded location of the input. Using place IDs is preferred over using addresses, latitude/longitude coordinates, or plus codes. Using coordinates when routing or calculating driving directions will always result in the point being snapped to the road nearest to those coordinates. This may not be a road that will quickly or safely lead to the destination and may not be near an access point to the property. Additionally, when a location is reverse geocoded, there is no guarantee that the returned address will match the original.
.google.type.LatLng location = 1;- Specified by:
getLocationOrBuilderin interfaceGeocodeOrBuilder
-
hasPlusCode
public boolean hasPlusCode()
The plus code corresponding to the `location`.
.google.maps.addressvalidation.v1.PlusCode plus_code = 2;- Specified by:
hasPlusCodein interfaceGeocodeOrBuilder- Returns:
- Whether the plusCode field is set.
-
getPlusCode
public PlusCode getPlusCode()
The plus code corresponding to the `location`.
.google.maps.addressvalidation.v1.PlusCode plus_code = 2;- Specified by:
getPlusCodein interfaceGeocodeOrBuilder- Returns:
- The plusCode.
-
setPlusCode
public Geocode.Builder setPlusCode(PlusCode value)
The plus code corresponding to the `location`.
.google.maps.addressvalidation.v1.PlusCode plus_code = 2;
-
setPlusCode
public Geocode.Builder setPlusCode(PlusCode.Builder builderForValue)
The plus code corresponding to the `location`.
.google.maps.addressvalidation.v1.PlusCode plus_code = 2;
-
mergePlusCode
public Geocode.Builder mergePlusCode(PlusCode value)
The plus code corresponding to the `location`.
.google.maps.addressvalidation.v1.PlusCode plus_code = 2;
-
clearPlusCode
public Geocode.Builder clearPlusCode()
The plus code corresponding to the `location`.
.google.maps.addressvalidation.v1.PlusCode plus_code = 2;
-
getPlusCodeBuilder
public PlusCode.Builder getPlusCodeBuilder()
The plus code corresponding to the `location`.
.google.maps.addressvalidation.v1.PlusCode plus_code = 2;
-
getPlusCodeOrBuilder
public PlusCodeOrBuilder getPlusCodeOrBuilder()
The plus code corresponding to the `location`.
.google.maps.addressvalidation.v1.PlusCode plus_code = 2;- Specified by:
getPlusCodeOrBuilderin interfaceGeocodeOrBuilder
-
hasBounds
public boolean hasBounds()
The bounds of the geocoded place.
.google.geo.type.Viewport bounds = 4;- Specified by:
hasBoundsin interfaceGeocodeOrBuilder- Returns:
- Whether the bounds field is set.
-
getBounds
public com.google.geo.type.Viewport getBounds()
The bounds of the geocoded place.
.google.geo.type.Viewport bounds = 4;- Specified by:
getBoundsin interfaceGeocodeOrBuilder- Returns:
- The bounds.
-
setBounds
public Geocode.Builder setBounds(com.google.geo.type.Viewport value)
The bounds of the geocoded place.
.google.geo.type.Viewport bounds = 4;
-
setBounds
public Geocode.Builder setBounds(com.google.geo.type.Viewport.Builder builderForValue)
The bounds of the geocoded place.
.google.geo.type.Viewport bounds = 4;
-
mergeBounds
public Geocode.Builder mergeBounds(com.google.geo.type.Viewport value)
The bounds of the geocoded place.
.google.geo.type.Viewport bounds = 4;
-
clearBounds
public Geocode.Builder clearBounds()
The bounds of the geocoded place.
.google.geo.type.Viewport bounds = 4;
-
getBoundsBuilder
public com.google.geo.type.Viewport.Builder getBoundsBuilder()
The bounds of the geocoded place.
.google.geo.type.Viewport bounds = 4;
-
getBoundsOrBuilder
public com.google.geo.type.ViewportOrBuilder getBoundsOrBuilder()
The bounds of the geocoded place.
.google.geo.type.Viewport bounds = 4;- Specified by:
getBoundsOrBuilderin interfaceGeocodeOrBuilder
-
getFeatureSizeMeters
public float getFeatureSizeMeters()
The size of the geocoded place, in meters. This is another measure of the coarseness of the geocoded location, but in physical size rather than in semantic meaning.
float feature_size_meters = 5;- Specified by:
getFeatureSizeMetersin interfaceGeocodeOrBuilder- Returns:
- The featureSizeMeters.
-
setFeatureSizeMeters
public Geocode.Builder setFeatureSizeMeters(float value)
The size of the geocoded place, in meters. This is another measure of the coarseness of the geocoded location, but in physical size rather than in semantic meaning.
float feature_size_meters = 5;- Parameters:
value- The featureSizeMeters to set.- Returns:
- This builder for chaining.
-
clearFeatureSizeMeters
public Geocode.Builder clearFeatureSizeMeters()
The size of the geocoded place, in meters. This is another measure of the coarseness of the geocoded location, but in physical size rather than in semantic meaning.
float feature_size_meters = 5;- Returns:
- This builder for chaining.
-
getPlaceId
public String getPlaceId()
The PlaceID of the place this input geocodes to. For more information about Place IDs see [here](https://developers.google.com/maps/documentation/places/web-service/place-id).
string place_id = 6;- Specified by:
getPlaceIdin interfaceGeocodeOrBuilder- Returns:
- The placeId.
-
getPlaceIdBytes
public com.google.protobuf.ByteString getPlaceIdBytes()
The PlaceID of the place this input geocodes to. For more information about Place IDs see [here](https://developers.google.com/maps/documentation/places/web-service/place-id).
string place_id = 6;- Specified by:
getPlaceIdBytesin interfaceGeocodeOrBuilder- Returns:
- The bytes for placeId.
-
setPlaceId
public Geocode.Builder setPlaceId(String value)
The PlaceID of the place this input geocodes to. For more information about Place IDs see [here](https://developers.google.com/maps/documentation/places/web-service/place-id).
string place_id = 6;- Parameters:
value- The placeId to set.- Returns:
- This builder for chaining.
-
clearPlaceId
public Geocode.Builder clearPlaceId()
The PlaceID of the place this input geocodes to. For more information about Place IDs see [here](https://developers.google.com/maps/documentation/places/web-service/place-id).
string place_id = 6;- Returns:
- This builder for chaining.
-
setPlaceIdBytes
public Geocode.Builder setPlaceIdBytes(com.google.protobuf.ByteString value)
The PlaceID of the place this input geocodes to. For more information about Place IDs see [here](https://developers.google.com/maps/documentation/places/web-service/place-id).
string place_id = 6;- Parameters:
value- The bytes for placeId to set.- Returns:
- This builder for chaining.
-
getPlaceTypesList
public com.google.protobuf.ProtocolStringList getPlaceTypesList()
The type(s) of place that the input geocoded to. For example, `['locality', 'political']`. The full list of types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string place_types = 7;- Specified by:
getPlaceTypesListin interfaceGeocodeOrBuilder- Returns:
- A list containing the placeTypes.
-
getPlaceTypesCount
public int getPlaceTypesCount()
The type(s) of place that the input geocoded to. For example, `['locality', 'political']`. The full list of types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string place_types = 7;- Specified by:
getPlaceTypesCountin interfaceGeocodeOrBuilder- Returns:
- The count of placeTypes.
-
getPlaceTypes
public String getPlaceTypes(int index)
The type(s) of place that the input geocoded to. For example, `['locality', 'political']`. The full list of types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string place_types = 7;- Specified by:
getPlaceTypesin interfaceGeocodeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The placeTypes at the given index.
-
getPlaceTypesBytes
public com.google.protobuf.ByteString getPlaceTypesBytes(int index)
The type(s) of place that the input geocoded to. For example, `['locality', 'political']`. The full list of types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string place_types = 7;- Specified by:
getPlaceTypesBytesin interfaceGeocodeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the placeTypes at the given index.
-
setPlaceTypes
public Geocode.Builder setPlaceTypes(int index, String value)
The type(s) of place that the input geocoded to. For example, `['locality', 'political']`. The full list of types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string place_types = 7;- Parameters:
index- The index to set the value at.value- The placeTypes to set.- Returns:
- This builder for chaining.
-
addPlaceTypes
public Geocode.Builder addPlaceTypes(String value)
The type(s) of place that the input geocoded to. For example, `['locality', 'political']`. The full list of types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string place_types = 7;- Parameters:
value- The placeTypes to add.- Returns:
- This builder for chaining.
-
addAllPlaceTypes
public Geocode.Builder addAllPlaceTypes(Iterable<String> values)
The type(s) of place that the input geocoded to. For example, `['locality', 'political']`. The full list of types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string place_types = 7;- Parameters:
values- The placeTypes to add.- Returns:
- This builder for chaining.
-
clearPlaceTypes
public Geocode.Builder clearPlaceTypes()
The type(s) of place that the input geocoded to. For example, `['locality', 'political']`. The full list of types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string place_types = 7;- Returns:
- This builder for chaining.
-
addPlaceTypesBytes
public Geocode.Builder addPlaceTypesBytes(com.google.protobuf.ByteString value)
The type(s) of place that the input geocoded to. For example, `['locality', 'political']`. The full list of types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string place_types = 7;- Parameters:
value- The bytes of the placeTypes to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Geocode.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Geocode.Builder>
-
mergeUnknownFields
public final Geocode.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Geocode.Builder>
-
-