Class ConversionWorkspace (2.23.0)

public final class ConversionWorkspace extends GeneratedMessageV3 implements ConversionWorkspaceOrBuilder

The main conversion workspace resource entity.

Protobuf type google.cloud.clouddms.v1.ConversionWorkspace

Static Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DESTINATION_FIELD_NUMBER

public static final int DESTINATION_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

GLOBAL_SETTINGS_FIELD_NUMBER

public static final int GLOBAL_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

HAS_UNCOMMITTED_CHANGES_FIELD_NUMBER

public static final int HAS_UNCOMMITTED_CHANGES_FIELD_NUMBER
Field Value
TypeDescription
int

LATEST_COMMIT_ID_FIELD_NUMBER

public static final int LATEST_COMMIT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

LATEST_COMMIT_TIME_FIELD_NUMBER

public static final int LATEST_COMMIT_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_FIELD_NUMBER

public static final int SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ConversionWorkspace getDefaultInstance()
Returns
TypeDescription
ConversionWorkspace

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ConversionWorkspace.Builder newBuilder()
Returns
TypeDescription
ConversionWorkspace.Builder

newBuilder(ConversionWorkspace prototype)

public static ConversionWorkspace.Builder newBuilder(ConversionWorkspace prototype)
Parameter
NameDescription
prototypeConversionWorkspace
Returns
TypeDescription
ConversionWorkspace.Builder

parseDelimitedFrom(InputStream input)

public static ConversionWorkspace parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConversionWorkspace
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversionWorkspace parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversionWorkspace
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ConversionWorkspace parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ConversionWorkspace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConversionWorkspace parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversionWorkspace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConversionWorkspace parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ConversionWorkspace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConversionWorkspace parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversionWorkspace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConversionWorkspace parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ConversionWorkspace
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversionWorkspace parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversionWorkspace
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ConversionWorkspace parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConversionWorkspace
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversionWorkspace parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversionWorkspace
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ConversionWorkspace parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ConversionWorkspace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConversionWorkspace parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversionWorkspace
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ConversionWorkspace> parser()
Returns
TypeDescription
Parser<ConversionWorkspace>

Methods

containsGlobalSettings(String key)

public boolean containsGlobalSettings(String key)

Optional. A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true

map<string, string> global_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCreateTime()

public Timestamp getCreateTime()

Output only. The timestamp when the workspace resource was created.

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The timestamp when the workspace resource was created.

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public ConversionWorkspace getDefaultInstanceForType()
Returns
TypeDescription
ConversionWorkspace

getDestination()

public DatabaseEngineInfo getDestination()

Required. The destination engine details.

.google.cloud.clouddms.v1.DatabaseEngineInfo destination = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DatabaseEngineInfo

The destination.

getDestinationOrBuilder()

public DatabaseEngineInfoOrBuilder getDestinationOrBuilder()

Required. The destination engine details.

.google.cloud.clouddms.v1.DatabaseEngineInfo destination = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DatabaseEngineInfoOrBuilder

getDisplayName()

public String getDisplayName()

Optional. The display name for the workspace.

string display_name = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. The display name for the workspace.

string display_name = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for displayName.

getGlobalSettings()

public Map<String,String> getGlobalSettings()
Returns
TypeDescription
Map<String,String>

getGlobalSettingsCount()

public int getGlobalSettingsCount()

Optional. A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true

map<string, string> global_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getGlobalSettingsMap()

public Map<String,String> getGlobalSettingsMap()

Optional. A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true

map<string, string> global_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Map<String,String>

getGlobalSettingsOrDefault(String key, String defaultValue)

public String getGlobalSettingsOrDefault(String key, String defaultValue)

Optional. A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true

map<string, string> global_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getGlobalSettingsOrThrow(String key)

public String getGlobalSettingsOrThrow(String key)

Optional. A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true

map<string, string> global_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getHasUncommittedChanges()

public boolean getHasUncommittedChanges()

Output only. Whether the workspace has uncommitted changes (changes which were made after the workspace was committed).

bool has_uncommitted_changes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

The hasUncommittedChanges.

getLatestCommitId()

public String getLatestCommitId()

Output only. The latest commit ID.

string latest_commit_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The latestCommitId.

getLatestCommitIdBytes()

public ByteString getLatestCommitIdBytes()

Output only. The latest commit ID.

string latest_commit_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for latestCommitId.

getLatestCommitTime()

public Timestamp getLatestCommitTime()

Output only. The timestamp when the workspace was committed.

.google.protobuf.Timestamp latest_commit_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The latestCommitTime.

getLatestCommitTimeOrBuilder()

public TimestampOrBuilder getLatestCommitTimeOrBuilder()

Output only. The timestamp when the workspace was committed.

.google.protobuf.Timestamp latest_commit_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getName()

public String getName()

Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<ConversionWorkspace> getParserForType()
Returns
TypeDescription
Parser<ConversionWorkspace>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSource()

public DatabaseEngineInfo getSource()

Required. The source engine details.

.google.cloud.clouddms.v1.DatabaseEngineInfo source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DatabaseEngineInfo

The source.

getSourceOrBuilder()

public DatabaseEngineInfoOrBuilder getSourceOrBuilder()

Required. The source engine details.

.google.cloud.clouddms.v1.DatabaseEngineInfo source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DatabaseEngineInfoOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The timestamp when the workspace resource was last updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The timestamp when the workspace resource was last updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The timestamp when the workspace resource was created.

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasDestination()

public boolean hasDestination()

Required. The destination engine details.

.google.cloud.clouddms.v1.DatabaseEngineInfo destination = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the destination field is set.

hasLatestCommitTime()

public boolean hasLatestCommitTime()

Output only. The timestamp when the workspace was committed.

.google.protobuf.Timestamp latest_commit_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the latestCommitTime field is set.

hasSource()

public boolean hasSource()

Required. The source engine details.

.google.cloud.clouddms.v1.DatabaseEngineInfo source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the source field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The timestamp when the workspace resource was last updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ConversionWorkspace.Builder newBuilderForType()
Returns
TypeDescription
ConversionWorkspace.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConversionWorkspace.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ConversionWorkspace.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ConversionWorkspace.Builder toBuilder()
Returns
TypeDescription
ConversionWorkspace.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException