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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails>

addPatchJobInstanceDetails(PatchJobs.PatchJobInstanceDetails value)

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

A list of instance status.

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

Parameter
Name Description
value PatchJobs.PatchJobInstanceDetails

addPatchJobInstanceDetails(PatchJobs.PatchJobInstanceDetails.Builder builderForValue)

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

A list of instance status.

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

Parameter
Name Description
builderForValue PatchJobs.PatchJobInstanceDetails.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.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1;

Parameters
Name Description
index int
value PatchJobs.PatchJobInstanceDetails

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.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1;

Parameters
Name Description
index int
builderForValue PatchJobs.PatchJobInstanceDetails.Builder

addPatchJobInstanceDetailsBuilder()

public PatchJobs.PatchJobInstanceDetails.Builder addPatchJobInstanceDetailsBuilder()

A list of instance status.

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

addPatchJobInstanceDetailsBuilder(int index)

public PatchJobs.PatchJobInstanceDetails.Builder addPatchJobInstanceDetailsBuilder(int index)

A list of instance status.

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

Parameter
Name Description
index int

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PatchJobs.ListPatchJobInstanceDetailsResponse build()

buildPartial()

public PatchJobs.ListPatchJobInstanceDetailsResponse buildPartial()

clear()

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearPatchJobInstanceDetails()

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder clearPatchJobInstanceDetails()

A list of instance status.

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

clone()

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder clone()
Overrides

getDefaultInstanceForType()

public PatchJobs.ListPatchJobInstanceDetailsResponse getDefaultInstanceForType()

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.v1beta.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.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1;

Parameter
Name Description
index int

getPatchJobInstanceDetailsBuilderList()

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

A list of instance status.

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

Returns
Type Description
List<Builder>

getPatchJobInstanceDetailsCount()

public int getPatchJobInstanceDetailsCount()

A list of instance status.

repeated .google.cloud.osconfig.v1beta.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.v1beta.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.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1;

Parameter
Name Description
index int

getPatchJobInstanceDetailsOrBuilderList()

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

A list of instance status.

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

Returns
Type Description
List<? extends com.google.cloud.osconfig.v1beta.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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePatchJobInstanceDetails(int index)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder removePatchJobInstanceDetails(int index)

A list of instance status.

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

Parameter
Name Description
index int

setField(Descriptors.FieldDescriptor field, Object value)

public PatchJobs.ListPatchJobInstanceDetailsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1;

Parameters
Name Description
index int
value PatchJobs.PatchJobInstanceDetails

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.v1beta.PatchJobInstanceDetails patch_job_instance_details = 1;

Parameters
Name Description
index int
builderForValue PatchJobs.PatchJobInstanceDetails.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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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