Class PatchJobs.PatchJob.InstanceDetailsSummary (2.56.0)

public static final class PatchJobs.PatchJob.InstanceDetailsSummary extends GeneratedMessageV3 implements PatchJobs.PatchJob.InstanceDetailsSummaryOrBuilder

A summary of the current patch state across all instances that this patch job affects. Contains counts of instances in different states. These states map to InstancePatchState. List patch job instance details to see the specific states of each instance.

Protobuf type google.cloud.osconfig.v1beta.PatchJob.InstanceDetailsSummary

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PatchJobs.PatchJob.InstanceDetailsSummary

Static Fields

ACKED_INSTANCE_COUNT_FIELD_NUMBER

public static final int ACKED_INSTANCE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

APPLYING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER

public static final int APPLYING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

DOWNLOADING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER

public static final int DOWNLOADING_PATCHES_INSTANCE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

FAILED_INSTANCE_COUNT_FIELD_NUMBER

public static final int FAILED_INSTANCE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

INACTIVE_INSTANCE_COUNT_FIELD_NUMBER

public static final int INACTIVE_INSTANCE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

NOTIFIED_INSTANCE_COUNT_FIELD_NUMBER

public static final int NOTIFIED_INSTANCE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

NO_AGENT_DETECTED_INSTANCE_COUNT_FIELD_NUMBER

public static final int NO_AGENT_DETECTED_INSTANCE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

PENDING_INSTANCE_COUNT_FIELD_NUMBER

public static final int PENDING_INSTANCE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

POST_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER

public static final int POST_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

PRE_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER

public static final int PRE_PATCH_STEP_INSTANCE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

REBOOTING_INSTANCE_COUNT_FIELD_NUMBER

public static final int REBOOTING_INSTANCE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

STARTED_INSTANCE_COUNT_FIELD_NUMBER

public static final int STARTED_INSTANCE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

SUCCEEDED_INSTANCE_COUNT_FIELD_NUMBER

public static final int SUCCEEDED_INSTANCE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

SUCCEEDED_REBOOT_REQUIRED_INSTANCE_COUNT_FIELD_NUMBER

public static final int SUCCEEDED_REBOOT_REQUIRED_INSTANCE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

TIMED_OUT_INSTANCE_COUNT_FIELD_NUMBER

public static final int TIMED_OUT_INSTANCE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstance()
Returns
Type Description
PatchJobs.PatchJob.InstanceDetailsSummary

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PatchJobs.PatchJob.InstanceDetailsSummary.Builder newBuilder()
Returns
Type Description
PatchJobs.PatchJob.InstanceDetailsSummary.Builder

newBuilder(PatchJobs.PatchJob.InstanceDetailsSummary prototype)

public static PatchJobs.PatchJob.InstanceDetailsSummary.Builder newBuilder(PatchJobs.PatchJob.InstanceDetailsSummary prototype)
Parameter
Name Description
prototype PatchJobs.PatchJob.InstanceDetailsSummary
Returns
Type Description
PatchJobs.PatchJob.InstanceDetailsSummary.Builder

parseDelimitedFrom(InputStream input)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJob.InstanceDetailsSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.PatchJob.InstanceDetailsSummary
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PatchJobs.PatchJob.InstanceDetailsSummary> parser()
Returns
Type Description
Parser<InstanceDetailsSummary>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAckedInstanceCount()

public long getAckedInstanceCount()

Number of instances that have acked and will start shortly.

int64 acked_instance_count = 11;

Returns
Type Description
long

The ackedInstanceCount.

getApplyingPatchesInstanceCount()

public long getApplyingPatchesInstanceCount()

Number of instances that are applying patches.

int64 applying_patches_instance_count = 6;

Returns
Type Description
long

The applyingPatchesInstanceCount.

getDefaultInstanceForType()

public PatchJobs.PatchJob.InstanceDetailsSummary getDefaultInstanceForType()
Returns
Type Description
PatchJobs.PatchJob.InstanceDetailsSummary

getDownloadingPatchesInstanceCount()

public long getDownloadingPatchesInstanceCount()

Number of instances that are downloading patches.

int64 downloading_patches_instance_count = 5;

Returns
Type Description
long

The downloadingPatchesInstanceCount.

getFailedInstanceCount()

public long getFailedInstanceCount()

Number of instances that failed.

int64 failed_instance_count = 10;

Returns
Type Description
long

The failedInstanceCount.

getInactiveInstanceCount()

public long getInactiveInstanceCount()

Number of instances that are inactive.

int64 inactive_instance_count = 2;

Returns
Type Description
long

The inactiveInstanceCount.

getNoAgentDetectedInstanceCount()

public long getNoAgentDetectedInstanceCount()

Number of instances that do not appear to be running the agent. Check to ensure that the agent is installed, running, and able to communicate with the service.

int64 no_agent_detected_instance_count = 15;

Returns
Type Description
long

The noAgentDetectedInstanceCount.

getNotifiedInstanceCount()

public long getNotifiedInstanceCount()

Number of instances notified about patch job.

int64 notified_instance_count = 3;

Returns
Type Description
long

The notifiedInstanceCount.

getParserForType()

public Parser<PatchJobs.PatchJob.InstanceDetailsSummary> getParserForType()
Returns
Type Description
Parser<InstanceDetailsSummary>
Overrides

getPendingInstanceCount()

public long getPendingInstanceCount()

Number of instances pending patch job.

int64 pending_instance_count = 1;

Returns
Type Description
long

The pendingInstanceCount.

getPostPatchStepInstanceCount()

public long getPostPatchStepInstanceCount()

Number of instances that are running the post-patch step.

int64 post_patch_step_instance_count = 14;

Returns
Type Description
long

The postPatchStepInstanceCount.

getPrePatchStepInstanceCount()

public long getPrePatchStepInstanceCount()

Number of instances that are running the pre-patch step.

int64 pre_patch_step_instance_count = 13;

Returns
Type Description
long

The prePatchStepInstanceCount.

getRebootingInstanceCount()

public long getRebootingInstanceCount()

Number of instances rebooting.

int64 rebooting_instance_count = 7;

Returns
Type Description
long

The rebootingInstanceCount.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartedInstanceCount()

public long getStartedInstanceCount()

Number of instances that have started.

int64 started_instance_count = 4;

Returns
Type Description
long

The startedInstanceCount.

getSucceededInstanceCount()

public long getSucceededInstanceCount()

Number of instances that have completed successfully.

int64 succeeded_instance_count = 8;

Returns
Type Description
long

The succeededInstanceCount.

getSucceededRebootRequiredInstanceCount()

public long getSucceededRebootRequiredInstanceCount()

Number of instances that require reboot.

int64 succeeded_reboot_required_instance_count = 9;

Returns
Type Description
long

The succeededRebootRequiredInstanceCount.

getTimedOutInstanceCount()

public long getTimedOutInstanceCount()

Number of instances that exceeded the time out while applying the patch.

int64 timed_out_instance_count = 12;

Returns
Type Description
long

The timedOutInstanceCount.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PatchJobs.PatchJob.InstanceDetailsSummary.Builder newBuilderForType()
Returns
Type Description
PatchJobs.PatchJob.InstanceDetailsSummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PatchJobs.PatchJob.InstanceDetailsSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PatchJobs.PatchJob.InstanceDetailsSummary.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PatchJobs.PatchJob.InstanceDetailsSummary.Builder toBuilder()
Returns
Type Description
PatchJobs.PatchJob.InstanceDetailsSummary.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException