Class CreateMigrationWorkflowRequest.Builder (0.3.0)

publicstaticfinalclass CreateMigrationWorkflowRequest.BuilderextendsGeneratedMessageV3.Builder<CreateMigrationWorkflowRequest.Builder>implementsCreateMigrationWorkflowRequestOrBuilder

Request to create a migration workflow resource.

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

Inherited Members

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicCreateMigrationWorkflowRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

build()

publicCreateMigrationWorkflowRequestbuild()
Returns
Type Description

buildPartial()

publicCreateMigrationWorkflowRequestbuildPartial()
Returns
Type Description

clear()

publicCreateMigrationWorkflowRequest.Builderclear()
Returns
Type Description
Overrides

clearField(Descriptors.FieldDescriptor field)

publicCreateMigrationWorkflowRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
Returns
Type Description
Overrides

clearMigrationWorkflow()

publicCreateMigrationWorkflowRequest.BuilderclearMigrationWorkflow()

Required. The migration workflow to create.

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

Returns
Type Description

clearOneof(Descriptors.OneofDescriptor oneof)

publicCreateMigrationWorkflowRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
Returns
Type Description
Overrides

clearParent()

publicCreateMigrationWorkflowRequest.BuilderclearParent()

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

publicCreateMigrationWorkflowRequest.Builderclone()
Returns
Type Description
Overrides

getDefaultInstanceForType()

publicCreateMigrationWorkflowRequestgetDefaultInstanceForType()
Returns
Type Description

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Overrides

getMigrationWorkflow()

publicMigrationWorkflowgetMigrationWorkflow()

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

publicMigrationWorkflow.BuildergetMigrationWorkflowBuilder()

Required. The migration workflow to create.

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

Returns
Type Description

getMigrationWorkflowOrBuilder()

publicMigrationWorkflowOrBuildergetMigrationWorkflowOrBuilder()

Required. The migration workflow to create.

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

Returns
Type Description

getParent()

publicStringgetParent()

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

publicByteStringgetParentBytes()

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

publicbooleanhasMigrationWorkflow()

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

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

mergeFrom(CreateMigrationWorkflowRequest other)

publicCreateMigrationWorkflowRequest.BuildermergeFrom(CreateMigrationWorkflowRequestother)
Parameter
Name Description
Returns
Type Description

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicCreateMigrationWorkflowRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overrides Exceptions
Type Description

mergeFrom(Message other)

publicCreateMigrationWorkflowRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Overrides

mergeMigrationWorkflow(MigrationWorkflow value)

publicCreateMigrationWorkflowRequest.BuildermergeMigrationWorkflow(MigrationWorkflowvalue)

Required. The migration workflow to create.

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

Parameter
Name Description
Returns
Type Description

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalCreateMigrationWorkflowRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicCreateMigrationWorkflowRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

setMigrationWorkflow(MigrationWorkflow value)

publicCreateMigrationWorkflowRequest.BuildersetMigrationWorkflow(MigrationWorkflowvalue)

Required. The migration workflow to create.

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

Parameter
Name Description
Returns
Type Description

setMigrationWorkflow(MigrationWorkflow.Builder builderForValue)

publicCreateMigrationWorkflowRequest.BuildersetMigrationWorkflow(MigrationWorkflow.BuilderbuilderForValue)

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

setParent(String value)

publicCreateMigrationWorkflowRequest.BuildersetParent(Stringvalue)

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)

publicCreateMigrationWorkflowRequest.BuildersetParentBytes(ByteStringvalue)

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)

publicCreateMigrationWorkflowRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
index int
value Object
Returns
Type Description
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalCreateMigrationWorkflowRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.