Class CompensationInfo.Builder (2.23.0)

public static final class CompensationInfo.Builder extends GeneratedMessageV3.Builder<CompensationInfo.Builder> implements CompensationInfoOrBuilder

Job compensation details.

Protobuf type google.cloud.talent.v4.CompensationInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllEntries(Iterable<? extends CompensationInfo.CompensationEntry> values)

public CompensationInfo.Builder addAllEntries(Iterable<? extends CompensationInfo.CompensationEntry> values)

Job compensation information.

At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as base compensation entry for the job.

repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.talent.v4.CompensationInfo.CompensationEntry>
Returns
TypeDescription
CompensationInfo.Builder

addEntries(CompensationInfo.CompensationEntry value)

public CompensationInfo.Builder addEntries(CompensationInfo.CompensationEntry value)

Job compensation information.

At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as base compensation entry for the job.

repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;

Parameter
NameDescription
valueCompensationInfo.CompensationEntry
Returns
TypeDescription
CompensationInfo.Builder

addEntries(CompensationInfo.CompensationEntry.Builder builderForValue)

public CompensationInfo.Builder addEntries(CompensationInfo.CompensationEntry.Builder builderForValue)

Job compensation information.

At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as base compensation entry for the job.

repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;

Parameter
NameDescription
builderForValueCompensationInfo.CompensationEntry.Builder
Returns
TypeDescription
CompensationInfo.Builder

addEntries(int index, CompensationInfo.CompensationEntry value)

public CompensationInfo.Builder addEntries(int index, CompensationInfo.CompensationEntry value)

Job compensation information.

At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as base compensation entry for the job.

repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;

Parameters
NameDescription
indexint
valueCompensationInfo.CompensationEntry
Returns
TypeDescription
CompensationInfo.Builder

addEntries(int index, CompensationInfo.CompensationEntry.Builder builderForValue)

public CompensationInfo.Builder addEntries(int index, CompensationInfo.CompensationEntry.Builder builderForValue)

Job compensation information.

At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as base compensation entry for the job.

repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;

Parameters
NameDescription
indexint
builderForValueCompensationInfo.CompensationEntry.Builder
Returns
TypeDescription
CompensationInfo.Builder

addEntriesBuilder()

public CompensationInfo.CompensationEntry.Builder addEntriesBuilder()

Job compensation information.

At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as base compensation entry for the job.

repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;

Returns
TypeDescription
CompensationInfo.CompensationEntry.Builder

addEntriesBuilder(int index)

public CompensationInfo.CompensationEntry.Builder addEntriesBuilder(int index)

Job compensation information.

At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as base compensation entry for the job.

repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CompensationInfo.CompensationEntry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CompensationInfo build()
Returns
TypeDescription
CompensationInfo

buildPartial()

public CompensationInfo buildPartial()
Returns
TypeDescription
CompensationInfo

clear()

public CompensationInfo.Builder clear()
Returns
TypeDescription
CompensationInfo.Builder
Overrides

clearAnnualizedBaseCompensationRange()

public CompensationInfo.Builder clearAnnualizedBaseCompensationRange()

Output only. Annualized base compensation range. Computed as base compensation entry's CompensationEntry.amount times CompensationEntry.expected_units_per_year.

See CompensationEntry for explanation on compensation annualization.

.google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CompensationInfo.Builder

clearAnnualizedTotalCompensationRange()

public CompensationInfo.Builder clearAnnualizedTotalCompensationRange()

Output only. Annualized total compensation range. Computed as all compensation entries' CompensationEntry.amount times CompensationEntry.expected_units_per_year.

See CompensationEntry for explanation on compensation annualization.

.google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CompensationInfo.Builder

clearEntries()

public CompensationInfo.Builder clearEntries()

Job compensation information.

At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as base compensation entry for the job.

repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;

Returns
TypeDescription
CompensationInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public CompensationInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CompensationInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAnnualizedBaseCompensationRange()

public CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange()

Output only. Annualized base compensation range. Computed as base compensation entry's CompensationEntry.amount times CompensationEntry.expected_units_per_year.

See CompensationEntry for explanation on compensation annualization.

.google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CompensationInfo.CompensationRange

The annualizedBaseCompensationRange.

