Enum PatchJobs.PatchJob.State (2.46.0)

public enum PatchJobs.PatchJob.State extends Enum<PatchJobs.PatchJob.State> implements ProtocolMessageEnum

Enumeration of the various states a patch job passes through as it executes.

Protobuf enum google.cloud.osconfig.v1beta.PatchJob.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
CANCELED

The patch job was canceled.

CANCELED = 6;

CANCELED_VALUE

The patch job was canceled.

CANCELED = 6;

COMPLETED_WITH_ERRORS

Patch job completed but there were errors.

COMPLETED_WITH_ERRORS = 5;

COMPLETED_WITH_ERRORS_VALUE

Patch job completed but there were errors.

COMPLETED_WITH_ERRORS = 5;

INSTANCE_LOOKUP

The patch job is looking up instances to run the patch on.

INSTANCE_LOOKUP = 2;

INSTANCE_LOOKUP_VALUE

The patch job is looking up instances to run the patch on.

INSTANCE_LOOKUP = 2;

PATCHING

Instances are being patched.

PATCHING = 3;

PATCHING_VALUE

Instances are being patched.

PATCHING = 3;

STARTED

The patch job was successfully initiated.

STARTED = 1;

STARTED_VALUE

The patch job was successfully initiated.

STARTED = 1;

STATE_UNSPECIFIED

State must be specified.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

State must be specified.

STATE_UNSPECIFIED = 0;

SUCCEEDED

Patch job completed successfully.

SUCCEEDED = 4;

SUCCEEDED_VALUE

Patch job completed successfully.

SUCCEEDED = 4;

TIMED_OUT

The patch job timed out.

TIMED_OUT = 7;

TIMED_OUT_VALUE

The patch job timed out.

TIMED_OUT = 7;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()