public sealed class CompensationInfo.Types.CompensationEntry : IMessage<CompensationInfo.Types.CompensationEntry>, IEquatable<CompensationInfo.Types.CompensationEntry>, IDeepCloneable<CompensationInfo.Types.CompensationEntry>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Talent Solution v4 API class CompensationInfo.Types.CompensationEntry.
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].
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:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eCompensationInfo.Types.CompensationEntry\u003c/code\u003e class is 2.7.0, with older versions ranging down to 1.0.0 available for reference.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCompensationInfo.Types.CompensationEntry\u003c/code\u003e is a class in the Google Cloud Talent Solution v4 API that represents a component of job compensation, including base pay and bonuses.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eCompensationInfo.Types.CompensationEntry\u003c/code\u003e supports annualization by calculating an annualized range based on the provided amount or range, and the expected units per year.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing various functionalities such as serialization and equality checks.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eCompensationInfo.Types.CompensationEntry\u003c/code\u003e include \u003ccode\u003eAmount\u003c/code\u003e, \u003ccode\u003eRange\u003c/code\u003e, \u003ccode\u003eType\u003c/code\u003e, \u003ccode\u003eUnit\u003c/code\u003e, and \u003ccode\u003eExpectedUnitsPerYear\u003c/code\u003e to specify different types of compensations and their details.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Talent Solution v4 API - Class CompensationInfo.Types.CompensationEntry (2.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationEntry)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.6.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationEntry)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.5.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationEntry)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.4.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationEntry)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.3.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationEntry)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.2.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationEntry)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.1.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationEntry)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.0.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationEntry)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.4.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationEntry)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.3.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationEntry)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.2.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationEntry)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.1.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationEntry)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.0.0/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationEntry) \n\n public sealed class CompensationInfo.Types.CompensationEntry : IMessage\u003cCompensationInfo.Types.CompensationEntry\u003e, IEquatable\u003cCompensationInfo.Types.CompensationEntry\u003e, IDeepCloneable\u003cCompensationInfo.Types.CompensationEntry\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Talent Solution v4 API class CompensationInfo.Types.CompensationEntry.\n\nA compensation entry that represents one component of compensation, such\nas base pay, bonus, or other compensation type.\n\nAnnualization: One compensation entry can be annualized if\n\n- it contains valid \\[amount\\]\\[google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount\\] or \\[range\\]\\[google.cloud.talent.v4.CompensationInfo.CompensationEntry.range\\].\n- 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\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CompensationInfo.Types.CompensationEntry \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CompensationInfo](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo)[Types](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types)[CompensationEntry](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationEntry), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CompensationInfo](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo)[Types](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types)[CompensationEntry](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationEntry), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CompensationInfo](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo)[Types](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types)[CompensationEntry](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationEntry), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Talent.V4](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4)\n\nAssembly\n--------\n\nGoogle.Cloud.Talent.V4.dll\n\nConstructors\n------------\n\n### CompensationEntry()\n\n public CompensationEntry()\n\n### CompensationEntry(CompensationEntry)\n\n public CompensationEntry(CompensationInfo.Types.CompensationEntry other)\n\nProperties\n----------\n\n### Amount\n\n public Money Amount { get; set; }\n\nCompensation amount.\n\n### CompensationAmountCase\n\n public CompensationInfo.Types.CompensationEntry.CompensationAmountOneofCase CompensationAmountCase { get; }\n\n### Description\n\n public string Description { get; set; }\n\nCompensation description. For example, could\nindicate equity terms or provide additional context to an estimated\nbonus.\n\n### ExpectedUnitsPerYear\n\n public double? ExpectedUnitsPerYear { get; set; }\n\nExpected number of units paid each year. If not specified, when\n\\[Job.employment_types\\]\\[google.cloud.talent.v4.Job.employment_types\\] is\nFULLTIME, a default value is inferred based on\n\\[unit\\]\\[google.cloud.talent.v4.CompensationInfo.CompensationEntry.unit\\].\nDefault values:\n\n- HOURLY: 2080\n- DAILY: 260\n- WEEKLY: 52\n- MONTHLY: 12\n- ANNUAL: 1\n\n### Range\n\n public CompensationInfo.Types.CompensationRange Range { get; set; }\n\nCompensation range.\n\n### Type\n\n public CompensationInfo.Types.CompensationType Type { get; set; }\n\nCompensation type.\n\nDefault is\n\\[CompensationType.COMPENSATION_TYPE_UNSPECIFIED\\]\\[google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED\\].\n\n### Unit\n\n public CompensationInfo.Types.CompensationUnit Unit { get; set; }\n\nFrequency of the specified amount.\n\nDefault is\n\\[CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED\\]\\[google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED\\]."]]