Class CompensationInfo.CompensationEntry.Builder (2.4.6)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CompensationInfo.CompensationEntry build()
Returns
TypeDescription
CompensationInfo.CompensationEntry

buildPartial()

public CompensationInfo.CompensationEntry buildPartial()
Returns
TypeDescription
CompensationInfo.CompensationEntry

clear()

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

clearAmount()

public CompensationInfo.CompensationEntry.Builder clearAmount()

Compensation amount.

.google.type.Money amount = 3;

Returns
TypeDescription
CompensationInfo.CompensationEntry.Builder

clearCompensationAmount()

public CompensationInfo.CompensationEntry.Builder clearCompensationAmount()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CompensationInfo.CompensationEntry.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRange()

public CompensationInfo.CompensationEntry.Builder clearRange()

Compensation range.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CompensationInfo.CompensationEntry.Builder

This builder for chaining.

clone()

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

getAmount()

public Money getAmount()

Compensation amount.

.google.type.Money amount = 3;

Returns
TypeDescription
com.google.type.Money

The amount.

getAmountBuilder()

public Money.Builder getAmountBuilder()

Compensation amount.

.google.type.Money amount = 3;

Returns
TypeDescription
com.google.type.Money.Builder

getAmountOrBuilder()

public MoneyOrBuilder getAmountOrBuilder()

Compensation amount.

.google.type.Money amount = 3;

Returns
TypeDescription
com.google.type.MoneyOrBuilder

getCompensationAmountCase()

public CompensationInfo.CompensationEntry.CompensationAmountCase getCompensationAmountCase()
Returns
TypeDescription
CompensationInfo.CompensationEntry.CompensationAmountCase

getDefaultInstanceForType()

public CompensationInfo.CompensationEntry getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DoubleValueOrBuilder

getRange()

public CompensationInfo.CompensationRange getRange()

Compensation range.

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

Returns
TypeDescription
CompensationInfo.CompensationRange

The range.

getRangeBuilder()

public CompensationInfo.CompensationRange.Builder getRangeBuilder()

Compensation range.

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

Returns
TypeDescription
CompensationInfo.CompensationRange.Builder

getRangeOrBuilder()

public CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder()

Compensation range.

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

Returns
TypeDescription
CompensationInfo.CompensationRangeOrBuilder

getType()

public CompensationInfo.CompensationType getType()

Compensation type. Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED.

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

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

The enum numeric value on the wire for unit.

hasAmount()

public boolean hasAmount()

Compensation amount.

.google.type.Money amount = 3;

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

Whether the expectedUnitsPerYear field is set.

hasRange()

public boolean hasRange()

Compensation range.

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

Returns
TypeDescription
boolean

Whether the range field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAmount(Money value)

public CompensationInfo.CompensationEntry.Builder mergeAmount(Money value)

Compensation amount.

.google.type.Money amount = 3;

Parameter
NameDescription
valuecom.google.type.Money
Returns
TypeDescription
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
NameDescription
valueDoubleValue
Returns
TypeDescription
CompensationInfo.CompensationEntry.Builder

mergeFrom(CompensationInfo.CompensationEntry other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CompensationInfo.CompensationEntry.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueCompensationInfo.CompensationRange
Returns
TypeDescription
CompensationInfo.CompensationEntry.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAmount(Money value)

public CompensationInfo.CompensationEntry.Builder setAmount(Money value)

Compensation amount.

.google.type.Money amount = 3;

Parameter
NameDescription
valuecom.google.type.Money
Returns
TypeDescription
CompensationInfo.CompensationEntry.Builder

setAmount(Money.Builder builderForValue)

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

Compensation amount.

.google.type.Money amount = 3;

Parameter
NameDescription
builderForValuecom.google.type.Money.Builder
Returns
TypeDescription
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
NameDescription
valueString

The description to set.

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

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueDoubleValue
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
CompensationInfo.CompensationEntry.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CompensationInfo.CompensationEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueCompensationInfo.CompensationRange
Returns
TypeDescription
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
NameDescription
builderForValueCompensationInfo.CompensationRange.Builder
Returns
TypeDescription
CompensationInfo.CompensationEntry.Builder

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

public CompensationInfo.CompensationEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueCompensationInfo.CompensationType

The type to set.

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

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

Returns
TypeDescription
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
NameDescription
valueCompensationInfo.CompensationUnit

The unit to set.

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

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

Returns
TypeDescription
CompensationInfo.CompensationEntry.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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