Class StartMigrationWorkflowRequest.Builder (0.86.0)

public static final class StartMigrationWorkflowRequest.Builder extends GeneratedMessage.Builder<StartMigrationWorkflowRequest.Builder> implements StartMigrationWorkflowRequestOrBuilder

A request to start a previously created migration workflow.

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

Static Methods

getDescriptor()

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

Methods

build()

public StartMigrationWorkflowRequest build()
Returns
Type Description
StartMigrationWorkflowRequest

buildPartial()

public StartMigrationWorkflowRequest buildPartial()
Returns
Type Description
StartMigrationWorkflowRequest

clear()

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

clearName()

public StartMigrationWorkflowRequest.Builder clearName()

Required. The unique identifier for the migration workflow. Example: projects/123/locations/us/workflows/1234

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

Returns
Type Description
StartMigrationWorkflowRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public StartMigrationWorkflowRequest getDefaultInstanceForType()
Returns
Type Description
StartMigrationWorkflowRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The unique identifier for the migration workflow. Example: projects/123/locations/us/workflows/1234

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The unique identifier for the migration workflow. Example: projects/123/locations/us/workflows/1234

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StartMigrationWorkflowRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public StartMigrationWorkflowRequest.Builder setName(String value)

Required. The unique identifier for the migration workflow. Example: projects/123/locations/us/workflows/1234

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
StartMigrationWorkflowRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public StartMigrationWorkflowRequest.Builder setNameBytes(ByteString value)

Required. The unique identifier for the migration workflow. Example: projects/123/locations/us/workflows/1234

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
StartMigrationWorkflowRequest.Builder

This builder for chaining.