Class ListTasksRequest.Builder (2.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 2.80.0 (latest)
- 2.78.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.12
- 2.2.0
- 2.1.11
publicstaticfinalclass ListTasksRequest.BuilderextendsGeneratedMessageV3.Builder<ListTasksRequest.Builder>implementsListTasksRequestOrBuilderRequest message for listing tasks using ListTasks.
Protobuf type google.cloud.tasks.v2.ListTasksRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListTasksRequest.BuilderImplements
ListTasksRequestOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicListTasksRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)build()
publicListTasksRequestbuild()buildPartial()
publicListTasksRequestbuildPartial()clear()
publicListTasksRequest.Builderclear()clearField(Descriptors.FieldDescriptor field)
publicListTasksRequest.BuilderclearField(Descriptors.FieldDescriptorfield)clearOneof(Descriptors.OneofDescriptor oneof)
publicListTasksRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)clearPageSize()
publicListTasksRequest.BuilderclearPageSize()Maximum page size. Fewer tasks than requested might be returned, even if more tasks exist; use next_page_token in the response to determine if more tasks exist. The maximum page size is 1000. If unspecified, the page size will be the maximum.
int32 page_size = 3;
ListTasksRequest.Builder
This builder for chaining.
clearPageToken()
publicListTasksRequest.BuilderclearPageToken()A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of next_page_token returned from the previous call to ListTasks method. The page token is valid for only 2 hours.
string page_token = 4;
ListTasksRequest.Builder
This builder for chaining.
clearParent()
publicListTasksRequest.BuilderclearParent() Required. The queue name. For example:
projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
ListTasksRequest.Builder
This builder for chaining.
clearResponseView()
publicListTasksRequest.BuilderclearResponseView() The response_view specifies which subset of the Task will be
returned.
By default response_view is BASIC; not all
information is retrieved by default because some data, such as
payloads, might be desirable to return only when needed because
of its large size or because of the sensitivity of data that it
contains.
Authorization for FULL requires
cloudtasks.tasks.fullView Google IAM
permission on the Task resource.
.google.cloud.tasks.v2.Task.View response_view = 2;
ListTasksRequest.Builder
This builder for chaining.
clone()
publicListTasksRequest.Builderclone()getDefaultInstanceForType()
publicListTasksRequestgetDefaultInstanceForType()getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()getPageSize()
publicintgetPageSize()Maximum page size. Fewer tasks than requested might be returned, even if more tasks exist; use next_page_token in the response to determine if more tasks exist. The maximum page size is 1000. If unspecified, the page size will be the maximum.
int32 page_size = 3;
int
The pageSize.
getPageToken()
publicStringgetPageToken()A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of next_page_token returned from the previous call to ListTasks method. The page token is valid for only 2 hours.
string page_token = 4;
String
The pageToken.
getPageTokenBytes()
publicByteStringgetPageTokenBytes()A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of next_page_token returned from the previous call to ListTasks method. The page token is valid for only 2 hours.
string page_token = 4;
ByteString
The bytes for pageToken.
getParent()
publicStringgetParent() Required. The queue name. For example:
projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
String
The parent.
getParentBytes()
publicByteStringgetParentBytes() Required. The queue name. For example:
projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
ByteString
The bytes for parent.
getResponseView()
publicTask.ViewgetResponseView() The response_view specifies which subset of the Task will be
returned.
By default response_view is BASIC; not all
information is retrieved by default because some data, such as
payloads, might be desirable to return only when needed because
of its large size or because of the sensitivity of data that it
contains.
Authorization for FULL requires
cloudtasks.tasks.fullView Google IAM
permission on the Task resource.
.google.cloud.tasks.v2.Task.View response_view = 2;
Task.View
The responseView.
getResponseViewValue()
publicintgetResponseViewValue() The response_view specifies which subset of the Task will be
returned.
By default response_view is BASIC; not all
information is retrieved by default because some data, such as
payloads, might be desirable to return only when needed because
of its large size or because of the sensitivity of data that it
contains.
Authorization for FULL requires
cloudtasks.tasks.fullView Google IAM
permission on the Task resource.
.google.cloud.tasks.v2.Task.View response_view = 2;
int
The enum numeric value on the wire for responseView.
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()mergeFrom(ListTasksRequest other)
publicListTasksRequest.BuildermergeFrom(ListTasksRequestother)mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicListTasksRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)mergeFrom(Message other)
publicListTasksRequest.BuildermergeFrom(Messageother)mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalListTasksRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)setField(Descriptors.FieldDescriptor field, Object value)
publicListTasksRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)setPageSize(int value)
publicListTasksRequest.BuildersetPageSize(intvalue)Maximum page size. Fewer tasks than requested might be returned, even if more tasks exist; use next_page_token in the response to determine if more tasks exist. The maximum page size is 1000. If unspecified, the page size will be the maximum.
int32 page_size = 3;
ListTasksRequest.Builder
This builder for chaining.
setPageToken(String value)
publicListTasksRequest.BuildersetPageToken(Stringvalue)A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of next_page_token returned from the previous call to ListTasks method. The page token is valid for only 2 hours.
string page_token = 4;
ListTasksRequest.Builder
This builder for chaining.
setPageTokenBytes(ByteString value)
publicListTasksRequest.BuildersetPageTokenBytes(ByteStringvalue)A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of next_page_token returned from the previous call to ListTasks method. The page token is valid for only 2 hours.
string page_token = 4;
ListTasksRequest.Builder
This builder for chaining.
setParent(String value)
publicListTasksRequest.BuildersetParent(Stringvalue) Required. The queue name. For example:
projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
ListTasksRequest.Builder
This builder for chaining.
setParentBytes(ByteString value)
publicListTasksRequest.BuildersetParentBytes(ByteStringvalue) Required. The queue name. For example:
projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
ListTasksRequest.Builder
This builder for chaining.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicListTasksRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)setResponseView(Task.View value)
publicListTasksRequest.BuildersetResponseView(Task.Viewvalue) The response_view specifies which subset of the Task will be
returned.
By default response_view is BASIC; not all
information is retrieved by default because some data, such as
payloads, might be desirable to return only when needed because
of its large size or because of the sensitivity of data that it
contains.
Authorization for FULL requires
cloudtasks.tasks.fullView Google IAM
permission on the Task resource.
.google.cloud.tasks.v2.Task.View response_view = 2;
ListTasksRequest.Builder
This builder for chaining.
setResponseViewValue(int value)
publicListTasksRequest.BuildersetResponseViewValue(intvalue) The response_view specifies which subset of the Task will be
returned.
By default response_view is BASIC; not all
information is retrieved by default because some data, such as
payloads, might be desirable to return only when needed because
of its large size or because of the sensitivity of data that it
contains.
Authorization for FULL requires
cloudtasks.tasks.fullView Google IAM
permission on the Task resource.
.google.cloud.tasks.v2.Task.View response_view = 2;
ListTasksRequest.Builder
This builder for chaining.
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalListTasksRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)