public static final class CreateMigrationJobRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateMigrationJobRequest.Builder> implements CreateMigrationJobRequestOrBuilder
Request message to create a new Database Migration Service migration job in the specified project and region.Protobuf type
google.cloud.clouddms.v1.CreateMigrationJobRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateMigrationJobRequest.Builder>public CreateMigrationJobRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateMigrationJobRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateMigrationJobRequest.Builder>public CreateMigrationJobRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreateMigrationJobRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreateMigrationJobRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreateMigrationJobRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateMigrationJobRequest.Builder>public CreateMigrationJobRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateMigrationJobRequest.Builder>public CreateMigrationJobRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateMigrationJobRequest.Builder>public CreateMigrationJobRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateMigrationJobRequest.Builder>public CreateMigrationJobRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateMigrationJobRequest.Builder>public CreateMigrationJobRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateMigrationJobRequest.Builder>public CreateMigrationJobRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateMigrationJobRequest.Builder>public CreateMigrationJobRequest.Builder mergeFrom(CreateMigrationJobRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateMigrationJobRequest.Builder>public CreateMigrationJobRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateMigrationJobRequest.Builder>IOExceptionpublic String getParent()
Required. The parent which owns this collection of migration jobs.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface CreateMigrationJobRequestOrBuilderpublic 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) = { ... }
getParentBytes in interface CreateMigrationJobRequestOrBuilderpublic CreateMigrationJobRequest.Builder setParent(String value)
Required. The parent which owns this collection of migration jobs.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public CreateMigrationJobRequest.Builder clearParent()
Required. The parent which owns this collection of migration jobs.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public CreateMigrationJobRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The parent which owns this collection of migration jobs.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public String getMigrationJobId()
Required. The ID of the instance to create.
string migration_job_id = 2 [(.google.api.field_behavior) = REQUIRED];getMigrationJobId in interface CreateMigrationJobRequestOrBuilderpublic com.google.protobuf.ByteString getMigrationJobIdBytes()
Required. The ID of the instance to create.
string migration_job_id = 2 [(.google.api.field_behavior) = REQUIRED];getMigrationJobIdBytes in interface CreateMigrationJobRequestOrBuilderpublic CreateMigrationJobRequest.Builder setMigrationJobId(String value)
Required. The ID of the instance to create.
string migration_job_id = 2 [(.google.api.field_behavior) = REQUIRED];value - The migrationJobId to set.public CreateMigrationJobRequest.Builder clearMigrationJobId()
Required. The ID of the instance to create.
string migration_job_id = 2 [(.google.api.field_behavior) = REQUIRED];public CreateMigrationJobRequest.Builder setMigrationJobIdBytes(com.google.protobuf.ByteString value)
Required. The ID of the instance to create.
string migration_job_id = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for migrationJobId to set.public 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];
hasMigrationJob in interface CreateMigrationJobRequestOrBuilderpublic 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];
getMigrationJob in interface CreateMigrationJobRequestOrBuilderpublic CreateMigrationJobRequest.Builder setMigrationJob(MigrationJob value)
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];
public CreateMigrationJobRequest.Builder setMigrationJob(MigrationJob.Builder builderForValue)
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];
public CreateMigrationJobRequest.Builder mergeMigrationJob(MigrationJob value)
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];
public CreateMigrationJobRequest.Builder clearMigrationJob()
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];
public MigrationJob.Builder getMigrationJobBuilder()
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];
public 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];
getMigrationJobOrBuilder in interface CreateMigrationJobRequestOrBuilderpublic 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];getRequestId in interface CreateMigrationJobRequestOrBuilderpublic 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];getRequestIdBytes in interface CreateMigrationJobRequestOrBuilderpublic CreateMigrationJobRequest.Builder setRequestId(String value)
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];value - The requestId to set.public CreateMigrationJobRequest.Builder clearRequestId()
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];public CreateMigrationJobRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
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];value - The bytes for requestId to set.public final CreateMigrationJobRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateMigrationJobRequest.Builder>public final CreateMigrationJobRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateMigrationJobRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.