Package com.google.cloud.clouddms.v1
Class MigrationJob.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
- com.google.cloud.clouddms.v1.MigrationJob.Builder
-
- All Implemented Interfaces:
MigrationJobOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- MigrationJob
public static final class MigrationJob.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder> implements MigrationJobOrBuilder
Represents a Database Migration Service migration job object.
Protobuf typegoogle.cloud.clouddms.v1.MigrationJob
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MigrationJob.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MigrationJob
build()
MigrationJob
buildPartial()
MigrationJob.Builder
clear()
MigrationJob.Builder
clearCmekKeyName()
The CMEK (customer-managed encryption key) fully qualified key name used for the migration job.MigrationJob.Builder
clearConnectivity()
MigrationJob.Builder
clearConversionWorkspace()
The conversion workspace used by the migration.MigrationJob.Builder
clearCreateTime()
Output only.MigrationJob.Builder
clearDestination()
Required.MigrationJob.Builder
clearDestinationDatabase()
The database engine type and provider of the destination.MigrationJob.Builder
clearDisplayName()
The migration job display name.MigrationJob.Builder
clearDumpFlags()
The initial dump flags.MigrationJob.Builder
clearDumpPath()
The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).MigrationJob.Builder
clearDuration()
Output only.MigrationJob.Builder
clearEndTime()
Output only.MigrationJob.Builder
clearError()
Output only.MigrationJob.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
MigrationJob.Builder
clearFilter()
This field can be used to select the entities to migrate as part of the migration job.MigrationJob.Builder
clearLabels()
MigrationJob.Builder
clearName()
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.MigrationJob.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
MigrationJob.Builder
clearPerformanceConfig()
Optional.MigrationJob.Builder
clearPhase()
Output only.MigrationJob.Builder
clearReverseSshConnectivity()
The details needed to communicate to the source over Reverse SSH tunnel connectivity.MigrationJob.Builder
clearSource()
Required.MigrationJob.Builder
clearSourceDatabase()
The database engine type and provider of the source.MigrationJob.Builder
clearState()
The current migration job state.MigrationJob.Builder
clearStaticIpConnectivity()
static ip connectivity data (default, no additional details needed).MigrationJob.Builder
clearType()
Required.MigrationJob.Builder
clearUpdateTime()
Output only.MigrationJob.Builder
clearVpcPeeringConnectivity()
The details of the VPC network that the source database is located in.MigrationJob.Builder
clone()
boolean
containsLabels(String key)
The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs.String
getCmekKeyName()
The CMEK (customer-managed encryption key) fully qualified key name used for the migration job.com.google.protobuf.ByteString
getCmekKeyNameBytes()
The CMEK (customer-managed encryption key) fully qualified key name used for the migration job.MigrationJob.ConnectivityCase
getConnectivityCase()
ConversionWorkspaceInfo
getConversionWorkspace()
The conversion workspace used by the migration.ConversionWorkspaceInfo.Builder
getConversionWorkspaceBuilder()
The conversion workspace used by the migration.ConversionWorkspaceInfoOrBuilder
getConversionWorkspaceOrBuilder()
The conversion workspace used by the migration.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.MigrationJob
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDestination()
Required.com.google.protobuf.ByteString
getDestinationBytes()
Required.DatabaseType
getDestinationDatabase()
The database engine type and provider of the destination.DatabaseType.Builder
getDestinationDatabaseBuilder()
The database engine type and provider of the destination.DatabaseTypeOrBuilder
getDestinationDatabaseOrBuilder()
The database engine type and provider of the destination.String
getDisplayName()
The migration job display name.com.google.protobuf.ByteString
getDisplayNameBytes()
The migration job display name.MigrationJob.DumpFlags
getDumpFlags()
The initial dump flags.MigrationJob.DumpFlags.Builder
getDumpFlagsBuilder()
The initial dump flags.MigrationJob.DumpFlagsOrBuilder
getDumpFlagsOrBuilder()
The initial dump flags.String
getDumpPath()
The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).com.google.protobuf.ByteString
getDumpPathBytes()
The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).com.google.protobuf.Duration
getDuration()
Output only.com.google.protobuf.Duration.Builder
getDurationBuilder()
Output only.com.google.protobuf.DurationOrBuilder
getDurationOrBuilder()
Output only.com.google.protobuf.Timestamp
getEndTime()
Output only.com.google.protobuf.Timestamp.Builder
getEndTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
Output only.com.google.rpc.Status
getError()
Output only.com.google.rpc.Status.Builder
getErrorBuilder()
Output only.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
Output only.String
getFilter()
This field can be used to select the entities to migrate as part of the migration job.com.google.protobuf.ByteString
getFilterBytes()
This field can be used to select the entities to migrate as part of the migration job.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs.Map<String,String>
getLabelsMap()
The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs.String
getLabelsOrDefault(String key, String defaultValue)
The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs.String
getLabelsOrThrow(String key)
The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.com.google.protobuf.ByteString
getNameBytes()
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.MigrationJob.PerformanceConfig
getPerformanceConfig()
Optional.MigrationJob.PerformanceConfig.Builder
getPerformanceConfigBuilder()
Optional.MigrationJob.PerformanceConfigOrBuilder
getPerformanceConfigOrBuilder()
Optional.MigrationJob.Phase
getPhase()
Output only.int
getPhaseValue()
Output only.ReverseSshConnectivity
getReverseSshConnectivity()
The details needed to communicate to the source over Reverse SSH tunnel connectivity.ReverseSshConnectivity.Builder
getReverseSshConnectivityBuilder()
The details needed to communicate to the source over Reverse SSH tunnel connectivity.ReverseSshConnectivityOrBuilder
getReverseSshConnectivityOrBuilder()
The details needed to communicate to the source over Reverse SSH tunnel connectivity.String
getSource()
Required.com.google.protobuf.ByteString
getSourceBytes()
Required.DatabaseType
getSourceDatabase()
The database engine type and provider of the source.DatabaseType.Builder
getSourceDatabaseBuilder()
The database engine type and provider of the source.DatabaseTypeOrBuilder
getSourceDatabaseOrBuilder()
The database engine type and provider of the source.MigrationJob.State
getState()
The current migration job state.int
getStateValue()
The current migration job state.StaticIpConnectivity
getStaticIpConnectivity()
static ip connectivity data (default, no additional details needed).StaticIpConnectivity.Builder
getStaticIpConnectivityBuilder()
static ip connectivity data (default, no additional details needed).StaticIpConnectivityOrBuilder
getStaticIpConnectivityOrBuilder()
static ip connectivity data (default, no additional details needed).MigrationJob.Type
getType()
Required.int
getTypeValue()
Required.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.VpcPeeringConnectivity
getVpcPeeringConnectivity()
The details of the VPC network that the source database is located in.VpcPeeringConnectivity.Builder
getVpcPeeringConnectivityBuilder()
The details of the VPC network that the source database is located in.VpcPeeringConnectivityOrBuilder
getVpcPeeringConnectivityOrBuilder()
The details of the VPC network that the source database is located in.boolean
hasConversionWorkspace()
The conversion workspace used by the migration.boolean
hasCreateTime()
Output only.boolean
hasDestinationDatabase()
The database engine type and provider of the destination.boolean
hasDumpFlags()
The initial dump flags.boolean
hasDuration()
Output only.boolean
hasEndTime()
Output only.boolean
hasError()
Output only.boolean
hasPerformanceConfig()
Optional.boolean
hasReverseSshConnectivity()
The details needed to communicate to the source over Reverse SSH tunnel connectivity.boolean
hasSourceDatabase()
The database engine type and provider of the source.boolean
hasStaticIpConnectivity()
static ip connectivity data (default, no additional details needed).boolean
hasUpdateTime()
Output only.boolean
hasVpcPeeringConnectivity()
The details of the VPC network that the source database is located in.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
MigrationJob.Builder
mergeConversionWorkspace(ConversionWorkspaceInfo value)
The conversion workspace used by the migration.MigrationJob.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.MigrationJob.Builder
mergeDestinationDatabase(DatabaseType value)
The database engine type and provider of the destination.MigrationJob.Builder
mergeDumpFlags(MigrationJob.DumpFlags value)
The initial dump flags.MigrationJob.Builder
mergeDuration(com.google.protobuf.Duration value)
Output only.MigrationJob.Builder
mergeEndTime(com.google.protobuf.Timestamp value)
Output only.MigrationJob.Builder
mergeError(com.google.rpc.Status value)
Output only.MigrationJob.Builder
mergeFrom(MigrationJob other)
MigrationJob.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
MigrationJob.Builder
mergeFrom(com.google.protobuf.Message other)
MigrationJob.Builder
mergePerformanceConfig(MigrationJob.PerformanceConfig value)
Optional.MigrationJob.Builder
mergeReverseSshConnectivity(ReverseSshConnectivity value)
The details needed to communicate to the source over Reverse SSH tunnel connectivity.MigrationJob.Builder
mergeSourceDatabase(DatabaseType value)
The database engine type and provider of the source.MigrationJob.Builder
mergeStaticIpConnectivity(StaticIpConnectivity value)
static ip connectivity data (default, no additional details needed).MigrationJob.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MigrationJob.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.MigrationJob.Builder
mergeVpcPeeringConnectivity(VpcPeeringConnectivity value)
The details of the VPC network that the source database is located in.MigrationJob.Builder
putAllLabels(Map<String,String> values)
The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs.MigrationJob.Builder
putLabels(String key, String value)
The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs.MigrationJob.Builder
removeLabels(String key)
The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs.MigrationJob.Builder
setCmekKeyName(String value)
The CMEK (customer-managed encryption key) fully qualified key name used for the migration job.MigrationJob.Builder
setCmekKeyNameBytes(com.google.protobuf.ByteString value)
The CMEK (customer-managed encryption key) fully qualified key name used for the migration job.MigrationJob.Builder
setConversionWorkspace(ConversionWorkspaceInfo value)
The conversion workspace used by the migration.MigrationJob.Builder
setConversionWorkspace(ConversionWorkspaceInfo.Builder builderForValue)
The conversion workspace used by the migration.MigrationJob.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.MigrationJob.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.MigrationJob.Builder
setDestination(String value)
Required.MigrationJob.Builder
setDestinationBytes(com.google.protobuf.ByteString value)
Required.MigrationJob.Builder
setDestinationDatabase(DatabaseType value)
The database engine type and provider of the destination.MigrationJob.Builder
setDestinationDatabase(DatabaseType.Builder builderForValue)
The database engine type and provider of the destination.MigrationJob.Builder
setDisplayName(String value)
The migration job display name.MigrationJob.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
The migration job display name.MigrationJob.Builder
setDumpFlags(MigrationJob.DumpFlags value)
The initial dump flags.MigrationJob.Builder
setDumpFlags(MigrationJob.DumpFlags.Builder builderForValue)
The initial dump flags.MigrationJob.Builder
setDumpPath(String value)
The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).MigrationJob.Builder
setDumpPathBytes(com.google.protobuf.ByteString value)
The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).MigrationJob.Builder
setDuration(com.google.protobuf.Duration value)
Output only.MigrationJob.Builder
setDuration(com.google.protobuf.Duration.Builder builderForValue)
Output only.MigrationJob.Builder
setEndTime(com.google.protobuf.Timestamp value)
Output only.MigrationJob.Builder
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.MigrationJob.Builder
setError(com.google.rpc.Status value)
Output only.MigrationJob.Builder
setError(com.google.rpc.Status.Builder builderForValue)
Output only.MigrationJob.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MigrationJob.Builder
setFilter(String value)
This field can be used to select the entities to migrate as part of the migration job.MigrationJob.Builder
setFilterBytes(com.google.protobuf.ByteString value)
This field can be used to select the entities to migrate as part of the migration job.MigrationJob.Builder
setName(String value)
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.MigrationJob.Builder
setNameBytes(com.google.protobuf.ByteString value)
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.MigrationJob.Builder
setPerformanceConfig(MigrationJob.PerformanceConfig value)
Optional.MigrationJob.Builder
setPerformanceConfig(MigrationJob.PerformanceConfig.Builder builderForValue)
Optional.MigrationJob.Builder
setPhase(MigrationJob.Phase value)
Output only.MigrationJob.Builder
setPhaseValue(int value)
Output only.MigrationJob.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
MigrationJob.Builder
setReverseSshConnectivity(ReverseSshConnectivity value)
The details needed to communicate to the source over Reverse SSH tunnel connectivity.MigrationJob.Builder
setReverseSshConnectivity(ReverseSshConnectivity.Builder builderForValue)
The details needed to communicate to the source over Reverse SSH tunnel connectivity.MigrationJob.Builder
setSource(String value)
Required.MigrationJob.Builder
setSourceBytes(com.google.protobuf.ByteString value)
Required.MigrationJob.Builder
setSourceDatabase(DatabaseType value)
The database engine type and provider of the source.MigrationJob.Builder
setSourceDatabase(DatabaseType.Builder builderForValue)
The database engine type and provider of the source.MigrationJob.Builder
setState(MigrationJob.State value)
The current migration job state.MigrationJob.Builder
setStateValue(int value)
The current migration job state.MigrationJob.Builder
setStaticIpConnectivity(StaticIpConnectivity value)
static ip connectivity data (default, no additional details needed).MigrationJob.Builder
setStaticIpConnectivity(StaticIpConnectivity.Builder builderForValue)
static ip connectivity data (default, no additional details needed).MigrationJob.Builder
setType(MigrationJob.Type value)
Required.MigrationJob.Builder
setTypeValue(int value)
Required.MigrationJob.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MigrationJob.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.MigrationJob.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.MigrationJob.Builder
setVpcPeeringConnectivity(VpcPeeringConnectivity value)
The details of the VPC network that the source database is located in.MigrationJob.Builder
setVpcPeeringConnectivity(VpcPeeringConnectivity.Builder builderForValue)
The details of the VPC network that the source database is located in.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
clear
public MigrationJob.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
getDefaultInstanceForType
public MigrationJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public MigrationJob build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MigrationJob buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MigrationJob.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
setField
public MigrationJob.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
clearField
public MigrationJob.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
clearOneof
public MigrationJob.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
setRepeatedField
public MigrationJob.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
addRepeatedField
public MigrationJob.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
mergeFrom
public MigrationJob.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MigrationJob.Builder>
-
mergeFrom
public MigrationJob.Builder mergeFrom(MigrationJob other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
mergeFrom
public MigrationJob.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MigrationJob.Builder>
- Throws:
IOException
-
getConnectivityCase
public MigrationJob.ConnectivityCase getConnectivityCase()
- Specified by:
getConnectivityCase
in interfaceMigrationJobOrBuilder
-
clearConnectivity
public MigrationJob.Builder clearConnectivity()
-
getName
public String getName()
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
string name = 1;
- Specified by:
getName
in interfaceMigrationJobOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
string name = 1;
- Specified by:
getNameBytes
in interfaceMigrationJobOrBuilder
- Returns:
- The bytes for name.
-
setName
public MigrationJob.Builder setName(String value)
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public MigrationJob.Builder clearName()
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public MigrationJob.Builder setNameBytes(com.google.protobuf.ByteString value)
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceMigrationJobOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public MigrationJob.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public MigrationJob.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public MigrationJob.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public MigrationJob.Builder clearCreateTime()
Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceMigrationJobOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceMigrationJobOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public MigrationJob.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public MigrationJob.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public MigrationJob.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public MigrationJob.Builder clearUpdateTime()
Output only. The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceMigrationJobOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:MigrationJobOrBuilder
The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
map<string, string> labels = 4;
- Specified by:
getLabelsCount
in interfaceMigrationJobOrBuilder
-
containsLabels
public boolean containsLabels(String key)
The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
map<string, string> labels = 4;
- Specified by:
containsLabels
in interfaceMigrationJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceMigrationJobOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
map<string, string> labels = 4;
- Specified by:
getLabelsMap
in interfaceMigrationJobOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
map<string, string> labels = 4;
- Specified by:
getLabelsOrDefault
in interfaceMigrationJobOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
map<string, string> labels = 4;
- Specified by:
getLabelsOrThrow
in interfaceMigrationJobOrBuilder
-
clearLabels
public MigrationJob.Builder clearLabels()
-
removeLabels
public MigrationJob.Builder removeLabels(String key)
The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
map<string, string> labels = 4;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public MigrationJob.Builder putLabels(String key, String value)
The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
map<string, string> labels = 4;
-
putAllLabels
public MigrationJob.Builder putAllLabels(Map<String,String> values)
The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
map<string, string> labels = 4;
-
getDisplayName
public String getDisplayName()
The migration job display name.
string display_name = 5;
- Specified by:
getDisplayName
in interfaceMigrationJobOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
The migration job display name.
string display_name = 5;
- Specified by:
getDisplayNameBytes
in interfaceMigrationJobOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public MigrationJob.Builder setDisplayName(String value)
The migration job display name.
string display_name = 5;
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public MigrationJob.Builder clearDisplayName()
The migration job display name.
string display_name = 5;
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public MigrationJob.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
The migration job display name.
string display_name = 5;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
The current migration job state.
.google.cloud.clouddms.v1.MigrationJob.State state = 6;
- Specified by:
getStateValue
in interfaceMigrationJobOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public MigrationJob.Builder setStateValue(int value)
The current migration job state.
.google.cloud.clouddms.v1.MigrationJob.State state = 6;
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public MigrationJob.State getState()
The current migration job state.
.google.cloud.clouddms.v1.MigrationJob.State state = 6;
- Specified by:
getState
in interfaceMigrationJobOrBuilder
- Returns:
- The state.
-
setState
public MigrationJob.Builder setState(MigrationJob.State value)
The current migration job state.
.google.cloud.clouddms.v1.MigrationJob.State state = 6;
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public MigrationJob.Builder clearState()
The current migration job state.
.google.cloud.clouddms.v1.MigrationJob.State state = 6;
- Returns:
- This builder for chaining.
-
getPhaseValue
public int getPhaseValue()
Output only. The current migration job phase.
.google.cloud.clouddms.v1.MigrationJob.Phase phase = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPhaseValue
in interfaceMigrationJobOrBuilder
- Returns:
- The enum numeric value on the wire for phase.
-
setPhaseValue
public MigrationJob.Builder setPhaseValue(int value)
Output only. The current migration job phase.
.google.cloud.clouddms.v1.MigrationJob.Phase phase = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for phase to set.- Returns:
- This builder for chaining.
-
getPhase
public MigrationJob.Phase getPhase()
Output only. The current migration job phase.
.google.cloud.clouddms.v1.MigrationJob.Phase phase = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPhase
in interfaceMigrationJobOrBuilder
- Returns:
- The phase.
-
setPhase
public MigrationJob.Builder setPhase(MigrationJob.Phase value)
Output only. The current migration job phase.
.google.cloud.clouddms.v1.MigrationJob.Phase phase = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The phase to set.- Returns:
- This builder for chaining.
-
clearPhase
public MigrationJob.Builder clearPhase()
Output only. The current migration job phase.
.google.cloud.clouddms.v1.MigrationJob.Phase phase = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
Required. The migration job type.
.google.cloud.clouddms.v1.MigrationJob.Type type = 8 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getTypeValue
in interfaceMigrationJobOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public MigrationJob.Builder setTypeValue(int value)
Required. The migration job type.
.google.cloud.clouddms.v1.MigrationJob.Type type = 8 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public MigrationJob.Type getType()
Required. The migration job type.
.google.cloud.clouddms.v1.MigrationJob.Type type = 8 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getType
in interfaceMigrationJobOrBuilder
- Returns:
- The type.
-
setType
public MigrationJob.Builder setType(MigrationJob.Type value)
Required. The migration job type.
.google.cloud.clouddms.v1.MigrationJob.Type type = 8 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public MigrationJob.Builder clearType()
Required. The migration job type.
.google.cloud.clouddms.v1.MigrationJob.Type type = 8 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
getDumpPath
public String getDumpPath()
The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). This field and the "dump_flags" field are mutually exclusive.
string dump_path = 9;
- Specified by:
getDumpPath
in interfaceMigrationJobOrBuilder
- Returns:
- The dumpPath.
-
getDumpPathBytes
public com.google.protobuf.ByteString getDumpPathBytes()
The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). This field and the "dump_flags" field are mutually exclusive.
string dump_path = 9;
- Specified by:
getDumpPathBytes
in interfaceMigrationJobOrBuilder
- Returns:
- The bytes for dumpPath.
-
setDumpPath
public MigrationJob.Builder setDumpPath(String value)
The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). This field and the "dump_flags" field are mutually exclusive.
string dump_path = 9;
- Parameters:
value
- The dumpPath to set.- Returns:
- This builder for chaining.
-
clearDumpPath
public MigrationJob.Builder clearDumpPath()
The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). This field and the "dump_flags" field are mutually exclusive.
string dump_path = 9;
- Returns:
- This builder for chaining.
-
setDumpPathBytes
public MigrationJob.Builder setDumpPathBytes(com.google.protobuf.ByteString value)
The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). This field and the "dump_flags" field are mutually exclusive.
string dump_path = 9;
- Parameters:
value
- The bytes for dumpPath to set.- Returns:
- This builder for chaining.
-
hasDumpFlags
public boolean hasDumpFlags()
The initial dump flags. This field and the "dump_path" field are mutually exclusive.
.google.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
- Specified by:
hasDumpFlags
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the dumpFlags field is set.
-
getDumpFlags
public MigrationJob.DumpFlags getDumpFlags()
The initial dump flags. This field and the "dump_path" field are mutually exclusive.
.google.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
- Specified by:
getDumpFlags
in interfaceMigrationJobOrBuilder
- Returns:
- The dumpFlags.
-
setDumpFlags
public MigrationJob.Builder setDumpFlags(MigrationJob.DumpFlags value)
The initial dump flags. This field and the "dump_path" field are mutually exclusive.
.google.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
-
setDumpFlags
public MigrationJob.Builder setDumpFlags(MigrationJob.DumpFlags.Builder builderForValue)
The initial dump flags. This field and the "dump_path" field are mutually exclusive.
.google.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
-
mergeDumpFlags
public MigrationJob.Builder mergeDumpFlags(MigrationJob.DumpFlags value)
The initial dump flags. This field and the "dump_path" field are mutually exclusive.
.google.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
-
clearDumpFlags
public MigrationJob.Builder clearDumpFlags()
The initial dump flags. This field and the "dump_path" field are mutually exclusive.
.google.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
-
getDumpFlagsBuilder
public MigrationJob.DumpFlags.Builder getDumpFlagsBuilder()
The initial dump flags. This field and the "dump_path" field are mutually exclusive.
.google.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
-
getDumpFlagsOrBuilder
public MigrationJob.DumpFlagsOrBuilder getDumpFlagsOrBuilder()
The initial dump flags. This field and the "dump_path" field are mutually exclusive.
.google.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
- Specified by:
getDumpFlagsOrBuilder
in interfaceMigrationJobOrBuilder
-
getSource
public String getSource()
Required. The resource name (URI) of the source connection profile.
string source = 10 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getSource
in interfaceMigrationJobOrBuilder
- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()
Required. The resource name (URI) of the source connection profile.
string source = 10 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getSourceBytes
in interfaceMigrationJobOrBuilder
- Returns:
- The bytes for source.
-
setSource
public MigrationJob.Builder setSource(String value)
Required. The resource name (URI) of the source connection profile.
string source = 10 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The source to set.- Returns:
- This builder for chaining.
-
clearSource
public MigrationJob.Builder clearSource()
Required. The resource name (URI) of the source connection profile.
string source = 10 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setSourceBytes
public MigrationJob.Builder setSourceBytes(com.google.protobuf.ByteString value)
Required. The resource name (URI) of the source connection profile.
string source = 10 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for source to set.- Returns:
- This builder for chaining.
-
getDestination
public String getDestination()
Required. The resource name (URI) of the destination connection profile.
string destination = 11 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getDestination
in interfaceMigrationJobOrBuilder
- Returns:
- The destination.
-
getDestinationBytes
public com.google.protobuf.ByteString getDestinationBytes()
Required. The resource name (URI) of the destination connection profile.
string destination = 11 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getDestinationBytes
in interfaceMigrationJobOrBuilder
- Returns:
- The bytes for destination.
-
setDestination
public MigrationJob.Builder setDestination(String value)
Required. The resource name (URI) of the destination connection profile.
string destination = 11 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The destination to set.- Returns:
- This builder for chaining.
-
clearDestination
public MigrationJob.Builder clearDestination()
Required. The resource name (URI) of the destination connection profile.
string destination = 11 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setDestinationBytes
public MigrationJob.Builder setDestinationBytes(com.google.protobuf.ByteString value)
Required. The resource name (URI) of the destination connection profile.
string destination = 11 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for destination to set.- Returns:
- This builder for chaining.
-
hasReverseSshConnectivity
public boolean hasReverseSshConnectivity()
The details needed to communicate to the source over Reverse SSH tunnel connectivity.
.google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;
- Specified by:
hasReverseSshConnectivity
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the reverseSshConnectivity field is set.
-
getReverseSshConnectivity
public ReverseSshConnectivity getReverseSshConnectivity()
The details needed to communicate to the source over Reverse SSH tunnel connectivity.
.google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;
- Specified by:
getReverseSshConnectivity
in interfaceMigrationJobOrBuilder
- Returns:
- The reverseSshConnectivity.
-
setReverseSshConnectivity
public MigrationJob.Builder setReverseSshConnectivity(ReverseSshConnectivity value)
The details needed to communicate to the source over Reverse SSH tunnel connectivity.
.google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;
-
setReverseSshConnectivity
public MigrationJob.Builder setReverseSshConnectivity(ReverseSshConnectivity.Builder builderForValue)
The details needed to communicate to the source over Reverse SSH tunnel connectivity.
.google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;
-
mergeReverseSshConnectivity
public MigrationJob.Builder mergeReverseSshConnectivity(ReverseSshConnectivity value)
The details needed to communicate to the source over Reverse SSH tunnel connectivity.
.google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;
-
clearReverseSshConnectivity
public MigrationJob.Builder clearReverseSshConnectivity()
The details needed to communicate to the source over Reverse SSH tunnel connectivity.
.google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;
-
getReverseSshConnectivityBuilder
public ReverseSshConnectivity.Builder getReverseSshConnectivityBuilder()
The details needed to communicate to the source over Reverse SSH tunnel connectivity.
.google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;
-
getReverseSshConnectivityOrBuilder
public ReverseSshConnectivityOrBuilder getReverseSshConnectivityOrBuilder()
The details needed to communicate to the source over Reverse SSH tunnel connectivity.
.google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;
- Specified by:
getReverseSshConnectivityOrBuilder
in interfaceMigrationJobOrBuilder
-
hasVpcPeeringConnectivity
public boolean hasVpcPeeringConnectivity()
The details of the VPC network that the source database is located in.
.google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;
- Specified by:
hasVpcPeeringConnectivity
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the vpcPeeringConnectivity field is set.
-
getVpcPeeringConnectivity
public VpcPeeringConnectivity getVpcPeeringConnectivity()
The details of the VPC network that the source database is located in.
.google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;
- Specified by:
getVpcPeeringConnectivity
in interfaceMigrationJobOrBuilder
- Returns:
- The vpcPeeringConnectivity.
-
setVpcPeeringConnectivity
public MigrationJob.Builder setVpcPeeringConnectivity(VpcPeeringConnectivity value)
The details of the VPC network that the source database is located in.
.google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;
-
setVpcPeeringConnectivity
public MigrationJob.Builder setVpcPeeringConnectivity(VpcPeeringConnectivity.Builder builderForValue)
The details of the VPC network that the source database is located in.
.google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;
-
mergeVpcPeeringConnectivity
public MigrationJob.Builder mergeVpcPeeringConnectivity(VpcPeeringConnectivity value)
The details of the VPC network that the source database is located in.
.google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;
-
clearVpcPeeringConnectivity
public MigrationJob.Builder clearVpcPeeringConnectivity()
The details of the VPC network that the source database is located in.
.google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;
-
getVpcPeeringConnectivityBuilder
public VpcPeeringConnectivity.Builder getVpcPeeringConnectivityBuilder()
The details of the VPC network that the source database is located in.
.google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;
-
getVpcPeeringConnectivityOrBuilder
public VpcPeeringConnectivityOrBuilder getVpcPeeringConnectivityOrBuilder()
The details of the VPC network that the source database is located in.
.google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;
- Specified by:
getVpcPeeringConnectivityOrBuilder
in interfaceMigrationJobOrBuilder
-
hasStaticIpConnectivity
public boolean hasStaticIpConnectivity()
static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
- Specified by:
hasStaticIpConnectivity
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the staticIpConnectivity field is set.
-
getStaticIpConnectivity
public StaticIpConnectivity getStaticIpConnectivity()
static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
- Specified by:
getStaticIpConnectivity
in interfaceMigrationJobOrBuilder
- Returns:
- The staticIpConnectivity.
-
setStaticIpConnectivity
public MigrationJob.Builder setStaticIpConnectivity(StaticIpConnectivity value)
static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
-
setStaticIpConnectivity
public MigrationJob.Builder setStaticIpConnectivity(StaticIpConnectivity.Builder builderForValue)
static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
-
mergeStaticIpConnectivity
public MigrationJob.Builder mergeStaticIpConnectivity(StaticIpConnectivity value)
static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
-
clearStaticIpConnectivity
public MigrationJob.Builder clearStaticIpConnectivity()
static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
-
getStaticIpConnectivityBuilder
public StaticIpConnectivity.Builder getStaticIpConnectivityBuilder()
static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
-
getStaticIpConnectivityOrBuilder
public StaticIpConnectivityOrBuilder getStaticIpConnectivityOrBuilder()
static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
- Specified by:
getStaticIpConnectivityOrBuilder
in interfaceMigrationJobOrBuilder
-
hasDuration
public boolean hasDuration()
Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
.google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasDuration
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the duration field is set.
-
getDuration
public com.google.protobuf.Duration getDuration()
Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
.google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDuration
in interfaceMigrationJobOrBuilder
- Returns:
- The duration.
-
setDuration
public MigrationJob.Builder setDuration(com.google.protobuf.Duration value)
Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
.google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setDuration
public MigrationJob.Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
.google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeDuration
public MigrationJob.Builder mergeDuration(com.google.protobuf.Duration value)
Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
.google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearDuration
public MigrationJob.Builder clearDuration()
Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
.google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDurationBuilder
public com.google.protobuf.Duration.Builder getDurationBuilder()
Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
.google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
.google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDurationOrBuilder
in interfaceMigrationJobOrBuilder
-
hasError
public boolean hasError()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasError
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the error field is set.
-
getError
public com.google.rpc.Status getError()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getError
in interfaceMigrationJobOrBuilder
- Returns:
- The error.
-
setError
public MigrationJob.Builder setError(com.google.rpc.Status value)
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setError
public MigrationJob.Builder setError(com.google.rpc.Status.Builder builderForValue)
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeError
public MigrationJob.Builder mergeError(com.google.rpc.Status value)
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearError
public MigrationJob.Builder clearError()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getErrorBuilder
public com.google.rpc.Status.Builder getErrorBuilder()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getErrorOrBuilder
public com.google.rpc.StatusOrBuilder getErrorOrBuilder()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getErrorOrBuilder
in interfaceMigrationJobOrBuilder
-
hasSourceDatabase
public boolean hasSourceDatabase()
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;
- Specified by:
hasSourceDatabase
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the sourceDatabase field is set.
-
getSourceDatabase
public DatabaseType getSourceDatabase()
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;
- Specified by:
getSourceDatabase
in interfaceMigrationJobOrBuilder
- Returns:
- The sourceDatabase.
-
setSourceDatabase
public MigrationJob.Builder setSourceDatabase(DatabaseType value)
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;
-
setSourceDatabase
public MigrationJob.Builder setSourceDatabase(DatabaseType.Builder builderForValue)
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;
-
mergeSourceDatabase
public MigrationJob.Builder mergeSourceDatabase(DatabaseType value)
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;
-
clearSourceDatabase
public MigrationJob.Builder clearSourceDatabase()
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;
-
getSourceDatabaseBuilder
public DatabaseType.Builder getSourceDatabaseBuilder()
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;
-
getSourceDatabaseOrBuilder
public DatabaseTypeOrBuilder getSourceDatabaseOrBuilder()
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;
- Specified by:
getSourceDatabaseOrBuilder
in interfaceMigrationJobOrBuilder
-
hasDestinationDatabase
public boolean hasDestinationDatabase()
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;
- Specified by:
hasDestinationDatabase
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the destinationDatabase field is set.
-
getDestinationDatabase
public DatabaseType getDestinationDatabase()
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;
- Specified by:
getDestinationDatabase
in interfaceMigrationJobOrBuilder
- Returns:
- The destinationDatabase.
-
setDestinationDatabase
public MigrationJob.Builder setDestinationDatabase(DatabaseType value)
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;
-
setDestinationDatabase
public MigrationJob.Builder setDestinationDatabase(DatabaseType.Builder builderForValue)
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;
-
mergeDestinationDatabase
public MigrationJob.Builder mergeDestinationDatabase(DatabaseType value)
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;
-
clearDestinationDatabase
public MigrationJob.Builder clearDestinationDatabase()
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;
-
getDestinationDatabaseBuilder
public DatabaseType.Builder getDestinationDatabaseBuilder()
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;
-
getDestinationDatabaseOrBuilder
public DatabaseTypeOrBuilder getDestinationDatabaseOrBuilder()
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;
- Specified by:
getDestinationDatabaseOrBuilder
in interfaceMigrationJobOrBuilder
-
hasEndTime
public boolean hasEndTime()
Output only. If the migration job is completed, the time when it was completed.
.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasEndTime
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()
Output only. If the migration job is completed, the time when it was completed.
.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEndTime
in interfaceMigrationJobOrBuilder
- Returns:
- The endTime.
-
setEndTime
public MigrationJob.Builder setEndTime(com.google.protobuf.Timestamp value)
Output only. If the migration job is completed, the time when it was completed.
.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setEndTime
public MigrationJob.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. If the migration job is completed, the time when it was completed.
.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeEndTime
public MigrationJob.Builder mergeEndTime(com.google.protobuf.Timestamp value)
Output only. If the migration job is completed, the time when it was completed.
.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearEndTime
public MigrationJob.Builder clearEndTime()
Output only. If the migration job is completed, the time when it was completed.
.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
Output only. If the migration job is completed, the time when it was completed.
.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. If the migration job is completed, the time when it was completed.
.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEndTimeOrBuilder
in interfaceMigrationJobOrBuilder
-
hasConversionWorkspace
public boolean hasConversionWorkspace()
The conversion workspace used by the migration.
.google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;
- Specified by:
hasConversionWorkspace
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the conversionWorkspace field is set.
-
getConversionWorkspace
public ConversionWorkspaceInfo getConversionWorkspace()
The conversion workspace used by the migration.
.google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;
- Specified by:
getConversionWorkspace
in interfaceMigrationJobOrBuilder
- Returns:
- The conversionWorkspace.
-
setConversionWorkspace
public MigrationJob.Builder setConversionWorkspace(ConversionWorkspaceInfo value)
The conversion workspace used by the migration.
.google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;
-
setConversionWorkspace
public MigrationJob.Builder setConversionWorkspace(ConversionWorkspaceInfo.Builder builderForValue)
The conversion workspace used by the migration.
.google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;
-
mergeConversionWorkspace
public MigrationJob.Builder mergeConversionWorkspace(ConversionWorkspaceInfo value)
The conversion workspace used by the migration.
.google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;
-
clearConversionWorkspace
public MigrationJob.Builder clearConversionWorkspace()
The conversion workspace used by the migration.
.google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;
-
getConversionWorkspaceBuilder
public ConversionWorkspaceInfo.Builder getConversionWorkspaceBuilder()
The conversion workspace used by the migration.
.google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;
-
getConversionWorkspaceOrBuilder
public ConversionWorkspaceInfoOrBuilder getConversionWorkspaceOrBuilder()
The conversion workspace used by the migration.
.google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;
- Specified by:
getConversionWorkspaceOrBuilder
in interfaceMigrationJobOrBuilder
-
getFilter
public String getFilter()
This field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace.
string filter = 20;
- Specified by:
getFilter
in interfaceMigrationJobOrBuilder
- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()
This field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace.
string filter = 20;
- Specified by:
getFilterBytes
in interfaceMigrationJobOrBuilder
- Returns:
- The bytes for filter.
-
setFilter
public MigrationJob.Builder setFilter(String value)
This field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace.
string filter = 20;
- Parameters:
value
- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
public MigrationJob.Builder clearFilter()
This field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace.
string filter = 20;
- Returns:
- This builder for chaining.
-
setFilterBytes
public MigrationJob.Builder setFilterBytes(com.google.protobuf.ByteString value)
This field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace.
string filter = 20;
- Parameters:
value
- The bytes for filter to set.- Returns:
- This builder for chaining.
-
getCmekKeyName
public String getCmekKeyName()
The CMEK (customer-managed encryption key) fully qualified key name used for the migration job. This field supports all migration jobs types except for: * Mysql to Mysql (use the cmek field in the cloudsql connection profile instead). * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql connection profile instead). * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb connection profile instead). Each Cloud CMEK key has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
string cmek_key_name = 21;
- Specified by:
getCmekKeyName
in interfaceMigrationJobOrBuilder
- Returns:
- The cmekKeyName.
-
getCmekKeyNameBytes
public com.google.protobuf.ByteString getCmekKeyNameBytes()
The CMEK (customer-managed encryption key) fully qualified key name used for the migration job. This field supports all migration jobs types except for: * Mysql to Mysql (use the cmek field in the cloudsql connection profile instead). * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql connection profile instead). * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb connection profile instead). Each Cloud CMEK key has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
string cmek_key_name = 21;
- Specified by:
getCmekKeyNameBytes
in interfaceMigrationJobOrBuilder
- Returns:
- The bytes for cmekKeyName.
-
setCmekKeyName
public MigrationJob.Builder setCmekKeyName(String value)
The CMEK (customer-managed encryption key) fully qualified key name used for the migration job. This field supports all migration jobs types except for: * Mysql to Mysql (use the cmek field in the cloudsql connection profile instead). * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql connection profile instead). * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb connection profile instead). Each Cloud CMEK key has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
string cmek_key_name = 21;
- Parameters:
value
- The cmekKeyName to set.- Returns:
- This builder for chaining.
-
clearCmekKeyName
public MigrationJob.Builder clearCmekKeyName()
The CMEK (customer-managed encryption key) fully qualified key name used for the migration job. This field supports all migration jobs types except for: * Mysql to Mysql (use the cmek field in the cloudsql connection profile instead). * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql connection profile instead). * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb connection profile instead). Each Cloud CMEK key has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
string cmek_key_name = 21;
- Returns:
- This builder for chaining.
-
setCmekKeyNameBytes
public MigrationJob.Builder setCmekKeyNameBytes(com.google.protobuf.ByteString value)
The CMEK (customer-managed encryption key) fully qualified key name used for the migration job. This field supports all migration jobs types except for: * Mysql to Mysql (use the cmek field in the cloudsql connection profile instead). * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql connection profile instead). * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb connection profile instead). Each Cloud CMEK key has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
string cmek_key_name = 21;
- Parameters:
value
- The bytes for cmekKeyName to set.- Returns:
- This builder for chaining.
-
hasPerformanceConfig
public boolean hasPerformanceConfig()
Optional. Data dump parallelism settings used by the migration. Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.
.google.cloud.clouddms.v1.MigrationJob.PerformanceConfig performance_config = 22 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasPerformanceConfig
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the performanceConfig field is set.
-
getPerformanceConfig
public MigrationJob.PerformanceConfig getPerformanceConfig()
Optional. Data dump parallelism settings used by the migration. Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.
.google.cloud.clouddms.v1.MigrationJob.PerformanceConfig performance_config = 22 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPerformanceConfig
in interfaceMigrationJobOrBuilder
- Returns:
- The performanceConfig.
-
setPerformanceConfig
public MigrationJob.Builder setPerformanceConfig(MigrationJob.PerformanceConfig value)
Optional. Data dump parallelism settings used by the migration. Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.
.google.cloud.clouddms.v1.MigrationJob.PerformanceConfig performance_config = 22 [(.google.api.field_behavior) = OPTIONAL];
-
setPerformanceConfig
public MigrationJob.Builder setPerformanceConfig(MigrationJob.PerformanceConfig.Builder builderForValue)
Optional. Data dump parallelism settings used by the migration. Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.
.google.cloud.clouddms.v1.MigrationJob.PerformanceConfig performance_config = 22 [(.google.api.field_behavior) = OPTIONAL];
-
mergePerformanceConfig
public MigrationJob.Builder mergePerformanceConfig(MigrationJob.PerformanceConfig value)
Optional. Data dump parallelism settings used by the migration. Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.
.google.cloud.clouddms.v1.MigrationJob.PerformanceConfig performance_config = 22 [(.google.api.field_behavior) = OPTIONAL];
-
clearPerformanceConfig
public MigrationJob.Builder clearPerformanceConfig()
Optional. Data dump parallelism settings used by the migration. Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.
.google.cloud.clouddms.v1.MigrationJob.PerformanceConfig performance_config = 22 [(.google.api.field_behavior) = OPTIONAL];
-
getPerformanceConfigBuilder
public MigrationJob.PerformanceConfig.Builder getPerformanceConfigBuilder()
Optional. Data dump parallelism settings used by the migration. Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.
.google.cloud.clouddms.v1.MigrationJob.PerformanceConfig performance_config = 22 [(.google.api.field_behavior) = OPTIONAL];
-
getPerformanceConfigOrBuilder
public MigrationJob.PerformanceConfigOrBuilder getPerformanceConfigOrBuilder()
Optional. Data dump parallelism settings used by the migration. Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.
.google.cloud.clouddms.v1.MigrationJob.PerformanceConfig performance_config = 22 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPerformanceConfigOrBuilder
in interfaceMigrationJobOrBuilder
-
setUnknownFields
public final MigrationJob.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
mergeUnknownFields
public final MigrationJob.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
-