Class CreateMigrationWorkflowRequest.Builder (0.48.0)

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

Request to create a migration workflow resource.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateMigrationWorkflowRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateMigrationWorkflowRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public CreateMigrationWorkflowRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateMigrationWorkflowRequest.Builder
Overrides

clearMigrationWorkflow()

public CreateMigrationWorkflowRequest.Builder clearMigrationWorkflow()

Required. The migration workflow to create.

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

Returns
Type Description
CreateMigrationWorkflowRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateMigrationWorkflowRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateMigrationWorkflowRequest.Builder
Overrides

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.

clone()

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

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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the migrationWorkflow field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MigrationWorkflow
Returns
Type Description
CreateMigrationWorkflowRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateMigrationWorkflowRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateMigrationWorkflowRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateMigrationWorkflowRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateMigrationWorkflowRequest.Builder
Overrides

setMigrationWorkflow(MigrationWorkflow value)

public CreateMigrationWorkflowRequest.Builder setMigrationWorkflow(MigrationWorkflow value)

Required. The migration workflow to create.

.google.cloud.bigquery.migration.v2alpha.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.v2alpha.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.

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

public CreateMigrationWorkflowRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateMigrationWorkflowRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateMigrationWorkflowRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateMigrationWorkflowRequest.Builder
Overrides