public static final class CompensationInfo.CompensationEntry extends GeneratedMessageV3 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][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] or [range][google.cloud.talent.v4.CompensationInfo.CompensationEntry.range]. - and its [expected_units_per_year][google.cloud.talent.v4.CompensationInfo.CompensationEntry.expected_units_per_year] is set or can be derived. Its annualized range is determined as ([amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] or [range][google.cloud.talent.v4.CompensationInfo.CompensationEntry.range]) times [expected_units_per_year][google.cloud.talent.v4.CompensationInfo.CompensationEntry.expected_units_per_year].Protobuf type
google.cloud.talent.v4.CompensationInfo.CompensationEntry
Modifier and Type | Class and Description |
---|---|
static class |
CompensationInfo.CompensationEntry.Builder
A compensation entry that represents one component of compensation, such
as base pay, bonus, or other compensation type.
|
static class |
CompensationInfo.CompensationEntry.CompensationAmountCase |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
AMOUNT_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
EXPECTED_UNITS_PER_YEAR_FIELD_NUMBER |
static int |
RANGE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
UNIT_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int TYPE_FIELD_NUMBER
public static final int UNIT_FIELD_NUMBER
public static final int AMOUNT_FIELD_NUMBER
public static final int RANGE_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int EXPECTED_UNITS_PER_YEAR_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public CompensationInfo.CompensationEntry.CompensationAmountCase getCompensationAmountCase()
getCompensationAmountCase
in interface CompensationInfo.CompensationEntryOrBuilder
public int getTypeValue()
Compensation type. Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
.google.cloud.talent.v4.CompensationInfo.CompensationType type = 1;
getTypeValue
in interface CompensationInfo.CompensationEntryOrBuilder
public CompensationInfo.CompensationType getType()
Compensation type. Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
.google.cloud.talent.v4.CompensationInfo.CompensationType type = 1;
getType
in interface CompensationInfo.CompensationEntryOrBuilder
public int getUnitValue()
Frequency of the specified amount. Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
.google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2;
getUnitValue
in interface CompensationInfo.CompensationEntryOrBuilder
public CompensationInfo.CompensationUnit getUnit()
Frequency of the specified amount. Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
.google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2;
getUnit
in interface CompensationInfo.CompensationEntryOrBuilder
public boolean hasAmount()
Compensation amount.
.google.type.Money amount = 3;
hasAmount
in interface CompensationInfo.CompensationEntryOrBuilder
public com.google.type.Money getAmount()
Compensation amount.
.google.type.Money amount = 3;
getAmount
in interface CompensationInfo.CompensationEntryOrBuilder
public com.google.type.MoneyOrBuilder getAmountOrBuilder()
Compensation amount.
.google.type.Money amount = 3;
getAmountOrBuilder
in interface CompensationInfo.CompensationEntryOrBuilder
public boolean hasRange()
Compensation range.
.google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4;
hasRange
in interface CompensationInfo.CompensationEntryOrBuilder
public CompensationInfo.CompensationRange getRange()
Compensation range.
.google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4;
getRange
in interface CompensationInfo.CompensationEntryOrBuilder
public CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder()
Compensation range.
.google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4;
getRangeOrBuilder
in interface CompensationInfo.CompensationEntryOrBuilder
public String getDescription()
Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.
string description = 5;
getDescription
in interface CompensationInfo.CompensationEntryOrBuilder
public ByteString getDescriptionBytes()
Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.
string description = 5;
getDescriptionBytes
in interface CompensationInfo.CompensationEntryOrBuilder
public boolean hasExpectedUnitsPerYear()
Expected number of units paid each year. If not specified, when [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred based on [unit][google.cloud.talent.v4.CompensationInfo.CompensationEntry.unit]. Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 - ANNUAL: 1
.google.protobuf.DoubleValue expected_units_per_year = 6;
hasExpectedUnitsPerYear
in interface CompensationInfo.CompensationEntryOrBuilder
public DoubleValue getExpectedUnitsPerYear()
Expected number of units paid each year. If not specified, when [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred based on [unit][google.cloud.talent.v4.CompensationInfo.CompensationEntry.unit]. Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 - ANNUAL: 1
.google.protobuf.DoubleValue expected_units_per_year = 6;
getExpectedUnitsPerYear
in interface CompensationInfo.CompensationEntryOrBuilder
public DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder()
Expected number of units paid each year. If not specified, when [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred based on [unit][google.cloud.talent.v4.CompensationInfo.CompensationEntry.unit]. Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 - ANNUAL: 1
.google.protobuf.DoubleValue expected_units_per_year = 6;
getExpectedUnitsPerYearOrBuilder
in interface CompensationInfo.CompensationEntryOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static CompensationInfo.CompensationEntry parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CompensationInfo.CompensationEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CompensationInfo.CompensationEntry parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CompensationInfo.CompensationEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CompensationInfo.CompensationEntry parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CompensationInfo.CompensationEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CompensationInfo.CompensationEntry parseFrom(InputStream input) throws IOException
IOException
public static CompensationInfo.CompensationEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CompensationInfo.CompensationEntry parseDelimitedFrom(InputStream input) throws IOException
IOException
public static CompensationInfo.CompensationEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CompensationInfo.CompensationEntry parseFrom(CodedInputStream input) throws IOException
IOException
public static CompensationInfo.CompensationEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public CompensationInfo.CompensationEntry.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static CompensationInfo.CompensationEntry.Builder newBuilder()
public static CompensationInfo.CompensationEntry.Builder newBuilder(CompensationInfo.CompensationEntry prototype)
public CompensationInfo.CompensationEntry.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected CompensationInfo.CompensationEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static CompensationInfo.CompensationEntry getDefaultInstance()
public static Parser<CompensationInfo.CompensationEntry> parser()
public Parser<CompensationInfo.CompensationEntry> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public CompensationInfo.CompensationEntry getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.