2.8.0 (latest) 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    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\].

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CompensationInfo.Types.CompensationEntry

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[CompensationInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types.md.txt)[CompensationEntry](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationEntry.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CompensationInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types.md.txt)[CompensationEntry](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationEntry.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[CompensationInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types.md.txt)[CompensationEntry](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CompensationInfo.Types.CompensationEntry.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Talent.V4](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.md.txt)

## Assembly

Google.Cloud.Talent.V4.dll

## Constructors

### CompensationEntry()

    public CompensationEntry()

### CompensationEntry(CompensationEntry)

    public CompensationEntry(CompensationInfo.Types.CompensationEntry other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `CompensationInfoTypesCompensationEntry` |

## Properties

### Amount

    public Money Amount { get; set; }

Compensation amount.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Money` |   |

### CompensationAmountCase

    public CompensationInfo.Types.CompensationEntry.CompensationAmountOneofCase CompensationAmountCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CompensationInfoTypesCompensationEntryCompensationAmountOneofCase` |   |

### Description

    public string Description { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ExpectedUnitsPerYear

    public double? ExpectedUnitsPerYear { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `double` |   |

### Range

    public CompensationInfo.Types.CompensationRange Range { get; set; }

Compensation range.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CompensationInfoTypesCompensationRange` |   |

### Type

    public CompensationInfo.Types.CompensationType Type { get; set; }

Compensation type.

Default is
\[CompensationType.COMPENSATION_TYPE_UNSPECIFIED\]\[google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CompensationInfoTypesCompensationType` |   |

### Unit

    public CompensationInfo.Types.CompensationUnit Unit { get; set; }

Frequency of the specified amount.

Default is
\[CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED\]\[google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CompensationInfoTypesCompensationUnit` |   |