public static final class PersonNameFilter.Builder extends GeneratedMessageV3.Builder<PersonNameFilter.Builder> implements PersonNameFilterOrBuilder
Filter on person name.
Protobuf type google.cloud.talent.v4beta1.PersonNameFilter
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PersonNameFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PersonNameFilter build()
Returns
buildPartial()
public PersonNameFilter buildPartial()
Returns
clear()
public PersonNameFilter.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public PersonNameFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PersonNameFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPersonName()
public PersonNameFilter.Builder clearPersonName()
Required. The person name. For example, "John Smith".
Can be any combination of [PersonName.structured_name.given_name][],
[PersonName.structured_name.middle_initial][],
[PersonName.structured_name.family_name][], and
PersonName.formatted_name.
string person_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public PersonNameFilter.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public PersonNameFilter getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPersonName()
public String getPersonName()
Required. The person name. For example, "John Smith".
Can be any combination of [PersonName.structured_name.given_name][],
[PersonName.structured_name.middle_initial][],
[PersonName.structured_name.family_name][], and
PersonName.formatted_name.
string person_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The personName.
|
getPersonNameBytes()
public ByteString getPersonNameBytes()
Required. The person name. For example, "John Smith".
Can be any combination of [PersonName.structured_name.given_name][],
[PersonName.structured_name.middle_initial][],
[PersonName.structured_name.family_name][], and
PersonName.formatted_name.
string person_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for personName.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(PersonNameFilter other)
public PersonNameFilter.Builder mergeFrom(PersonNameFilter other)
Parameter
Returns
public PersonNameFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PersonNameFilter.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PersonNameFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PersonNameFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPersonName(String value)
public PersonNameFilter.Builder setPersonName(String value)
Required. The person name. For example, "John Smith".
Can be any combination of [PersonName.structured_name.given_name][],
[PersonName.structured_name.middle_initial][],
[PersonName.structured_name.family_name][], and
PersonName.formatted_name.
string person_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The personName to set.
|
Returns
setPersonNameBytes(ByteString value)
public PersonNameFilter.Builder setPersonNameBytes(ByteString value)
Required. The person name. For example, "John Smith".
Can be any combination of [PersonName.structured_name.given_name][],
[PersonName.structured_name.middle_initial][],
[PersonName.structured_name.family_name][], and
PersonName.formatted_name.
string person_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for personName to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PersonNameFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PersonNameFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides