Class CompensationInfo.CompensationEntry.Builder (2.53.0)

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

A compensation entry that represents one component of compensation, such as base pay, bonus, or other compensation type.

Annualization: One compensation entry can be annualized if

  • it contains valid amount or range.
  • and its expected_units_per_year is set or can be derived. Its annualized range is determined as (amount or range) times expected_units_per_year.

Protobuf type google.cloud.talent.v4.CompensationInfo.CompensationEntry

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CompensationInfo.CompensationEntry build()
Returns
Type Description
CompensationInfo.CompensationEntry

buildPartial()

public CompensationInfo.CompensationEntry buildPartial()
Returns
Type Description
CompensationInfo.CompensationEntry

clear()

public CompensationInfo.CompensationEntry.Builder clear()
Returns
Type Description
CompensationInfo.CompensationEntry.Builder
Overrides

clearAmount()

public CompensationInfo.CompensationEntry.Builder clearAmount()

Compensation amount.

.google.type.Money amount = 3;

Returns
Type Description
CompensationInfo.CompensationEntry.Builder

clearCompensationAmount()

public CompensationInfo.CompensationEntry.Builder clearCompensationAmount()
Returns
Type Description
CompensationInfo.CompensationEntry.Builder

clearDescription()

public CompensationInfo.CompensationEntry.Builder clearDescription()

Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.

string description = 5;

Returns
Type Description
CompensationInfo.CompensationEntry.Builder

This builder for chaining.

clearExpectedUnitsPerYear()

public CompensationInfo.CompensationEntry.Builder clearExpectedUnitsPerYear()

Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit. Default values:

  • HOURLY: 2080
  • DAILY: 260
  • WEEKLY: 52
  • MONTHLY: 12
  • ANNUAL: 1

.google.protobuf.DoubleValue expected_units_per_year = 6;

Returns
Type Description
CompensationInfo.CompensationEntry.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRange()

public CompensationInfo.CompensationEntry.Builder clearRange()

Compensation range.

.google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4;

Returns
Type Description
CompensationInfo.CompensationEntry.Builder

clearType()

public CompensationInfo.CompensationEntry.Builder clearType()

Compensation type.

Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED.

.google.cloud.talent.v4.CompensationInfo.CompensationType type = 1;

Returns
Type Description
CompensationInfo.CompensationEntry.Builder

This builder for chaining.

clearUnit()

public CompensationInfo.CompensationEntry.Builder clearUnit()

Frequency of the specified amount.

Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.

.google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2;

Returns
Type Description
CompensationInfo.CompensationEntry.Builder

This builder for chaining.

clone()

public CompensationInfo.CompensationEntry.Builder clone()
Returns
Type Description
CompensationInfo.CompensationEntry.Builder
Overrides

getAmount()

public Money getAmount()

Compensation amount.

.google.type.Money amount = 3;

Returns
Type Description
com.google.type.Money

The amount.

getAmountBuilder()

public Money.Builder getAmountBuilder()

Compensation amount.

.google.type.Money amount = 3;

Returns
Type Description
com.google.type.Money.Builder

getAmountOrBuilder()

public MoneyOrBuilder getAmountOrBuilder()

Compensation amount.

.google.type.Money amount = 3;

Returns
Type Description
com.google.type.MoneyOrBuilder

getCompensationAmountCase()

public CompensationInfo.CompensationEntry.CompensationAmountCase getCompensationAmountCase()
Returns
Type Description
CompensationInfo.CompensationEntry.CompensationAmountCase

getDefaultInstanceForType()

public CompensationInfo.CompensationEntry getDefaultInstanceForType()
Returns
Type Description
CompensationInfo.CompensationEntry

getDescription()

public String getDescription()

Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.

string description = 5;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.

string description = 5;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getExpectedUnitsPerYear()

public DoubleValue getExpectedUnitsPerYear()

Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit. Default values:

  • HOURLY: 2080
  • DAILY: 260
  • WEEKLY: 52
  • MONTHLY: 12
  • ANNUAL: 1

.google.protobuf.DoubleValue expected_units_per_year = 6;

Returns
Type Description
DoubleValue

The expectedUnitsPerYear.

getExpectedUnitsPerYearBuilder()

public DoubleValue.Builder getExpectedUnitsPerYearBuilder()

Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit. Default values:

  • HOURLY: 2080
  • DAILY: 260
  • WEEKLY: 52
  • MONTHLY: 12
  • ANNUAL: 1

.google.protobuf.DoubleValue expected_units_per_year = 6;

Returns
Type Description
Builder

getExpectedUnitsPerYearOrBuilder()

public DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder()

Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit. Default values:

  • HOURLY: 2080
  • DAILY: 260
  • WEEKLY: 52
  • MONTHLY: 12
  • ANNUAL: 1

.google.protobuf.DoubleValue expected_units_per_year = 6;

Returns
Type Description
DoubleValueOrBuilder

getRange()

public CompensationInfo.CompensationRange getRange()

Compensation range.

.google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4;

Returns
Type Description
CompensationInfo.CompensationRange

The range.

getRangeBuilder()

public CompensationInfo.CompensationRange.Builder getRangeBuilder()

Compensation range.

.google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4;

Returns
Type Description
CompensationInfo.CompensationRange.Builder

getRangeOrBuilder()

public CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder()

Compensation range.

.google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4;

Returns
Type Description
CompensationInfo.CompensationRangeOrBuilder

getType()

public CompensationInfo.CompensationType getType()

Compensation type.

Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED.

.google.cloud.talent.v4.CompensationInfo.CompensationType type = 1;

Returns
Type Description
CompensationInfo.CompensationType

The type.

getTypeValue()

public int getTypeValue()

Compensation type.

Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED.

.google.cloud.talent.v4.CompensationInfo.CompensationType type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

getUnit()

public CompensationInfo.CompensationUnit getUnit()

Frequency of the specified amount.

Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.

.google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2;

Returns
Type Description
CompensationInfo.CompensationUnit

The unit.

getUnitValue()

public int getUnitValue()

Frequency of the specified amount.

Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.

.google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2;

Returns
Type Description
int

The enum numeric value on the wire for unit.

hasAmount()

public boolean hasAmount()

Compensation amount.

.google.type.Money amount = 3;

Returns
Type Description
boolean

Whether the amount field is set.

hasExpectedUnitsPerYear()

public boolean hasExpectedUnitsPerYear()

Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit. Default values:

  • HOURLY: 2080
  • DAILY: 260
  • WEEKLY: 52
  • MONTHLY: 12
  • ANNUAL: 1

.google.protobuf.DoubleValue expected_units_per_year = 6;

Returns
Type Description
boolean

Whether the expectedUnitsPerYear field is set.

hasRange()

public boolean hasRange()

Compensation range.

.google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4;

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

mergeAmount(Money value)

public CompensationInfo.CompensationEntry.Builder mergeAmount(Money value)

Compensation amount.

.google.type.Money amount = 3;

Parameter
Name Description
value com.google.type.Money
Returns
Type Description
CompensationInfo.CompensationEntry.Builder

mergeExpectedUnitsPerYear(DoubleValue value)

public CompensationInfo.CompensationEntry.Builder mergeExpectedUnitsPerYear(DoubleValue value)

Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit. Default values:

  • HOURLY: 2080
  • DAILY: 260
  • WEEKLY: 52
  • MONTHLY: 12
  • ANNUAL: 1

.google.protobuf.DoubleValue expected_units_per_year = 6;

Parameter
Name Description
value DoubleValue
Returns
Type Description
CompensationInfo.CompensationEntry.Builder

mergeFrom(CompensationInfo.CompensationEntry other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRange(CompensationInfo.CompensationRange value)

public CompensationInfo.CompensationEntry.Builder mergeRange(CompensationInfo.CompensationRange value)

Compensation range.

.google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4;

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAmount(Money value)

public CompensationInfo.CompensationEntry.Builder setAmount(Money value)

Compensation amount.

.google.type.Money amount = 3;

Parameter
Name Description
value com.google.type.Money
Returns
Type Description
CompensationInfo.CompensationEntry.Builder

setAmount(Money.Builder builderForValue)

public CompensationInfo.CompensationEntry.Builder setAmount(Money.Builder builderForValue)

Compensation amount.

.google.type.Money amount = 3;

Parameter
Name Description
builderForValue com.google.type.Money.Builder
Returns
Type Description
CompensationInfo.CompensationEntry.Builder

setDescription(String value)

public CompensationInfo.CompensationEntry.Builder setDescription(String value)

Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.

string description = 5;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
CompensationInfo.CompensationEntry.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public CompensationInfo.CompensationEntry.Builder setDescriptionBytes(ByteString value)

Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.

string description = 5;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
CompensationInfo.CompensationEntry.Builder

This builder for chaining.

setExpectedUnitsPerYear(DoubleValue value)

public CompensationInfo.CompensationEntry.Builder setExpectedUnitsPerYear(DoubleValue value)

Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit. Default values:

  • HOURLY: 2080
  • DAILY: 260
  • WEEKLY: 52
  • MONTHLY: 12
  • ANNUAL: 1

.google.protobuf.DoubleValue expected_units_per_year = 6;

Parameter
Name Description
value DoubleValue
Returns
Type Description
CompensationInfo.CompensationEntry.Builder

setExpectedUnitsPerYear(DoubleValue.Builder builderForValue)

public CompensationInfo.CompensationEntry.Builder setExpectedUnitsPerYear(DoubleValue.Builder builderForValue)

Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit. Default values:

  • HOURLY: 2080
  • DAILY: 260
  • WEEKLY: 52
  • MONTHLY: 12
  • ANNUAL: 1

.google.protobuf.DoubleValue expected_units_per_year = 6;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CompensationInfo.CompensationEntry.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setRange(CompensationInfo.CompensationRange value)

public CompensationInfo.CompensationEntry.Builder setRange(CompensationInfo.CompensationRange value)

Compensation range.

.google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4;

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

setRange(CompensationInfo.CompensationRange.Builder builderForValue)

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

Compensation range.

.google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4;

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

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

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

setType(CompensationInfo.CompensationType value)

public CompensationInfo.CompensationEntry.Builder setType(CompensationInfo.CompensationType value)

Compensation type.

Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED.

.google.cloud.talent.v4.CompensationInfo.CompensationType type = 1;

Parameter
Name Description
value CompensationInfo.CompensationType

The type to set.

Returns
Type Description
CompensationInfo.CompensationEntry.Builder

This builder for chaining.

setTypeValue(int value)

public CompensationInfo.CompensationEntry.Builder setTypeValue(int value)

Compensation type.

Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED.

.google.cloud.talent.v4.CompensationInfo.CompensationType type = 1;

Parameter
Name Description
value int

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

Returns
Type Description
CompensationInfo.CompensationEntry.Builder

This builder for chaining.

setUnit(CompensationInfo.CompensationUnit value)

public CompensationInfo.CompensationEntry.Builder setUnit(CompensationInfo.CompensationUnit value)

Frequency of the specified amount.

Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.

.google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2;

Parameter
Name Description
value CompensationInfo.CompensationUnit

The unit to set.

Returns
Type Description
CompensationInfo.CompensationEntry.Builder

This builder for chaining.

setUnitValue(int value)

public CompensationInfo.CompensationEntry.Builder setUnitValue(int value)

Frequency of the specified amount.

Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.

.google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2;

Parameter
Name Description
value int

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

Returns
Type Description
CompensationInfo.CompensationEntry.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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