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.v2.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateMigrationWorkflowRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateMigrationWorkflowRequest build()
Returns
buildPartial()
public CreateMigrationWorkflowRequest buildPartial()
Returns
clear()
public CreateMigrationWorkflowRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateMigrationWorkflowRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateMigrationWorkflowRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public CreateMigrationWorkflowRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateMigrationWorkflowRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateMigrationWorkflowRequest other)
public CreateMigrationWorkflowRequest.Builder mergeFrom(CreateMigrationWorkflowRequest other)
Parameter
Returns
public CreateMigrationWorkflowRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateMigrationWorkflowRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateMigrationWorkflowRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateMigrationWorkflowRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateMigrationWorkflowRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateMigrationWorkflowRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides