Enum CompensationInfo.CompensationType

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<CompensationInfo.CompensationType>
    Enclosing class:
    CompensationInfo

    public static enum CompensationInfo.CompensationType
    extends Enum<CompensationInfo.CompensationType>
    implements com.google.protobuf.ProtocolMessageEnum
     The type of compensation.
    
     For compensation amounts specified in non-monetary amounts,
     describe the compensation scheme in the
     [CompensationEntry.description][google.cloud.talent.v4.CompensationInfo.CompensationEntry.description].
    
     For example, tipping format is described in
     [CompensationEntry.description][google.cloud.talent.v4.CompensationInfo.CompensationEntry.description]
     (for example, "expect 15-20% tips based on customer bill.") and an estimate
     of the tips provided in
     [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount]
     or
     [CompensationEntry.range][google.cloud.talent.v4.CompensationInfo.CompensationEntry.range]
     ($10 per hour).
    
     For example, equity is described in
     [CompensationEntry.description][google.cloud.talent.v4.CompensationInfo.CompensationEntry.description]
     (for example, "1% - 2% equity vesting over 4 years, 1 year cliff") and
     value estimated in
     [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount]
     or
     [CompensationEntry.range][google.cloud.talent.v4.CompensationInfo.CompensationEntry.range].
     If no value estimate is possible, units are
     [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED]
     and then further clarified in
     [CompensationEntry.description][google.cloud.talent.v4.CompensationInfo.CompensationEntry.description]
     field.
     
    Protobuf enum google.cloud.talent.v4.CompensationInfo.CompensationType
    • Field Detail

      • COMPENSATION_TYPE_UNSPECIFIED_VALUE

        public static final int COMPENSATION_TYPE_UNSPECIFIED_VALUE
         Default value.
         
        COMPENSATION_TYPE_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • BASE_VALUE

        public static final int BASE_VALUE
         Base compensation: Refers to the fixed amount of money paid to an
         employee by an employer in return for work performed. Base compensation
         does not include benefits, bonuses or any other potential compensation
         from an employer.
         
        BASE = 1;
        See Also:
        Constant Field Values
      • SIGNING_BONUS_VALUE

        public static final int SIGNING_BONUS_VALUE
         Signing bonus.
         
        SIGNING_BONUS = 3;
        See Also:
        Constant Field Values
      • PROFIT_SHARING_VALUE

        public static final int PROFIT_SHARING_VALUE
         Profit sharing.
         
        PROFIT_SHARING = 5;
        See Also:
        Constant Field Values
      • COMMISSIONS_VALUE

        public static final int COMMISSIONS_VALUE
         Commission.
         
        COMMISSIONS = 6;
        See Also:
        Constant Field Values
      • OTHER_COMPENSATION_TYPE_VALUE

        public static final int OTHER_COMPENSATION_TYPE_VALUE
         Other compensation type.
         
        OTHER_COMPENSATION_TYPE = 8;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static CompensationInfo.CompensationType[] 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.CompensationType c : CompensationInfo.CompensationType.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.CompensationType 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static CompensationInfo.CompensationType 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 name
        NullPointerException - if the argument is null
      • forNumber

        public static CompensationInfo.CompensationType forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static CompensationInfo.CompensationType 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 name
        NullPointerException - if the argument is null