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
Inherited Members
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()
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>
|
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;
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;
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;
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;
addPatchJobsBuilder()
public PatchJobs.PatchJob.Builder addPatchJobsBuilder()
The list of patch jobs.
repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PatchJobs.ListPatchJobsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PatchJobs.ListPatchJobsResponse build()
buildPartial()
public PatchJobs.ListPatchJobsResponse buildPartial()
clear()
public PatchJobs.ListPatchJobsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PatchJobs.ListPatchJobsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public PatchJobs.ListPatchJobsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPatchJobs()
public PatchJobs.ListPatchJobsResponse.Builder clearPatchJobs()
The list of patch jobs.
repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;
clone()
public PatchJobs.ListPatchJobsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public PatchJobs.ListPatchJobsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getPatchJobsBuilderList()
public List<PatchJobs.PatchJob.Builder> getPatchJobsBuilderList()
The list of patch jobs.
repeated .google.cloud.osconfig.v1.PatchJob patch_jobs = 1;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PatchJobs.ListPatchJobsResponse other)
public PatchJobs.ListPatchJobsResponse.Builder mergeFrom(PatchJobs.ListPatchJobsResponse other)
public PatchJobs.ListPatchJobsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PatchJobs.ListPatchJobsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PatchJobs.ListPatchJobsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public PatchJobs.ListPatchJobsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PatchJobs.ListPatchJobsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PatchJobs.ListPatchJobsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides