public static enum HAServiceProtocolProtos.HARequestSource extends Enum<HAServiceProtocolProtos.HARequestSource> implements com.google.protobuf.ProtocolMessageEnum
hadoop.common.HARequestSource| Enum Constant and Description |
|---|
REQUEST_BY_USER
REQUEST_BY_USER = 0; |
REQUEST_BY_USER_FORCED
REQUEST_BY_USER_FORCED = 1; |
REQUEST_BY_ZKFC
REQUEST_BY_ZKFC = 2; |
| Modifier and Type | Field and Description |
|---|---|
static int |
REQUEST_BY_USER_FORCED_VALUE
REQUEST_BY_USER_FORCED = 1; |
static int |
REQUEST_BY_USER_VALUE
REQUEST_BY_USER = 0; |
static int |
REQUEST_BY_ZKFC_VALUE
REQUEST_BY_ZKFC = 2; |
| 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<HAServiceProtocolProtos.HARequestSource> |
internalGetValueMap() |
static HAServiceProtocolProtos.HARequestSource |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HAServiceProtocolProtos.HARequestSource |
valueOf(int value) |
static HAServiceProtocolProtos.HARequestSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HAServiceProtocolProtos.HARequestSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HAServiceProtocolProtos.HARequestSource REQUEST_BY_USER
REQUEST_BY_USER = 0;public static final HAServiceProtocolProtos.HARequestSource REQUEST_BY_USER_FORCED
REQUEST_BY_USER_FORCED = 1;public static final HAServiceProtocolProtos.HARequestSource REQUEST_BY_ZKFC
REQUEST_BY_ZKFC = 2;public static final int REQUEST_BY_USER_VALUE
REQUEST_BY_USER = 0;public static final int REQUEST_BY_USER_FORCED_VALUE
REQUEST_BY_USER_FORCED = 1;public static final int REQUEST_BY_ZKFC_VALUE
REQUEST_BY_ZKFC = 2;public static HAServiceProtocolProtos.HARequestSource[] values()
for (HAServiceProtocolProtos.HARequestSource c : HAServiceProtocolProtos.HARequestSource.values()) System.out.println(c);
public static HAServiceProtocolProtos.HARequestSource 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static HAServiceProtocolProtos.HARequestSource valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<HAServiceProtocolProtos.HARequestSource> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static HAServiceProtocolProtos.HARequestSource valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.