public static enum UserBitShared.FragmentState extends Enum<UserBitShared.FragmentState> implements com.google.protobuf.ProtocolMessageEnum
exec.shared.FragmentState| Enum Constant and Description |
|---|
AWAITING_ALLOCATION
AWAITING_ALLOCATION = 1; |
CANCELLATION_REQUESTED
CANCELLATION_REQUESTED = 6; |
CANCELLED
CANCELLED = 4; |
FAILED
FAILED = 5; |
FINISHED
FINISHED = 3; |
RUNNING
RUNNING = 2; |
SENDING
SENDING = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
AWAITING_ALLOCATION_VALUE
AWAITING_ALLOCATION = 1; |
static int |
CANCELLATION_REQUESTED_VALUE
CANCELLATION_REQUESTED = 6; |
static int |
CANCELLED_VALUE
CANCELLED = 4; |
static int |
FAILED_VALUE
FAILED = 5; |
static int |
FINISHED_VALUE
FINISHED = 3; |
static int |
RUNNING_VALUE
RUNNING = 2; |
static int |
SENDING_VALUE
SENDING = 0; |
| Modifier and Type | Method and Description |
|---|---|
static UserBitShared.FragmentState |
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<UserBitShared.FragmentState> |
internalGetValueMap() |
static UserBitShared.FragmentState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UserBitShared.FragmentState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UserBitShared.FragmentState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserBitShared.FragmentState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserBitShared.FragmentState SENDING
SENDING = 0;public static final UserBitShared.FragmentState AWAITING_ALLOCATION
AWAITING_ALLOCATION = 1;public static final UserBitShared.FragmentState RUNNING
RUNNING = 2;public static final UserBitShared.FragmentState FINISHED
FINISHED = 3;public static final UserBitShared.FragmentState CANCELLED
CANCELLED = 4;public static final UserBitShared.FragmentState FAILED
FAILED = 5;public static final UserBitShared.FragmentState CANCELLATION_REQUESTED
CANCELLATION_REQUESTED = 6;public static final int SENDING_VALUE
SENDING = 0;public static final int AWAITING_ALLOCATION_VALUE
AWAITING_ALLOCATION = 1;public static final int RUNNING_VALUE
RUNNING = 2;public static final int FINISHED_VALUE
FINISHED = 3;public static final int CANCELLED_VALUE
CANCELLED = 4;public static final int FAILED_VALUE
FAILED = 5;public static final int CANCELLATION_REQUESTED_VALUE
CANCELLATION_REQUESTED = 6;public static UserBitShared.FragmentState[] values()
for (UserBitShared.FragmentState c : UserBitShared.FragmentState.values()) System.out.println(c);
public static UserBitShared.FragmentState 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.ProtocolMessageEnum@Deprecated public static UserBitShared.FragmentState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static UserBitShared.FragmentState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UserBitShared.FragmentState> 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 UserBitShared.FragmentState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021 The Apache Software Foundation. All rights reserved.