Enum DebugEvent.WhatCase

java.lang.Object
java.lang.Enum<DebugEvent.WhatCase>
org.tensorflow.proto.DebugEvent.WhatCase
All Implemented Interfaces:
AbstractMessageLite.InternalOneOfEnum, Internal.EnumLite, Serializable, Comparable<DebugEvent.WhatCase>
Enclosing class:
DebugEvent

public static enum DebugEvent.WhatCase extends Enum<DebugEvent.WhatCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
  • Enum Constant Details

  • Method Details

    • values

      public static DebugEvent.WhatCase[] 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 DebugEvent.WhatCase 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 DebugEvent.WhatCase 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 DebugEvent.WhatCase forNumber(int value)
    • getNumber

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