Class ConversionWorkspace.Builder (2.44.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConversionWorkspace.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConversionWorkspace.Builder
Overrides

build()

public ConversionWorkspace build()
Returns
Type Description
ConversionWorkspace

buildPartial()

public ConversionWorkspace buildPartial()
Returns
Type Description
ConversionWorkspace

clear()

public ConversionWorkspace.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
ConversionWorkspace.Builder

clearDisplayName()

public ConversionWorkspace.Builder clearDisplayName()

Optional. The display name for the workspace.

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

Returns
Type Description
ConversionWorkspace.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ConversionWorkspace.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ConversionWorkspace.Builder
Overrides

clearGlobalSettings()

public ConversionWorkspace.Builder clearGlobalSettings()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ConversionWorkspace.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ConversionWorkspace.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
ConversionWorkspace.Builder

clone()

public ConversionWorkspace.Builder clone()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ConversionWorkspace getDefaultInstanceForType()
Returns
Type Description
ConversionWorkspace

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDestination()

public DatabaseEngineInfo getDestination()

Required. The destination engine details.

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

Returns
Type Description
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
Type Description
DatabaseEngineInfo.Builder

getDestinationOrBuilder()

public DatabaseEngineInfoOrBuilder getDestinationOrBuilder()

Required. The destination engine details.

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

Returns
Type Description
DatabaseEngineInfoOrBuilder

getDisplayName()

public String getDisplayName()

Optional. The display name for the workspace.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. The display name for the workspace.

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

Returns
Type Description
ByteString

The bytes for displayName.

getGlobalSettings() (deprecated)

public Map<String,String> getGlobalSettings()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getMutableGlobalSettings() (deprecated)

public Map<String,String> getMutableGlobalSettings()

Use alternate mutation accessors instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
DatabaseEngineInfo.Builder

getSourceOrBuilder()

public DatabaseEngineInfoOrBuilder getSourceOrBuilder()

Required. The source engine details.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
value DatabaseEngineInfo
Returns
Type Description
ConversionWorkspace.Builder

mergeFrom(ConversionWorkspace other)

public ConversionWorkspace.Builder mergeFrom(ConversionWorkspace other)
Parameter
Name Description
other ConversionWorkspace
Returns
Type Description
ConversionWorkspace.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConversionWorkspace.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversionWorkspace.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ConversionWorkspace.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
value DatabaseEngineInfo
Returns
Type Description
ConversionWorkspace.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConversionWorkspace.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
values Map<String,String>
Returns
Type Description
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
Name Description
key String
value String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value DatabaseEngineInfo
Returns
Type Description
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
Name Description
builderForValue DatabaseEngineInfo.Builder
Returns
Type Description
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
Name Description
value String

The displayName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
ConversionWorkspace.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ConversionWorkspace.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value boolean

The hasUncommittedChanges to set.

Returns
Type Description
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
Name Description
value String

The latestCommitId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for latestCommitId to set.

Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value DatabaseEngineInfo
Returns
Type Description
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
Name Description
builderForValue DatabaseEngineInfo.Builder
Returns
Type Description
ConversionWorkspace.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ConversionWorkspace.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
ConversionWorkspace.Builder