Class MappingRule.Builder (2.44.0)

public static final class MappingRule.Builder extends GeneratedMessageV3.Builder<MappingRule.Builder> implements MappingRuleOrBuilder

Definition of a transformation that is to be applied to a group of entities in the source schema. Several such transformations can be applied to an entity sequentially to define the corresponding entity in the target schema.

Protobuf type google.cloud.clouddms.v1.MappingRule

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MappingRule build()
Returns
Type Description
MappingRule

buildPartial()

public MappingRule buildPartial()
Returns
Type Description
MappingRule

clear()

public MappingRule.Builder clear()
Returns
Type Description
MappingRule.Builder
Overrides

clearConditionalColumnSetValue()

public MappingRule.Builder clearConditionalColumnSetValue()

Optional. Rule to specify how the data contained in a column should be transformed (such as trimmed, rounded, etc) provided that the data meets certain criteria.

.google.cloud.clouddms.v1.ConditionalColumnSetValue conditional_column_set_value = 108 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MappingRule.Builder

clearConvertRowidColumn()

public MappingRule.Builder clearConvertRowidColumn()

Optional. Rule to specify how multiple tables should be converted with an additional rowid column.

.google.cloud.clouddms.v1.ConvertRowIdToColumn convert_rowid_column = 114 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MappingRule.Builder

clearDetails()

public MappingRule.Builder clearDetails()
Returns
Type Description
MappingRule.Builder

clearDisplayName()

public MappingRule.Builder clearDisplayName()

Optional. A human readable name

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

Returns
Type Description
MappingRule.Builder

This builder for chaining.

clearEntityMove()

public MappingRule.Builder clearEntityMove()

Optional. Rule to specify how multiple entities should be relocated into a different schema.

.google.cloud.clouddms.v1.EntityMove entity_move = 105 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MappingRule.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public MappingRule.Builder clearFilter()

Required. The rule filter

.google.cloud.clouddms.v1.MappingRuleFilter filter = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MappingRule.Builder

clearFilterTableColumns()

public MappingRule.Builder clearFilterTableColumns()

Optional. Rule to specify the list of columns to include or exclude from a table.

.google.cloud.clouddms.v1.FilterTableColumns filter_table_columns = 118 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MappingRule.Builder

clearMultiColumnDataTypeChange()

public MappingRule.Builder clearMultiColumnDataTypeChange()

Optional. Rule to specify how multiple columns should be converted to a different data type.

.google.cloud.clouddms.v1.MultiColumnDatatypeChange multi_column_data_type_change = 107 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MappingRule.Builder

clearMultiEntityRename()

public MappingRule.Builder clearMultiEntityRename()

Optional. Rule to specify how multiple entities should be renamed.

.google.cloud.clouddms.v1.MultiEntityRename multi_entity_rename = 103 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MappingRule.Builder

clearName()

public MappingRule.Builder clearName()

Full name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.

string name = 1;

Returns
Type Description
MappingRule.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public MappingRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MappingRule.Builder
Overrides

clearRevisionCreateTime()

public MappingRule.Builder clearRevisionCreateTime()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MappingRule.Builder

clearRevisionId()

public MappingRule.Builder clearRevisionId()

Output only. The revision ID of the mapping rule. A new revision is committed whenever the mapping rule is changed in any way. The format is an 8-character hexadecimal string.

string revision_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MappingRule.Builder

This builder for chaining.

clearRuleOrder()

public MappingRule.Builder clearRuleOrder()

Required. The order in which the rule is applied. Lower order rules are applied before higher value rules so they may end up being overridden.

int64 rule_order = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MappingRule.Builder

This builder for chaining.

clearRuleScope()

public MappingRule.Builder clearRuleScope()

Required. The rule scope

.google.cloud.clouddms.v1.DatabaseEntityType rule_scope = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MappingRule.Builder

This builder for chaining.

clearSetTablePrimaryKey()

public MappingRule.Builder clearSetTablePrimaryKey()

Optional. Rule to specify the primary key for a table

.google.cloud.clouddms.v1.SetTablePrimaryKey set_table_primary_key = 115 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MappingRule.Builder

clearSingleColumnChange()

public MappingRule.Builder clearSingleColumnChange()

Optional. Rule to specify how a single column is converted.

.google.cloud.clouddms.v1.SingleColumnChange single_column_change = 106 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MappingRule.Builder

clearSingleEntityRename()

public MappingRule.Builder clearSingleEntityRename()

Optional. Rule to specify how a single entity should be renamed.

.google.cloud.clouddms.v1.SingleEntityRename single_entity_rename = 102 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MappingRule.Builder

clearSinglePackageChange()

public MappingRule.Builder clearSinglePackageChange()

Optional. Rule to specify how a single package is converted.

.google.cloud.clouddms.v1.SinglePackageChange single_package_change = 116 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MappingRule.Builder

clearSourceSqlChange()