getAnnualizedBaseCompensationRangeBuilder()

public CompensationInfo.CompensationRange.Builder getAnnualizedBaseCompensationRangeBuilder()

Output only. Annualized base compensation range. Computed as base compensation entry's CompensationEntry.amount times CompensationEntry.expected_units_per_year.

See CompensationEntry for explanation on compensation annualization.

.google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CompensationInfo.CompensationRange.Builder

getAnnualizedBaseCompensationRangeOrBuilder()

public CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder()

Output only. Annualized base compensation range. Computed as base compensation entry's CompensationEntry.amount times CompensationEntry.expected_units_per_year.

See CompensationEntry for explanation on compensation annualization.

.google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CompensationInfo.CompensationRangeOrBuilder

getAnnualizedTotalCompensationRange()

public CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange()

Output only. Annualized total compensation range. Computed as all compensation entries' CompensationEntry.amount times CompensationEntry.expected_units_per_year.

See CompensationEntry for explanation on compensation annualization.

.google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CompensationInfo.CompensationRange

The annualizedTotalCompensationRange.

getAnnualizedTotalCompensationRangeBuilder()

public CompensationInfo.CompensationRange.Builder getAnnualizedTotalCompensationRangeBuilder()

Output only. Annualized total compensation range. Computed as all compensation entries' CompensationEntry.amount times CompensationEntry.expected_units_per_year.

See CompensationEntry for explanation on compensation annualization.

.google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CompensationInfo.CompensationRange.Builder

getAnnualizedTotalCompensationRangeOrBuilder()

public CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder()

Output only. Annualized total compensation range. Computed as all compensation entries' CompensationEntry.amount times CompensationEntry.expected_units_per_year.

See CompensationEntry for explanation on compensation annualization.

.google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CompensationInfo.CompensationRangeOrBuilder

getDefaultInstanceForType()

public CompensationInfo getDefaultInstanceForType()
Returns
TypeDescription
CompensationInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntries(int index)

public CompensationInfo.CompensationEntry getEntries(int index)

Job compensation information.

At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as base compensation entry for the job.

repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CompensationInfo.CompensationEntry

getEntriesBuilder(int index)

public CompensationInfo.CompensationEntry.Builder getEntriesBuilder(int index)

Job compensation information.

At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as base compensation entry for the job.

repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CompensationInfo.CompensationEntry.Builder

getEntriesBuilderList()

public List<CompensationInfo.CompensationEntry.Builder> getEntriesBuilderList()

Job compensation information.

At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as base compensation entry for the job.

repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;

Returns
TypeDescription
List<Builder>

getEntriesCount()

public int getEntriesCount()

Job compensation information.

At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as base compensation entry for the job.

repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;

Returns
TypeDescription
int

getEntriesList()

public List<CompensationInfo.CompensationEntry> getEntriesList()

Job compensation information.

At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as base compensation entry for the job.

repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;

Returns
TypeDescription
List<CompensationEntry>

getEntriesOrBuilder(int index)

public CompensationInfo.CompensationEntryOrBuilder getEntriesOrBuilder(int index)

Job compensation information.

At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as base compensation entry for the job.

repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CompensationInfo.CompensationEntryOrBuilder

getEntriesOrBuilderList()

public List<? extends CompensationInfo.CompensationEntryOrBuilder> getEntriesOrBuilderList()

Job compensation information.

At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as base compensation entry for the job.

repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;

Returns
TypeDescription
List<? extends com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>

hasAnnualizedBaseCompensationRange()

public boolean hasAnnualizedBaseCompensationRange()

Output only. Annualized base compensation range. Computed as base compensation entry's CompensationEntry.amount times CompensationEntry.expected_units_per_year.

See CompensationEntry for explanation on compensation annualization.

.google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the annualizedBaseCompensationRange field is set.

hasAnnualizedTotalCompensationRange()

public boolean hasAnnualizedTotalCompensationRange()

Output only. Annualized total compensation range. Computed as all compensation entries' CompensationEntry.amount times CompensationEntry.expected_units_per_year.

See CompensationEntry for explanation on compensation annualization.

.google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the annualizedTotalCompensationRange field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAnnualizedBaseCompensationRange(CompensationInfo.CompensationRange value)

