public enum TransferState extends Enum<TransferState> implements com.google.protobuf.ProtocolMessageEnum
yamcs.protobuf.cfdp.TransferState| Enum Constant and Description |
|---|
COMPLETED
COMPLETED = 4; |
FAILED
FAILED = 3; |
PAUSED
PAUSED = 2; |
RUNNING
RUNNING = 1; |
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPLETED_VALUE
COMPLETED = 4; |
static int |
FAILED_VALUE
FAILED = 3; |
static int |
PAUSED_VALUE
PAUSED = 2; |
static int |
RUNNING_VALUE
RUNNING = 1; |
| Modifier and Type | Method and Description |
|---|---|
static TransferState |
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<TransferState> |
internalGetValueMap() |
static TransferState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TransferState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransferState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferState RUNNING
RUNNING = 1;public static final TransferState PAUSED
PAUSED = 2;public static final TransferState FAILED
FAILED = 3;public static final TransferState COMPLETED
COMPLETED = 4;public static final int RUNNING_VALUE
RUNNING = 1;public static final int PAUSED_VALUE
PAUSED = 2;public static final int FAILED_VALUE
FAILED = 3;public static final int COMPLETED_VALUE
COMPLETED = 4;public static TransferState[] values()
for (TransferState c : TransferState.values()) System.out.println(c);
public static TransferState 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 TransferState valueOf(int value)
forNumber(int) instead.public static TransferState forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<TransferState> 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 TransferState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Space Applications Services. All rights reserved.