Class ListMigrationSubtasksRequest.Builder (0.44.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.v2.ListMigrationSubtasksRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListMigrationSubtasksRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListMigrationSubtasksRequest.Builder
Overrides

build()

public ListMigrationSubtasksRequest build()
Returns
TypeDescription
ListMigrationSubtasksRequest

buildPartial()

public ListMigrationSubtasksRequest buildPartial()
Returns
TypeDescription
ListMigrationSubtasksRequest

clear()

public ListMigrationSubtasksRequest.Builder clear()
Returns
TypeDescription
ListMigrationSubtasksRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListMigrationSubtasksRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListMigrationSubtasksRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListMigrationSubtasksRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ListMigrationSubtasksRequest.Builder

clone()

public ListMigrationSubtasksRequest.Builder clone()
Returns
TypeDescription
ListMigrationSubtasksRequest.Builder
Overrides

getDefaultInstanceForType()

public ListMigrationSubtasksRequest getDefaultInstanceForType()
Returns
TypeDescription
ListMigrationSubtasksRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the readMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListMigrationSubtasksRequest other)

public ListMigrationSubtasksRequest.Builder mergeFrom(ListMigrationSubtasksRequest other)
Parameter
NameDescription
otherListMigrationSubtasksRequest
Returns
TypeDescription
ListMigrationSubtasksRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListMigrationSubtasksRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListMigrationSubtasksRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListMigrationSubtasksRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
ListMigrationSubtasksRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListMigrationSubtasksRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListMigrationSubtasksRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListMigrationSubtasksRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The filter to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ListMigrationSubtasksRequest.Builder

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

public ListMigrationSubtasksRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListMigrationSubtasksRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListMigrationSubtasksRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListMigrationSubtasksRequest.Builder
Overrides