public static final class ListJobsResponse.Builder extends GeneratedMessage.Builder<ListJobsResponse.Builder> implements ListJobsResponseOrBuilderResponse message containing a list of Jobs.
Protobuf type google.cloud.run.v2.ListJobsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListJobsResponse.BuilderImplements
ListJobsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllJobs(Iterable<? extends Job> values)
public ListJobsResponse.Builder addAllJobs(Iterable<? extends Job> values)The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.run.v2.Job> |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
addJobs(Job value)
public ListJobsResponse.Builder addJobs(Job value)The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Job |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
addJobs(Job.Builder builderForValue)
public ListJobsResponse.Builder addJobs(Job.Builder builderForValue)The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Job.Builder |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
addJobs(int index, Job value)
public ListJobsResponse.Builder addJobs(int index, Job value)The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Job |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
addJobs(int index, Job.Builder builderForValue)
public ListJobsResponse.Builder addJobs(int index, Job.Builder builderForValue)The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Job.Builder |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
addJobsBuilder()
public Job.Builder addJobsBuilder()The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
|
addJobsBuilder(int index)
public Job.Builder addJobsBuilder(int index)The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
|
build()
public ListJobsResponse build()| Returns | |
|---|---|
| Type | Description |
ListJobsResponse |
|
buildPartial()
public ListJobsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListJobsResponse |
|
clear()
public ListJobsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
clearJobs()
public ListJobsResponse.Builder clearJobs()The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
clearNextPageToken()
public ListJobsResponse.Builder clearNextPageToken()A token indicating there are more items than page_size. Use it in the next ListJobs request to continue.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListJobsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListJobsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getJobs(int index)
public Job getJobs(int index)The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Job |
|
getJobsBuilder(int index)
public Job.Builder getJobsBuilder(int index)The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
|
getJobsBuilderList()
public List<Job.Builder> getJobsBuilderList()The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getJobsCount()
public int getJobsCount()The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getJobsList()
public List<Job> getJobsList()The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
| Returns | |
|---|---|
| Type | Description |
List<Job> |
|
getJobsOrBuilder(int index)
public JobOrBuilder getJobsOrBuilder(int index)The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
JobOrBuilder |
|
getJobsOrBuilderList()
public List<? extends JobOrBuilder> getJobsOrBuilderList()The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.run.v2.JobOrBuilder> |
|
getNextPageToken()
public String getNextPageToken()A token indicating there are more items than page_size. Use it in the next ListJobs request to continue.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()A token indicating there are more items than page_size. Use it in the next ListJobs request to continue.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListJobsResponse other)
public ListJobsResponse.Builder mergeFrom(ListJobsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListJobsResponse |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListJobsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListJobsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
removeJobs(int index)
public ListJobsResponse.Builder removeJobs(int index)The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
setJobs(int index, Job value)
public ListJobsResponse.Builder setJobs(int index, Job value)The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Job |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
setJobs(int index, Job.Builder builderForValue)
public ListJobsResponse.Builder setJobs(int index, Job.Builder builderForValue)The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Job.Builder |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
|
setNextPageToken(String value)
public ListJobsResponse.Builder setNextPageToken(String value)A token indicating there are more items than page_size. Use it in the next ListJobs request to continue.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListJobsResponse.Builder setNextPageTokenBytes(ByteString value)A token indicating there are more items than page_size. Use it in the next ListJobs request to continue.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse.Builder |
This builder for chaining. |