Class ListMigrationSubtasksRequest.Builder (0.49.0)

public static final class ListMigrationSubtasksRequest.Builder extends GeneratedMessageV3.Builder<ListMigrationSubtasksRequest.Builder> implements ListMigrationSubtasksRequestOrBuilder

A request to list previously created migration subtasks.

Protobuf type google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListMigrationSubtasksRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListMigrationSubtasksRequest.Builder
Overrides

build()

public ListMigrationSubtasksRequest build()
Returns
Type Description
ListMigrationSubtasksRequest

buildPartial()

public ListMigrationSubtasksRequest buildPartial()
Returns
Type Description
ListMigrationSubtasksRequest

clear()

public ListMigrationSubtasksRequest.Builder clear()
Returns
Type Description
ListMigrationSubtasksRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListMigrationSubtasksRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListMigrationSubtasksRequest.Builder
Overrides

clearFilter()

public ListMigrationSubtasksRequest.Builder clearFilter()

Optional. The filter to apply. This can be used to get the subtasks of a specific tasks in a workflow, e.g. migration_task = "ab012" where "ab012" is the task ID (not the name in the named map).

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListMigrationSubtasksRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListMigrationSubtasksRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListMigrationSubtasksRequest.Builder
Overrides

clearPageSize()

public ListMigrationSubtasksRequest.Builder clearPageSize()

Optional. The maximum number of migration tasks to return. The service may return fewer than this number.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListMigrationSubtasksRequest.Builder

This builder for chaining.

clearPageToken()

public ListMigrationSubtasksRequest.Builder clearPageToken()

Optional. A page token, received from previous ListMigrationSubtasks call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListMigrationSubtasks must match the call that provided the page token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListMigrationSubtasksRequest.Builder

This builder for chaining.

clearParent()

public ListMigrationSubtasksRequest.Builder clearParent()

Required. The migration task of the subtasks to list. Example: projects/123/locations/us/workflows/1234

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListMigrationSubtasksRequest.Builder

This builder for chaining.

clearReadMask()

public ListMigrationSubtasksRequest.Builder clearReadMask()

Optional. The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListMigrationSubtasksRequest.Builder

clone()

public ListMigrationSubtasksRequest.Builder clone()
Returns
Type Description
ListMigrationSubtasksRequest.Builder
Overrides

getDefaultInstanceForType()

public ListMigrationSubtasksRequest getDefaultInstanceForType()
Returns
Type Description
ListMigrationSubtasksRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilter()

public String getFilter()

Optional. The filter to apply. This can be used to get the subtasks of a specific tasks in a workflow, e.g. migration_task = "ab012" where "ab012" is the task ID (not the name in the named map).

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. The filter to apply. This can be used to get the subtasks of a specific tasks in a workflow, e.g. migration_task = "ab012" where "ab012" is the task ID (not the name in the named map).

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for filter.

getPageSize()

public int getPageSize()

Optional. The maximum number of migration tasks to return. The service may return fewer than this number.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A page token, received from previous ListMigrationSubtasks call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListMigrationSubtasks must match the call that provided the page token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A page token, received from previous ListMigrationSubtasks call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListMigrationSubtasks must match the call that provided the page token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The migration task of the subtasks to list. Example: projects/123/locations/us/workflows/1234

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The migration task of the subtasks to list. Example: projects/123/locations/us/workflows/1234

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getReadMask()

public FieldMask getReadMask()

Optional. The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The readMask.

getReadMaskBuilder()

public FieldMask.Builder getReadMaskBuilder()

Optional. The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getReadMaskOrBuilder()

public FieldMaskOrBuilder getReadMaskOrBuilder()

Optional. The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasReadMask()

public boolean hasReadMask()

Optional. The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the readMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListMigrationSubtasksRequest other)

public ListMigrationSubtasksRequest.Builder mergeFrom(ListMigrationSubtasksRequest other)
Parameter
Name Description
other ListMigrationSubtasksRequest
Returns
Type Description
ListMigrationSubtasksRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListMigrationSubtasksRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListMigrationSubtasksRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListMigrationSubtasksRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListMigrationSubtasksRequest.Builder
Overrides

mergeReadMask(FieldMask value)

public ListMigrationSubtasksRequest.Builder mergeReadMask(FieldMask value)

Optional. The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
ListMigrationSubtasksRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListMigrationSubtasksRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListMigrationSubtasksRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListMigrationSubtasksRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListMigrationSubtasksRequest.Builder
Overrides

setFilter(String value)

public ListMigrationSubtasksRequest.Builder setFilter(String value)

Optional. The filter to apply. This can be used to get the subtasks of a specific tasks in a workflow, e.g. migration_task = "ab012" where "ab012" is the task ID (not the name in the named map).

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListMigrationSubtasksRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListMigrationSubtasksRequest.Builder setFilterBytes(ByteString value)

Optional. The filter to apply. This can be used to get the subtasks of a specific tasks in a workflow, e.g. migration_task = "ab012" where "ab012" is the task ID (not the name in the named map).

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListMigrationSubtasksRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListMigrationSubtasksRequest.Builder setPageSize(int value)

Optional. The maximum number of migration tasks to return. The service may return fewer than this number.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListMigrationSubtasksRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListMigrationSubtasksRequest.Builder setPageToken(String value)

Optional. A page token, received from previous ListMigrationSubtasks call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListMigrationSubtasks must match the call that provided the page token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListMigrationSubtasksRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListMigrationSubtasksRequest.Builder setPageTokenBytes(ByteString value)

Optional. A page token, received from previous ListMigrationSubtasks call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListMigrationSubtasks must match the call that provided the page token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListMigrationSubtasksRequest.Builder

This builder for chaining.

setParent(String value)

public ListMigrationSubtasksRequest.Builder setParent(String value)

Required. The migration task of the subtasks to list. Example: projects/123/locations/us/workflows/1234

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListMigrationSubtasksRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListMigrationSubtasksRequest.Builder setParentBytes(ByteString value)

Required. The migration task of the subtasks to list. Example: projects/123/locations/us/workflows/1234

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListMigrationSubtasksRequest.Builder

This builder for chaining.

setReadMask(FieldMask value)

public ListMigrationSubtasksRequest.Builder setReadMask(FieldMask value)

Optional. The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
ListMigrationSubtasksRequest.Builder

setReadMask(FieldMask.Builder builderForValue)

public ListMigrationSubtasksRequest.Builder setReadMask(FieldMask.Builder builderForValue)

Optional. The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ListMigrationSubtasksRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListMigrationSubtasksRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListMigrationSubtasksRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListMigrationSubtasksRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListMigrationSubtasksRequest.Builder
Overrides