Class ListMigrationWorkflowsRequest.Builder (0.6.0)

public static final class ListMigrationWorkflowsRequest.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListMigrationWorkflowsRequest build()
Returns
TypeDescription
ListMigrationWorkflowsRequest

buildPartial()

public ListMigrationWorkflowsRequest buildPartial()
Returns
TypeDescription
ListMigrationWorkflowsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListMigrationWorkflowsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListMigrationWorkflowsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListMigrationWorkflowsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListMigrationWorkflowsRequest

getDescriptorForType()

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

The bytes for parent.

getReadMask()

public FieldMask getReadMask()

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Returns
TypeDescription
FieldMask

The readMask.

getReadMaskBuilder()

public FieldMask.Builder getReadMaskBuilder()

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Returns
TypeDescription
Builder

getReadMaskOrBuilder()

public FieldMaskOrBuilder getReadMaskOrBuilder()

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasReadMask()

public boolean hasReadMask()

The list of fields to be retrieved.

.google.protobuf.FieldMask read_mask = 2;

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(ListMigrationWorkflowsRequest other)

public ListMigrationWorkflowsRequest.Builder mergeFrom(ListMigrationWorkflowsRequest other)
Parameter
NameDescription
otherListMigrationWorkflowsRequest
Returns
TypeDescription
ListMigrationWorkflowsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

The parent to set.

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

The bytes for parent to set.

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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