public static final class Location.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder> implements LocationOrBuilder
Output only. A resource that represents a location with full geographic information.Protobuf type
google.cloud.talent.v4beta1.Location| Modifier and Type | Method and Description |
|---|---|
Location.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Location |
build() |
Location |
buildPartial() |
Location.Builder |
clear() |
Location.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Location.Builder |
clearLatLng()
An object representing a latitude/longitude pair.
|
Location.Builder |
clearLocationType()
The type of a location, which corresponds to the address lines field of
[google.type.PostalAddress][google.type.PostalAddress].
|
Location.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Location.Builder |
clearPostalAddress()
Postal address of the location that includes human readable information,
such as postal delivery and payments addresses.
|
Location.Builder |
clearRadiusMiles()
Radius in miles of the job location.
|
Location.Builder |
clone() |
Location |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.type.LatLng |
getLatLng()
An object representing a latitude/longitude pair.
|
com.google.type.LatLng.Builder |
getLatLngBuilder()
An object representing a latitude/longitude pair.
|
com.google.type.LatLngOrBuilder |
getLatLngOrBuilder()
An object representing a latitude/longitude pair.
|
Location.LocationType |
getLocationType()
The type of a location, which corresponds to the address lines field of
[google.type.PostalAddress][google.type.PostalAddress].
|
int |
getLocationTypeValue()
The type of a location, which corresponds to the address lines field of
[google.type.PostalAddress][google.type.PostalAddress].
|
com.google.type.PostalAddress |
getPostalAddress()
Postal address of the location that includes human readable information,
such as postal delivery and payments addresses.
|
com.google.type.PostalAddress.Builder |
getPostalAddressBuilder()
Postal address of the location that includes human readable information,
such as postal delivery and payments addresses.
|
com.google.type.PostalAddressOrBuilder |
getPostalAddressOrBuilder()
Postal address of the location that includes human readable information,
such as postal delivery and payments addresses.
|
double |
getRadiusMiles()
Radius in miles of the job location.
|
boolean |
hasLatLng()
An object representing a latitude/longitude pair.
|
boolean |
hasPostalAddress()
Postal address of the location that includes human readable information,
such as postal delivery and payments addresses.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Location.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Location.Builder |
mergeFrom(Location other) |
Location.Builder |
mergeFrom(com.google.protobuf.Message other) |
Location.Builder |
mergeLatLng(com.google.type.LatLng value)
An object representing a latitude/longitude pair.
|
Location.Builder |
mergePostalAddress(com.google.type.PostalAddress value)
Postal address of the location that includes human readable information,
such as postal delivery and payments addresses.
|
Location.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Location.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Location.Builder |
setLatLng(com.google.type.LatLng.Builder builderForValue)
An object representing a latitude/longitude pair.
|
Location.Builder |
setLatLng(com.google.type.LatLng value)
An object representing a latitude/longitude pair.
|
Location.Builder |
setLocationType(Location.LocationType value)
The type of a location, which corresponds to the address lines field of
[google.type.PostalAddress][google.type.PostalAddress].
|
Location.Builder |
setLocationTypeValue(int value)
The type of a location, which corresponds to the address lines field of
[google.type.PostalAddress][google.type.PostalAddress].
|
Location.Builder |
setPostalAddress(com.google.type.PostalAddress.Builder builderForValue)
Postal address of the location that includes human readable information,
such as postal delivery and payments addresses.
|
Location.Builder |
setPostalAddress(com.google.type.PostalAddress value)
Postal address of the location that includes human readable information,
such as postal delivery and payments addresses.
|
Location.Builder |
setRadiusMiles(double value)
Radius in miles of the job location.
|
Location.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Location.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Location build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Location buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Location.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Location.Builder>public Location.Builder mergeFrom(Location other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Location.Builder>IOExceptionpublic int getLocationTypeValue()
The type of a location, which corresponds to the address lines field of [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA" has a type of [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], and "Kansas City, KS, USA" has a type of [LocationType.LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.LOCALITY].
.google.cloud.talent.v4beta1.Location.LocationType location_type = 1;getLocationTypeValue in interface LocationOrBuilderpublic Location.Builder setLocationTypeValue(int value)
The type of a location, which corresponds to the address lines field of [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA" has a type of [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], and "Kansas City, KS, USA" has a type of [LocationType.LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.LOCALITY].
.google.cloud.talent.v4beta1.Location.LocationType location_type = 1;public Location.LocationType getLocationType()
The type of a location, which corresponds to the address lines field of [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA" has a type of [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], and "Kansas City, KS, USA" has a type of [LocationType.LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.LOCALITY].
.google.cloud.talent.v4beta1.Location.LocationType location_type = 1;getLocationType in interface LocationOrBuilderpublic Location.Builder setLocationType(Location.LocationType value)
The type of a location, which corresponds to the address lines field of [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA" has a type of [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], and "Kansas City, KS, USA" has a type of [LocationType.LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.LOCALITY].
.google.cloud.talent.v4beta1.Location.LocationType location_type = 1;public Location.Builder clearLocationType()
The type of a location, which corresponds to the address lines field of [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA" has a type of [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], and "Kansas City, KS, USA" has a type of [LocationType.LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.LOCALITY].
.google.cloud.talent.v4beta1.Location.LocationType location_type = 1;public boolean hasPostalAddress()
Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.
.google.type.PostalAddress postal_address = 2;hasPostalAddress in interface LocationOrBuilderpublic com.google.type.PostalAddress getPostalAddress()
Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.
.google.type.PostalAddress postal_address = 2;getPostalAddress in interface LocationOrBuilderpublic Location.Builder setPostalAddress(com.google.type.PostalAddress value)
Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.
.google.type.PostalAddress postal_address = 2;public Location.Builder setPostalAddress(com.google.type.PostalAddress.Builder builderForValue)
Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.
.google.type.PostalAddress postal_address = 2;public Location.Builder mergePostalAddress(com.google.type.PostalAddress value)
Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.
.google.type.PostalAddress postal_address = 2;public Location.Builder clearPostalAddress()
Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.
.google.type.PostalAddress postal_address = 2;public com.google.type.PostalAddress.Builder getPostalAddressBuilder()
Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.
.google.type.PostalAddress postal_address = 2;public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder()
Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.
.google.type.PostalAddress postal_address = 2;getPostalAddressOrBuilder in interface LocationOrBuilderpublic boolean hasLatLng()
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;hasLatLng in interface LocationOrBuilderpublic com.google.type.LatLng getLatLng()
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;getLatLng in interface LocationOrBuilderpublic Location.Builder setLatLng(com.google.type.LatLng value)
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;public Location.Builder setLatLng(com.google.type.LatLng.Builder builderForValue)
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;public Location.Builder mergeLatLng(com.google.type.LatLng value)
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;public Location.Builder clearLatLng()
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;public com.google.type.LatLng.Builder getLatLngBuilder()
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;public com.google.type.LatLngOrBuilder getLatLngOrBuilder()
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;getLatLngOrBuilder in interface LocationOrBuilderpublic double getRadiusMiles()
Radius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from [google.type.LatLng][google.type.LatLng] covers the area associated with the job location. For example, currently, "Mountain View, CA, USA" has a radius of 6.17 miles.
double radius_miles = 4;getRadiusMiles in interface LocationOrBuilderpublic Location.Builder setRadiusMiles(double value)
Radius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from [google.type.LatLng][google.type.LatLng] covers the area associated with the job location. For example, currently, "Mountain View, CA, USA" has a radius of 6.17 miles.
double radius_miles = 4;public Location.Builder clearRadiusMiles()
Radius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from [google.type.LatLng][google.type.LatLng] covers the area associated with the job location. For example, currently, "Mountain View, CA, USA" has a radius of 6.17 miles.
double radius_miles = 4;public final Location.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public final Location.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>Copyright © 2019 Google LLC. All rights reserved.