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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateMigrationWorkflowRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateMigrationWorkflowRequest build()
buildPartial()
public CreateMigrationWorkflowRequest buildPartial()
clear()
public CreateMigrationWorkflowRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateMigrationWorkflowRequest.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateMigrationWorkflowRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public CreateMigrationWorkflowRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateMigrationWorkflowRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
getMigrationWorkflowOrBuilder()
public MigrationWorkflowOrBuilder getMigrationWorkflowOrBuilder()
Required. The migration workflow to create.
.google.cloud.bigquery.migration.v2alpha.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateMigrationWorkflowRequest other)
public CreateMigrationWorkflowRequest.Builder mergeFrom(CreateMigrationWorkflowRequest other)
public CreateMigrationWorkflowRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateMigrationWorkflowRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateMigrationWorkflowRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateMigrationWorkflowRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateMigrationWorkflowRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateMigrationWorkflowRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides