public static enum CompensationInfo.CompensationUnit extends Enum<CompensationInfo.CompensationUnit> implements ProtocolMessageEnum
Pay frequency.Protobuf enum
google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit
Enum Constant and Description |
---|
COMPENSATION_UNIT_UNSPECIFIED
Default value.
|
DAILY
Daily.
|
HOURLY
Hourly.
|
MONTHLY
Monthly.
|
ONE_TIME
One time.
|
OTHER_COMPENSATION_UNIT
Other compensation units.
|
UNRECOGNIZED |
WEEKLY
Weekly
|
YEARLY
Yearly.
|
Modifier and Type | Field and Description |
---|---|
static int |
COMPENSATION_UNIT_UNSPECIFIED_VALUE
Default value.
|
static int |
DAILY_VALUE
Daily.
|
static int |
HOURLY_VALUE
Hourly.
|
static int |
MONTHLY_VALUE
Monthly.
|
static int |
ONE_TIME_VALUE
One time.
|
static int |
OTHER_COMPENSATION_UNIT_VALUE
Other compensation units.
|
static int |
WEEKLY_VALUE
Weekly
|
static int |
YEARLY_VALUE
Yearly.
|
Modifier and Type | Method and Description |
---|---|
static CompensationInfo.CompensationUnit |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<CompensationInfo.CompensationUnit> |
internalGetValueMap() |
static CompensationInfo.CompensationUnit |
valueOf(Descriptors.EnumValueDescriptor desc) |
static CompensationInfo.CompensationUnit |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CompensationInfo.CompensationUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompensationInfo.CompensationUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompensationInfo.CompensationUnit COMPENSATION_UNIT_UNSPECIFIED
Default value.
COMPENSATION_UNIT_UNSPECIFIED = 0;
public static final CompensationInfo.CompensationUnit HOURLY
Hourly.
HOURLY = 1;
public static final CompensationInfo.CompensationUnit DAILY
Daily.
DAILY = 2;
public static final CompensationInfo.CompensationUnit WEEKLY
Weekly
WEEKLY = 3;
public static final CompensationInfo.CompensationUnit MONTHLY
Monthly.
MONTHLY = 4;
public static final CompensationInfo.CompensationUnit YEARLY
Yearly.
YEARLY = 5;
public static final CompensationInfo.CompensationUnit ONE_TIME
One time.
ONE_TIME = 6;
public static final CompensationInfo.CompensationUnit OTHER_COMPENSATION_UNIT
Other compensation units.
OTHER_COMPENSATION_UNIT = 7;
public static final CompensationInfo.CompensationUnit UNRECOGNIZED
public static final int COMPENSATION_UNIT_UNSPECIFIED_VALUE
Default value.
COMPENSATION_UNIT_UNSPECIFIED = 0;
public static final int HOURLY_VALUE
Hourly.
HOURLY = 1;
public static final int DAILY_VALUE
Daily.
DAILY = 2;
public static final int WEEKLY_VALUE
Weekly
WEEKLY = 3;
public static final int MONTHLY_VALUE
Monthly.
MONTHLY = 4;
public static final int YEARLY_VALUE
Yearly.
YEARLY = 5;
public static final int ONE_TIME_VALUE
One time.
ONE_TIME = 6;
public static final int OTHER_COMPENSATION_UNIT_VALUE
Other compensation units.
OTHER_COMPENSATION_UNIT = 7;
public static CompensationInfo.CompensationUnit[] values()
for (CompensationInfo.CompensationUnit c : CompensationInfo.CompensationUnit.values()) System.out.println(c);
public static CompensationInfo.CompensationUnit valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static CompensationInfo.CompensationUnit valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static CompensationInfo.CompensationUnit forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<CompensationInfo.CompensationUnit> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static CompensationInfo.CompensationUnit valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.