public CompensationInfo.Builder mergeAnnualizedBaseCompensationRange(CompensationInfo.CompensationRange value)

Output only. Annualized base compensation range. Computed as base compensation entry's CompensationEntry.amount times CompensationEntry.expected_units_per_year.

See CompensationEntry for explanation on compensation annualization.

.google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueCompensationInfo.CompensationRange
Returns
TypeDescription
CompensationInfo.Builder

mergeAnnualizedTotalCompensationRange(CompensationInfo.CompensationRange value)

public CompensationInfo.Builder mergeAnnualizedTotalCompensationRange(CompensationInfo.CompensationRange value)

Output only. Annualized total compensation range. Computed as all compensation entries' CompensationEntry.amount times CompensationEntry.expected_units_per_year.

See CompensationEntry for explanation on compensation annualization.

.google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueCompensationInfo.CompensationRange
Returns
TypeDescription
CompensationInfo.Builder

mergeFrom(CompensationInfo other)

public CompensationInfo.Builder mergeFrom(CompensationInfo other)
Parameter
NameDescription
otherCompensationInfo
Returns
TypeDescription
CompensationInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CompensationInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CompensationInfo.Builder
Overrides

removeEntries(int index)

public CompensationInfo.Builder removeEntries(int index)

Job compensation information.

At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as base compensation entry for the job.

repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CompensationInfo.Builder

setAnnualizedBaseCompensationRange(CompensationInfo.CompensationRange value)

public CompensationInfo.Builder setAnnualizedBaseCompensationRange(CompensationInfo.CompensationRange value)

Output only. Annualized base compensation range. Computed as base compensation entry's CompensationEntry.amount times CompensationEntry.expected_units_per_year.

See CompensationEntry for explanation on compensation annualization.

.google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueCompensationInfo.CompensationRange
Returns
TypeDescription
CompensationInfo.Builder

setAnnualizedBaseCompensationRange(CompensationInfo.CompensationRange.Builder builderForValue)

public CompensationInfo.Builder setAnnualizedBaseCompensationRange(CompensationInfo.CompensationRange.Builder builderForValue)

Output only. Annualized base compensation range. Computed as base compensation entry's CompensationEntry.amount times CompensationEntry.expected_units_per_year.

See CompensationEntry for explanation on compensation annualization.

.google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueCompensationInfo.CompensationRange.Builder
Returns
TypeDescription
CompensationInfo.Builder

setAnnualizedTotalCompensationRange(CompensationInfo.CompensationRange value)

public CompensationInfo.Builder setAnnualizedTotalCompensationRange(CompensationInfo.CompensationRange value)

Output only. Annualized total compensation range. Computed as all compensation entries' CompensationEntry.amount times CompensationEntry.expected_units_per_year.

See CompensationEntry for explanation on compensation annualization.

.google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueCompensationInfo.CompensationRange
Returns
TypeDescription
CompensationInfo.Builder

setAnnualizedTotalCompensationRange(CompensationInfo.CompensationRange.Builder builderForValue)

public CompensationInfo.Builder setAnnualizedTotalCompensationRange(CompensationInfo.CompensationRange.Builder builderForValue)

Output only. Annualized total compensation range. Computed as all compensation entries' CompensationEntry.amount times CompensationEntry.expected_units_per_year.

See CompensationEntry for explanation on compensation annualization.

.google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueCompensationInfo.CompensationRange.Builder
Returns
TypeDescription
CompensationInfo.Builder

setEntries(int index, CompensationInfo.CompensationEntry value)

public CompensationInfo.Builder setEntries(int index, CompensationInfo.CompensationEntry value)

Job compensation information.

At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as base compensation entry for the job.

repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;

Parameters
NameDescription
indexint
valueCompensationInfo.CompensationEntry
Returns
TypeDescription
CompensationInfo.Builder

setEntries(int index, CompensationInfo.CompensationEntry.Builder builderForValue)

public CompensationInfo.Builder setEntries(int index, CompensationInfo.CompensationEntry.Builder builderForValue)

Job compensation information.

At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as base compensation entry for the job.

repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;

Parameters
NameDescription
indexint
builderForValueCompensationInfo.CompensationEntry.Builder
Returns
TypeDescription
CompensationInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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