Class EmployerFilter.Builder

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EmployerFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EmployerFilter.Builder
Overrides

build()

public EmployerFilter build()
Returns
TypeDescription
EmployerFilter

buildPartial()

public EmployerFilter buildPartial()
Returns
TypeDescription
EmployerFilter

clear()

public EmployerFilter.Builder clear()
Returns
TypeDescription
EmployerFilter.Builder
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
TypeDescription
EmployerFilter.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EmployerFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EmployerFilter.Builder
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
TypeDescription
EmployerFilter.Builder

This builder for chaining.

clearNegated()

public EmployerFilter.Builder clearNegated()

Whether to apply negation to the filter so profiles matching the filter is excluded.

bool negated = 3;

Returns
TypeDescription
EmployerFilter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EmployerFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EmployerFilter.Builder
Overrides

clone()

public EmployerFilter.Builder clone()
Returns
TypeDescription
EmployerFilter.Builder
Overrides

getDefaultInstanceForType()

public EmployerFilter getDefaultInstanceForType()
Returns
TypeDescription
EmployerFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEmployer()

public String getEmployer()

Required. The name of the employer, for example "Google", "Alphabet".

string employer = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for employer.

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
TypeDescription
EmployerFilter.EmployerFilterMode

The mode.

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
TypeDescription
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
TypeDescription
boolean

The negated.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EmployerFilter other)

public EmployerFilter.Builder mergeFrom(EmployerFilter other)
Parameter
NameDescription
otherEmployerFilter
Returns
TypeDescription
EmployerFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EmployerFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EmployerFilter.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EmployerFilter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EmployerFilter.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EmployerFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EmployerFilter.Builder
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
NameDescription
valueString

The employer to set.

Returns
TypeDescription
EmployerFilter.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for employer to set.

Returns
TypeDescription
EmployerFilter.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EmployerFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EmployerFilter.Builder
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
NameDescription
valueEmployerFilter.EmployerFilterMode

The mode to set.

Returns
TypeDescription
EmployerFilter.Builder

This builder for chaining.

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
NameDescription
valueint

The enum numeric value on the wire for mode to set.

Returns
TypeDescription
EmployerFilter.Builder

This builder for chaining.

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
NameDescription
valueboolean

The negated to set.

Returns
TypeDescription
EmployerFilter.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EmployerFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EmployerFilter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EmployerFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EmployerFilter.Builder
Overrides