public static enum Execution.StateError.Type extends Enum<Execution.StateError.Type> implements com.google.protobuf.ProtocolMessageEnum
Describes the possible types of a state error.Protobuf enum
google.cloud.workflows.executions.v1.Execution.StateError.Type| Enum Constant and Description |
|---|
KMS_ERROR
Caused by an issue with KMS.
|
TYPE_UNSPECIFIED
No type specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
KMS_ERROR_VALUE
Caused by an issue with KMS.
|
static int |
TYPE_UNSPECIFIED_VALUE
No type specified.
|
| Modifier and Type | Method and Description |
|---|---|
static Execution.StateError.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<Execution.StateError.Type> |
internalGetValueMap() |
static Execution.StateError.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Execution.StateError.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Execution.StateError.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Execution.StateError.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Execution.StateError.Type TYPE_UNSPECIFIED
No type specified.
TYPE_UNSPECIFIED = 0;public static final Execution.StateError.Type KMS_ERROR
Caused by an issue with KMS.
KMS_ERROR = 1;public static final Execution.StateError.Type UNRECOGNIZED
public static final int TYPE_UNSPECIFIED_VALUE
No type specified.
TYPE_UNSPECIFIED = 0;public static final int KMS_ERROR_VALUE
Caused by an issue with KMS.
KMS_ERROR = 1;public static Execution.StateError.Type[] values()
for (Execution.StateError.Type c : Execution.StateError.Type.values()) System.out.println(c);
public static Execution.StateError.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 Execution.StateError.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Execution.StateError.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Execution.StateError.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 Execution.StateError.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.