public static final class ListJobsResponse.Builder extends GeneratedMessageV3.Builder<ListJobsResponse.Builder> implements ListJobsResponseOrBuilder
Response message containing a list of Jobs.
Protobuf type google.cloud.run.v2.ListJobsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
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>
|
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
|
addJobs(Job.Builder builderForValue)
public ListJobsResponse.Builder addJobs(Job.Builder builderForValue)
The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
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
|
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;
addJobsBuilder()
public Job.Builder addJobsBuilder()
The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListJobsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListJobsResponse build()
buildPartial()
public ListJobsResponse buildPartial()
clear()
public ListJobsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListJobsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearJobs()
public ListJobsResponse.Builder clearJobs()
The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListJobsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListJobsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListJobsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
getJobsBuilderList()
public List<Job.Builder> getJobsBuilderList()
The resulting list of Jobs.
repeated .google.cloud.run.v2.Job jobs = 1;
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;
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
|
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListJobsResponse other)
public ListJobsResponse.Builder mergeFrom(ListJobsResponse other)
public ListJobsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListJobsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListJobsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListJobsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
|
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;
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 | String
The nextPageToken to set.
|
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 | ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListJobsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListJobsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides