public final class LocationFilter extends com.google.protobuf.GeneratedMessageV3 implements LocationFilterOrBuilder
Input only. Geographic region of the search.Protobuf type
google.cloud.talent.v4beta1.LocationFilter| Modifier and Type | Class and Description |
|---|---|
static class |
LocationFilter.Builder
Input only.
|
static class |
LocationFilter.TelecommutePreference
Specify whether to include telecommute jobs.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ADDRESS_FIELD_NUMBER |
static int |
DISTANCE_IN_MILES_FIELD_NUMBER |
static int |
LAT_LNG_FIELD_NUMBER |
static int |
NEGATED_FIELD_NUMBER |
static int |
REGION_CODE_FIELD_NUMBER |
static int |
TELECOMMUTE_PREFERENCE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAddress()
Optional.
|
com.google.protobuf.ByteString |
getAddressBytes()
Optional.
|
static LocationFilter |
getDefaultInstance() |
LocationFilter |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
double |
getDistanceInMiles()
Optional.
|
com.google.type.LatLng |
getLatLng()
Optional.
|
com.google.type.LatLngOrBuilder |
getLatLngOrBuilder()
Optional.
|
boolean |
getNegated()
Optional.
|
com.google.protobuf.Parser<LocationFilter> |
getParserForType() |
String |
getRegionCode()
Optional.
|
com.google.protobuf.ByteString |
getRegionCodeBytes()
Optional.
|
int |
getSerializedSize() |
LocationFilter.TelecommutePreference |
getTelecommutePreference()
Optional.
|
int |
getTelecommutePreferenceValue()
Optional.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasLatLng()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LocationFilter.Builder |
newBuilder() |
static LocationFilter.Builder |
newBuilder(LocationFilter prototype) |
LocationFilter.Builder |
newBuilderForType() |
protected LocationFilter.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static LocationFilter |
parseDelimitedFrom(InputStream input) |
static LocationFilter |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LocationFilter |
parseFrom(byte[] data) |
static LocationFilter |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LocationFilter |
parseFrom(ByteBuffer data) |
static LocationFilter |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LocationFilter |
parseFrom(com.google.protobuf.ByteString data) |
static LocationFilter |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LocationFilter |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LocationFilter |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LocationFilter |
parseFrom(InputStream input) |
static LocationFilter |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LocationFilter> |
parser() |
LocationFilter.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ADDRESS_FIELD_NUMBER
public static final int REGION_CODE_FIELD_NUMBER
public static final int LAT_LNG_FIELD_NUMBER
public static final int DISTANCE_IN_MILES_FIELD_NUMBER
public static final int TELECOMMUTE_PREFERENCE_FIELD_NUMBER
public static final int NEGATED_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getAddress()
Optional. The address name, such as "Mountain View" or "Bay Area".
string address = 1;getAddress in interface LocationFilterOrBuilderpublic com.google.protobuf.ByteString getAddressBytes()
Optional. The address name, such as "Mountain View" or "Bay Area".
string address = 1;getAddressBytes in interface LocationFilterOrBuilderpublic String getRegionCode()
Optional. CLDR region code of the country/region of the address. This is used to address ambiguity of the user-input location, for example, "Liverpool" against "Liverpool, NY, US" or "Liverpool, UK". Set this field to bias location resolution toward a specific country or territory. If this field is not set, application behavior is biased toward the United States by default. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: "CH" for Switzerland. Note that this filter is not applicable for Profile Search related queries.
string region_code = 2;getRegionCode in interface LocationFilterOrBuilderpublic com.google.protobuf.ByteString getRegionCodeBytes()
Optional. CLDR region code of the country/region of the address. This is used to address ambiguity of the user-input location, for example, "Liverpool" against "Liverpool, NY, US" or "Liverpool, UK". Set this field to bias location resolution toward a specific country or territory. If this field is not set, application behavior is biased toward the United States by default. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: "CH" for Switzerland. Note that this filter is not applicable for Profile Search related queries.
string region_code = 2;getRegionCodeBytes in interface LocationFilterOrBuilderpublic boolean hasLatLng()
Optional. The latitude and longitude of the geographic center to search from. This field is ignored if `address` is provided.
.google.type.LatLng lat_lng = 3;hasLatLng in interface LocationFilterOrBuilderpublic com.google.type.LatLng getLatLng()
Optional. The latitude and longitude of the geographic center to search from. This field is ignored if `address` is provided.
.google.type.LatLng lat_lng = 3;getLatLng in interface LocationFilterOrBuilderpublic com.google.type.LatLngOrBuilder getLatLngOrBuilder()
Optional. The latitude and longitude of the geographic center to search from. This field is ignored if `address` is provided.
.google.type.LatLng lat_lng = 3;getLatLngOrBuilder in interface LocationFilterOrBuilderpublic double getDistanceInMiles()
Optional. The distance_in_miles is applied when the location being searched for is identified as a city or smaller. This field is ignored if the location being searched for is a state or larger.
double distance_in_miles = 4;getDistanceInMiles in interface LocationFilterOrBuilderpublic int getTelecommutePreferenceValue()
Optional. Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecommuting is considered by the service as a special location. [Job.posting_region][google.cloud.talent.v4beta1.Job.posting_region] indicates if a job permits telecommuting. If this field is set to [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED], telecommuting jobs are searched, and [address][google.cloud.talent.v4beta1.LocationFilter.address] and [lat_lng][google.cloud.talent.v4beta1.LocationFilter.lat_lng] are ignored. If not set or set to [TelecommutePreference.TELECOMMUTE_EXCLUDED][google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_EXCLUDED], telecommute job are not searched. This filter can be used by itself to search exclusively for telecommuting jobs, or it can be combined with another location filter to search for a combination of job locations, such as "Mountain View" or "telecommuting" jobs. However, when used in combination with other location filters, telecommuting jobs can be treated as less relevant than other jobs in the search response. This field is only used for job search requests.
.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5;
getTelecommutePreferenceValue in interface LocationFilterOrBuilderpublic LocationFilter.TelecommutePreference getTelecommutePreference()
Optional. Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecommuting is considered by the service as a special location. [Job.posting_region][google.cloud.talent.v4beta1.Job.posting_region] indicates if a job permits telecommuting. If this field is set to [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED], telecommuting jobs are searched, and [address][google.cloud.talent.v4beta1.LocationFilter.address] and [lat_lng][google.cloud.talent.v4beta1.LocationFilter.lat_lng] are ignored. If not set or set to [TelecommutePreference.TELECOMMUTE_EXCLUDED][google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_EXCLUDED], telecommute job are not searched. This filter can be used by itself to search exclusively for telecommuting jobs, or it can be combined with another location filter to search for a combination of job locations, such as "Mountain View" or "telecommuting" jobs. However, when used in combination with other location filters, telecommuting jobs can be treated as less relevant than other jobs in the search response. This field is only used for job search requests.
.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5;
getTelecommutePreference in interface LocationFilterOrBuilderpublic boolean getNegated()
Optional. Whether to apply negation to the filter so profiles matching the filter are excluded. Currently only supported in profile search.
bool negated = 6;getNegated in interface LocationFilterOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LocationFilter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LocationFilter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LocationFilter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LocationFilter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LocationFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LocationFilter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LocationFilter parseFrom(InputStream input) throws IOException
IOExceptionpublic static LocationFilter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LocationFilter parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static LocationFilter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LocationFilter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static LocationFilter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic LocationFilter.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LocationFilter.Builder newBuilder()
public static LocationFilter.Builder newBuilder(LocationFilter prototype)
public LocationFilter.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LocationFilter.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LocationFilter getDefaultInstance()
public static com.google.protobuf.Parser<LocationFilter> parser()
public com.google.protobuf.Parser<LocationFilter> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LocationFilter getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.