Package com.google.cloud.clouddms.v1
Interface CreateMigrationJobRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateMigrationJobRequest
,CreateMigrationJobRequest.Builder
public interface CreateMigrationJobRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MigrationJob
getMigrationJob()
Required.String
getMigrationJobId()
Required.com.google.protobuf.ByteString
getMigrationJobIdBytes()
Required.MigrationJobOrBuilder
getMigrationJobOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.String
getRequestId()
Optional.com.google.protobuf.ByteString
getRequestIdBytes()
Optional.boolean
hasMigrationJob()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. The parent which owns this collection of migration jobs.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The parent which owns this collection of migration jobs.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
getMigrationJobId
String getMigrationJobId()
Required. The ID of the instance to create.
string migration_job_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The migrationJobId.
-
getMigrationJobIdBytes
com.google.protobuf.ByteString getMigrationJobIdBytes()
Required. The ID of the instance to create.
string migration_job_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for migrationJobId.
-
hasMigrationJob
boolean hasMigrationJob()
Required. Represents a [migration job](https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs) object.
.google.cloud.clouddms.v1.MigrationJob migration_job = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the migrationJob field is set.
-
getMigrationJob
MigrationJob getMigrationJob()
Required. Represents a [migration job](https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs) object.
.google.cloud.clouddms.v1.MigrationJob migration_job = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The migrationJob.
-
getMigrationJobOrBuilder
MigrationJobOrBuilder getMigrationJobOrBuilder()
Required. Represents a [migration job](https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs) object.
.google.cloud.clouddms.v1.MigrationJob migration_job = 3 [(.google.api.field_behavior) = REQUIRED];
-
getRequestId
String getRequestId()
Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.ByteString getRequestIdBytes()
Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for requestId.
-
-