Class CompensationFilter.Builder (2.44.0)

public static final class CompensationFilter.Builder extends GeneratedMessageV3.Builder<CompensationFilter.Builder> implements CompensationFilterOrBuilder

Filter on job compensation type and amount.

Protobuf type google.cloud.talent.v4beta1.CompensationFilter

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllUnits(Iterable<? extends CompensationInfo.CompensationUnit> values)

public CompensationFilter.Builder addAllUnits(Iterable<? extends CompensationInfo.CompensationUnit> values)

Required. Specify desired base compensation entry's CompensationInfo.CompensationUnit.

repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>

The units to add.

Returns
Type Description
CompensationFilter.Builder

This builder for chaining.

addAllUnitsValue(Iterable<Integer> values)

public CompensationFilter.Builder addAllUnitsValue(Iterable<Integer> values)

Required. Specify desired base compensation entry's CompensationInfo.CompensationUnit.

repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for units to add.

Returns
Type Description
CompensationFilter.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CompensationFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CompensationFilter.Builder
Overrides

addUnits(CompensationInfo.CompensationUnit value)

public CompensationFilter.Builder addUnits(CompensationInfo.CompensationUnit value)

Required. Specify desired base compensation entry's CompensationInfo.CompensationUnit.

repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CompensationInfo.CompensationUnit

The units to add.

Returns
Type Description
CompensationFilter.Builder

This builder for chaining.

addUnitsValue(int value)

public CompensationFilter.Builder addUnitsValue(int value)

Required. Specify desired base compensation entry's CompensationInfo.CompensationUnit.

repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for units to add.

Returns
Type Description
CompensationFilter.Builder

This builder for chaining.

build()

public CompensationFilter build()
Returns
Type Description
CompensationFilter

buildPartial()

public CompensationFilter buildPartial()
Returns
Type Description
CompensationFilter

clear()

public CompensationFilter.Builder clear()
Returns
Type Description
CompensationFilter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CompensationFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CompensationFilter.Builder
Overrides

clearIncludeJobsWithUnspecifiedCompensationRange()

public CompensationFilter.Builder clearIncludeJobsWithUnspecifiedCompensationRange()

If set to true, jobs with unspecified compensation range fields are included.

bool include_jobs_with_unspecified_compensation_range = 4;

Returns
Type Description
CompensationFilter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CompensationFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CompensationFilter.Builder
Overrides

clearRange()

public CompensationFilter.Builder clearRange()

Compensation range.

.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3;

Returns
Type Description
CompensationFilter.Builder

clearType()

public CompensationFilter.Builder clearType()

Required. Type of filter.

.google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CompensationFilter.Builder

This builder for chaining.

clearUnits()

public CompensationFilter.Builder clearUnits()

Required. Specify desired base compensation entry's CompensationInfo.CompensationUnit.

repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CompensationFilter.Builder

This builder for chaining.

clone()

public CompensationFilter.Builder clone()
Returns
Type Description
CompensationFilter.Builder
Overrides

getDefaultInstanceForType()

public CompensationFilter getDefaultInstanceForType()
Returns
Type Description
CompensationFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIncludeJobsWithUnspecifiedCompensationRange()

public boolean getIncludeJobsWithUnspecifiedCompensationRange()

If set to true, jobs with unspecified compensation range fields are included.

bool include_jobs_with_unspecified_compensation_range = 4;

Returns
Type Description
boolean

The includeJobsWithUnspecifiedCompensationRange.

getRange()

public CompensationInfo.CompensationRange getRange()

Compensation range.

.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3;

Returns
Type Description
CompensationInfo.CompensationRange

The range.

getRangeBuilder()

public CompensationInfo.CompensationRange.Builder getRangeBuilder()

Compensation range.

.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3;

Returns
Type Description
CompensationInfo.CompensationRange.Builder

getRangeOrBuilder()

public CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder()

Compensation range.

.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3;

Returns
Type Description
CompensationInfo.CompensationRangeOrBuilder

getType()

public CompensationFilter.FilterType getType()

Required. Type of filter.

.google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CompensationFilter.FilterType

The type.

getTypeValue()

public int getTypeValue()

