Class ConversionWorkspace.Builder (2.30.0)

public static final class ConversionWorkspace.Builder extends GeneratedMessageV3.Builder<ConversionWorkspace.Builder> implements ConversionWorkspaceOrBuilder

The main conversion workspace resource entity.

Protobuf type google.cloud.clouddms.v1.ConversionWorkspace

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConversionWorkspace.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConversionWorkspace.Builder
Overrides

build()

public ConversionWorkspace build()
Returns
TypeDescription
ConversionWorkspace

buildPartial()

public ConversionWorkspace buildPartial()
Returns
TypeDescription
ConversionWorkspace

clear()

public ConversionWorkspace.Builder clear()
Returns
TypeDescription
ConversionWorkspace.Builder
Overrides

clearCreateTime()

public ConversionWorkspace.Builder clearCreateTime()

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

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

Returns
TypeDescription
ConversionWorkspace.Builder

clearDestination()

public ConversionWorkspace.Builder clearDestination()

Required. The destination engine details.

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

Returns
TypeDescription
ConversionWorkspace.Builder

clearDisplayName()

public ConversionWorkspace.Builder clearDisplayName()

Optional. The display name for the workspace.

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

Returns
TypeDescription
ConversionWorkspace.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ConversionWorkspace.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ConversionWorkspace.Builder
Overrides

clearGlobalSettings()

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

clearHasUncommittedChanges()

public ConversionWorkspace.Builder clearHasUncommittedChanges()

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
ConversionWorkspace.Builder

This builder for chaining.

clearLatestCommitId()

public ConversionWorkspace.Builder clearLatestCommitId()

Output only. The latest commit ID.

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

Returns
TypeDescription
ConversionWorkspace.Builder

This builder for chaining.

clearLatestCommitTime()

public ConversionWorkspace.Builder clearLatestCommitTime()

Output only. The timestamp when the workspace was committed.

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

Returns
TypeDescription
ConversionWorkspace.Builder

clearName()

public ConversionWorkspace.Builder clearName()

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

string name = 1;

Returns
TypeDescription
ConversionWorkspace.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ConversionWorkspace.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ConversionWorkspace.Builder
Overrides

clearSource()

public ConversionWorkspace.Builder clearSource()

Required. The source engine details.

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

Returns
TypeDescription
ConversionWorkspace.Builder

clearUpdateTime()

public ConversionWorkspace.Builder clearUpdateTime()

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
ConversionWorkspace.Builder

clone()

public ConversionWorkspace.Builder clone()
Returns
TypeDescription
ConversionWorkspace.Builder
Overrides

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

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.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

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

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

Returns
TypeDescription
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getDestinationBuilder()

public DatabaseEngineInfo.Builder getDestinationBuilder()

Required. The destination engine details.

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

Returns
TypeDescription
DatabaseEngineInfo.Builder

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() (deprecated)

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.

getLatestCommitTimeBuilder()

public Timestamp.Builder getLatestCommitTimeBuilder()

Output only. The timestamp when the workspace was committed.

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

Returns
TypeDescription
Builder

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

getMutableGlobalSettings() (deprecated)

public Map<String,String> getMutableGlobalSettings()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

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.

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.

getSourceBuilder()

public DatabaseEngineInfo.Builder getSourceBuilder()

Required. The source engine details.

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

Returns
TypeDescription
DatabaseEngineInfo.Builder

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.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

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
Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

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

