public static final class ListTasksRequest.Builder extends GeneratedMessageV3.Builder<ListTasksRequest.Builder> implements ListTasksRequestOrBuilder
Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].Protobuf type
google.cloud.tasks.v2beta3.ListTasksRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListTasksRequest.Builder>
public ListTasksRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListTasksRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListTasksRequest.Builder>
public ListTasksRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListTasksRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListTasksRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListTasksRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListTasksRequest.Builder>
public ListTasksRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListTasksRequest.Builder>
public ListTasksRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListTasksRequest.Builder>
public ListTasksRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListTasksRequest.Builder>
public ListTasksRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListTasksRequest.Builder>
public ListTasksRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListTasksRequest.Builder>
public ListTasksRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListTasksRequest.Builder>
public ListTasksRequest.Builder mergeFrom(ListTasksRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListTasksRequest.Builder>
public ListTasksRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListTasksRequest.Builder>
IOException
public String getParent()
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) = { ... }
getParent
in interface ListTasksRequestOrBuilder
public ByteString getParentBytes()
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) = { ... }
getParentBytes
in interface ListTasksRequestOrBuilder
public ListTasksRequest.Builder setParent(String value)
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) = { ... }
value
- The parent to set.public ListTasksRequest.Builder clearParent()
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) = { ... }
public ListTasksRequest.Builder setParentBytes(ByteString value)
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) = { ... }
value
- The bytes for parent to set.public int getResponseViewValue()
The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be returned. By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.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][google.cloud.tasks.v2beta3.Task.View.FULL] requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
.google.cloud.tasks.v2beta3.Task.View response_view = 2;
getResponseViewValue
in interface ListTasksRequestOrBuilder
public ListTasksRequest.Builder setResponseViewValue(int value)
The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be returned. By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.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][google.cloud.tasks.v2beta3.Task.View.FULL] requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
.google.cloud.tasks.v2beta3.Task.View response_view = 2;
value
- The enum numeric value on the wire for responseView to set.public Task.View getResponseView()
The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be returned. By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.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][google.cloud.tasks.v2beta3.Task.View.FULL] requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
.google.cloud.tasks.v2beta3.Task.View response_view = 2;
getResponseView
in interface ListTasksRequestOrBuilder
public ListTasksRequest.Builder setResponseView(Task.View value)
The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be returned. By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.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][google.cloud.tasks.v2beta3.Task.View.FULL] requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
.google.cloud.tasks.v2beta3.Task.View response_view = 2;
value
- The responseView to set.public ListTasksRequest.Builder clearResponseView()
The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be returned. By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.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][google.cloud.tasks.v2beta3.Task.View.FULL] requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
.google.cloud.tasks.v2beta3.Task.View response_view = 2;
public int getPageSize()
Maximum page size. Fewer tasks than requested might be returned, even if more tasks exist; use [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.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;
getPageSize
in interface ListTasksRequestOrBuilder
public ListTasksRequest.Builder setPageSize(int value)
Maximum page size. Fewer tasks than requested might be returned, even if more tasks exist; use [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.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;
value
- The pageSize to set.public ListTasksRequest.Builder clearPageSize()
Maximum page size. Fewer tasks than requested might be returned, even if more tasks exist; use [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.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;
public String getPageToken()
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][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] returned from the previous call to [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] method. The page token is valid for only 2 hours.
string page_token = 4;
getPageToken
in interface ListTasksRequestOrBuilder
public ByteString getPageTokenBytes()
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][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] returned from the previous call to [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] method. The page token is valid for only 2 hours.
string page_token = 4;
getPageTokenBytes
in interface ListTasksRequestOrBuilder
public ListTasksRequest.Builder setPageToken(String value)
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][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] returned from the previous call to [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] method. The page token is valid for only 2 hours.
string page_token = 4;
value
- The pageToken to set.public ListTasksRequest.Builder clearPageToken()
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][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] returned from the previous call to [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] method. The page token is valid for only 2 hours.
string page_token = 4;
public ListTasksRequest.Builder setPageTokenBytes(ByteString value)
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][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] returned from the previous call to [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] method. The page token is valid for only 2 hours.
string page_token = 4;
value
- The bytes for pageToken to set.public final ListTasksRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListTasksRequest.Builder>
public final ListTasksRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListTasksRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.