public MappingRule.Builder clearSourceSqlChange()

Optional. Rule to change the sql code for an entity, for example, function, procedure.

.google.cloud.clouddms.v1.SourceSqlChange source_sql_change = 117 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MappingRule.Builder

clearState()

public MappingRule.Builder clearState()

Optional. The mapping rule state

.google.cloud.clouddms.v1.MappingRule.State state = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MappingRule.Builder

This builder for chaining.

clone()

public MappingRule.Builder clone()
Returns
Type Description
MappingRule.Builder
Overrides

getConditionalColumnSetValue()

public ConditionalColumnSetValue getConditionalColumnSetValue()

Optional. Rule to specify how the data contained in a column should be transformed (such as trimmed, rounded, etc) provided that the data meets certain criteria.

.google.cloud.clouddms.v1.ConditionalColumnSetValue conditional_column_set_value = 108 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConditionalColumnSetValue

The conditionalColumnSetValue.

getConditionalColumnSetValueBuilder()

public ConditionalColumnSetValue.Builder getConditionalColumnSetValueBuilder()

Optional. Rule to specify how the data contained in a column should be transformed (such as trimmed, rounded, etc) provided that the data meets certain criteria.

.google.cloud.clouddms.v1.ConditionalColumnSetValue conditional_column_set_value = 108 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConditionalColumnSetValue.Builder

getConditionalColumnSetValueOrBuilder()

public ConditionalColumnSetValueOrBuilder getConditionalColumnSetValueOrBuilder()

Optional. Rule to specify how the data contained in a column should be transformed (such as trimmed, rounded, etc) provided that the data meets certain criteria.

.google.cloud.clouddms.v1.ConditionalColumnSetValue conditional_column_set_value = 108 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConditionalColumnSetValueOrBuilder

getConvertRowidColumn()

public ConvertRowIdToColumn getConvertRowidColumn()

Optional. Rule to specify how multiple tables should be converted with an additional rowid column.

.google.cloud.clouddms.v1.ConvertRowIdToColumn convert_rowid_column = 114 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConvertRowIdToColumn

The convertRowidColumn.

getConvertRowidColumnBuilder()

public ConvertRowIdToColumn.Builder getConvertRowidColumnBuilder()

Optional. Rule to specify how multiple tables should be converted with an additional rowid column.

.google.cloud.clouddms.v1.ConvertRowIdToColumn convert_rowid_column = 114 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConvertRowIdToColumn.Builder

getConvertRowidColumnOrBuilder()

public ConvertRowIdToColumnOrBuilder getConvertRowidColumnOrBuilder()

Optional. Rule to specify how multiple tables should be converted with an additional rowid column.

.google.cloud.clouddms.v1.ConvertRowIdToColumn convert_rowid_column = 114 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConvertRowIdToColumnOrBuilder

getDefaultInstanceForType()

public MappingRule getDefaultInstanceForType()
Returns
Type Description
MappingRule

getDescriptorForType()

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

getDetailsCase()

public MappingRule.DetailsCase getDetailsCase()
Returns
Type Description
MappingRule.DetailsCase

getDisplayName()

public String getDisplayName()

Optional. A human readable name

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. A human readable name

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

Returns
Type Description
ByteString

The bytes for displayName.

getEntityMove()

public EntityMove getEntityMove()

Optional. Rule to specify how multiple entities should be relocated into a different schema.

.google.cloud.clouddms.v1.EntityMove entity_move = 105 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EntityMove

The entityMove.

getEntityMoveBuilder()

public EntityMove.Builder getEntityMoveBuilder()

Optional. Rule to specify how multiple entities should be relocated into a different schema.

.google.cloud.clouddms.v1.EntityMove entity_move = 105 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EntityMove.Builder

getEntityMoveOrBuilder()

public EntityMoveOrBuilder getEntityMoveOrBuilder()

Optional. Rule to specify how multiple entities should be relocated into a different schema.

.google.cloud.clouddms.v1.EntityMove entity_move = 105 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EntityMoveOrBuilder

getFilter()

public MappingRuleFilter getFilter()

Required. The rule filter

.google.cloud.clouddms.v1.MappingRuleFilter filter = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MappingRuleFilter

The filter.

getFilterBuilder()

public MappingRuleFilter.Builder getFilterBuilder()

Required. The rule filter

.google.cloud.clouddms.v1.MappingRuleFilter filter = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MappingRuleFilter.Builder

getFilterOrBuilder()

public MappingRuleFilterOrBuilder getFilterOrBuilder()

Required. The rule filter

.google.cloud.clouddms.v1.MappingRuleFilter filter = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MappingRuleFilterOrBuilder

getFilterTableColumns()

public FilterTableColumns getFilterTableColumns()

Optional. Rule to specify the list of columns to include or exclude from a table.

.google.cloud.clouddms.v1.FilterTableColumns filter_table_columns = 118 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FilterTableColumns

