Enum Class TimeUnitsProto.TimeUnitsEnumPB

java.lang.Object
java.lang.Enum<TimeUnitsProto.TimeUnitsEnumPB>
com.inductiveautomation.ignition.common.protocolbuffers.TimeUnitsProto.TimeUnitsEnumPB
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<TimeUnitsProto.TimeUnitsEnumPB>, Constable
Enclosing class:
TimeUnitsProto

public static enum TimeUnitsProto.TimeUnitsEnumPB extends Enum<TimeUnitsProto.TimeUnitsEnumPB> implements com.google.protobuf.ProtocolMessageEnum
 com.inductiveautomation.ignition.common.util.TimeUnits
 
Protobuf enum common.protobuf.TimeUnitsEnumPB
  • Enum Constant Details

  • Field Details

    • TimeUnits_MS_VALUE

      public static final int TimeUnits_MS_VALUE
      TimeUnits_MS = 0;
      See Also:
    • TimeUnits_SEC_VALUE

      public static final int TimeUnits_SEC_VALUE
      TimeUnits_SEC = 1;
      See Also:
    • TimeUnits_MIN_VALUE

      public static final int TimeUnits_MIN_VALUE
      TimeUnits_MIN = 2;
      See Also:
    • TimeUnits_HOUR_VALUE

      public static final int TimeUnits_HOUR_VALUE
      TimeUnits_HOUR = 3;
      See Also:
    • TimeUnits_DAY_VALUE

      public static final int TimeUnits_DAY_VALUE
      TimeUnits_DAY = 4;
      See Also:
    • TimeUnits_WEEK_VALUE

      public static final int TimeUnits_WEEK_VALUE
      TimeUnits_WEEK = 5;
      See Also:
    • TimeUnits_MONTH_VALUE

      public static final int TimeUnits_MONTH_VALUE
      TimeUnits_MONTH = 6;
      See Also:
    • TimeUnits_YEAR_VALUE

      public static final int TimeUnits_YEAR_VALUE
      TimeUnits_YEAR = 7;
      See Also:
  • Method Details

    • values

      public static TimeUnitsProto.TimeUnitsEnumPB[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TimeUnitsProto.TimeUnitsEnumPB valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 TimeUnitsProto.TimeUnitsEnumPB valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static TimeUnitsProto.TimeUnitsEnumPB 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<TimeUnitsProto.TimeUnitsEnumPB> internalGetValueMap()
    • 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 TimeUnitsProto.TimeUnitsEnumPB valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null