public static final class PatchJobs.ListPatchJobsResponse.Builder extends GeneratedMessage.Builder<PatchJobs.ListPatchJobsResponse.Builder> implements PatchJobs.ListPatchJobsResponseOrBuilderA response message for listing patch jobs.
Protobuf type google.cloud.osconfig.v1.ListPatchJobsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PatchJobs.ListPatchJobsResponse.BuilderImplements
PatchJobs.ListPatchJobsResponseOrBuilderStatic 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 |
|
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 |
|
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. |
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 |
|
getDefaultInstanceForType()
public PatchJobs.ListPatchJobsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PatchJobs.ListPatchJobsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
|