The filterTableColumns.

getFilterTableColumnsBuilder()

public FilterTableColumns.Builder getFilterTableColumnsBuilder()

Optional. Rule to specify the list of columns to include or exclude from a table.

.google.cloud.clouddms.v1.FilterTableColumns filter_table_columns = 118 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FilterTableColumns.Builder

getFilterTableColumnsOrBuilder()

public FilterTableColumnsOrBuilder getFilterTableColumnsOrBuilder()

Optional. Rule to specify the list of columns to include or exclude from a table.

.google.cloud.clouddms.v1.FilterTableColumns filter_table_columns = 118 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FilterTableColumnsOrBuilder

getMultiColumnDataTypeChange()

public MultiColumnDatatypeChange getMultiColumnDataTypeChange()

Optional. Rule to specify how multiple columns should be converted to a different data type.

.google.cloud.clouddms.v1.MultiColumnDatatypeChange multi_column_data_type_change = 107 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MultiColumnDatatypeChange

The multiColumnDataTypeChange.

getMultiColumnDataTypeChangeBuilder()

public MultiColumnDatatypeChange.Builder getMultiColumnDataTypeChangeBuilder()

Optional. Rule to specify how multiple columns should be converted to a different data type.

.google.cloud.clouddms.v1.MultiColumnDatatypeChange multi_column_data_type_change = 107 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MultiColumnDatatypeChange.Builder

getMultiColumnDataTypeChangeOrBuilder()

public MultiColumnDatatypeChangeOrBuilder getMultiColumnDataTypeChangeOrBuilder()

Optional. Rule to specify how multiple columns should be converted to a different data type.

.google.cloud.clouddms.v1.MultiColumnDatatypeChange multi_column_data_type_change = 107 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MultiColumnDatatypeChangeOrBuilder

getMultiEntityRename()

public MultiEntityRename getMultiEntityRename()

Optional. Rule to specify how multiple entities should be renamed.

.google.cloud.clouddms.v1.MultiEntityRename multi_entity_rename = 103 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MultiEntityRename

The multiEntityRename.

getMultiEntityRenameBuilder()

public MultiEntityRename.Builder getMultiEntityRenameBuilder()

Optional. Rule to specify how multiple entities should be renamed.

.google.cloud.clouddms.v1.MultiEntityRename multi_entity_rename = 103 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MultiEntityRename.Builder

getMultiEntityRenameOrBuilder()

public MultiEntityRenameOrBuilder getMultiEntityRenameOrBuilder()

Optional. Rule to specify how multiple entities should be renamed.

.google.cloud.clouddms.v1.MultiEntityRename multi_entity_rename = 103 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MultiEntityRenameOrBuilder

getName()

public String getName()

Full name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Full name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getRevisionCreateTime()

public Timestamp getRevisionCreateTime()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The revisionCreateTime.

getRevisionCreateTimeBuilder()

public Timestamp.Builder getRevisionCreateTimeBuilder()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getRevisionCreateTimeOrBuilder()

public TimestampOrBuilder getRevisionCreateTimeOrBuilder()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getRevisionId()

public String getRevisionId()

Output only. The revision ID of the mapping rule. A new revision is committed whenever the mapping rule is changed in any way. The format is an 8-character hexadecimal string.

string revision_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The revisionId.

getRevisionIdBytes()

public ByteString getRevisionIdBytes()

Output only. The revision ID of the mapping rule. A new revision is committed whenever the mapping rule is changed in any way. The format is an 8-character hexadecimal string.

string revision_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for revisionId.

getRuleOrder()

public long getRuleOrder()

Required. The order in which the rule is applied. Lower order rules are applied before higher value rules so they may end up being overridden.

int64 rule_order = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The ruleOrder.

getRuleScope()

public DatabaseEntityType getRuleScope()

Required. The rule scope

.google.cloud.clouddms.v1.DatabaseEntityType rule_scope = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DatabaseEntityType

The ruleScope.

getRuleScopeValue()

public int getRuleScopeValue()

Required. The rule scope

.google.cloud.clouddms.v1.DatabaseEntityType rule_scope = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for ruleScope.

getSetTablePrimaryKey()

public SetTablePrimaryKey getSetTablePrimaryKey()

Optional. Rule to specify the primary key for a table

.google.cloud.clouddms.v1.SetTablePrimaryKey set_table_primary_key = 115 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SetTablePrimaryKey

The setTablePrimaryKey.

getSetTablePrimaryKeyBuilder()

public SetTablePrimaryKey.Builder getSetTablePrimaryKeyBuilder()

Optional. Rule to specify the primary key for a table

.google.cloud.clouddms.v1.SetTablePrimaryKey set_table_primary_key = 115 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SetTablePrimaryKey.Builder

getSetTablePrimaryKeyOrBuilder()

public SetTablePrimaryKeyOrBuilder getSetTablePrimaryKeyOrBuilder()

