Class PatchJobs.ListPatchJobInstanceDetailsResponse.Builder (2.54.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetails>
Returns
Type Description
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
Name Description
value PatchJobs.PatchJobInstanceDetails
Returns
Type Description
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
Name Description
builderForValue PatchJobs.PatchJobInstanceDetails.Builder
Returns
Type Description
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
Name Description
index int
value PatchJobs.PatchJobInstanceDetails
Returns
Type Description
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
Name Description
index int
builderForValue PatchJobs.PatchJobInstanceDetails.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
PatchJobs.PatchJobInstanceDetails.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder
Overrides

build()

public PatchJobs.ListPatchJobInstanceDetailsResponse build()
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse

buildPartial()

public PatchJobs.ListPatchJobInstanceDetailsResponse buildPartial()
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse

clear()

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder clear()
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder
Overrides

clearPatchJobInstanceDetails()

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder clearPatchJobInstanceDetails()

A list of instance status.

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

Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder

clone()

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder clone()
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder
Overrides

getDefaultInstanceForType()

public PatchJobs.ListPatchJobInstanceDetailsResponse getDefaultInstanceForType()
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getPatchJobInstanceDetails(int index)

public PatchJobs.PatchJobInstanceDetails getPatchJobInstanceDetails(int index)

A list of instance status.

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

Parameter
Name Description
index int
Returns
Type Description
PatchJobs.PatchJobInstanceDetails

getPatchJobInstanceDetailsBuilder(int index)

public PatchJobs.PatchJobInstanceDetails.Builder getPatchJobInstanceDetailsBuilder(int index)

A list of instance status.

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

Parameter
Name Description
index int
Returns
Type Description
PatchJobs.PatchJobInstanceDetails.Builder

getPatchJobInstanceDetailsBuilderList()

public List<PatchJobs.PatchJobInstanceDetails.Builder> getPatchJobInstanceDetailsBuilderList()

A list of instance status.

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

Returns
Type Description
List<Builder>

getPatchJobInstanceDetailsCount()

public int getPatchJobInstanceDetailsCount()

A list of instance status.

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

Returns
Type Description
int

getPatchJobInstanceDetailsList()

public List<PatchJobs.PatchJobInstanceDetails> getPatchJobInstanceDetailsList()

A list of instance status.

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

Returns
Type Description
List<PatchJobInstanceDetails>

getPatchJobInstanceDetailsOrBuilder(int index)

public PatchJobs.PatchJobInstanceDetailsOrBuilder getPatchJobInstanceDetailsOrBuilder(int index)

A list of instance status.

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

Parameter
Name Description
index int
Returns
Type Description
PatchJobs.PatchJobInstanceDetailsOrBuilder

getPatchJobInstanceDetailsOrBuilderList()

public List<? extends PatchJobs.PatchJobInstanceDetailsOrBuilder> getPatchJobInstanceDetailsOrBuilderList()

A list of instance status.

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

Returns
Type Description
List<? extends com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PatchJobs.ListPatchJobInstanceDetailsResponse other)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder mergeFrom(PatchJobs.ListPatchJobInstanceDetailsResponse other)
Parameter
Name Description
other PatchJobs.ListPatchJobInstanceDetailsResponse
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PatchJobs.ListPatchJobInstanceDetailsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder
Overrides

removePatchJobInstanceDetails(int index)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder removePatchJobInstanceDetails(int index)

A list of instance status.

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

Parameter
Name Description
index int
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder
Overrides

setNextPageToken(String value)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder

This builder for chaining.

setPatchJobInstanceDetails(int index, PatchJobs.PatchJobInstanceDetails value)

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

A list of instance status.

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

Parameters
Name Description
index int
value PatchJobs.PatchJobInstanceDetails
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder

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

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder setPatchJobInstanceDetails(int index, PatchJobs.PatchJobInstanceDetails.Builder builderForValue)

A list of instance status.

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

Parameters
Name Description
index int
builderForValue PatchJobs.PatchJobInstanceDetails.Builder
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PatchJobs.ListPatchJobInstanceDetailsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder
Overrides