public static final class EmployerFilter.Builder extends GeneratedMessageV3.Builder<EmployerFilter.Builder> implements EmployerFilterOrBuilder
Employer filter of the search.
Protobuf type google.cloud.talent.v4beta1.EmployerFilter
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EmployerFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public EmployerFilter build()
Returns
buildPartial()
public EmployerFilter buildPartial()
Returns
clear()
public EmployerFilter.Builder clear()
Returns
Overrides
clearEmployer()
public EmployerFilter.Builder clearEmployer()
Required. The name of the employer, for example "Google", "Alphabet".
string employer = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public EmployerFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMode()
public EmployerFilter.Builder clearMode()
Define set of EmploymentRecords to search against.
Defaults to EmployerFilterMode.ALL_EMPLOYMENT_RECORDS.
.google.cloud.talent.v4beta1.EmployerFilter.EmployerFilterMode mode = 2;
Returns
clearNegated()
public EmployerFilter.Builder clearNegated()
Whether to apply negation to the filter so profiles matching the filter
is excluded.
bool negated = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public EmployerFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public EmployerFilter.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public EmployerFilter getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEmployer()
public String getEmployer()
Required. The name of the employer, for example "Google", "Alphabet".
string employer = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The employer.
|
getEmployerBytes()
public ByteString getEmployerBytes()
Required. The name of the employer, for example "Google", "Alphabet".
string employer = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getMode()
public EmployerFilter.EmployerFilterMode getMode()
Define set of EmploymentRecords to search against.
Defaults to EmployerFilterMode.ALL_EMPLOYMENT_RECORDS.
.google.cloud.talent.v4beta1.EmployerFilter.EmployerFilterMode mode = 2;
Returns
getModeValue()
public int getModeValue()
Define set of EmploymentRecords to search against.
Defaults to EmployerFilterMode.ALL_EMPLOYMENT_RECORDS.
.google.cloud.talent.v4beta1.EmployerFilter.EmployerFilterMode mode = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for mode.
|
getNegated()
public boolean getNegated()
Whether to apply negation to the filter so profiles matching the filter
is excluded.
bool negated = 3;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(EmployerFilter other)
public EmployerFilter.Builder mergeFrom(EmployerFilter other)
Parameter
Returns
public EmployerFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public EmployerFilter.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EmployerFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEmployer(String value)
public EmployerFilter.Builder setEmployer(String value)
Required. The name of the employer, for example "Google", "Alphabet".
string employer = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The employer to set.
|
Returns
setEmployerBytes(ByteString value)
public EmployerFilter.Builder setEmployerBytes(ByteString value)
Required. The name of the employer, for example "Google", "Alphabet".
string employer = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for employer to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public EmployerFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMode(EmployerFilter.EmployerFilterMode value)
public EmployerFilter.Builder setMode(EmployerFilter.EmployerFilterMode value)
Define set of EmploymentRecords to search against.
Defaults to EmployerFilterMode.ALL_EMPLOYMENT_RECORDS.
.google.cloud.talent.v4beta1.EmployerFilter.EmployerFilterMode mode = 2;
Parameter
Returns
setModeValue(int value)
public EmployerFilter.Builder setModeValue(int value)
Define set of EmploymentRecords to search against.
Defaults to EmployerFilterMode.ALL_EMPLOYMENT_RECORDS.
.google.cloud.talent.v4beta1.EmployerFilter.EmployerFilterMode mode = 2;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for mode to set.
|
Returns
setNegated(boolean value)
public EmployerFilter.Builder setNegated(boolean value)
Whether to apply negation to the filter so profiles matching the filter
is excluded.
bool negated = 3;
Parameter
Name | Description |
value | boolean
The negated to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EmployerFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EmployerFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides