Class PatchJobs.ListPatchJobInstanceDetailsResponse.Builder (2.29.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.

clearOneof(Descriptors.OneofDescriptor oneof)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getPatchJobInstanceDetailsCount()

public int getPatchJobInstanceDetailsCount()

A list of instance status.

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

Returns
TypeDescription
int

getPatchJobInstanceDetailsList()

public List<PatchJobs.PatchJobInstanceDetails> getPatchJobInstanceDetailsList()

A list of instance status.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.osconfig.v1.PatchJobs.PatchJobInstanceDetailsOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PatchJobs.ListPatchJobInstanceDetailsResponse other)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder mergeFrom(PatchJobs.ListPatchJobInstanceDetailsResponse other)
Parameter
NameDescription
otherPatchJobs.ListPatchJobInstanceDetailsResponse
Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PatchJobs.ListPatchJobInstanceDetailsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valuePatchJobs.PatchJobInstanceDetails
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePatchJobs.PatchJobInstanceDetails.Builder
Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final PatchJobs.ListPatchJobInstanceDetailsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsResponse.Builder
Overrides