public final class CustomAttribute extends GeneratedMessageV3 implements CustomAttributeOrBuilder
Custom attribute values that are either filterable or non-filterable.Protobuf type
google.cloud.talent.v4beta1.CustomAttribute
Modifier and Type | Class and Description |
---|---|
static class |
CustomAttribute.Builder
Custom attribute values that are either filterable or non-filterable.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
FILTERABLE_FIELD_NUMBER |
static int |
KEYWORD_SEARCHABLE_FIELD_NUMBER |
static int |
LONG_VALUES_FIELD_NUMBER |
static int |
STRING_VALUES_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static CustomAttribute |
getDefaultInstance() |
CustomAttribute |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
boolean |
getFilterable()
If the `filterable` flag is true, the custom field values may be used for
custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
|
boolean |
getKeywordSearchable()
If the `keyword_searchable` flag is true, the keywords in custom fields are
searchable by keyword match.
|
long |
getLongValues(int index)
Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
|
int |
getLongValuesCount()
Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
|
List<Long> |
getLongValuesList()
Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
|
Parser<CustomAttribute> |
getParserForType() |
int |
getSerializedSize() |
String |
getStringValues(int index)
Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
|
ByteString |
getStringValuesBytes(int index)
Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
|
int |
getStringValuesCount()
Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
|
ProtocolStringList |
getStringValuesList()
Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
|
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CustomAttribute.Builder |
newBuilder() |
static CustomAttribute.Builder |
newBuilder(CustomAttribute prototype) |
CustomAttribute.Builder |
newBuilderForType() |
protected CustomAttribute.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static CustomAttribute |
parseDelimitedFrom(InputStream input) |
static CustomAttribute |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static CustomAttribute |
parseFrom(byte[] data) |
static CustomAttribute |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static CustomAttribute |
parseFrom(ByteBuffer data) |
static CustomAttribute |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static CustomAttribute |
parseFrom(ByteString data) |
static CustomAttribute |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static CustomAttribute |
parseFrom(CodedInputStream input) |
static CustomAttribute |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static CustomAttribute |
parseFrom(InputStream input) |
static CustomAttribute |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<CustomAttribute> |
parser() |
CustomAttribute.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int STRING_VALUES_FIELD_NUMBER
public static final int LONG_VALUES_FIELD_NUMBER
public static final int FILTERABLE_FIELD_NUMBER
public static final int KEYWORD_SEARCHABLE_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public ProtocolStringList getStringValuesList()
Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified. This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or `CASE_INSENSITIVE_MATCH`) search. For filterable `string_value`s, a maximum total number of 200 values is allowed, with each `string_value` has a byte size of no more than 500B. For unfilterable `string_values`, the maximum total byte size of unfilterable `string_values` is 50KB. Empty string isn't allowed.
repeated string string_values = 1;
getStringValuesList
in interface CustomAttributeOrBuilder
public int getStringValuesCount()
Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified. This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or `CASE_INSENSITIVE_MATCH`) search. For filterable `string_value`s, a maximum total number of 200 values is allowed, with each `string_value` has a byte size of no more than 500B. For unfilterable `string_values`, the maximum total byte size of unfilterable `string_values` is 50KB. Empty string isn't allowed.
repeated string string_values = 1;
getStringValuesCount
in interface CustomAttributeOrBuilder
public String getStringValues(int index)
Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified. This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or `CASE_INSENSITIVE_MATCH`) search. For filterable `string_value`s, a maximum total number of 200 values is allowed, with each `string_value` has a byte size of no more than 500B. For unfilterable `string_values`, the maximum total byte size of unfilterable `string_values` is 50KB. Empty string isn't allowed.
repeated string string_values = 1;
getStringValues
in interface CustomAttributeOrBuilder
index
- The index of the element to return.public ByteString getStringValuesBytes(int index)
Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified. This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or `CASE_INSENSITIVE_MATCH`) search. For filterable `string_value`s, a maximum total number of 200 values is allowed, with each `string_value` has a byte size of no more than 500B. For unfilterable `string_values`, the maximum total byte size of unfilterable `string_values` is 50KB. Empty string isn't allowed.
repeated string string_values = 1;
getStringValuesBytes
in interface CustomAttributeOrBuilder
index
- The index of the value to return.public List<Long> getLongValuesList()
Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified. This field is used to perform number range search. (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`. Currently at most 1 [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] is supported.
repeated int64 long_values = 2;
getLongValuesList
in interface CustomAttributeOrBuilder
public int getLongValuesCount()
Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified. This field is used to perform number range search. (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`. Currently at most 1 [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] is supported.
repeated int64 long_values = 2;
getLongValuesCount
in interface CustomAttributeOrBuilder
public long getLongValues(int index)
Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified. This field is used to perform number range search. (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`. Currently at most 1 [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] is supported.
repeated int64 long_values = 2;
getLongValues
in interface CustomAttributeOrBuilder
index
- The index of the element to return.public boolean getFilterable()
If the `filterable` flag is true, the custom field values may be used for custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter]. If false, these values may not be used for custom attribute filters. Default is false.
bool filterable = 3;
getFilterable
in interface CustomAttributeOrBuilder
public boolean getKeywordSearchable()
If the `keyword_searchable` flag is true, the keywords in custom fields are searchable by keyword match. If false, the values are not searchable by keyword match. Default is false.
bool keyword_searchable = 4;
getKeywordSearchable
in interface CustomAttributeOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static CustomAttribute parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CustomAttribute parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CustomAttribute parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CustomAttribute parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CustomAttribute parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CustomAttribute parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CustomAttribute parseFrom(InputStream input) throws IOException
IOException
public static CustomAttribute parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CustomAttribute parseDelimitedFrom(InputStream input) throws IOException
IOException
public static CustomAttribute parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CustomAttribute parseFrom(CodedInputStream input) throws IOException
IOException
public static CustomAttribute parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public CustomAttribute.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static CustomAttribute.Builder newBuilder()
public static CustomAttribute.Builder newBuilder(CustomAttribute prototype)
public CustomAttribute.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected CustomAttribute.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static CustomAttribute getDefaultInstance()
public static Parser<CustomAttribute> parser()
public Parser<CustomAttribute> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public CustomAttribute getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.