Class PatchJobs.PatchJob.InstanceDetailsSummary.Builder (2.6.0)

public static final class PatchJobs.PatchJob.InstanceDetailsSummary.Builder extends GeneratedMessageV3.Builder<PatchJobs.PatchJob.InstanceDetailsSummary.Builder> 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.v1.PatchJob.InstanceDetailsSummary

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PatchJobs.PatchJob.InstanceDetailsSummary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary.Builder
Overrides

build()

public PatchJobs.PatchJob.InstanceDetailsSummary build()
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary

buildPartial()

public PatchJobs.PatchJob.InstanceDetailsSummary buildPartial()
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary

clear()

public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clear()
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary.Builder
Overrides

clearAckedInstanceCount()

public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearAckedInstanceCount()

Number of instances that have acked and will start shortly.

int64 acked_instance_count = 11;

Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary.Builder

This builder for chaining.

clearApplyingPatchesInstanceCount()

public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearApplyingPatchesInstanceCount()

Number of instances that are applying patches.

int64 applying_patches_instance_count = 6;

Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary.Builder

This builder for chaining.

clearDownloadingPatchesInstanceCount()

public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearDownloadingPatchesInstanceCount()

Number of instances that are downloading patches.

int64 downloading_patches_instance_count = 5;

Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary.Builder

This builder for chaining.

clearFailedInstanceCount()

public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearFailedInstanceCount()

Number of instances that failed.

int64 failed_instance_count = 10;

Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary.Builder
Overrides

clearInactiveInstanceCount()

public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearInactiveInstanceCount()

Number of instances that are inactive.

int64 inactive_instance_count = 2;

Returns
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary.Builder

This builder for chaining.

clearNoAgentDetectedInstanceCount()

public PatchJobs.PatchJob.InstanceDetailsSummary.Builder clearNoAgentDetectedInstanceCount()

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
TypeDescription
PatchJobs.PatchJob.InstanceDetailsSummary.Builder

This builder for chaining.

clearNotifiedInstanceCount()

public PatchJobs.PatchJob.InstanceDetailsSummary.Builder