public static enum TransferTypes.AgentPool.State extends Enum<TransferTypes.AgentPool.State> implements com.google.protobuf.ProtocolMessageEnum
The state of an AgentPool.Protobuf enum
google.storagetransfer.v1.AgentPool.State| Enum Constant and Description |
|---|
CREATED
Determines that the AgentPool is created for use.
|
CREATING
This is an initialization state.
|
DELETING
Determines that the AgentPool deletion has been initiated, and all the
resources are scheduled to be cleaned up and freed.
|
STATE_UNSPECIFIED
Default value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATED_VALUE
Determines that the AgentPool is created for use.
|
static int |
CREATING_VALUE
This is an initialization state.
|
static int |
DELETING_VALUE
Determines that the AgentPool deletion has been initiated, and all the
resources are scheduled to be cleaned up and freed.
|
static int |
STATE_UNSPECIFIED_VALUE
Default value.
|
| Modifier and Type | Method and Description |
|---|---|
static TransferTypes.AgentPool.State |
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<TransferTypes.AgentPool.State> |
internalGetValueMap() |
static TransferTypes.AgentPool.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TransferTypes.AgentPool.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransferTypes.AgentPool.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferTypes.AgentPool.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferTypes.AgentPool.State STATE_UNSPECIFIED
Default value. This value is unused.
STATE_UNSPECIFIED = 0;public static final TransferTypes.AgentPool.State CREATING
This is an initialization state. During this stage, the resources such as Pub/Sub topics are allocated for the AgentPool.
CREATING = 1;public static final TransferTypes.AgentPool.State CREATED
Determines that the AgentPool is created for use. At this state, Agents can join the AgentPool and participate in the transfer jobs in that pool.
CREATED = 2;public static final TransferTypes.AgentPool.State DELETING
Determines that the AgentPool deletion has been initiated, and all the resources are scheduled to be cleaned up and freed.
DELETING = 3;public static final TransferTypes.AgentPool.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Default value. This value is unused.
STATE_UNSPECIFIED = 0;public static final int CREATING_VALUE
This is an initialization state. During this stage, the resources such as Pub/Sub topics are allocated for the AgentPool.
CREATING = 1;public static final int CREATED_VALUE
Determines that the AgentPool is created for use. At this state, Agents can join the AgentPool and participate in the transfer jobs in that pool.
CREATED = 2;public static final int DELETING_VALUE
Determines that the AgentPool deletion has been initiated, and all the resources are scheduled to be cleaned up and freed.
DELETING = 3;public static TransferTypes.AgentPool.State[] values()
for (TransferTypes.AgentPool.State c : TransferTypes.AgentPool.State.values()) System.out.println(c);
public static TransferTypes.AgentPool.State 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 TransferTypes.AgentPool.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TransferTypes.AgentPool.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TransferTypes.AgentPool.State> 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 TransferTypes.AgentPool.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.