Class CreateMigrationWorkflowRequest.Builder (0.86.0)

public static final class CreateMigrationWorkflowRequest.Builder extends GeneratedMessage.Builder<CreateMigrationWorkflowRequest.Builder> implements CreateMigrationWorkflowRequestOrBuilder

Request to create a migration workflow resource.

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

Static Methods

getDescriptor()

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

Methods

build()

public CreateMigrationWorkflowRequest build()
Returns
Type Description
CreateMigrationWorkflowRequest

buildPartial()

public CreateMigrationWorkflowRequest buildPartial()
Returns
Type Description
CreateMigrationWorkflowRequest

clear()

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

clearMigrationWorkflow()

public CreateMigrationWorkflowRequest.Builder clearMigrationWorkflow()

Required. The migration workflow to create.

.google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateMigrationWorkflowRequest.Builder

clearParent()

public CreateMigrationWorkflowRequest.Builder clearParent()

Required. The name of the project to which this migration workflow belongs. Example: projects/foo/locations/bar

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

Returns
Type Description
CreateMigrationWorkflowRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public CreateMigrationWorkflowRequest getDefaultInstanceForType()
Returns
Type Description
CreateMigrationWorkflowRequest

getDescriptorForType()

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

getMigrationWorkflow()

public MigrationWorkflow getMigrationWorkflow()

Required. The migration workflow to create.

.google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MigrationWorkflow

The migrationWorkflow.

getMigrationWorkflowBuilder()

public MigrationWorkflow.Builder getMigrationWorkflowBuilder()

Required. The migration workflow to create.

.google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MigrationWorkflow.Builder

getMigrationWorkflowOrBuilder()

public MigrationWorkflowOrBuilder getMigrationWorkflowOrBuilder()

Required. The migration workflow to create.

.google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MigrationWorkflowOrBuilder

getParent()

public String getParent()

Required. The name of the project to which this migration workflow belongs. Example: projects/foo/locations/bar

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the project to which this migration workflow belongs. Example: projects/foo/locations/bar

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

Returns
Type Description
ByteString

The bytes for parent.

hasMigrationWorkflow()

public boolean hasMigrationWorkflow()

Required. The migration workflow to create.

.google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the migrationWorkflow field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateMigrationWorkflowRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMigrationWorkflow(MigrationWorkflow value)

public CreateMigrationWorkflowRequest.Builder mergeMigrationWorkflow(MigrationWorkflow value)

Required. The migration workflow to create.

.google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MigrationWorkflow
Returns
Type Description
CreateMigrationWorkflowRequest.Builder

setMigrationWorkflow(MigrationWorkflow value)

public CreateMigrationWorkflowRequest.Builder setMigrationWorkflow(MigrationWorkflow value)

Required. The migration workflow to create.

.google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MigrationWorkflow
Returns
Type Description
CreateMigrationWorkflowRequest.Builder

setMigrationWorkflow(MigrationWorkflow.Builder builderForValue)

public CreateMigrationWorkflowRequest.Builder setMigrationWorkflow(MigrationWorkflow.Builder builderForValue)

Required. The migration workflow to create.

.google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue MigrationWorkflow.Builder
Returns
Type Description
CreateMigrationWorkflowRequest.Builder

setParent(String value)

public CreateMigrationWorkflowRequest.Builder setParent(String value)

Required. The name of the project to which this migration workflow belongs. Example: projects/foo/locations/bar

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateMigrationWorkflowRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateMigrationWorkflowRequest.Builder setParentBytes(ByteString value)

Required. The name of the project to which this migration workflow belongs. Example: projects/foo/locations/bar

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

This builder for chaining.