public static final class Location.Builder extends GeneratedMessageV3.Builder<Location.Builder> implements LocationOrBuilder
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(Descriptors.FieldDescriptor field,
Object value) |
Location |
build() |
Location |
buildPartial() |
Location.Builder |
clear() |
Location.Builder |
clearField(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(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 Descriptors.Descriptor |
getDescriptor() |
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 GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Location.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Location.Builder |
mergeFrom(Location other) |
Location.Builder |
mergeFrom(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(UnknownFieldSet unknownFields) |
Location.Builder |
setField(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(Descriptors.FieldDescriptor field,
int index,
Object value) |
Location.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Location.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Location.Builder>
public Location getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Location build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Location buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Location.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Location.Builder>
public Location.Builder mergeFrom(Location other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Location.Builder>
IOException
public 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 LocationOrBuilder
public 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;
value
- The enum numeric value on the wire for locationType to set.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 LocationOrBuilder
public 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;
value
- The locationType to set.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 LocationOrBuilder
public 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 LocationOrBuilder
public 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 LocationOrBuilder
public boolean hasLatLng()
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;
hasLatLng
in interface LocationOrBuilder
public com.google.type.LatLng getLatLng()
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;
getLatLng
in interface LocationOrBuilder
public 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 LocationOrBuilder
public 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 LocationOrBuilder
public 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;
value
- The radiusMiles to set.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(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Location.Builder>
public final Location.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Location.Builder>
Copyright © 2022 Google LLC. All rights reserved.