Required. Type of filter.

.google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for type.

getUnits(int index)

public CompensationInfo.CompensationUnit getUnits(int index)

Required. Specify desired base compensation entry's CompensationInfo.CompensationUnit.

repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
CompensationInfo.CompensationUnit

The units at the given index.

getUnitsCount()

public int getUnitsCount()

Required. Specify desired base compensation entry's CompensationInfo.CompensationUnit.

repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of units.

getUnitsList()

public List<CompensationInfo.CompensationUnit> getUnitsList()

Required. Specify desired base compensation entry's CompensationInfo.CompensationUnit.

repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<CompensationUnit>

A list containing the units.

getUnitsValue(int index)

public int getUnitsValue(int index)

Required. Specify desired base compensation entry's CompensationInfo.CompensationUnit.

repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of units at the given index.

getUnitsValueList()

public List<Integer> getUnitsValueList()

Required. Specify desired base compensation entry's CompensationInfo.CompensationUnit.

repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for units.

hasRange()

public boolean hasRange()

Compensation range.

.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3;

Returns
Type Description
boolean

Whether the range field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CompensationFilter other)

public CompensationFilter.Builder mergeFrom(CompensationFilter other)
Parameter
Name Description
other CompensationFilter
Returns
Type Description
CompensationFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CompensationFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompensationFilter.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CompensationFilter.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CompensationFilter.Builder
Overrides

mergeRange(CompensationInfo.CompensationRange value)

public CompensationFilter.Builder mergeRange(CompensationInfo.CompensationRange value)

Compensation range.

.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3;

Parameter
Name Description
value CompensationInfo.CompensationRange
Returns
Type Description
CompensationFilter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CompensationFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CompensationFilter.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CompensationFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CompensationFilter.Builder
Overrides

setIncludeJobsWithUnspecifiedCompensationRange(boolean value)

public CompensationFilter.Builder setIncludeJobsWithUnspecifiedCompensationRange(boolean value)

If set to true, jobs with unspecified compensation range fields are included.

bool include_jobs_with_unspecified_compensation_range = 4;

Parameter
Name Description
value boolean

The includeJobsWithUnspecifiedCompensationRange to set.

Returns
Type Description
CompensationFilter.Builder

This builder for chaining.

setRange(CompensationInfo.CompensationRange value)

public CompensationFilter.Builder setRange(CompensationInfo.CompensationRange value)

Compensation range.

.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3;

Parameter
Name Description
value CompensationInfo.CompensationRange
Returns
Type Description
CompensationFilter.Builder

setRange(CompensationInfo.CompensationRange.Builder builderForValue)

public CompensationFilter.Builder setRange(CompensationInfo.CompensationRange.Builder builderForValue)

Compensation range.

.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3;

Parameter
Name Description
builderForValue CompensationInfo.CompensationRange.Builder
Returns
Type Description
CompensationFilter.Builder

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

public CompensationFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CompensationFilter.Builder
Overrides

setType(CompensationFilter.FilterType value)

public CompensationFilter.Builder setType(CompensationFilter.FilterType value)

Required. Type of filter.

.google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CompensationFilter.FilterType

The type to set.

Returns
Type Description
CompensationFilter.Builder

This builder for chaining.

setTypeValue(int value)

public CompensationFilter.Builder setTypeValue(int value)

Required. Type of filter.

.google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

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

Returns
Type Description
CompensationFilter.Builder

This builder for chaining.

setUnits(int index, CompensationInfo.CompensationUnit value)

public CompensationFilter.Builder setUnits(int index, CompensationInfo.CompensationUnit value)

Required. Specify desired base compensation entry's CompensationInfo.CompensationUnit.

repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int

The index to set the value at.

value CompensationInfo.CompensationUnit

The units to set.

Returns
Type Description
CompensationFilter.Builder

This builder for chaining.

setUnitsValue(int index, int value)

public CompensationFilter.Builder setUnitsValue(int index, int value)

Required. Specify desired base compensation entry's CompensationInfo.CompensationUnit.

repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int

The index to set the value at.

value int

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

Returns
Type Description
CompensationFilter.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CompensationFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CompensationFilter.Builder
Overrides