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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MigrationJobbuild()MigrationJobbuildPartial()MigrationJob.Builderclear()MigrationJob.BuilderclearCmekKeyName()The CMEK (customer-managed encryption key) fully qualified key name used for the migration job.MigrationJob.BuilderclearConnectivity()MigrationJob.BuilderclearConversionWorkspace()The conversion workspace used by the migration.MigrationJob.BuilderclearCreateTime()Output only.MigrationJob.BuilderclearDestination()Required.MigrationJob.BuilderclearDestinationDatabase()The database engine type and provider of the destination.MigrationJob.BuilderclearDisplayName()The migration job display name.MigrationJob.BuilderclearDumpFlags()The initial dump flags.MigrationJob.BuilderclearDumpPath()The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).MigrationJob.BuilderclearDuration()Output only.MigrationJob.BuilderclearEndTime()Output only.MigrationJob.BuilderclearError()Output only.MigrationJob.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)MigrationJob.BuilderclearFilter()This field can be used to select the entities to migrate as part of the migration job.MigrationJob.BuilderclearLabels()MigrationJob.BuilderclearName()The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.MigrationJob.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)MigrationJob.BuilderclearPerformanceConfig()Optional.MigrationJob.BuilderclearPhase()Output only.MigrationJob.BuilderclearReverseSshConnectivity()The details needed to communicate to the source over Reverse SSH tunnel connectivity.MigrationJob.BuilderclearSource()Required.MigrationJob.BuilderclearSourceDatabase()The database engine type and provider of the source.MigrationJob.BuilderclearState()The current migration job state.MigrationJob.BuilderclearStaticIpConnectivity()static ip connectivity data (default, no additional details needed).MigrationJob.BuilderclearType()Required.MigrationJob.BuilderclearUpdateTime()Output only.MigrationJob.BuilderclearVpcPeeringConnectivity()The details of the VPC network that the source database is located in.MigrationJob.Builderclone()booleancontainsLabels(String key)The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs.StringgetCmekKeyName()The CMEK (customer-managed encryption key) fully qualified key name used for the migration job.com.google.protobuf.ByteStringgetCmekKeyNameBytes()The CMEK (customer-managed encryption key) fully qualified key name used for the migration job.MigrationJob.ConnectivityCasegetConnectivityCase()ConversionWorkspaceInfogetConversionWorkspace()The conversion workspace used by the migration.ConversionWorkspaceInfo.BuildergetConversionWorkspaceBuilder()The conversion workspace used by the migration.ConversionWorkspaceInfoOrBuildergetConversionWorkspaceOrBuilder()The conversion workspace used by the migration.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.MigrationJobgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDestination()Required.com.google.protobuf.ByteStringgetDestinationBytes()Required.DatabaseTypegetDestinationDatabase()The database engine type and provider of the destination.DatabaseType.BuildergetDestinationDatabaseBuilder()The database engine type and provider of the destination.DatabaseTypeOrBuildergetDestinationDatabaseOrBuilder()The database engine type and provider of the destination.StringgetDisplayName()The migration job display name.com.google.protobuf.ByteStringgetDisplayNameBytes()The migration job display name.MigrationJob.DumpFlagsgetDumpFlags()The initial dump flags.MigrationJob.DumpFlags.BuildergetDumpFlagsBuilder()The initial dump flags.MigrationJob.DumpFlagsOrBuildergetDumpFlagsOrBuilder()The initial dump flags.StringgetDumpPath()The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).com.google.protobuf.ByteStringgetDumpPathBytes()The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).com.google.protobuf.DurationgetDuration()Output only.com.google.protobuf.Duration.BuildergetDurationBuilder()Output only.com.google.protobuf.DurationOrBuildergetDurationOrBuilder()Output only.com.google.protobuf.TimestampgetEndTime()Output only.com.google.protobuf.Timestamp.BuildergetEndTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()Output only.com.google.rpc.StatusgetError()Output only.com.google.rpc.Status.BuildergetErrorBuilder()Output only.com.google.rpc.StatusOrBuildergetErrorOrBuilder()Output only.StringgetFilter()This field can be used to select the entities to migrate as part of the migration job.com.google.protobuf.ByteStringgetFilterBytes()This field can be used to select the entities to migrate as part of the migration job.Map<String,String>getLabels()Deprecated.intgetLabelsCount()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.StringgetLabelsOrDefault(String key, String defaultValue)The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs.StringgetLabelsOrThrow(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.StringgetName()The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.com.google.protobuf.ByteStringgetNameBytes()The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.MigrationJob.PerformanceConfiggetPerformanceConfig()Optional.MigrationJob.PerformanceConfig.BuildergetPerformanceConfigBuilder()Optional.MigrationJob.PerformanceConfigOrBuildergetPerformanceConfigOrBuilder()Optional.MigrationJob.PhasegetPhase()Output only.intgetPhaseValue()Output only.ReverseSshConnectivitygetReverseSshConnectivity()The details needed to communicate to the source over Reverse SSH tunnel connectivity.ReverseSshConnectivity.BuildergetReverseSshConnectivityBuilder()The details needed to communicate to the source over Reverse SSH tunnel connectivity.ReverseSshConnectivityOrBuildergetReverseSshConnectivityOrBuilder()The details needed to communicate to the source over Reverse SSH tunnel connectivity.StringgetSource()Required.com.google.protobuf.ByteStringgetSourceBytes()Required.DatabaseTypegetSourceDatabase()The database engine type and provider of the source.DatabaseType.BuildergetSourceDatabaseBuilder()The database engine type and provider of the source.DatabaseTypeOrBuildergetSourceDatabaseOrBuilder()The database engine type and provider of the source.MigrationJob.StategetState()The current migration job state.intgetStateValue()The current migration job state.StaticIpConnectivitygetStaticIpConnectivity()static ip connectivity data (default, no additional details needed).StaticIpConnectivity.BuildergetStaticIpConnectivityBuilder()static ip connectivity data (default, no additional details needed).StaticIpConnectivityOrBuildergetStaticIpConnectivityOrBuilder()static ip connectivity data (default, no additional details needed).MigrationJob.TypegetType()Required.intgetTypeValue()Required.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.VpcPeeringConnectivitygetVpcPeeringConnectivity()The details of the VPC network that the source database is located in.VpcPeeringConnectivity.BuildergetVpcPeeringConnectivityBuilder()The details of the VPC network that the source database is located in.VpcPeeringConnectivityOrBuildergetVpcPeeringConnectivityOrBuilder()The details of the VPC network that the source database is located in.booleanhasConversionWorkspace()The conversion workspace used by the migration.booleanhasCreateTime()Output only.booleanhasDestinationDatabase()The database engine type and provider of the destination.booleanhasDumpFlags()The initial dump flags.booleanhasDuration()Output only.booleanhasEndTime()Output only.booleanhasError()Output only.booleanhasPerformanceConfig()Optional.booleanhasReverseSshConnectivity()The details needed to communicate to the source over Reverse SSH tunnel connectivity.booleanhasSourceDatabase()The database engine type and provider of the source.booleanhasStaticIpConnectivity()static ip connectivity data (default, no additional details needed).booleanhasUpdateTime()Output only.booleanhasVpcPeeringConnectivity()The details of the VPC network that the source database is located in.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()MigrationJob.BuildermergeConversionWorkspace(ConversionWorkspaceInfo value)The conversion workspace used by the migration.MigrationJob.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.MigrationJob.BuildermergeDestinationDatabase(DatabaseType value)The database engine type and provider of the destination.MigrationJob.BuildermergeDumpFlags(MigrationJob.DumpFlags value)The initial dump flags.MigrationJob.BuildermergeDuration(com.google.protobuf.Duration value)Output only.MigrationJob.BuildermergeEndTime(com.google.protobuf.Timestamp value)Output only.MigrationJob.BuildermergeError(com.google.rpc.Status value)Output only.MigrationJob.BuildermergeFrom(MigrationJob other)MigrationJob.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)MigrationJob.BuildermergeFrom(com.google.protobuf.Message other)MigrationJob.BuildermergePerformanceConfig(MigrationJob.PerformanceConfig value)Optional.MigrationJob.BuildermergeReverseSshConnectivity(ReverseSshConnectivity value)The details needed to communicate to the source over Reverse SSH tunnel connectivity.MigrationJob.BuildermergeSourceDatabase(DatabaseType value)The database engine type and provider of the source.MigrationJob.BuildermergeStaticIpConnectivity(StaticIpConnectivity value)static ip connectivity data (default, no additional details needed).MigrationJob.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MigrationJob.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.MigrationJob.BuildermergeVpcPeeringConnectivity(VpcPeeringConnectivity value)The details of the VPC network that the source database is located in.MigrationJob.BuilderputAllLabels(Map<String,String> values)The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs.MigrationJob.BuilderputLabels(String key, String value)The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs.MigrationJob.BuilderremoveLabels(String key)The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs.MigrationJob.BuildersetCmekKeyName(String value)The CMEK (customer-managed encryption key) fully qualified key name used for the migration job.MigrationJob.BuildersetCmekKeyNameBytes(com.google.protobuf.ByteString value)The CMEK (customer-managed encryption key) fully qualified key name used for the migration job.MigrationJob.BuildersetConversionWorkspace(ConversionWorkspaceInfo value)The conversion workspace used by the migration.MigrationJob.BuildersetConversionWorkspace(ConversionWorkspaceInfo.Builder builderForValue)The conversion workspace used by the migration.MigrationJob.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.MigrationJob.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.MigrationJob.BuildersetDestination(String value)Required.MigrationJob.BuildersetDestinationBytes(com.google.protobuf.ByteString value)Required.MigrationJob.BuildersetDestinationDatabase(DatabaseType value)The database engine type and provider of the destination.MigrationJob.BuildersetDestinationDatabase(DatabaseType.Builder builderForValue)The database engine type and provider of the destination.MigrationJob.BuildersetDisplayName(String value)The migration job display name.MigrationJob.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)The migration job display name.MigrationJob.BuildersetDumpFlags(MigrationJob.DumpFlags value)The initial dump flags.MigrationJob.BuildersetDumpFlags(MigrationJob.DumpFlags.Builder builderForValue)The initial dump flags.MigrationJob.BuildersetDumpPath(String value)The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).MigrationJob.BuildersetDumpPathBytes(com.google.protobuf.ByteString value)The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).MigrationJob.BuildersetDuration(com.google.protobuf.Duration value)Output only.MigrationJob.BuildersetDuration(com.google.protobuf.Duration.Builder builderForValue)Output only.MigrationJob.BuildersetEndTime(com.google.protobuf.Timestamp value)Output only.MigrationJob.BuildersetEndTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.MigrationJob.BuildersetError(com.google.rpc.Status value)Output only.MigrationJob.BuildersetError(com.google.rpc.Status.Builder builderForValue)Output only.MigrationJob.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MigrationJob.BuildersetFilter(String value)This field can be used to select the entities to migrate as part of the migration job.MigrationJob.BuildersetFilterBytes(com.google.protobuf.ByteString value)This field can be used to select the entities to migrate as part of the migration job.MigrationJob.BuildersetName(String value)The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.MigrationJob.BuildersetNameBytes(com.google.protobuf.ByteString value)The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.MigrationJob.BuildersetPerformanceConfig(MigrationJob.PerformanceConfig value)Optional.MigrationJob.BuildersetPerformanceConfig(MigrationJob.PerformanceConfig.Builder builderForValue)Optional.MigrationJob.BuildersetPhase(MigrationJob.Phase value)Output only.MigrationJob.BuildersetPhaseValue(int value)Output only.MigrationJob.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)MigrationJob.BuildersetReverseSshConnectivity(ReverseSshConnectivity value)The details needed to communicate to the source over Reverse SSH tunnel connectivity.MigrationJob.BuildersetReverseSshConnectivity(ReverseSshConnectivity.Builder builderForValue)The details needed to communicate to the source over Reverse SSH tunnel connectivity.MigrationJob.BuildersetSource(String value)Required.MigrationJob.BuildersetSourceBytes(com.google.protobuf.ByteString value)Required.MigrationJob.BuildersetSourceDatabase(DatabaseType value)The database engine type and provider of the source.MigrationJob.BuildersetSourceDatabase(DatabaseType.Builder builderForValue)The database engine type and provider of the source.MigrationJob.BuildersetState(MigrationJob.State value)The current migration job state.MigrationJob.BuildersetStateValue(int value)The current migration job state.MigrationJob.BuildersetStaticIpConnectivity(StaticIpConnectivity value)static ip connectivity data (default, no additional details needed).MigrationJob.BuildersetStaticIpConnectivity(StaticIpConnectivity.Builder builderForValue)static ip connectivity data (default, no additional details needed).MigrationJob.BuildersetType(MigrationJob.Type value)Required.MigrationJob.BuildersetTypeValue(int value)Required.MigrationJob.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MigrationJob.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.MigrationJob.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.MigrationJob.BuildersetVpcPeeringConnectivity(VpcPeeringConnectivity value)The details of the VPC network that the source database is located in.MigrationJob.BuildersetVpcPeeringConnectivity(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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
clear
public MigrationJob.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
getDefaultInstanceForType
public MigrationJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public MigrationJob build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MigrationJob buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MigrationJob.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
setField
public MigrationJob.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
clearField
public MigrationJob.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
clearOneof
public MigrationJob.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
setRepeatedField
public MigrationJob.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
addRepeatedField
public MigrationJob.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
mergeFrom
public MigrationJob.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MigrationJob.Builder>
-
mergeFrom
public MigrationJob.Builder mergeFrom(MigrationJob other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MigrationJob.Builder>- Throws:
IOException
-
getConnectivityCase
public MigrationJob.ConnectivityCase getConnectivityCase()
- Specified by:
getConnectivityCasein 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:
getNamein 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:
getNameBytesin 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:
hasCreateTimein 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:
getCreateTimein 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:
getCreateTimeOrBuilderin 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:
hasUpdateTimein 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:
getUpdateTimein 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:
getUpdateTimeOrBuilderin interfaceMigrationJobOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:MigrationJobOrBuilderThe 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:
getLabelsCountin 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:
containsLabelsin interfaceMigrationJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin 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:
getLabelsMapin 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:
getLabelsOrDefaultin 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:
getLabelsOrThrowin 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:
getDisplayNamein interfaceMigrationJobOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
The migration job display name.
string display_name = 5;- Specified by:
getDisplayNameBytesin 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:
getStateValuein 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:
getStatein 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:
getPhaseValuein 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:
getPhasein 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:
getTypeValuein 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:
getTypein 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:
getDumpPathin 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:
getDumpPathBytesin 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:
hasDumpFlagsin 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:
getDumpFlagsin 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:
getDumpFlagsOrBuilderin 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:
getSourcein 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:
getSourceBytesin 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:
getDestinationin 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:
getDestinationBytesin 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:
hasReverseSshConnectivityin 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:
getReverseSshConnectivityin 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:
getReverseSshConnectivityOrBuilderin 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:
hasVpcPeeringConnectivityin 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:
getVpcPeeringConnectivityin 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:
getVpcPeeringConnectivityOrBuilderin 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:
hasStaticIpConnectivityin 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:
getStaticIpConnectivityin 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:
getStaticIpConnectivityOrBuilderin 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:
hasDurationin 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:
getDurationin 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:
getDurationOrBuilderin 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:
hasErrorin 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:
getErrorin 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:
getErrorOrBuilderin interfaceMigrationJobOrBuilder
-
hasSourceDatabase
public boolean hasSourceDatabase()
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;- Specified by:
hasSourceDatabasein 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:
getSourceDatabasein 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:
getSourceDatabaseOrBuilderin interfaceMigrationJobOrBuilder
-
hasDestinationDatabase
public boolean hasDestinationDatabase()
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;- Specified by:
hasDestinationDatabasein 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:
getDestinationDatabasein 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:
getDestinationDatabaseOrBuilderin 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:
hasEndTimein 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:
getEndTimein 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:
getEndTimeOrBuilderin interfaceMigrationJobOrBuilder
-
hasConversionWorkspace
public boolean hasConversionWorkspace()
The conversion workspace used by the migration.
.google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;- Specified by:
hasConversionWorkspacein 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:
getConversionWorkspacein 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:
getConversionWorkspaceOrBuilderin 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:
getFilterin 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:
getFilterBytesin 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:
getCmekKeyNamein 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:
getCmekKeyNameBytesin 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:
hasPerformanceConfigin 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:
getPerformanceConfigin 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:
getPerformanceConfigOrBuilderin interfaceMigrationJobOrBuilder
-
setUnknownFields
public final MigrationJob.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
mergeUnknownFields
public final MigrationJob.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
-
-