public static enum ApiDef.Visibility extends Enum<ApiDef.Visibility> implements com.github.os72.protobuf351.ProtocolMessageEnum
tensorflow.ApiDef.Visibility
Enum Constant and 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.
|
Modifier and Type | Field and 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.
|
Modifier and Type | Method and Description |
---|---|
static ApiDef.Visibility |
forNumber(int value) |
static com.github.os72.protobuf351.Descriptors.EnumDescriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.github.os72.protobuf351.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.github.os72.protobuf351.Internal.EnumLiteMap<ApiDef.Visibility> |
internalGetValueMap() |
static ApiDef.Visibility |
valueOf(com.github.os72.protobuf351.Descriptors.EnumValueDescriptor desc) |
static ApiDef.Visibility |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ApiDef.Visibility |
valueOf(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.
|
public static final ApiDef.Visibility DEFAULT_VISIBILITY
Normally this is "VISIBLE" unless you are inheriting a different value from another ApiDef.
DEFAULT_VISIBILITY = 0;
public static final ApiDef.Visibility VISIBLE
Publicly visible in the API.
VISIBLE = 1;
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;
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;
public static final ApiDef.Visibility UNRECOGNIZED
public static final int DEFAULT_VISIBILITY_VALUE
Normally this is "VISIBLE" unless you are inheriting a different value from another ApiDef.
DEFAULT_VISIBILITY = 0;
public static final int VISIBLE_VALUE
Publicly visible in the API.
VISIBLE = 1;
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;
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;
public static ApiDef.Visibility[] values()
for (ApiDef.Visibility c : ApiDef.Visibility.values()) System.out.println(c);
public static ApiDef.Visibility valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.github.os72.protobuf351.Internal.EnumLite
getNumber
in interface com.github.os72.protobuf351.ProtocolMessageEnum
@Deprecated public static ApiDef.Visibility valueOf(int value)
forNumber(int)
instead.public static ApiDef.Visibility forNumber(int value)
public static com.github.os72.protobuf351.Internal.EnumLiteMap<ApiDef.Visibility> internalGetValueMap()
public final com.github.os72.protobuf351.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.github.os72.protobuf351.ProtocolMessageEnum
public final com.github.os72.protobuf351.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.github.os72.protobuf351.ProtocolMessageEnum
public static final com.github.os72.protobuf351.Descriptors.EnumDescriptor getDescriptor()
public static ApiDef.Visibility valueOf(com.github.os72.protobuf351.Descriptors.EnumValueDescriptor desc)
Copyright © 2019. All rights reserved.