public static enum BackgroundJobLogEntry.JobCompletionState extends Enum<BackgroundJobLogEntry.JobCompletionState> implements com.google.protobuf.ProtocolMessageEnum
Final state after a job completes.Protobuf enum
google.cloud.clouddms.v1.BackgroundJobLogEntry.JobCompletionState| Enum Constant and Description |
|---|
FAILED
Error.
|
JOB_COMPLETION_STATE_UNSPECIFIED
The status is not specified.
|
SUCCEEDED
Success.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FAILED_VALUE
Error.
|
static int |
JOB_COMPLETION_STATE_UNSPECIFIED_VALUE
The status is not specified.
|
static int |
SUCCEEDED_VALUE
Success.
|
| Modifier and Type | Method and Description |
|---|---|
static BackgroundJobLogEntry.JobCompletionState |
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<BackgroundJobLogEntry.JobCompletionState> |
internalGetValueMap() |
static BackgroundJobLogEntry.JobCompletionState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BackgroundJobLogEntry.JobCompletionState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BackgroundJobLogEntry.JobCompletionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackgroundJobLogEntry.JobCompletionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackgroundJobLogEntry.JobCompletionState JOB_COMPLETION_STATE_UNSPECIFIED
The status is not specified. This state is used when job is not yet finished.
JOB_COMPLETION_STATE_UNSPECIFIED = 0;public static final BackgroundJobLogEntry.JobCompletionState SUCCEEDED
Success.
SUCCEEDED = 1;public static final BackgroundJobLogEntry.JobCompletionState FAILED
Error.
FAILED = 2;public static final BackgroundJobLogEntry.JobCompletionState UNRECOGNIZED
public static final int JOB_COMPLETION_STATE_UNSPECIFIED_VALUE
The status is not specified. This state is used when job is not yet finished.
JOB_COMPLETION_STATE_UNSPECIFIED = 0;public static final int SUCCEEDED_VALUE
Success.
SUCCEEDED = 1;public static final int FAILED_VALUE
Error.
FAILED = 2;public static BackgroundJobLogEntry.JobCompletionState[] values()
for (BackgroundJobLogEntry.JobCompletionState c : BackgroundJobLogEntry.JobCompletionState.values()) System.out.println(c);
public static BackgroundJobLogEntry.JobCompletionState 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 BackgroundJobLogEntry.JobCompletionState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static BackgroundJobLogEntry.JobCompletionState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<BackgroundJobLogEntry.JobCompletionState> 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 BackgroundJobLogEntry.JobCompletionState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.