Optional. Rule to specify the primary key for a table

.google.cloud.clouddms.v1.SetTablePrimaryKey set_table_primary_key = 115 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SetTablePrimaryKeyOrBuilder

getSingleColumnChange()

public SingleColumnChange getSingleColumnChange()

Optional. Rule to specify how a single column is converted.

.google.cloud.clouddms.v1.SingleColumnChange single_column_change = 106 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SingleColumnChange

The singleColumnChange.

getSingleColumnChangeBuilder()

public SingleColumnChange.Builder getSingleColumnChangeBuilder()

Optional. Rule to specify how a single column is converted.

.google.cloud.clouddms.v1.SingleColumnChange single_column_change = 106 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SingleColumnChange.Builder

getSingleColumnChangeOrBuilder()

public SingleColumnChangeOrBuilder getSingleColumnChangeOrBuilder()

Optional. Rule to specify how a single column is converted.

.google.cloud.clouddms.v1.SingleColumnChange single_column_change = 106 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SingleColumnChangeOrBuilder

getSingleEntityRename()

public SingleEntityRename getSingleEntityRename()

Optional. Rule to specify how a single entity should be renamed.

.google.cloud.clouddms.v1.SingleEntityRename single_entity_rename = 102 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SingleEntityRename

The singleEntityRename.

getSingleEntityRenameBuilder()

public SingleEntityRename.Builder getSingleEntityRenameBuilder()

Optional. Rule to specify how a single entity should be renamed.

.google.cloud.clouddms.v1.SingleEntityRename single_entity_rename = 102 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SingleEntityRename.Builder

getSingleEntityRenameOrBuilder()

public SingleEntityRenameOrBuilder getSingleEntityRenameOrBuilder()

Optional. Rule to specify how a single entity should be renamed.

.google.cloud.clouddms.v1.SingleEntityRename single_entity_rename = 102 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SingleEntityRenameOrBuilder

getSinglePackageChange()

public SinglePackageChange getSinglePackageChange()

Optional. Rule to specify how a single package is converted.

.google.cloud.clouddms.v1.SinglePackageChange single_package_change = 116 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SinglePackageChange

The singlePackageChange.

getSinglePackageChangeBuilder()

public SinglePackageChange.Builder getSinglePackageChangeBuilder()

Optional. Rule to specify how a single package is converted.

.google.cloud.clouddms.v1.SinglePackageChange single_package_change = 116 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SinglePackageChange.Builder

getSinglePackageChangeOrBuilder()

public SinglePackageChangeOrBuilder getSinglePackageChangeOrBuilder()

Optional. Rule to specify how a single package is converted.

.google.cloud.clouddms.v1.SinglePackageChange single_package_change = 116 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SinglePackageChangeOrBuilder

getSourceSqlChange()

public SourceSqlChange getSourceSqlChange()

Optional. Rule to change the sql code for an entity, for example, function, procedure.

.google.cloud.clouddms.v1.SourceSqlChange source_sql_change = 117 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SourceSqlChange

The sourceSqlChange.

getSourceSqlChangeBuilder()

public SourceSqlChange.Builder getSourceSqlChangeBuilder()

Optional. Rule to change the sql code for an entity, for example, function, procedure.

.google.cloud.clouddms.v1.SourceSqlChange source_sql_change = 117 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SourceSqlChange.Builder

getSourceSqlChangeOrBuilder()

public SourceSqlChangeOrBuilder getSourceSqlChangeOrBuilder()

Optional. Rule to change the sql code for an entity, for example, function, procedure.

.google.cloud.clouddms.v1.SourceSqlChange source_sql_change = 117 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SourceSqlChangeOrBuilder

getState()

public MappingRule.State getState()

Optional. The mapping rule state

.google.cloud.clouddms.v1.MappingRule.State state = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MappingRule.State

The state.

getStateValue()

public int getStateValue()

Optional. The mapping rule state

.google.cloud.clouddms.v1.MappingRule.State state = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasConditionalColumnSetValue()

public boolean hasConditionalColumnSetValue()

Optional. Rule to specify how the data contained in a column should be transformed (such as trimmed, rounded, etc) provided that the data meets certain criteria.

.google.cloud.clouddms.v1.ConditionalColumnSetValue conditional_column_set_value = 108 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the conditionalColumnSetValue field is set.

hasConvertRowidColumn()

public boolean hasConvertRowidColumn()

Optional. Rule to specify how multiple tables should be converted with an additional rowid column.

.google.cloud.clouddms.v1.ConvertRowIdToColumn convert_rowid_column = 114 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the convertRowidColumn field is set.

hasEntityMove()

public boolean hasEntityMove()

Optional. Rule to specify how multiple entities should be relocated into a different schema.

.google.cloud.clouddms.v1.EntityMove entity_move = 105 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the entityMove field is set.

hasFilter()

public boolean hasFilter()

Required. The rule filter

.google.cloud.clouddms.v1.MappingRuleFilter filter = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the filter field is set.

hasFilterTableColumns()

public boolean hasFilterTableColumns()

Optional. Rule to specify the list of columns to include or exclude from a table.

.google.cloud.clouddms.v1.FilterTableColumns filter_table_columns = 118 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the filterTableColumns field is set.

hasMultiColumnDataTypeChange()

public boolean hasMultiColumnDataTypeChange()

Optional. Rule to specify how multiple columns should be converted to a different data type.

.google.cloud.clouddms.v1.MultiColumnDatatypeChange multi_column_data_type_change = 107 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the multiColumnDataTypeChange field is set.

hasMultiEntityRename()

public boolean hasMultiEntityRename()

Optional. Rule to specify how multiple entities should be renamed.

.google.cloud.clouddms.v1.MultiEntityRename multi_entity_rename = 103 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the multiEntityRename field is set.

hasRevisionCreateTime()

public boolean hasRevisionCreateTime()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the revisionCreateTime field is set.

hasSetTablePrimaryKey()

public boolean hasSetTablePrimaryKey()

Optional. Rule to specify the primary key for a table

.google.cloud.clouddms.v1.SetTablePrimaryKey set_table_primary_key = 115 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the setTablePrimaryKey field is set.

hasSingleColumnChange()

public boolean hasSingleColumnChange()

Optional. Rule to specify how a single column is converted.

.google.cloud.clouddms.v1.SingleColumnChange single_column_change = 106 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the singleColumnChange field is set.

hasSingleEntityRename()

public boolean hasSingleEntityRename()

Optional. Rule to specify how a single entity should be renamed.

.google.cloud.clouddms.v1.SingleEntityRename single_entity_rename = 102 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the singleEntityRename field is set.

hasSinglePackageChange()

public boolean hasSinglePackageChange()

Optional. Rule to specify how a single package is converted.

.google.cloud.clouddms.v1.SinglePackageChange single_package_change = 116 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the singlePackageChange field is set.

hasSourceSqlChange()

public boolean hasSourceSqlChange()

Optional. Rule to change the sql code for an entity, for example, function, procedure.

.google.cloud.clouddms.v1.SourceSqlChange source_sql_change = 117 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the sourceSqlChange field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConditionalColumnSetValue(ConditionalColumnSetValue value)

public MappingRule.Builder mergeConditionalColumnSetValue(ConditionalColumnSetValue value)

Optional. Rule to specify how the data contained in a column should be transformed (such as trimmed, rounded, etc) provided that the data meets certain criteria.

.google.cloud.clouddms.v1.ConditionalColumnSetValue conditional_column_set_value = 108 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ConditionalColumnSetValue
Returns
Type Description
MappingRule.Builder

mergeConvertRowidColumn(ConvertRowIdToColumn value)

public MappingRule.Builder mergeConvertRowidColumn(ConvertRowIdToColumn value)

Optional. Rule to specify how multiple tables should be converted with an additional rowid column.

.google.cloud.clouddms.v1.ConvertRowIdToColumn convert_rowid_column = 114 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ConvertRowIdToColumn
Returns
Type Description
MappingRule.Builder

mergeEntityMove(EntityMove value)

public MappingRule.Builder mergeEntityMove(EntityMove value)

Optional. Rule to specify how multiple entities should be relocated into a different schema.

.google.cloud.clouddms.v1.EntityMove entity_move = 105 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EntityMove
Returns
Type Description
MappingRule.Builder

mergeFilter(MappingRuleFilter value)

public MappingRule.Builder mergeFilter(MappingRuleFilter value)

Required. The rule filter

.google.cloud.clouddms.v1.MappingRuleFilter filter = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MappingRuleFilter
Returns
Type Description
MappingRule.Builder

mergeFilterTableColumns(FilterTableColumns value)

public MappingRule.Builder mergeFilterTableColumns(FilterTableColumns value)

Optional. Rule to specify the list of columns to include or exclude from a table.

.google.cloud.clouddms.v1.FilterTableColumns filter_table_columns = 118 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FilterTableColumns
Returns
Type Description
MappingRule.Builder

