public static final class ListJobsRequest.Builder extends GeneratedMessage.Builder<ListJobsRequest.Builder> implements ListJobsRequestOrBuilderRequest message for retrieving a list of Jobs.
Protobuf type google.cloud.run.v2.ListJobsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListJobsRequest.BuilderImplements
ListJobsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ListJobsRequest build()| Returns | |
|---|---|
| Type | Description |
ListJobsRequest |
|
buildPartial()
public ListJobsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListJobsRequest |
|
clear()
public ListJobsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListJobsRequest.Builder |
|
clearPageSize()
public ListJobsRequest.Builder clearPageSize()Maximum number of Jobs to return in this call.
int32 page_size = 2;
| Returns | |
|---|---|
| Type | Description |
ListJobsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListJobsRequest.Builder clearPageToken()A page token received from a previous call to ListJobs. All other parameters must match.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
ListJobsRequest.Builder |
This builder for chaining. |
clearParent()
public ListJobsRequest.Builder clearParent()Required. The location and project to list resources on. Format: projects/{project}/locations/{location}, where {project} can be project id or number.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ListJobsRequest.Builder |
This builder for chaining. |
clearShowDeleted()
public ListJobsRequest.Builder clearShowDeleted()If true, returns deleted (but unexpired) resources along with active ones.
bool show_deleted = 4;
| Returns | |
|---|---|
| Type | Description |
ListJobsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListJobsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListJobsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPageSize()
public int getPageSize()Maximum number of Jobs to return in this call.
int32 page_size = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken()A page token received from a previous call to ListJobs. All other parameters must match.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()A page token received from a previous call to ListJobs. All other parameters must match.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent()Required. The location and project to list resources on. Format: projects/{project}/locations/{location}, where {project} can be project id or number.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The location and project to list resources on. Format: projects/{project}/locations/{location}, where {project} can be project id or number.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getShowDeleted()
public boolean getShowDeleted()If true, returns deleted (but unexpired) resources along with active ones.
bool show_deleted = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
The showDeleted. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListJobsRequest other)
public ListJobsRequest.Builder mergeFrom(ListJobsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListJobsRequest |
| Returns | |
|---|---|
| Type | Description |
ListJobsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListJobsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListJobsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListJobsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListJobsRequest.Builder |
|
setPageSize(int value)
public ListJobsRequest.Builder setPageSize(int value)Maximum number of Jobs to return in this call.
int32 page_size = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListJobsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListJobsRequest.Builder setPageToken(String value)A page token received from a previous call to ListJobs. All other parameters must match.
string page_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListJobsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListJobsRequest.Builder setPageTokenBytes(ByteString value)A page token received from a previous call to ListJobs. All other parameters must match.
string page_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListJobsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ListJobsRequest.Builder setParent(String value)Required. The location and project to list resources on. Format: projects/{project}/locations/{location}, where {project} can be project id or number.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListJobsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ListJobsRequest.Builder setParentBytes(ByteString value)Required. The location and project to list resources on. Format: projects/{project}/locations/{location}, where {project} can be project id or number.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListJobsRequest.Builder |
This builder for chaining. |
setShowDeleted(boolean value)
public ListJobsRequest.Builder setShowDeleted(boolean value)If true, returns deleted (but unexpired) resources along with active ones.
bool show_deleted = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe showDeleted to set. |
| Returns | |
|---|---|
| Type | Description |
ListJobsRequest.Builder |
This builder for chaining. |