public static enum DAGProtos.PlanLocalResourceVisibility extends Enum<DAGProtos.PlanLocalResourceVisibility> implements com.google.protobuf.ProtocolMessageEnum
PlanLocalResourceVisibility
Enum Constant and Description |
---|
APPLICATION
APPLICATION = 2; |
PRIVATE
PRIVATE = 1; |
PUBLIC
PUBLIC = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
APPLICATION_VALUE
APPLICATION = 2; |
static int |
PRIVATE_VALUE
PRIVATE = 1; |
static int |
PUBLIC_VALUE
PUBLIC = 0; |
Modifier and Type | Method and Description |
---|---|
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<DAGProtos.PlanLocalResourceVisibility> |
internalGetValueMap() |
static DAGProtos.PlanLocalResourceVisibility |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DAGProtos.PlanLocalResourceVisibility |
valueOf(int value) |
static DAGProtos.PlanLocalResourceVisibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DAGProtos.PlanLocalResourceVisibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DAGProtos.PlanLocalResourceVisibility PUBLIC
PUBLIC = 0;
public static final DAGProtos.PlanLocalResourceVisibility PRIVATE
PRIVATE = 1;
public static final DAGProtos.PlanLocalResourceVisibility APPLICATION
APPLICATION = 2;
public static final int PUBLIC_VALUE
PUBLIC = 0;
public static final int PRIVATE_VALUE
PRIVATE = 1;
public static final int APPLICATION_VALUE
APPLICATION = 2;
public static DAGProtos.PlanLocalResourceVisibility[] values()
for (DAGProtos.PlanLocalResourceVisibility c : DAGProtos.PlanLocalResourceVisibility.values()) System.out.println(c);
public static DAGProtos.PlanLocalResourceVisibility 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.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static DAGProtos.PlanLocalResourceVisibility valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<DAGProtos.PlanLocalResourceVisibility> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static DAGProtos.PlanLocalResourceVisibility valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2016 Apache Software Foundation. All rights reserved.