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 PatchJobs.ListPatchJobInstanceDetailsResponse.Builder addPatchJobInstanceDetails(int index, PatchJobs.PatchJobInstanceDetails.Builder builderForValue)

A list of instance status.

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

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

addPatchJobInstanceDetailsBuilder()

public PatchJobs.PatchJobInstanceDetails.Builder addPatchJobInstanceDetailsBuilder()

A list of instance status.

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

Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails.Builder

addPatchJobInstanceDetailsBuilder(int index)

public PatchJobs.PatchJobInstanceDetails.Builder addPatchJobInstanceDetailsBuilder(int index)

A list of instance status.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PatchJobs.ListPatchJobInstanceDetailsResponse build()
Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsResponse

buildPartial()

public PatchJobs.ListPatchJobInstanceDetailsResponse buildPartial()
Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsResponse

clear()

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder clear()
Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder clearNextPageToken()

A pagination token that can be used to get the next page of results.

string next_page_token = 2;

Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder

This builder for chaining.