public final class CreateMigrationWorkflowRequest extends GeneratedMessageV3 implements CreateMigrationWorkflowRequestOrBuilder
Request to create a migration workflow resource.
Protobuf type google.cloud.bigquery.migration.v2alpha.CreateMigrationWorkflowRequest
Static Fields
MIGRATION_WORKFLOW_FIELD_NUMBER
public static final int MIGRATION_WORKFLOW_FIELD_NUMBER
Field Value
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CreateMigrationWorkflowRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CreateMigrationWorkflowRequest.Builder newBuilder()
Returns
newBuilder(CreateMigrationWorkflowRequest prototype)
public static CreateMigrationWorkflowRequest.Builder newBuilder(CreateMigrationWorkflowRequest prototype)
Parameter
Returns
public static CreateMigrationWorkflowRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateMigrationWorkflowRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CreateMigrationWorkflowRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateMigrationWorkflowRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CreateMigrationWorkflowRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateMigrationWorkflowRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateMigrationWorkflowRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateMigrationWorkflowRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateMigrationWorkflowRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateMigrationWorkflowRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CreateMigrationWorkflowRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateMigrationWorkflowRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CreateMigrationWorkflowRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CreateMigrationWorkflowRequest getDefaultInstanceForType()
Returns
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
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
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
getParserForType()
public Parser<CreateMigrationWorkflowRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CreateMigrationWorkflowRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateMigrationWorkflowRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CreateMigrationWorkflowRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions