Class PatchJobs.ListPatchJobsResponse.Builder (2.56.0)

public static final class PatchJobs.ListPatchJobsResponse.Builder extends GeneratedMessageV3.Builder<PatchJobs.ListPatchJobsResponse.Builder> implements PatchJobs.ListPatchJobsResponseOrBuilder

A response message for listing patch jobs.

Protobuf type google.cloud.osconfig.v1.ListPatchJobsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllPatchJobs(Iterable<? extends PatchJobs.PatchJob> values)

public PatchJobs.ListPatchJobsResponse.Builder addAllPatchJobs(Iterable<? extends PatchJobs.PatchJob> values)

The list of patch jobs.

repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.osconfig.v1.PatchJobs.PatchJob>
Returns
Type Description
PatchJobs.ListPatchJobsResponse.Builder

addPatchJobs(PatchJobs.PatchJob value)

public PatchJobs.ListPatchJobsResponse.Builder addPatchJobs(PatchJobs.PatchJob value)

The list of patch jobs.

repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;

Parameter
Name Description
value PatchJobs.PatchJob
Returns
Type Description
PatchJobs.ListPatchJobsResponse.Builder

addPatchJobs(PatchJobs.PatchJob.Builder builderForValue)

public PatchJobs.ListPatchJobsResponse.Builder addPatchJobs(PatchJobs.PatchJob.Builder builderForValue)

The list of patch jobs.

repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;

Parameter
Name Description
builderForValue PatchJobs.PatchJob.Builder
Returns
Type Description
PatchJobs.ListPatchJobsResponse.Builder

addPatchJobs(int index, PatchJobs.PatchJob value)

public PatchJobs.ListPatchJobsResponse.Builder addPatchJobs(int index, PatchJobs.PatchJob value)

The list of patch jobs.

repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;

Parameters
Name Description
index int
value PatchJobs.PatchJob
Returns
Type Description
PatchJobs.ListPatchJobsResponse.Builder

addPatchJobs(int index, PatchJobs.PatchJob.Builder builderForValue)

public PatchJobs.ListPatchJobsResponse.Builder addPatchJobs(int index, PatchJobs.PatchJob.Builder builderForValue)

The list of patch jobs.

repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;

Parameters
Name Description
index int
builderForValue PatchJobs.PatchJob.Builder
Returns
Type Description
PatchJobs.ListPatchJobsResponse.Builder

addPatchJobsBuilder()

public PatchJobs.PatchJob.Builder addPatchJobsBuilder()

The list of patch jobs.

repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;

Returns
Type Description
PatchJobs.PatchJob.Builder

addPatchJobsBuilder(int index)

public PatchJobs.PatchJob.Builder addPatchJobsBuilder(int index)

The list of patch jobs.

repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

public PatchJobs.ListPatchJobsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PatchJobs.ListPatchJobsResponse.Builder
Overrides

clearNextPageToken()

public PatchJobs.ListPatchJobsResponse.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.ListPatchJobsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPatchJobs()

public PatchJobs.ListPatchJobsResponse.Builder clearPatchJobs()

The list of patch jobs.

repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;

Returns
Type Description
PatchJobs.ListPatchJobsResponse.Builder

clone()

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

getDefaultInstanceForType()

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

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.

getPatchJobs(int index)

public PatchJobs.PatchJob getPatchJobs(int index)

The list of patch jobs.

repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
PatchJobs.PatchJob

getPatchJobsBuilder(int index)

public PatchJobs.PatchJob.Builder getPatchJobsBuilder(int index)

The list of patch jobs.

repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;

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

getPatchJobsBuilderList()

public List<PatchJobs.PatchJob.Builder> getPatchJobsBuilderList()

The list of patch jobs.

repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;

Returns
Type Description
List<Builder>

getPatchJobsCount()

public int getPatchJobsCount()

The list of patch jobs.

repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;

Returns
Type Description
int

getPatchJobsList()

public List<PatchJobs.PatchJob> getPatchJobsList()

The list of patch jobs.

repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;

Returns
Type Description
List<PatchJob>

getPatchJobsOrBuilder(int index)

public PatchJobs.PatchJobOrBuilder getPatchJobsOrBuilder(int index)

The list of patch jobs.

repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
PatchJobs.PatchJobOrBuilder

getPatchJobsOrBuilderList()

public List<? extends PatchJobs.PatchJobOrBuilder> getPatchJobsOrBuilderList()

The list of patch jobs.

repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PatchJobs.ListPatchJobsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePatchJobs(int index)

public PatchJobs.ListPatchJobsResponse.Builder removePatchJobs(int index)

The list of patch jobs.

repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public PatchJobs.ListPatchJobsResponse.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.ListPatchJobsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public PatchJobs.ListPatchJobsResponse.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.ListPatchJobsResponse.Builder

This builder for chaining.

setPatchJobs(int index, PatchJobs.PatchJob value)

public PatchJobs.ListPatchJobsResponse.Builder setPatchJobs(int index, PatchJobs.PatchJob value)

The list of patch jobs.

repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;

Parameters
Name Description
index int
value PatchJobs.PatchJob
Returns
Type Description
PatchJobs.ListPatchJobsResponse.Builder

setPatchJobs(int index, PatchJobs.PatchJob.Builder builderForValue)

public PatchJobs.ListPatchJobsResponse.Builder setPatchJobs(int index, PatchJobs.PatchJob.Builder builderForValue)

The list of patch jobs.

repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;

Parameters
Name Description
index int
builderForValue PatchJobs.PatchJob.Builder
Returns
Type Description
PatchJobs.ListPatchJobsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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