mergeFrom(MappingRule other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public MappingRule.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MappingRule.Builder
Overrides

mergeMultiColumnDataTypeChange(MultiColumnDatatypeChange value)

public MappingRule.Builder mergeMultiColumnDataTypeChange(MultiColumnDatatypeChange value)

Optional. Rule to specify how multiple columns should be converted to a different data type.

.google.cloud.clouddms.v1.MultiColumnDatatypeChange multi_column_data_type_change = 107 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value MultiColumnDatatypeChange
Returns
Type Description
MappingRule.Builder

mergeMultiEntityRename(MultiEntityRename value)

public MappingRule.Builder mergeMultiEntityRename(MultiEntityRename value)

Optional. Rule to specify how multiple entities should be renamed.

.google.cloud.clouddms.v1.MultiEntityRename multi_entity_rename = 103 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value MultiEntityRename
Returns
Type Description
MappingRule.Builder

mergeRevisionCreateTime(Timestamp value)

public MappingRule.Builder mergeRevisionCreateTime(Timestamp value)

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MappingRule.Builder

mergeSetTablePrimaryKey(SetTablePrimaryKey value)

public MappingRule.Builder mergeSetTablePrimaryKey(SetTablePrimaryKey value)

Optional. Rule to specify the primary key for a table

.google.cloud.clouddms.v1.SetTablePrimaryKey set_table_primary_key = 115 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SetTablePrimaryKey
Returns
Type Description
MappingRule.Builder

mergeSingleColumnChange(SingleColumnChange value)

public MappingRule.Builder mergeSingleColumnChange(SingleColumnChange value)

Optional. Rule to specify how a single column is converted.

.google.cloud.clouddms.v1.SingleColumnChange single_column_change = 106 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SingleColumnChange
Returns
Type Description
MappingRule.Builder

mergeSingleEntityRename(SingleEntityRename value)

public MappingRule.Builder mergeSingleEntityRename(SingleEntityRename value)

Optional. Rule to specify how a single entity should be renamed.

.google.cloud.clouddms.v1.SingleEntityRename single_entity_rename = 102 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SingleEntityRename
Returns
Type Description
MappingRule.Builder

mergeSinglePackageChange(SinglePackageChange value)

public MappingRule.Builder mergeSinglePackageChange(SinglePackageChange value)

Optional. Rule to specify how a single package is converted.

.google.cloud.clouddms.v1.SinglePackageChange single_package_change = 116 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SinglePackageChange
Returns
Type Description
MappingRule.Builder

mergeSourceSqlChange(SourceSqlChange value)

public MappingRule.Builder mergeSourceSqlChange(SourceSqlChange value)

Optional. Rule to change the sql code for an entity, for example, function, procedure.

.google.cloud.clouddms.v1.SourceSqlChange source_sql_change = 117 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SourceSqlChange
Returns
Type Description
MappingRule.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MappingRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MappingRule.Builder
Overrides

setConditionalColumnSetValue(ConditionalColumnSetValue value)

public MappingRule.Builder setConditionalColumnSetValue(ConditionalColumnSetValue value)

Optional. Rule to specify how the data contained in a column should be transformed (such as trimmed, rounded, etc) provided that the data meets certain criteria.

.google.cloud.clouddms.v1.ConditionalColumnSetValue conditional_column_set_value = 108 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ConditionalColumnSetValue
Returns
Type Description
MappingRule.Builder

setConditionalColumnSetValue(ConditionalColumnSetValue.Builder builderForValue)

public MappingRule.Builder setConditionalColumnSetValue(ConditionalColumnSetValue.Builder builderForValue)

Optional. Rule to specify how the data contained in a column should be transformed (such as trimmed, rounded, etc) provided that the data meets certain criteria.

.google.cloud.clouddms.v1.ConditionalColumnSetValue conditional_column_set_value = 108 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ConditionalColumnSetValue.Builder
Returns
Type Description
MappingRule.Builder

setConvertRowidColumn(ConvertRowIdToColumn value)

public MappingRule.Builder setConvertRowidColumn(ConvertRowIdToColumn value)

Optional. Rule to specify how multiple tables should be converted with an additional rowid column.

.google.cloud.clouddms.v1.ConvertRowIdToColumn convert_rowid_column = 114 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ConvertRowIdToColumn
Returns
Type Description
MappingRule.Builder

setConvertRowidColumn(ConvertRowIdToColumn.Builder builderForValue)

public MappingRule.Builder setConvertRowidColumn(ConvertRowIdToColumn.Builder builderForValue)

Optional. Rule to specify how multiple tables should be converted with an additional rowid column.

.google.cloud.clouddms.v1.ConvertRowIdToColumn convert_rowid_column = 114 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ConvertRowIdToColumn.Builder
Returns
Type Description
MappingRule.Builder

setDisplayName(String value)

public MappingRule.Builder setDisplayName(String value)

Optional. A human readable name

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

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
MappingRule.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public MappingRule.Builder setDisplayNameBytes(ByteString value)

Optional. A human readable name

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

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
MappingRule.Builder

This builder for chaining.

setEntityMove(EntityMove value)

public MappingRule.Builder setEntityMove(EntityMove value)

Optional. Rule to specify how multiple entities should be relocated into a different schema.

.google.cloud.clouddms.v1.EntityMove entity_move = 105 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EntityMove
Returns
Type Description
MappingRule.Builder

setEntityMove(EntityMove.Builder builderForValue)

public MappingRule.Builder setEntityMove(EntityMove.Builder builderForValue)

Optional. Rule to specify how multiple entities should be relocated into a different schema.

.google.cloud.clouddms.v1.EntityMove entity_move = 105 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue EntityMove.Builder
Returns
Type Description
MappingRule.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(MappingRuleFilter value)

public MappingRule.Builder setFilter(MappingRuleFilter value)

Required. The rule filter

.google.cloud.clouddms.v1.MappingRuleFilter filter = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MappingRuleFilter
Returns
Type Description
MappingRule.Builder

setFilter(MappingRuleFilter.Builder builderForValue)

public MappingRule.Builder setFilter(MappingRuleFilter.Builder builderForValue)

Required. The rule filter

.google.cloud.clouddms.v1.MappingRuleFilter filter = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue MappingRuleFilter.Builder
Returns
Type Description
MappingRule.Builder

setFilterTableColumns(FilterTableColumns value)

public MappingRule.Builder setFilterTableColumns(FilterTableColumns value)

Optional. Rule to specify the list of columns to include or exclude from a table.

.google.cloud.clouddms.v1.FilterTableColumns filter_table_columns = 118 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FilterTableColumns
Returns
Type Description
MappingRule.Builder

setFilterTableColumns(FilterTableColumns.Builder builderForValue)

public MappingRule.Builder setFilterTableColumns(FilterTableColumns.Builder builderForValue)

Optional. Rule to specify the list of columns to include or exclude from a table.

.google.cloud.clouddms.v1.FilterTableColumns filter_table_columns = 118 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue FilterTableColumns.Builder
Returns
Type Description
MappingRule.Builder

setMultiColumnDataTypeChange(MultiColumnDatatypeChange value)

public MappingRule.Builder setMultiColumnDataTypeChange(MultiColumnDatatypeChange value)

Optional. Rule to specify how multiple columns should be converted to a different data type.

.google.cloud.clouddms.v1.MultiColumnDatatypeChange multi_column_data_type_change = 107 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value MultiColumnDatatypeChange
Returns
Type Description
MappingRule.Builder

setMultiColumnDataTypeChange(MultiColumnDatatypeChange.Builder builderForValue)

public MappingRule.Builder setMultiColumnDataTypeChange(MultiColumnDatatypeChange.Builder builderForValue)

Optional. Rule to specify how multiple columns should be converted to a different data type.

.google.cloud.clouddms.v1.MultiColumnDatatypeChange multi_column_data_type_change = 107 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue MultiColumnDatatypeChange.Builder
Returns
Type Description
MappingRule.Builder

setMultiEntityRename(MultiEntityRename value)

public MappingRule.Builder setMultiEntityRename(MultiEntityRename value)

Optional. Rule to specify how multiple entities should be renamed.

.google.cloud.clouddms.v1.MultiEntityRename multi_entity_rename = 103 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value MultiEntityRename
Returns
Type Description
MappingRule.Builder

setMultiEntityRename(MultiEntityRename.Builder builderForValue)

public MappingRule.Builder setMultiEntityRename(MultiEntityRename.Builder builderForValue)

Optional. Rule to specify how multiple entities should be renamed.

.google.cloud.clouddms.v1.MultiEntityRename multi_entity_rename = 103 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue MultiEntityRename.Builder
Returns
Type Description
MappingRule.Builder

setName(String value)

public MappingRule.Builder setName(String value)

Full name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
MappingRule.Builder

This builder for chaining.

setNameBytes(ByteString value)

public MappingRule.Builder setNameBytes(ByteString value)

Full name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
MappingRule.Builder

This builder for chaining.

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

public MappingRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MappingRule.Builder
Overrides

setRevisionCreateTime(Timestamp value)

public MappingRule.Builder setRevisionCreateTime(Timestamp value)

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MappingRule.Builder

setRevisionCreateTime(Timestamp.Builder builderForValue)

public MappingRule.Builder setRevisionCreateTime(Timestamp.Builder builderForValue)

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp revision_create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
MappingRule.Builder

setRevisionId(String value)

public MappingRule.Builder setRevisionId(String value)

Output only. The revision ID of the mapping rule. A new revision is committed whenever the mapping rule is changed in any way. The format is an 8-character hexadecimal string.

string revision_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The revisionId to set.

Returns
Type Description
MappingRule.Builder

This builder for chaining.

setRevisionIdBytes(ByteString value)

public MappingRule.Builder setRevisionIdBytes(ByteString value)

Output only. The revision ID of the mapping rule. A new revision is committed whenever the mapping rule is changed in any way. The format is an 8-character hexadecimal string.

string revision_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for revisionId to set.

Returns
Type Description
MappingRule.Builder

This builder for chaining.

setRuleOrder(long value)

public MappingRule.Builder setRuleOrder(long value)

Required. The order in which the rule is applied. Lower order rules are applied before higher value rules so they may end up being overridden.

int64 rule_order = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value long

The ruleOrder to set.

Returns
Type Description
MappingRule.Builder

This builder for chaining.

setRuleScope(DatabaseEntityType value)

public MappingRule.Builder setRuleScope(DatabaseEntityType value)

Required. The rule scope

.google.cloud.clouddms.v1.DatabaseEntityType rule_scope = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DatabaseEntityType

The ruleScope to set.

Returns
Type Description
MappingRule.Builder

This builder for chaining.

setRuleScopeValue(int value)

public MappingRule.Builder setRuleScopeValue(int value)

Required. The rule scope

.google.cloud.clouddms.v1.DatabaseEntityType rule_scope = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for ruleScope to set.

Returns
Type Description
MappingRule.Builder

This builder for chaining.

setSetTablePrimaryKey(SetTablePrimaryKey value)

public MappingRule.Builder setSetTablePrimaryKey(SetTablePrimaryKey value)

Optional. Rule to specify the primary key for a table

.google.cloud.clouddms.v1.SetTablePrimaryKey set_table_primary_key = 115 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SetTablePrimaryKey
Returns
Type Description
MappingRule.Builder

setSetTablePrimaryKey(SetTablePrimaryKey.Builder builderForValue)

public MappingRule.Builder setSetTablePrimaryKey(SetTablePrimaryKey.Builder builderForValue)

Optional. Rule to specify the primary key for a table

.google.cloud.clouddms.v1.SetTablePrimaryKey set_table_primary_key = 115 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SetTablePrimaryKey.Builder
Returns
Type Description
MappingRule.Builder

setSingleColumnChange(SingleColumnChange value)

public MappingRule.Builder setSingleColumnChange(SingleColumnChange value)

Optional. Rule to specify how a single column is converted.

.google.cloud.clouddms.v1.SingleColumnChange single_column_change = 106 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SingleColumnChange
Returns
Type Description
MappingRule.Builder

setSingleColumnChange(SingleColumnChange.Builder builderForValue)

public MappingRule.Builder setSingleColumnChange(SingleColumnChange.Builder builderForValue)

Optional. Rule to specify how a single column is converted.

.google.cloud.clouddms.v1.SingleColumnChange single_column_change = 106 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SingleColumnChange.Builder
Returns
Type Description
MappingRule.Builder

setSingleEntityRename(SingleEntityRename value)

public MappingRule.Builder setSingleEntityRename(SingleEntityRename value)

Optional. Rule to specify how a single entity should be renamed.

.google.cloud.clouddms.v1.SingleEntityRename single_entity_rename = 102 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SingleEntityRename
Returns
Type Description
MappingRule.Builder

setSingleEntityRename(SingleEntityRename.Builder builderForValue)

public MappingRule.Builder setSingleEntityRename(SingleEntityRename.Builder builderForValue)

Optional. Rule to specify how a single entity should be renamed.

.google.cloud.clouddms.v1.SingleEntityRename single_entity_rename = 102 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SingleEntityRename.Builder
Returns
Type Description
MappingRule.Builder

setSinglePackageChange(SinglePackageChange value)

public MappingRule.Builder setSinglePackageChange(SinglePackageChange value)

Optional. Rule to specify how a single package is converted.

.google.cloud.clouddms.v1.SinglePackageChange single_package_change = 116 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SinglePackageChange
Returns
Type Description
MappingRule.Builder

setSinglePackageChange(SinglePackageChange.Builder builderForValue)

public MappingRule.Builder setSinglePackageChange(SinglePackageChange.Builder builderForValue)

Optional. Rule to specify how a single package is converted.

.google.cloud.clouddms.v1.SinglePackageChange single_package_change = 116 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SinglePackageChange.Builder
Returns
Type Description
MappingRule.Builder

setSourceSqlChange(SourceSqlChange value)

public MappingRule.Builder setSourceSqlChange(SourceSqlChange value)

Optional. Rule to change the sql code for an entity, for example, function, procedure.

.google.cloud.clouddms.v1.SourceSqlChange source_sql_change = 117 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SourceSqlChange
Returns
Type Description
MappingRule.Builder

setSourceSqlChange(SourceSqlChange.Builder builderForValue)

public MappingRule.Builder setSourceSqlChange(SourceSqlChange.Builder builderForValue)

Optional. Rule to change the sql code for an entity, for example, function, procedure.

.google.cloud.clouddms.v1.SourceSqlChange source_sql_change = 117 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SourceSqlChange.Builder
Returns
Type Description
MappingRule.Builder

setState(MappingRule.State value)

public MappingRule.Builder setState(MappingRule.State value)

Optional. The mapping rule state

.google.cloud.clouddms.v1.MappingRule.State state = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value MappingRule.State

The state to set.

Returns
Type Description
MappingRule.Builder

This builder for chaining.

setStateValue(int value)

public MappingRule.Builder setStateValue(int value)

Optional. The mapping rule state

.google.cloud.clouddms.v1.MappingRule.State state = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
MappingRule.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final MappingRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MappingRule.Builder
Overrides