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 type
google.cloud.talent.v4beta1.CustomAttribute| Modifier and Type | Method and Description |
|---|---|
CustomAttribute.Builder |
addAllLongValues(Iterable<? extends Long> values)
Optional but 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.
|
CustomAttribute.Builder |
addAllStringValues(Iterable<String> values)
Optional but 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.
|
CustomAttribute.Builder |
addLongValues(long value)
Optional but 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.
|
CustomAttribute.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CustomAttribute.Builder |
addStringValues(String value)
Optional but 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.
|
CustomAttribute.Builder |
addStringValuesBytes(com.google.protobuf.ByteString value)
Optional but 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.
|
CustomAttribute |
build() |
CustomAttribute |
buildPartial() |
CustomAttribute.Builder |
clear() |
CustomAttribute.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CustomAttribute.Builder |
clearFilterable()
Optional.
|
CustomAttribute.Builder |
clearLongValues()
Optional but 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.
|
CustomAttribute.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CustomAttribute.Builder |
clearStringValues()
Optional but 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.
|
CustomAttribute.Builder |
clone() |
CustomAttribute |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getFilterable()
Optional.
|
long |
getLongValues(int index)
Optional but 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()
Optional but 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()
Optional but 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.
|
String |
getStringValues(int index)
Optional but 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.
|
com.google.protobuf.ByteString |
getStringValuesBytes(int index)
Optional but 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()
Optional but 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.
|
com.google.protobuf.ProtocolStringList |
getStringValuesList()
Optional but 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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CustomAttribute.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CustomAttribute.Builder |
mergeFrom(CustomAttribute other) |
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)
Optional.
|
CustomAttribute.Builder |
setLongValues(int index,
long value)
Optional but 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.
|
CustomAttribute.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CustomAttribute.Builder |
setStringValues(int index,
String value)
Optional but 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.
|
CustomAttribute.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>public CustomAttribute.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>public CustomAttribute getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CustomAttribute build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CustomAttribute buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CustomAttribute.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>public CustomAttribute.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>public CustomAttribute.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>public CustomAttribute.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>public CustomAttribute.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>public CustomAttribute.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>public CustomAttribute.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomAttribute.Builder>public CustomAttribute.Builder mergeFrom(CustomAttribute other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>public CustomAttribute.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomAttribute.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getStringValuesList()
Optional but 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 255B. 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 CustomAttributeOrBuilderpublic int getStringValuesCount()
Optional but 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 255B. 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 CustomAttributeOrBuilderpublic String getStringValues(int index)
Optional but 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 255B. 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 CustomAttributeOrBuilderpublic com.google.protobuf.ByteString getStringValuesBytes(int index)
Optional but 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 255B. 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 CustomAttributeOrBuilderpublic CustomAttribute.Builder setStringValues(int index, String value)
Optional but 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 255B. 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;public CustomAttribute.Builder addStringValues(String value)
Optional but 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 255B. 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;public CustomAttribute.Builder addAllStringValues(Iterable<String> values)
Optional but 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 255B. 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;public CustomAttribute.Builder clearStringValues()
Optional but 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 255B. 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;public CustomAttribute.Builder addStringValuesBytes(com.google.protobuf.ByteString value)
Optional but 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 255B. 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;public List<Long> getLongValuesList()
Optional but 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 CustomAttributeOrBuilderpublic int getLongValuesCount()
Optional but 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 CustomAttributeOrBuilderpublic long getLongValues(int index)
Optional but 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 CustomAttributeOrBuilderpublic CustomAttribute.Builder setLongValues(int index, long value)
Optional but 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;public CustomAttribute.Builder addLongValues(long value)
Optional but 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;public CustomAttribute.Builder addAllLongValues(Iterable<? extends Long> values)
Optional but 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;public CustomAttribute.Builder clearLongValues()
Optional but 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;public boolean getFilterable()
Optional. If the `filterable` flag is true, custom field values are searchable. If false, values are not searchable. Default is false.
bool filterable = 3;getFilterable in interface CustomAttributeOrBuilderpublic CustomAttribute.Builder setFilterable(boolean value)
Optional. If the `filterable` flag is true, custom field values are searchable. If false, values are not searchable. Default is false.
bool filterable = 3;public CustomAttribute.Builder clearFilterable()
Optional. If the `filterable` flag is true, custom field values are searchable. If false, values are not searchable. Default is false.
bool filterable = 3;public final CustomAttribute.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>public final CustomAttribute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomAttribute.Builder>Copyright © 2019 Google LLC. All rights reserved.