Package com.google.cloud.talent.v4
Class CompensationInfo.CompensationEntry
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.talent.v4.CompensationInfo.CompensationEntry
- All Implemented Interfaces:
CompensationInfo.CompensationEntryOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- CompensationInfo
public static final class CompensationInfo.CompensationEntry
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA compensation entry that represents one component of compensation, such as base pay, bonus, or other compensation type.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompensation amount.Compensation amount.Compensation description.com.google.protobuf.ByteStringCompensation description.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DoubleValueExpected number of units paid each year.com.google.protobuf.DoubleValueOrBuilderExpected number of units paid each year.com.google.protobuf.Parser<CompensationInfo.CompensationEntry>getRange()Compensation range.Compensation range.intgetType()Compensation type.intCompensation type.getUnit()Frequency of the specified amount.intFrequency of the specified amount.booleanCompensation amount.booleanExpected number of units paid each year.inthashCode()booleanhasRange()Compensation range.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(CompensationInfo.CompensationEntry prototype) newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CompensationInfo.CompensationEntry>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
UNIT_FIELD_NUMBER
public static final int UNIT_FIELD_NUMBER- See Also:
-
AMOUNT_FIELD_NUMBER
public static final int AMOUNT_FIELD_NUMBER- See Also:
-
RANGE_FIELD_NUMBER
public static final int RANGE_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
EXPECTED_UNITS_PER_YEAR_FIELD_NUMBER
public static final int EXPECTED_UNITS_PER_YEAR_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getCompensationAmountCase
- Specified by:
getCompensationAmountCasein interfaceCompensationInfo.CompensationEntryOrBuilder
-
getTypeValue
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;- Specified by:
getTypeValuein interfaceCompensationInfo.CompensationEntryOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
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;- Specified by:
getTypein interfaceCompensationInfo.CompensationEntryOrBuilder- Returns:
- The type.
-
getUnitValue
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;- Specified by:
getUnitValuein interfaceCompensationInfo.CompensationEntryOrBuilder- Returns:
- The enum numeric value on the wire for unit.
-
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;- Specified by:
getUnitin interfaceCompensationInfo.CompensationEntryOrBuilder- Returns:
- The unit.
-
hasAmount
public boolean hasAmount()Compensation amount.
.google.type.Money amount = 3;- Specified by:
hasAmountin interfaceCompensationInfo.CompensationEntryOrBuilder- Returns:
- Whether the amount field is set.
-
getAmount
Compensation amount.
.google.type.Money amount = 3;- Specified by:
getAmountin interfaceCompensationInfo.CompensationEntryOrBuilder- Returns:
- The amount.
-
getAmountOrBuilder
Compensation amount.
.google.type.Money amount = 3;- Specified by:
getAmountOrBuilderin interfaceCompensationInfo.CompensationEntryOrBuilder
-
hasRange
public boolean hasRange()Compensation range.
.google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4;- Specified by:
hasRangein interfaceCompensationInfo.CompensationEntryOrBuilder- Returns:
- Whether the range field is set.
-
getRange
Compensation range.
.google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4;- Specified by:
getRangein interfaceCompensationInfo.CompensationEntryOrBuilder- Returns:
- The range.
-
getRangeOrBuilder
Compensation range.
.google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4;- Specified by:
getRangeOrBuilderin interfaceCompensationInfo.CompensationEntryOrBuilder
-
getDescription
Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.
string description = 5;- Specified by:
getDescriptionin interfaceCompensationInfo.CompensationEntryOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.
string description = 5;- Specified by:
getDescriptionBytesin interfaceCompensationInfo.CompensationEntryOrBuilder- Returns:
- The bytes for description.
-
hasExpectedUnitsPerYear
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;- Specified by:
hasExpectedUnitsPerYearin interfaceCompensationInfo.CompensationEntryOrBuilder- Returns:
- Whether the expectedUnitsPerYear field is set.
-
getExpectedUnitsPerYear
public com.google.protobuf.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;- Specified by:
getExpectedUnitsPerYearin interfaceCompensationInfo.CompensationEntryOrBuilder- Returns:
- The expectedUnitsPerYear.
-
getExpectedUnitsPerYearOrBuilder
public com.google.protobuf.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;- Specified by:
getExpectedUnitsPerYearOrBuilderin interfaceCompensationInfo.CompensationEntryOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CompensationInfo.CompensationEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompensationInfo.CompensationEntry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompensationInfo.CompensationEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompensationInfo.CompensationEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompensationInfo.CompensationEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompensationInfo.CompensationEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CompensationInfo.CompensationEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static CompensationInfo.CompensationEntry parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static CompensationInfo.CompensationEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CompensationInfo.CompensationEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CompensationInfo.CompensationEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static CompensationInfo.CompensationEntry.Builder newBuilder(CompensationInfo.CompensationEntry prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CompensationInfo.CompensationEntry.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-