Class PatchJobs.ListPatchJobInstanceDetailsResponse.Builder (2.31.0)

public static final class PatchJobs.ListPatchJobInstanceDetailsResponse.Builder extends GeneratedMessageV3.Builder<PatchJobs.ListPatchJobInstanceDetailsResponse.Builder> implements PatchJobs.ListPatchJobInstanceDetailsResponseOrBuilder

A response message for listing the instances details for a patch job.

Protobuf type google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse

Static Methods

getDescriptor()

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

Methods

addAllPatchJobInstanceDetails(Iterable<? extends PatchJobs.PatchJobInstanceDetails> values)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder addAllPatchJobInstanceDetails(Iterable<? extends PatchJobs.PatchJobInstanceDetails> values)

A list of instance status.

repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails>
Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder

addPatchJobInstanceDetails(PatchJobs.PatchJobInstanceDetails value)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder addPatchJobInstanceDetails(PatchJobs.PatchJobInstanceDetails value)

A list of instance status.

repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1;

Parameter
NameDescription
valuePatchJobs.PatchJobInstanceDetails
Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder

addPatchJobInstanceDetails(PatchJobs.PatchJobInstanceDetails.Builder builderForValue)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder addPatchJobInstanceDetails(PatchJobs.PatchJobInstanceDetails.Builder builderForValue)

A list of instance status.

repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1;

Parameter
NameDescription
builderForValuePatchJobs.PatchJobInstanceDetails.Builder
Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder

addPatchJobInstanceDetails(int index, PatchJobs.PatchJobInstanceDetails value)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder addPatchJobInstanceDetails(int index, PatchJobs.PatchJobInstanceDetails value)

A list of instance status.

repeated .google.cloud.osconfig.v1.PatchJobInstanceDetails patch_job_instance_details = 1;

Parameters
NameDescription
indexint
valuePatchJobs.PatchJobInstanceDetails
Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder

addPatchJobInstanceDetails(int index, PatchJobs.PatchJobInstanceDetails.Builder builderForValue)

public