Package org.tensorflow.framework
Enum ApiDef.Visibility
- java.lang.Object
-
- java.lang.Enum<ApiDef.Visibility>
-
- org.tensorflow.framework.ApiDef.Visibility
-
- All Implemented Interfaces:
Serializable,Comparable<ApiDef.Visibility>,org.nd4j.shade.protobuf.Internal.EnumLite,org.nd4j.shade.protobuf.ProtocolMessageEnum
- Enclosing class:
- ApiDef
public static enum ApiDef.Visibility extends Enum<ApiDef.Visibility> implements org.nd4j.shade.protobuf.ProtocolMessageEnum
Protobuf enumtensorflow.ApiDef.Visibility
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT_VISIBILITYNormally this is "VISIBLE" unless you are inheriting a different value from another ApiDef.HIDDENHide this op by putting it into an internal namespace (or whatever is appropriate in the target language).SKIPDo not include this op in the generated API.UNRECOGNIZEDVISIBLEPublicly visible in the API.
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_VISIBILITY_VALUENormally this is "VISIBLE" unless you are inheriting a different value from another ApiDef.static intHIDDEN_VALUEHide this op by putting it into an internal namespace (or whatever is appropriate in the target language).static intSKIP_VALUEDo not include this op in the generated API.static intVISIBLE_VALUEPublicly visible in the API.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ApiDef.VisibilityforNumber(int value)static org.nd4j.shade.protobuf.Descriptors.EnumDescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static org.nd4j.shade.protobuf.Internal.EnumLiteMap<ApiDef.Visibility>internalGetValueMap()static ApiDef.VisibilityvalueOf(int value)Deprecated.static ApiDef.VisibilityvalueOf(String name)Returns the enum constant of this type with the specified name.static ApiDef.VisibilityvalueOf(org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor desc)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(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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfaceorg.nd4j.shade.protobuf.Internal.EnumLite- Specified by:
getNumberin interfaceorg.nd4j.shade.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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- 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 org.nd4j.shade.protobuf.Internal.EnumLiteMap<ApiDef.Visibility> internalGetValueMap()
-
getValueDescriptor
public final org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfaceorg.nd4j.shade.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final org.nd4j.shade.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ApiDef.Visibility valueOf(org.nd4j.shade.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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-