Package com.google.cloud.talent.v4
Enum CompensationInfo.CompensationUnit
- java.lang.Object
-
- java.lang.Enum<CompensationInfo.CompensationUnit>
-
- com.google.cloud.talent.v4.CompensationInfo.CompensationUnit
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CompensationInfo.CompensationUnit>
- Enclosing class:
- CompensationInfo
public static enum CompensationInfo.CompensationUnit extends Enum<CompensationInfo.CompensationUnit> implements com.google.protobuf.ProtocolMessageEnum
Pay frequency.
Protobuf enumgoogle.cloud.talent.v4.CompensationInfo.CompensationUnit
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPENSATION_UNIT_UNSPECIFIEDDefault value.DAILYDaily.HOURLYHourly.MONTHLYMonthly.ONE_TIMEOne time.OTHER_COMPENSATION_UNITOther compensation units.UNRECOGNIZEDWEEKLYWeeklyYEARLYYearly.
-
Field Summary
Fields Modifier and Type Field Description static intCOMPENSATION_UNIT_UNSPECIFIED_VALUEDefault value.static intDAILY_VALUEDaily.static intHOURLY_VALUEHourly.static intMONTHLY_VALUEMonthly.static intONE_TIME_VALUEOne time.static intOTHER_COMPENSATION_UNIT_VALUEOther compensation units.static intWEEKLY_VALUEWeeklystatic intYEARLY_VALUEYearly.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CompensationInfo.CompensationUnitforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<CompensationInfo.CompensationUnit>internalGetValueMap()static CompensationInfo.CompensationUnitvalueOf(int value)Deprecated.static CompensationInfo.CompensationUnitvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static CompensationInfo.CompensationUnitvalueOf(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.
-
-
-
Enum Constant Detail
-
COMPENSATION_UNIT_UNSPECIFIED
public static final CompensationInfo.CompensationUnit COMPENSATION_UNIT_UNSPECIFIED
Default value.
COMPENSATION_UNIT_UNSPECIFIED = 0;
-
HOURLY
public static final CompensationInfo.CompensationUnit HOURLY
Hourly.
HOURLY = 1;
-
DAILY
public static final CompensationInfo.CompensationUnit DAILY
Daily.
DAILY = 2;
-
WEEKLY
public static final CompensationInfo.CompensationUnit WEEKLY
Weekly
WEEKLY = 3;
-
MONTHLY
public static final CompensationInfo.CompensationUnit MONTHLY
Monthly.
MONTHLY = 4;
-
YEARLY
public static final CompensationInfo.CompensationUnit YEARLY
Yearly.
YEARLY = 5;
-
ONE_TIME
public static final CompensationInfo.CompensationUnit ONE_TIME
One time.
ONE_TIME = 6;
-
OTHER_COMPENSATION_UNIT
public static final CompensationInfo.CompensationUnit OTHER_COMPENSATION_UNIT
Other compensation units.
OTHER_COMPENSATION_UNIT = 7;
-
UNRECOGNIZED
public static final CompensationInfo.CompensationUnit UNRECOGNIZED
-
-
Field Detail
-
COMPENSATION_UNIT_UNSPECIFIED_VALUE
public static final int COMPENSATION_UNIT_UNSPECIFIED_VALUE
Default value.
COMPENSATION_UNIT_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
HOURLY_VALUE
public static final int HOURLY_VALUE
Hourly.
HOURLY = 1;- See Also:
- Constant Field Values
-
DAILY_VALUE
public static final int DAILY_VALUE
Daily.
DAILY = 2;- See Also:
- Constant Field Values
-
WEEKLY_VALUE
public static final int WEEKLY_VALUE
Weekly
WEEKLY = 3;- See Also:
- Constant Field Values
-
MONTHLY_VALUE
public static final int MONTHLY_VALUE
Monthly.
MONTHLY = 4;- See Also:
- Constant Field Values
-
YEARLY_VALUE
public static final int YEARLY_VALUE
Yearly.
YEARLY = 5;- See Also:
- Constant Field Values
-
ONE_TIME_VALUE
public static final int ONE_TIME_VALUE
One time.
ONE_TIME = 6;- See Also:
- Constant Field Values
-
OTHER_COMPENSATION_UNIT_VALUE
public static final int OTHER_COMPENSATION_UNIT_VALUE
Other compensation units.
OTHER_COMPENSATION_UNIT = 7;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CompensationInfo.CompensationUnit[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CompensationInfo.CompensationUnit c : CompensationInfo.CompensationUnit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CompensationInfo.CompensationUnit valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static CompensationInfo.CompensationUnit valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static CompensationInfo.CompensationUnit forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<CompensationInfo.CompensationUnit> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static CompensationInfo.CompensationUnit valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-