- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.6
- 2.2.9
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.v4.Location
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Location.BuilderImplements
LocationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Location.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Location.Builder |
build()
public Location build()
Returns | |
---|---|
Type | Description |
Location |
buildPartial()
public Location buildPartial()
Returns | |
---|---|
Type | Description |
Location |
clear()
public Location.Builder clear()
Returns | |
---|---|
Type | Description |
Location.Builder |
clearField(Descriptors.FieldDescriptor field)
public Location.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Location.Builder |
clearLatLng()
public Location.Builder clearLatLng()
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;
Returns | |
---|---|
Type | Description |
Location.Builder |
clearLocationType()
public Location.Builder clearLocationType()
The type of a location, which corresponds to the address lines field of google.type.PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of LocationType.NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of LocationType.LOCALITY.
.google.cloud.talent.v4.Location.LocationType location_type = 1;
Returns | |
---|---|
Type | Description |
Location.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Location.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Location.Builder |
clearPostalAddress()
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;
Returns | |
---|---|
Type | Description |
Location.Builder |
clearRadiusMiles()
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 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;
Returns | |
---|---|
Type | Description |
Location.Builder |
This builder for chaining. |
clone()
public Location.Builder clone()
Returns | |
---|---|
Type | Description |
Location.Builder |
getDefaultInstanceForType()
public Location getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Location |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLatLng()
public LatLng getLatLng()
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;
Returns | |
---|---|
Type | Description |
com.google.type.LatLng |
The latLng. |
getLatLngBuilder()
public LatLng.Builder getLatLngBuilder()
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;
Returns | |
---|---|
Type | Description |
com.google.type.LatLng.Builder |
getLatLngOrBuilder()
public LatLngOrBuilder getLatLngOrBuilder()
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;
Returns | |
---|---|
Type | Description |
com.google.type.LatLngOrBuilder |
getLocationType()
public Location.LocationType getLocationType()
The type of a location, which corresponds to the address lines field of google.type.PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of LocationType.NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of LocationType.LOCALITY.
.google.cloud.talent.v4.Location.LocationType location_type = 1;
Returns | |
---|---|
Type | Description |
Location.LocationType |
The locationType. |
getLocationTypeValue()
public int getLocationTypeValue()
The type of a location, which corresponds to the address lines field of google.type.PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of LocationType.NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of LocationType.LOCALITY.
.google.cloud.talent.v4.Location.LocationType location_type = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for locationType. |
getPostalAddress()
public 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;
Returns | |
---|---|
Type | Description |
com.google.type.PostalAddress |
The postalAddress. |
getPostalAddressBuilder()
public 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;
Returns | |
---|---|
Type | Description |
com.google.type.PostalAddress.Builder |
getPostalAddressOrBuilder()
public 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;
Returns | |
---|---|
Type | Description |
com.google.type.PostalAddressOrBuilder |
getRadiusMiles()
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 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;
Returns | |
---|---|
Type | Description |
double |
The radiusMiles. |
hasLatLng()
public boolean hasLatLng()
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the latLng field is set. |
hasPostalAddress()
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the postalAddress field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Location other)
public Location.Builder mergeFrom(Location other)
Parameter | |
---|---|
Name | Description |
other |
Location |
Returns | |
---|---|
Type | Description |
Location.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Location.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Location.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Location.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Location.Builder |
mergeLatLng(LatLng value)
public Location.Builder mergeLatLng(LatLng value)
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;
Parameter | |
---|---|
Name | Description |
value |
com.google.type.LatLng |
Returns | |
---|---|
Type | Description |
Location.Builder |
mergePostalAddress(PostalAddress value)
public Location.Builder mergePostalAddress(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;
Parameter | |
---|---|
Name | Description |
value |
com.google.type.PostalAddress |
Returns | |
---|---|
Type | Description |
Location.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Location.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Location.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Location.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Location.Builder |
setLatLng(LatLng value)
public Location.Builder setLatLng(LatLng value)
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;
Parameter | |
---|---|
Name | Description |
value |
com.google.type.LatLng |
Returns | |
---|---|
Type | Description |
Location.Builder |
setLatLng(LatLng.Builder builderForValue)
public Location.Builder setLatLng(LatLng.Builder builderForValue)
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.type.LatLng.Builder |
Returns | |
---|---|
Type | Description |
Location.Builder |
setLocationType(Location.LocationType value)
public Location.Builder setLocationType(Location.LocationType value)
The type of a location, which corresponds to the address lines field of google.type.PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of LocationType.NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of LocationType.LOCALITY.
.google.cloud.talent.v4.Location.LocationType location_type = 1;
Parameter | |
---|---|
Name | Description |
value |
Location.LocationType The locationType to set. |
Returns | |
---|---|
Type | Description |
Location.Builder |
This builder for chaining. |
setLocationTypeValue(int value)
public Location.Builder setLocationTypeValue(int value)
The type of a location, which corresponds to the address lines field of google.type.PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of LocationType.NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of LocationType.LOCALITY.
.google.cloud.talent.v4.Location.LocationType location_type = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for locationType to set. |
Returns | |
---|---|
Type | Description |
Location.Builder |
This builder for chaining. |
setPostalAddress(PostalAddress value)
public Location.Builder setPostalAddress(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;
Parameter | |
---|---|
Name | Description |
value |
com.google.type.PostalAddress |
Returns | |
---|---|
Type | Description |
Location.Builder |
setPostalAddress(PostalAddress.Builder builderForValue)
public Location.Builder setPostalAddress(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;
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.type.PostalAddress.Builder |
Returns | |
---|---|
Type | Description |
Location.Builder |
setRadiusMiles(double value)
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 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;
Parameter | |
---|---|
Name | Description |
value |
double The radiusMiles to set. |
Returns | |
---|---|
Type | Description |
Location.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Location.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Location.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Location.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Location.Builder |