Package com.google.cloud.talent.v4
Class CustomAttribute.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>
-
- com.google.cloud.talent.v4.CustomAttribute.Builder
-
- All Implemented Interfaces:
CustomAttributeOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- CustomAttribute
public static final class CustomAttribute.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder> implements CustomAttributeOrBuilder
Custom attribute values that are either filterable or non-filterable.
Protobuf typegoogle.cloud.talent.v4.CustomAttribute
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomAttribute.Builder
addAllLongValues(Iterable<? extends Long> values)
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.CustomAttribute.Builder
addAllStringValues(Iterable<String> values)
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.CustomAttribute.Builder
addLongValues(long value)
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.CustomAttribute.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CustomAttribute.Builder
addStringValues(String value)
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.CustomAttribute.Builder
addStringValuesBytes(com.google.protobuf.ByteString value)
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.CustomAttribute
build()
CustomAttribute
buildPartial()
CustomAttribute.Builder
clear()
CustomAttribute.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CustomAttribute.Builder
clearFilterable()
If the `filterable` flag is true, the custom field values may be used for custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].CustomAttribute.Builder
clearKeywordSearchable()
If the `keyword_searchable` flag is true, the keywords in custom fields are searchable by keyword match.CustomAttribute.Builder
clearLongValues()
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.CustomAttribute.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CustomAttribute.Builder
clearStringValues()
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.CustomAttribute.Builder
clone()
CustomAttribute
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.v4.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.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.int
getLongValuesCount()
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.List<Long>
getLongValuesList()
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.String
getStringValues(int index)
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.com.google.protobuf.ByteString
getStringValuesBytes(int index)
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.int
getStringValuesCount()
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.com.google.protobuf.ProtocolStringList
getStringValuesList()
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CustomAttribute.Builder
mergeFrom(CustomAttribute other)
CustomAttribute.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CustomAttribute.Builder
mergeFrom(com.google.protobuf.Message other)
CustomAttribute.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CustomAttribute.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CustomAttribute.Builder
setFilterable(boolean value)
If the `filterable` flag is true, the custom field values may be used for custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].CustomAttribute.Builder
setKeywordSearchable(boolean value)
If the `keyword_searchable` flag is true, the keywords in custom fields are searchable by keyword match.CustomAttribute.Builder
setLongValues(int index, long value)
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.CustomAttribute.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
CustomAttribute.Builder
setStringValues(int index, String value)
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.CustomAttribute.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>
-
clear
public CustomAttribute.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>
-
getDefaultInstanceForType
public CustomAttribute getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CustomAttribute build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CustomAttribute buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CustomAttribute.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>
-
setField
public CustomAttribute.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>
-
clearField
public CustomAttribute.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>
-
clearOneof
public CustomAttribute.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>
-
setRepeatedField
public CustomAttribute.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>
-
addRepeatedField
public CustomAttribute.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>
-
mergeFrom
public CustomAttribute.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CustomAttribute.Builder>
-
mergeFrom
public CustomAttribute.Builder mergeFrom(CustomAttribute other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>
-
mergeFrom
public CustomAttribute.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CustomAttribute.Builder>
- Throws:
IOException
-
getStringValuesList
public com.google.protobuf.ProtocolStringList getStringValuesList()
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.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;
- Specified by:
getStringValuesList
in interfaceCustomAttributeOrBuilder
- Returns:
- A list containing the stringValues.
-
getStringValuesCount
public int getStringValuesCount()
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.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;
- Specified by:
getStringValuesCount
in interfaceCustomAttributeOrBuilder
- Returns:
- The count of stringValues.
-
getStringValues
public String getStringValues(int index)
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.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;
- Specified by:
getStringValues
in interfaceCustomAttributeOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The stringValues at the given index.
-
getStringValuesBytes
public com.google.protobuf.ByteString getStringValuesBytes(int index)
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.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;
- Specified by:
getStringValuesBytes
in interfaceCustomAttributeOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the stringValues at the given index.
-
setStringValues
public CustomAttribute.Builder setStringValues(int index, String value)
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.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;
- Parameters:
index
- The index to set the value at.value
- The stringValues to set.- Returns:
- This builder for chaining.
-
addStringValues
public CustomAttribute.Builder addStringValues(String value)
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.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;
- Parameters:
value
- The stringValues to add.- Returns:
- This builder for chaining.
-
addAllStringValues
public CustomAttribute.Builder addAllStringValues(Iterable<String> values)
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.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;
- Parameters:
values
- The stringValues to add.- Returns:
- This builder for chaining.
-
clearStringValues
public CustomAttribute.Builder clearStringValues()
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.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;
- Returns:
- This builder for chaining.
-
addStringValuesBytes
public CustomAttribute.Builder addStringValuesBytes(com.google.protobuf.ByteString value)
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.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;
- Parameters:
value
- The bytes of the stringValues to add.- Returns:
- This builder for chaining.
-
getLongValuesList
public List<Long> getLongValuesList()
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.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.v4.CustomAttribute.long_values] is supported.
repeated int64 long_values = 2;
- Specified by:
getLongValuesList
in interfaceCustomAttributeOrBuilder
- Returns:
- A list containing the longValues.
-
getLongValuesCount
public int getLongValuesCount()
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.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.v4.CustomAttribute.long_values] is supported.
repeated int64 long_values = 2;
- Specified by:
getLongValuesCount
in interfaceCustomAttributeOrBuilder
- Returns:
- The count of longValues.
-
getLongValues
public long getLongValues(int index)
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.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.v4.CustomAttribute.long_values] is supported.
repeated int64 long_values = 2;
- Specified by:
getLongValues
in interfaceCustomAttributeOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The longValues at the given index.
-
setLongValues
public CustomAttribute.Builder setLongValues(int index, long value)
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.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.v4.CustomAttribute.long_values] is supported.
repeated int64 long_values = 2;
- Parameters:
index
- The index to set the value at.value
- The longValues to set.- Returns:
- This builder for chaining.
-
addLongValues
public CustomAttribute.Builder addLongValues(long value)
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.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.v4.CustomAttribute.long_values] is supported.
repeated int64 long_values = 2;
- Parameters:
value
- The longValues to add.- Returns:
- This builder for chaining.
-
addAllLongValues
public CustomAttribute.Builder addAllLongValues(Iterable<? extends Long> values)
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.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.v4.CustomAttribute.long_values] is supported.
repeated int64 long_values = 2;
- Parameters:
values
- The longValues to add.- Returns:
- This builder for chaining.
-
clearLongValues
public CustomAttribute.Builder clearLongValues()
Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.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.v4.CustomAttribute.long_values] is supported.
repeated int64 long_values = 2;
- Returns:
- This builder for chaining.
-
getFilterable
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.v4.JobQuery.custom_attribute_filter]. If false, these values may not be used for custom attribute filters. Default is false.
bool filterable = 3;
- Specified by:
getFilterable
in interfaceCustomAttributeOrBuilder
- Returns:
- The filterable.
-
setFilterable
public CustomAttribute.Builder setFilterable(boolean value)
If the `filterable` flag is true, the custom field values may be used for custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter]. If false, these values may not be used for custom attribute filters. Default is false.
bool filterable = 3;
- Parameters:
value
- The filterable to set.- Returns:
- This builder for chaining.
-
clearFilterable
public CustomAttribute.Builder clearFilterable()
If the `filterable` flag is true, the custom field values may be used for custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter]. If false, these values may not be used for custom attribute filters. Default is false.
bool filterable = 3;
- Returns:
- This builder for chaining.
-
getKeywordSearchable
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;
- Specified by:
getKeywordSearchable
in interfaceCustomAttributeOrBuilder
- Returns:
- The keywordSearchable.
-
setKeywordSearchable
public CustomAttribute.Builder setKeywordSearchable(boolean value)
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;
- Parameters:
value
- The keywordSearchable to set.- Returns:
- This builder for chaining.
-
clearKeywordSearchable
public CustomAttribute.Builder clearKeywordSearchable()
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;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final CustomAttribute.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>
-
mergeUnknownFields
public final CustomAttribute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>
-
-