public static final class ListJobsResponse.Builder extends GeneratedMessageV3.Builder<ListJobsResponse.Builder> implements ListJobsResponseOrBuilder
Response message for listing jobs using ListJobs.
Protobuf type google.cloud.scheduler.v1beta1.ListJobsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllJobs(Iterable<? extends Job> values)
public ListJobsResponse.Builder addAllJobs(Iterable<? extends Job> values)
The list of jobs.
repeated .google.cloud.scheduler.v1beta1.Job jobs = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.scheduler.v1beta1.Job>
|
Returns
addJobs(Job value)
public ListJobsResponse.Builder addJobs(Job value)
The list of jobs.
repeated .google.cloud.scheduler.v1beta1.Job jobs = 1;
Parameter
Returns
addJobs(Job.Builder builderForValue)
public ListJobsResponse.Builder addJobs(Job.Builder builderForValue)
The list of jobs.
repeated .google.cloud.scheduler.v1beta1.Job jobs = 1;
Parameter
Returns
addJobs(int index, Job value)
public ListJobsResponse.Builder addJobs(int index, Job value)
The list of jobs.
repeated .google.cloud.scheduler.v1beta1.Job jobs = 1;
Parameters
Name | Description |
index | int
|
value | Job
|
Returns
addJobs(int index, Job.Builder builderForValue)
public ListJobsResponse.Builder addJobs(int index, Job.Builder builderForValue)
The list of jobs.
repeated .google.cloud.scheduler.v1beta1.Job jobs = 1;
Parameters
Returns
addJobsBuilder()
public Job.Builder addJobsBuilder()
The list of jobs.
repeated .google.cloud.scheduler.v1beta1.Job jobs = 1;
Returns
addJobsBuilder(int index)
public Job.Builder addJobsBuilder(int index)
The list of jobs.
repeated .google.cloud.scheduler.v1beta1.Job jobs = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListJobsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListJobsResponse build()
Returns
buildPartial()
public ListJobsResponse buildPartial()
Returns
clear()
public ListJobsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListJobsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearJobs()
public ListJobsResponse.Builder clearJobs()
The list of jobs.
repeated .google.cloud.scheduler.v1beta1.Job jobs = 1;
Returns
clearNextPageToken()
public ListJobsResponse.Builder clearNextPageToken()
A token to retrieve next page of results. Pass this value in the
page_token field in the subsequent call to
ListJobs to retrieve the next page of results.
If this is empty it indicates that there are no more results
through which to paginate.
The page token is valid for only 2 hours.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListJobsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListJobsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListJobsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getJobs(int index)
public Job getJobs(int index)
The list of jobs.
repeated .google.cloud.scheduler.v1beta1.Job jobs = 1;
Parameter
Returns
getJobsBuilder(int index)
public Job.Builder getJobsBuilder(int index)
The list of jobs.
repeated .google.cloud.scheduler.v1beta1.Job jobs = 1;
Parameter
Returns
getJobsBuilderList()
public List<Job.Builder> getJobsBuilderList()
The list of jobs.
repeated .google.cloud.scheduler.v1beta1.Job jobs = 1;
Returns
getJobsCount()
public int getJobsCount()
The list of jobs.
repeated .google.cloud.scheduler.v1beta1.Job jobs = 1;
Returns
getJobsList()
public List<Job> getJobsList()
The list of jobs.
repeated .google.cloud.scheduler.v1beta1.Job jobs = 1;
Returns
getJobsOrBuilder(int index)
public JobOrBuilder getJobsOrBuilder(int index)
The list of jobs.
repeated .google.cloud.scheduler.v1beta1.Job jobs = 1;
Parameter
Returns
getJobsOrBuilderList()
public List<? extends JobOrBuilder> getJobsOrBuilderList()
The list of jobs.
repeated .google.cloud.scheduler.v1beta1.Job jobs = 1;
Returns
Type | Description |
List<? extends com.google.cloud.scheduler.v1beta1.JobOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
A token to retrieve next page of results. Pass this value in the
page_token field in the subsequent call to
ListJobs to retrieve the next page of results.
If this is empty it indicates that there are no more results
through which to paginate.
The page token is valid for only 2 hours.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token to retrieve next page of results. Pass this value in the
page_token field in the subsequent call to
ListJobs to retrieve the next page of results.
If this is empty it indicates that there are no more results
through which to paginate.
The page token is valid for only 2 hours.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListJobsResponse other)
public ListJobsResponse.Builder mergeFrom(ListJobsResponse other)
Parameter
Returns
public ListJobsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListJobsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListJobsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeJobs(int index)
public ListJobsResponse.Builder removeJobs(int index)
The list of jobs.
repeated .google.cloud.scheduler.v1beta1.Job jobs = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListJobsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setJobs(int index, Job value)
public ListJobsResponse.Builder setJobs(int index, Job value)
The list of jobs.
repeated .google.cloud.scheduler.v1beta1.Job jobs = 1;
Parameters
Name | Description |
index | int
|
value | Job
|
Returns
setJobs(int index, Job.Builder builderForValue)
public ListJobsResponse.Builder setJobs(int index, Job.Builder builderForValue)
The list of jobs.
repeated .google.cloud.scheduler.v1beta1.Job jobs = 1;
Parameters
Returns
setNextPageToken(String value)
public ListJobsResponse.Builder setNextPageToken(String value)
A token to retrieve next page of results. Pass this value in the
page_token field in the subsequent call to
ListJobs to retrieve the next page of results.
If this is empty it indicates that there are no more results
through which to paginate.
The page token is valid for only 2 hours.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListJobsResponse.Builder setNextPageTokenBytes(ByteString value)
A token to retrieve next page of results. Pass this value in the
page_token field in the subsequent call to
ListJobs to retrieve the next page of results.
If this is empty it indicates that there are no more results
through which to paginate.
The page token is valid for only 2 hours.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListJobsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListJobsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides