Package org.platanios.tensorflow.proto
Enum Event.WhatCase
- java.lang.Object
-
- java.lang.Enum<Event.WhatCase>
-
- org.platanios.tensorflow.proto.Event.WhatCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,java.io.Serializable
,java.lang.Comparable<Event.WhatCase>
- Enclosing class:
- Event
public static enum Event.WhatCase extends java.lang.Enum<Event.WhatCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILE_VERSION
GRAPH_DEF
LOG_MESSAGE
META_GRAPH_DEF
SESSION_LOG
SUMMARY
TAGGED_RUN_METADATA
WHAT_NOT_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Event.WhatCase
forNumber(int value)
int
getNumber()
static Event.WhatCase
valueOf(int value)
Deprecated.static Event.WhatCase
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Event.WhatCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILE_VERSION
public static final Event.WhatCase FILE_VERSION
-
GRAPH_DEF
public static final Event.WhatCase GRAPH_DEF
-
SUMMARY
public static final Event.WhatCase SUMMARY
-
LOG_MESSAGE
public static final Event.WhatCase LOG_MESSAGE
-
SESSION_LOG
public static final Event.WhatCase SESSION_LOG
-
TAGGED_RUN_METADATA
public static final Event.WhatCase TAGGED_RUN_METADATA
-
META_GRAPH_DEF
public static final Event.WhatCase META_GRAPH_DEF
-
WHAT_NOT_SET
public static final Event.WhatCase WHAT_NOT_SET
-
-
Method Detail
-
values
public static Event.WhatCase[] 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 (Event.WhatCase c : Event.WhatCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Event.WhatCase valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static Event.WhatCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-