Class MappingRule.Builder (2.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MappingRule build()
Returns
TypeDescription
MappingRule

buildPartial()

public MappingRule buildPartial()
Returns
TypeDescription
MappingRule

clear()

public MappingRule.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
MappingRule.Builder

clearDetails()

public MappingRule.Builder clearDetails()
Returns
TypeDescription
MappingRule.Builder

clearDisplayName()

public MappingRule.Builder clearDisplayName()

Optional. A human readable name

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

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

clearField(Descriptors.FieldDescriptor field)

public MappingRule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
MappingRule.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public MappingRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
MappingRule.Builder

This builder for chaining.

clone()

public MappingRule.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ConvertRowIdToColumnOrBuilder

getDefaultInstanceForType()

public MappingRule getDefaultInstanceForType()
Returns
TypeDescription
MappingRule

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDetailsCase()

public MappingRule.DetailsCase getDetailsCase()
Returns
TypeDescription
MappingRule.DetailsCase

getDisplayName()

public String getDisplayName()

Optional. A human readable name

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

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. A human readable name

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
EntityMoveOrBuilder

getFilter()

public MappingRuleFilter getFilter()

Required. The rule filter

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

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

getFilterOrBuilder()

public MappingRuleFilterOrBuilder getFilterOrBuilder()

Required. The rule filter

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the sourceSqlChange field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueConditionalColumnSetValue
Returns
TypeDescription
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
NameDescription
valueConvertRowIdToColumn
Returns
TypeDescription
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
NameDescription
valueEntityMove
Returns
TypeDescription
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
NameDescription
valueMappingRuleFilter
Returns
TypeDescription
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
NameDescription
valueFilterTableColumns
Returns
TypeDescription
MappingRule.Builder

mergeFrom(MappingRule other)

public MappingRule.Builder mergeFrom(MappingRule other)
Parameter
NameDescription
otherMappingRule
Returns
TypeDescription
MappingRule.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public MappingRule.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueMultiColumnDatatypeChange
Returns
TypeDescription
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
NameDescription
valueMultiEntityRename
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueSetTablePrimaryKey
Returns
TypeDescription
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
NameDescription
valueSingleColumnChange
Returns
TypeDescription
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
NameDescription
valueSingleEntityRename
Returns
TypeDescription
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
NameDescription
valueSinglePackageChange
Returns
TypeDescription
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
NameDescription
valueSourceSqlChange
Returns
TypeDescription
MappingRule.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MappingRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueConditionalColumnSetValue
Returns
TypeDescription
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
NameDescription
builderForValueConditionalColumnSetValue.Builder
Returns
TypeDescription
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
NameDescription
valueConvertRowIdToColumn
Returns
TypeDescription
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
NameDescription
builderForValueConvertRowIdToColumn.Builder
Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
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
NameDescription
valueEntityMove
Returns
TypeDescription
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
NameDescription
builderForValueEntityMove.Builder
Returns
TypeDescription
MappingRule.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public MappingRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueMappingRuleFilter
Returns
TypeDescription
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
NameDescription
builderForValueMappingRuleFilter.Builder
Returns
TypeDescription
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
NameDescription
valueFilterTableColumns
Returns
TypeDescription
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
NameDescription
builderForValueFilterTableColumns.Builder
Returns
TypeDescription
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
NameDescription
valueMultiColumnDatatypeChange
Returns
TypeDescription
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
NameDescription
builderForValueMultiColumnDatatypeChange.Builder
Returns
TypeDescription
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
NameDescription
valueMultiEntityRename
Returns
TypeDescription
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
NameDescription
builderForValueMultiEntityRename.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The revisionId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for revisionId to set.

Returns
TypeDescription
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
NameDescription
valuelong

The ruleOrder to set.

Returns
TypeDescription
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
NameDescription
valueDatabaseEntityType

The ruleScope to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueSetTablePrimaryKey
Returns
TypeDescription
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
NameDescription
builderForValueSetTablePrimaryKey.Builder
Returns
TypeDescription
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
NameDescription
valueSingleColumnChange
Returns
TypeDescription
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
NameDescription
builderForValueSingleColumnChange.Builder
Returns
TypeDescription
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
NameDescription
valueSingleEntityRename
Returns
TypeDescription
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
NameDescription
builderForValueSingleEntityRename.Builder
Returns
TypeDescription
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
NameDescription
valueSinglePackageChange
Returns
TypeDescription
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
NameDescription
builderForValueSinglePackageChange.Builder
Returns
TypeDescription
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
NameDescription
valueSourceSqlChange
Returns
TypeDescription
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
NameDescription
builderForValueSourceSqlChange.Builder
Returns
TypeDescription
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
NameDescription
valueMappingRule.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
MappingRule.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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