public static enum OperationMetadata.Type extends Enum<OperationMetadata.Type> implements com.google.protobuf.ProtocolMessageEnum
Type of longrunning operation.Protobuf enum
google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type| Enum Constant and Description |
|---|
CHECK
A resource check operation.
|
CREATE
A resource creation operation.
|
DATABASE_FAILOVER
Triggers failover of environment's Cloud SQL instance (only for highly
resilient environments).
|
DELETE
A resource deletion operation.
|
LOAD_SNAPSHOT
Loads snapshot of the resource operation.
|
SAVE_SNAPSHOT
Saves snapshot of the resource operation.
|
TYPE_UNSPECIFIED
Unused.
|
UNRECOGNIZED |
UPDATE
A resource update operation.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CHECK_VALUE
A resource check operation.
|
static int |
CREATE_VALUE
A resource creation operation.
|
static int |
DATABASE_FAILOVER_VALUE
Triggers failover of environment's Cloud SQL instance (only for highly
resilient environments).
|
static int |
DELETE_VALUE
A resource deletion operation.
|
static int |
LOAD_SNAPSHOT_VALUE
Loads snapshot of the resource operation.
|
static int |
SAVE_SNAPSHOT_VALUE
Saves snapshot of the resource operation.
|
static int |
TYPE_UNSPECIFIED_VALUE
Unused.
|
static int |
UPDATE_VALUE
A resource update operation.
|
| Modifier and Type | Method and Description |
|---|---|
static OperationMetadata.Type |
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<OperationMetadata.Type> |
internalGetValueMap() |
static OperationMetadata.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static OperationMetadata.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OperationMetadata.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationMetadata.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationMetadata.Type TYPE_UNSPECIFIED
Unused.
TYPE_UNSPECIFIED = 0;public static final OperationMetadata.Type CREATE
A resource creation operation.
CREATE = 1;public static final OperationMetadata.Type DELETE
A resource deletion operation.
DELETE = 2;public static final OperationMetadata.Type UPDATE
A resource update operation.
UPDATE = 3;public static final OperationMetadata.Type CHECK
A resource check operation.
CHECK = 4;public static final OperationMetadata.Type SAVE_SNAPSHOT
Saves snapshot of the resource operation.
SAVE_SNAPSHOT = 5;public static final OperationMetadata.Type LOAD_SNAPSHOT
Loads snapshot of the resource operation.
LOAD_SNAPSHOT = 6;public static final OperationMetadata.Type DATABASE_FAILOVER
Triggers failover of environment's Cloud SQL instance (only for highly resilient environments).
DATABASE_FAILOVER = 7;public static final OperationMetadata.Type UNRECOGNIZED
public static final int TYPE_UNSPECIFIED_VALUE
Unused.
TYPE_UNSPECIFIED = 0;public static final int CREATE_VALUE
A resource creation operation.
CREATE = 1;public static final int DELETE_VALUE
A resource deletion operation.
DELETE = 2;public static final int UPDATE_VALUE
A resource update operation.
UPDATE = 3;public static final int CHECK_VALUE
A resource check operation.
CHECK = 4;public static final int SAVE_SNAPSHOT_VALUE
Saves snapshot of the resource operation.
SAVE_SNAPSHOT = 5;public static final int LOAD_SNAPSHOT_VALUE
Loads snapshot of the resource operation.
LOAD_SNAPSHOT = 6;public static final int DATABASE_FAILOVER_VALUE
Triggers failover of environment's Cloud SQL instance (only for highly resilient environments).
DATABASE_FAILOVER = 7;public static OperationMetadata.Type[] values()
for (OperationMetadata.Type c : OperationMetadata.Type.values()) System.out.println(c);
public static OperationMetadata.Type 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 OperationMetadata.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static OperationMetadata.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<OperationMetadata.Type> 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 OperationMetadata.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.