public static enum DiskResourceStatusAsyncReplicationStatus.State extends Enum<DiskResourceStatusAsyncReplicationStatus.State> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus.State| Enum Constant and Description |
|---|
ACTIVE
Replication is active.
|
CREATED
Secondary disk is created and is waiting for replication to start.
|
STARTING
Replication is starting.
|
STATE_UNSPECIFIED
STATE_UNSPECIFIED = 470755401; |
STOPPED
Replication is stopped.
|
STOPPING
Replication is stopping.
|
UNDEFINED_STATE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
Replication is active.
|
static int |
CREATED_VALUE
Secondary disk is created and is waiting for replication to start.
|
static int |
STARTING_VALUE
Replication is starting.
|
static int |
STATE_UNSPECIFIED_VALUE
STATE_UNSPECIFIED = 470755401; |
static int |
STOPPED_VALUE
Replication is stopped.
|
static int |
STOPPING_VALUE
Replication is stopping.
|
static int |
UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static DiskResourceStatusAsyncReplicationStatus.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<DiskResourceStatusAsyncReplicationStatus.State> |
internalGetValueMap() |
static DiskResourceStatusAsyncReplicationStatus.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DiskResourceStatusAsyncReplicationStatus.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DiskResourceStatusAsyncReplicationStatus.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiskResourceStatusAsyncReplicationStatus.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiskResourceStatusAsyncReplicationStatus.State UNDEFINED_STATE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final DiskResourceStatusAsyncReplicationStatus.State ACTIVE
Replication is active.
ACTIVE = 314733318;public static final DiskResourceStatusAsyncReplicationStatus.State CREATED
Secondary disk is created and is waiting for replication to start.
CREATED = 135924424;public static final DiskResourceStatusAsyncReplicationStatus.State STARTING
Replication is starting.
STARTING = 488820800;public static final DiskResourceStatusAsyncReplicationStatus.State STATE_UNSPECIFIED
STATE_UNSPECIFIED = 470755401;public static final DiskResourceStatusAsyncReplicationStatus.State STOPPED
Replication is stopped.
STOPPED = 444276141;public static final DiskResourceStatusAsyncReplicationStatus.State STOPPING
Replication is stopping.
STOPPING = 350791796;public static final DiskResourceStatusAsyncReplicationStatus.State UNRECOGNIZED
public static final int UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final int ACTIVE_VALUE
Replication is active.
ACTIVE = 314733318;public static final int CREATED_VALUE
Secondary disk is created and is waiting for replication to start.
CREATED = 135924424;public static final int STARTING_VALUE
Replication is starting.
STARTING = 488820800;public static final int STATE_UNSPECIFIED_VALUE
STATE_UNSPECIFIED = 470755401;public static final int STOPPED_VALUE
Replication is stopped.
STOPPED = 444276141;public static final int STOPPING_VALUE
Replication is stopping.
STOPPING = 350791796;public static DiskResourceStatusAsyncReplicationStatus.State[] values()
for (DiskResourceStatusAsyncReplicationStatus.State c : DiskResourceStatusAsyncReplicationStatus.State.values()) System.out.println(c);
public static DiskResourceStatusAsyncReplicationStatus.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 DiskResourceStatusAsyncReplicationStatus.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DiskResourceStatusAsyncReplicationStatus.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DiskResourceStatusAsyncReplicationStatus.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 DiskResourceStatusAsyncReplicationStatus.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.