Enum Event.WhatCase

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

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

  • Method Details

    • values

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

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