Package org.platanios.tensorflow.proto
Enum ApiDef.Visibility
- java.lang.Object
-
- java.lang.Enum<ApiDef.Visibility>
-
- org.platanios.tensorflow.proto.ApiDef.Visibility
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<ApiDef.Visibility>
- Enclosing class:
- ApiDef
public static enum ApiDef.Visibility extends java.lang.Enum<ApiDef.Visibility> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumorg.platanios.tensorflow.proto.ApiDef.Visibility
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT_VISIBILITY
Normally this is "VISIBLE" unless you are inheriting a different value from another ApiDef.HIDDEN
Hide this op by putting it into an internal namespace (or whatever is appropriate in the target language).SKIP
Do not include this op in the generated API.UNRECOGNIZED
VISIBLE
Publicly visible in the API.
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_VISIBILITY_VALUE
Normally this is "VISIBLE" unless you are inheriting a different value from another ApiDef.static int
HIDDEN_VALUE
Hide this op by putting it into an internal namespace (or whatever is appropriate in the target language).static int
SKIP_VALUE
Do not include this op in the generated API.static int
VISIBLE_VALUE
Publicly visible in the API.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ApiDef.Visibility
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<ApiDef.Visibility>
internalGetValueMap()
static ApiDef.Visibility
valueOf(int value)
Deprecated.static ApiDef.Visibility
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ApiDef.Visibility
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ApiDef.Visibility[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT_VISIBILITY
public static final ApiDef.Visibility DEFAULT_VISIBILITY
Normally this is "VISIBLE" unless you are inheriting a different value from another ApiDef.
DEFAULT_VISIBILITY = 0;
-
VISIBLE
public static final ApiDef.Visibility VISIBLE
Publicly visible in the API.
VISIBLE = 1;
-
SKIP
public static final ApiDef.Visibility SKIP
Do not include this op in the generated API. If visibility is set to 'SKIP', other fields are ignored for this op.
SKIP = 2;
-
HIDDEN
public static final ApiDef.Visibility HIDDEN
Hide this op by putting it into an internal namespace (or whatever is appropriate in the target language).
HIDDEN = 3;
-
UNRECOGNIZED
public static final ApiDef.Visibility UNRECOGNIZED
-
-
Field Detail
-
DEFAULT_VISIBILITY_VALUE
public static final int DEFAULT_VISIBILITY_VALUE
Normally this is "VISIBLE" unless you are inheriting a different value from another ApiDef.
DEFAULT_VISIBILITY = 0;
- See Also:
- Constant Field Values
-
VISIBLE_VALUE
public static final int VISIBLE_VALUE
Publicly visible in the API.
VISIBLE = 1;
- See Also:
- Constant Field Values
-
SKIP_VALUE
public static final int SKIP_VALUE
Do not include this op in the generated API. If visibility is set to 'SKIP', other fields are ignored for this op.
SKIP = 2;
- See Also:
- Constant Field Values
-
HIDDEN_VALUE
public static final int HIDDEN_VALUE
Hide this op by putting it into an internal namespace (or whatever is appropriate in the target language).
HIDDEN = 3;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ApiDef.Visibility[] 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 (ApiDef.Visibility c : ApiDef.Visibility.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApiDef.Visibility 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
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ApiDef.Visibility 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 ApiDef.Visibility 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<ApiDef.Visibility> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ApiDef.Visibility valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc
- 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
-
-