Enum Xplane.XStat.ValueCase

java.lang.Object
java.lang.Enum<Xplane.XStat.ValueCase>
org.tensorflow.proto.profiler.Xplane.XStat.ValueCase
All Implemented Interfaces:
AbstractMessageLite.InternalOneOfEnum, Internal.EnumLite, Serializable, Comparable<Xplane.XStat.ValueCase>
Enclosing class:
Xplane.XStat

public static enum Xplane.XStat.ValueCase extends Enum<Xplane.XStat.ValueCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
  • Enum Constant Details

  • Method Details

    • values

      public static Xplane.XStat.ValueCase[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Xplane.XStat.ValueCase 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
    • valueOf

      @Deprecated public static Xplane.XStat.ValueCase 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 Xplane.XStat.ValueCase forNumber(int value)
    • getNumber

      public int getNumber()
      Specified by:
      getNumber in interface AbstractMessageLite.InternalOneOfEnum
      Specified by:
      getNumber in interface Internal.EnumLite