Class ListMigrationWorkflowsRequest.Builder (0.86.0)

public static final class ListMigrationWorkflowsRequest.Builder extends GeneratedMessage.Builder<ListMigrationWorkflowsRequest.Builder> implements ListMigrationWorkflowsRequestOrBuilder

A request to list previously created migration workflows.

Protobuf type google.cloud.bigquery.migration.v2.ListMigrationWorkflowsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListMigrationWorkflowsRequest build()
Returns
Type Description
ListMigrationWorkflowsRequest

buildPartial()

public ListMigrationWorkflowsRequest buildPartial()
Returns
Type Description
ListMigrationWorkflowsRequest

clear()

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

clearPageSize()

public ListMigrationWorkflowsRequest.Builder clearPageSize()

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

int32 page_size = 3;

Returns
Type Description
ListMigrationWorkflowsRequest.Builder

This builder for chaining.

clearPageToken()

public ListMigrationWorkflowsRequest.Builder clearPageToken()

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

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

string page_token = 4;

Returns
Type Description
ListMigrationWorkflowsRequest.Builder

This builder for chaining.

clearParent()

public ListMigrationWorkflowsRequest.Builder clearParent()

Required. The project and location of the migration workflows to list. Example: projects/123/locations/us

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

Returns
Type Description
ListMigrationWorkflowsRequest.Builder

This builder for chaining.

clearReadMask()

public ListMigrationWorkflowsRequest.Builder clearReadMask()

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Returns
Type Description
ListMigrationWorkflowsRequest.Builder

getDefaultInstanceForType()

public ListMigrationWorkflowsRequest getDefaultInstanceForType()
Returns
Type Description
ListMigrationWorkflowsRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

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

int32 page_size = 3;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

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

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

string page_token = 4;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

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

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

string page_token = 4;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The project and location of the migration workflows to list. Example: projects/123/locations/us

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The project and location of the migration workflows to list. Example: projects/123/locations/us

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

Returns
Type Description
ByteString

The bytes for parent.

getReadMask()

public FieldMask getReadMask()

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Returns
Type Description
FieldMask

The readMask.

getReadMaskBuilder()

public FieldMask.Builder getReadMaskBuilder()

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Returns
Type Description
Builder

getReadMaskOrBuilder()

public FieldMaskOrBuilder getReadMaskOrBuilder()

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasReadMask()

public boolean hasReadMask()

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Returns
Type Description
boolean

Whether the readMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListMigrationWorkflowsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeReadMask(FieldMask value)

public ListMigrationWorkflowsRequest.Builder mergeReadMask(FieldMask value)

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
ListMigrationWorkflowsRequest.Builder

setPageSize(int value)

public ListMigrationWorkflowsRequest.Builder setPageSize(int value)

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

int32 page_size = 3;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListMigrationWorkflowsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListMigrationWorkflowsRequest.Builder setPageToken(String value)

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

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

string page_token = 4;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListMigrationWorkflowsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListMigrationWorkflowsRequest.Builder setPageTokenBytes(ByteString value)

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

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

string page_token = 4;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListMigrationWorkflowsRequest.Builder

This builder for chaining.

setParent(String value)

public ListMigrationWorkflowsRequest.Builder setParent(String value)

Required. The project and location of the migration workflows to list. Example: projects/123/locations/us

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListMigrationWorkflowsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListMigrationWorkflowsRequest.Builder setParentBytes(ByteString value)

Required. The project and location of the migration workflows to list. Example: projects/123/locations/us

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
ListMigrationWorkflowsRequest.Builder

This builder for chaining.

setReadMask(FieldMask value)

public ListMigrationWorkflowsRequest.Builder setReadMask(FieldMask value)

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
ListMigrationWorkflowsRequest.Builder

setReadMask(FieldMask.Builder builderForValue)

public ListMigrationWorkflowsRequest.Builder setReadMask(FieldMask.Builder builderForValue)

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ListMigrationWorkflowsRequest.Builder