Class CreateMigrationWorkflowRequest.Builder (0.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateMigrationWorkflowRequest build()
Returns
TypeDescription
CreateMigrationWorkflowRequest

buildPartial()

public CreateMigrationWorkflowRequest buildPartial()
Returns
TypeDescription
CreateMigrationWorkflowRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CreateMigrationWorkflowRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
CreateMigrationWorkflowRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateMigrationWorkflowRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateMigrationWorkflowRequest

getDescriptorForType()

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

Whether the migrationWorkflow field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateMigrationWorkflowRequest other)

public CreateMigrationWorkflowRequest.Builder mergeFrom(CreateMigrationWorkflowRequest other)
Parameter
NameDescription
otherCreateMigrationWorkflowRequest
Returns
TypeDescription
CreateMigrationWorkflowRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public CreateMigrationWorkflowRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueMigrationWorkflow
Returns
TypeDescription
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
NameDescription
builderForValueMigrationWorkflow.Builder
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateMigrationWorkflowRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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