public static enum PatchJobs.PatchJob.State extends Enum<PatchJobs.PatchJob.State> implements com.google.protobuf.ProtocolMessageEnum
Enumeration of the various states a patch job passes through as it executes.Protobuf enum
google.cloud.osconfig.v1.PatchJob.State| Enum Constant and Description |
|---|
CANCELED
The patch job was canceled.
|
COMPLETED_WITH_ERRORS
Patch job completed but there were errors.
|
INSTANCE_LOOKUP
The patch job is looking up instances to run the patch on.
|
PATCHING
Instances are being patched.
|
STARTED
The patch job was successfully initiated.
|
STATE_UNSPECIFIED
State must be specified.
|
SUCCEEDED
Patch job completed successfully.
|
TIMED_OUT
The patch job timed out.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CANCELED_VALUE
The patch job was canceled.
|
static int |
COMPLETED_WITH_ERRORS_VALUE
Patch job completed but there were errors.
|
static int |
INSTANCE_LOOKUP_VALUE
The patch job is looking up instances to run the patch on.
|
static int |
PATCHING_VALUE
Instances are being patched.
|
static int |
STARTED_VALUE
The patch job was successfully initiated.
|
static int |
STATE_UNSPECIFIED_VALUE
State must be specified.
|
static int |
SUCCEEDED_VALUE
Patch job completed successfully.
|
static int |
TIMED_OUT_VALUE
The patch job timed out.
|
| Modifier and Type | Method and Description |
|---|---|
static PatchJobs.PatchJob.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<PatchJobs.PatchJob.State> |
internalGetValueMap() |
static PatchJobs.PatchJob.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PatchJobs.PatchJob.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PatchJobs.PatchJob.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PatchJobs.PatchJob.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatchJobs.PatchJob.State STATE_UNSPECIFIED
State must be specified.
STATE_UNSPECIFIED = 0;public static final PatchJobs.PatchJob.State STARTED
The patch job was successfully initiated.
STARTED = 1;public static final PatchJobs.PatchJob.State INSTANCE_LOOKUP
The patch job is looking up instances to run the patch on.
INSTANCE_LOOKUP = 2;public static final PatchJobs.PatchJob.State PATCHING
Instances are being patched.
PATCHING = 3;public static final PatchJobs.PatchJob.State SUCCEEDED
Patch job completed successfully.
SUCCEEDED = 4;public static final PatchJobs.PatchJob.State COMPLETED_WITH_ERRORS
Patch job completed but there were errors.
COMPLETED_WITH_ERRORS = 5;public static final PatchJobs.PatchJob.State CANCELED
The patch job was canceled.
CANCELED = 6;public static final PatchJobs.PatchJob.State TIMED_OUT
The patch job timed out.
TIMED_OUT = 7;public static final PatchJobs.PatchJob.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
State must be specified.
STATE_UNSPECIFIED = 0;public static final int STARTED_VALUE
The patch job was successfully initiated.
STARTED = 1;public static final int INSTANCE_LOOKUP_VALUE
The patch job is looking up instances to run the patch on.
INSTANCE_LOOKUP = 2;public static final int PATCHING_VALUE
Instances are being patched.
PATCHING = 3;public static final int SUCCEEDED_VALUE
Patch job completed successfully.
SUCCEEDED = 4;public static final int COMPLETED_WITH_ERRORS_VALUE
Patch job completed but there were errors.
COMPLETED_WITH_ERRORS = 5;public static final int CANCELED_VALUE
The patch job was canceled.
CANCELED = 6;public static final int TIMED_OUT_VALUE
The patch job timed out.
TIMED_OUT = 7;public static PatchJobs.PatchJob.State[] values()
for (PatchJobs.PatchJob.State c : PatchJobs.PatchJob.State.values()) System.out.println(c);
public static PatchJobs.PatchJob.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 PatchJobs.PatchJob.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static PatchJobs.PatchJob.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PatchJobs.PatchJob.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 PatchJobs.PatchJob.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.