Class MappingRule (2.33.0)

public final class MappingRule extends GeneratedMessageV3 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 Fields

CONDITIONAL_COLUMN_SET_VALUE_FIELD_NUMBER

public static final int CONDITIONAL_COLUMN_SET_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

CONVERT_ROWID_COLUMN_FIELD_NUMBER

public static final int CONVERT_ROWID_COLUMN_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

ENTITY_MOVE_FIELD_NUMBER

public static final int ENTITY_MOVE_FIELD_NUMBER
Field Value
TypeDescription
int

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

FILTER_TABLE_COLUMNS_FIELD_NUMBER

public static final int FILTER_TABLE_COLUMNS_FIELD_NUMBER
Field Value
TypeDescription
int

MULTI_COLUMN_DATA_TYPE_CHANGE_FIELD_NUMBER

public static final int MULTI_COLUMN_DATA_TYPE_CHANGE_FIELD_NUMBER
Field Value
TypeDescription
int

MULTI_ENTITY_RENAME_FIELD_NUMBER

public static final int MULTI_ENTITY_RENAME_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

REVISION_CREATE_TIME_FIELD_NUMBER

public static final int REVISION_CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

REVISION_ID_FIELD_NUMBER

public static final int REVISION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

RULE_ORDER_FIELD_NUMBER

public static final int RULE_ORDER_FIELD_NUMBER
Field Value
TypeDescription
int

RULE_SCOPE_FIELD_NUMBER

public static final int RULE_SCOPE_FIELD_NUMBER
Field Value
TypeDescription
int

SET_TABLE_PRIMARY_KEY_FIELD_NUMBER

public static final int SET_TABLE_PRIMARY_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

SINGLE_COLUMN_CHANGE_FIELD_NUMBER

public static final int SINGLE_COLUMN_CHANGE_FIELD_NUMBER
Field Value
TypeDescription
int

SINGLE_ENTITY_RENAME_FIELD_NUMBER

public static final int SINGLE_ENTITY_RENAME_FIELD_NUMBER
Field Value
TypeDescription
int

SINGLE_PACKAGE_CHANGE_FIELD_NUMBER

public static final int SINGLE_PACKAGE_CHANGE_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_SQL_CHANGE_FIELD_NUMBER

public static final int SOURCE_SQL_CHANGE_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MappingRule getDefaultInstance()
Returns
TypeDescription
MappingRule

getDescriptor()

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

newBuilder()

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

newBuilder(MappingRule prototype)

public static MappingRule.Builder newBuilder(MappingRule prototype)
Parameter
NameDescription
prototypeMappingRule
Returns
TypeDescription
MappingRule.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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.

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

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.

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.

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.

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.

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.

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.

getParserForType()

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

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.

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

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.

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.

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.

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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