internalGetMutableMapField(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public ConversionWorkspace.Builder mergeCreateTime(Timestamp value)

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

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ConversionWorkspace.Builder

mergeDestination(DatabaseEngineInfo value)

public ConversionWorkspace.Builder mergeDestination(DatabaseEngineInfo value)

Required. The destination engine details.

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

Parameter
NameDescription
valueDatabaseEngineInfo
Returns
TypeDescription
ConversionWorkspace.Builder

mergeFrom(ConversionWorkspace other)

public ConversionWorkspace.Builder mergeFrom(ConversionWorkspace other)
Parameter
NameDescription
otherConversionWorkspace
Returns
TypeDescription
ConversionWorkspace.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConversionWorkspace.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversionWorkspace.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ConversionWorkspace.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ConversionWorkspace.Builder
Overrides

mergeLatestCommitTime(Timestamp value)

public ConversionWorkspace.Builder mergeLatestCommitTime(Timestamp value)

Output only. The timestamp when the workspace was committed.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ConversionWorkspace.Builder

mergeSource(DatabaseEngineInfo value)

public ConversionWorkspace.Builder mergeSource(DatabaseEngineInfo value)

Required. The source engine details.

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

Parameter
NameDescription
valueDatabaseEngineInfo
Returns
TypeDescription
ConversionWorkspace.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConversionWorkspace.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ConversionWorkspace.Builder
Overrides

mergeUpdateTime(Timestamp value)

public ConversionWorkspace.Builder mergeUpdateTime(Timestamp value)

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

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ConversionWorkspace.Builder

putAllGlobalSettings(Map<String,String> values)

public ConversionWorkspace.Builder putAllGlobalSettings(Map<String,String> values)

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
valuesMap<String,String>
Returns
TypeDescription
ConversionWorkspace.Builder

putGlobalSettings(String key, String value)

public ConversionWorkspace.Builder putGlobalSettings(String key, String value)

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
valueString
Returns
TypeDescription
ConversionWorkspace.Builder

removeGlobalSettings(String key)

public ConversionWorkspace.Builder removeGlobalSettings(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
ConversionWorkspace.Builder

setCreateTime(Timestamp value)

public ConversionWorkspace.Builder setCreateTime(Timestamp value)

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

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ConversionWorkspace.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ConversionWorkspace.Builder setCreateTime(Timestamp.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ConversionWorkspace.Builder

setDestination(DatabaseEngineInfo value)

public ConversionWorkspace.Builder setDestination(DatabaseEngineInfo value)

Required. The destination engine details.

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

Parameter
NameDescription
valueDatabaseEngineInfo
Returns
TypeDescription
ConversionWorkspace.Builder

setDestination(DatabaseEngineInfo.Builder builderForValue)

public ConversionWorkspace.Builder setDestination(DatabaseEngineInfo.Builder builderForValue)

Required. The destination engine details.

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

Parameter
NameDescription
builderForValueDatabaseEngineInfo.Builder
Returns
TypeDescription
ConversionWorkspace.Builder

setDisplayName(String value)

public ConversionWorkspace.Builder setDisplayName(String value)

Optional. The display name for the workspace.

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

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
ConversionWorkspace.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public ConversionWorkspace.Builder setDisplayNameBytes(ByteString value)

Optional. The display name for the workspace.

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

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
ConversionWorkspace.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ConversionWorkspace.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConversionWorkspace.Builder
Overrides

setHasUncommittedChanges(boolean value)

public ConversionWorkspace.Builder setHasUncommittedChanges(boolean value)

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];

Parameter
NameDescription
valueboolean

The hasUncommittedChanges to set.

Returns
TypeDescription
ConversionWorkspace.Builder

This builder for chaining.

setLatestCommitId(String value)

public ConversionWorkspace.Builder setLatestCommitId(String value)

Output only. The latest commit ID.

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

Parameter
NameDescription
valueString

The latestCommitId to set.

Returns
TypeDescription
ConversionWorkspace.Builder

This builder for chaining.

setLatestCommitIdBytes(ByteString value)

public ConversionWorkspace.Builder setLatestCommitIdBytes(ByteString value)

Output only. The latest commit ID.

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

Parameter
NameDescription
valueByteString

The bytes for latestCommitId to set.

Returns
TypeDescription
ConversionWorkspace.Builder

This builder for chaining.

setLatestCommitTime(Timestamp value)

public ConversionWorkspace.Builder setLatestCommitTime(Timestamp value)

Output only. The timestamp when the workspace was committed.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ConversionWorkspace.Builder

setLatestCommitTime(Timestamp.Builder builderForValue)

public ConversionWorkspace.Builder setLatestCommitTime(Timestamp.Builder builderForValue)

Output only. The timestamp when the workspace was committed.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ConversionWorkspace.Builder

setName(String value)

public ConversionWorkspace.Builder setName(String value)

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

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ConversionWorkspace.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ConversionWorkspace.Builder setNameBytes(ByteString value)

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

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
ConversionWorkspace.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ConversionWorkspace.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ConversionWorkspace.Builder
Overrides

setSource(DatabaseEngineInfo value)

public ConversionWorkspace.Builder setSource(DatabaseEngineInfo value)

Required. The source engine details.

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

Parameter
NameDescription
valueDatabaseEngineInfo
Returns
TypeDescription
ConversionWorkspace.Builder

setSource(DatabaseEngineInfo.Builder builderForValue)

public ConversionWorkspace.Builder setSource(DatabaseEngineInfo.Builder builderForValue)

Required. The source engine details.

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

Parameter
NameDescription
builderForValueDatabaseEngineInfo.Builder
Returns
TypeDescription
ConversionWorkspace.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ConversionWorkspace.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ConversionWorkspace.Builder
Overrides

setUpdateTime(Timestamp value)

public ConversionWorkspace.Builder setUpdateTime(Timestamp value)

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

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ConversionWorkspace.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public ConversionWorkspace.Builder setUpdateTime(Timestamp.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ConversionWorkspace.Builder