Package com.google.cloud.clouddms.v1
Class MappingRule
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.clouddms.v1.MappingRule
-
- All Implemented Interfaces:
MappingRuleOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class MappingRule extends com.google.protobuf.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 typegoogle.cloud.clouddms.v1.MappingRule- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMappingRule.BuilderDefinition of a transformation that is to be applied to a group of entities in the source schema.static classMappingRule.DetailsCasestatic classMappingRule.StateThe current mapping rule state such as enabled, disabled or deleted.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCONDITIONAL_COLUMN_SET_VALUE_FIELD_NUMBERstatic intCONVERT_ROWID_COLUMN_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intENTITY_MOVE_FIELD_NUMBERstatic intFILTER_FIELD_NUMBERstatic intFILTER_TABLE_COLUMNS_FIELD_NUMBERstatic intMULTI_COLUMN_DATA_TYPE_CHANGE_FIELD_NUMBERstatic intMULTI_ENTITY_RENAME_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intREVISION_CREATE_TIME_FIELD_NUMBERstatic intREVISION_ID_FIELD_NUMBERstatic intRULE_ORDER_FIELD_NUMBERstatic intRULE_SCOPE_FIELD_NUMBERstatic intSET_TABLE_PRIMARY_KEY_FIELD_NUMBERstatic intSINGLE_COLUMN_CHANGE_FIELD_NUMBERstatic intSINGLE_ENTITY_RENAME_FIELD_NUMBERstatic intSINGLE_PACKAGE_CHANGE_FIELD_NUMBERstatic intSOURCE_SQL_CHANGE_FIELD_NUMBERstatic intSTATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ConditionalColumnSetValuegetConditionalColumnSetValue()Optional.ConditionalColumnSetValueOrBuildergetConditionalColumnSetValueOrBuilder()Optional.ConvertRowIdToColumngetConvertRowidColumn()Optional.ConvertRowIdToColumnOrBuildergetConvertRowidColumnOrBuilder()Optional.static MappingRulegetDefaultInstance()MappingRulegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()MappingRule.DetailsCasegetDetailsCase()StringgetDisplayName()Optional.com.google.protobuf.ByteStringgetDisplayNameBytes()Optional.EntityMovegetEntityMove()Optional.EntityMoveOrBuildergetEntityMoveOrBuilder()Optional.MappingRuleFiltergetFilter()Required.MappingRuleFilterOrBuildergetFilterOrBuilder()Required.FilterTableColumnsgetFilterTableColumns()Optional.FilterTableColumnsOrBuildergetFilterTableColumnsOrBuilder()Optional.MultiColumnDatatypeChangegetMultiColumnDataTypeChange()Optional.MultiColumnDatatypeChangeOrBuildergetMultiColumnDataTypeChangeOrBuilder()Optional.MultiEntityRenamegetMultiEntityRename()Optional.MultiEntityRenameOrBuildergetMultiEntityRenameOrBuilder()Optional.StringgetName()Full name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.com.google.protobuf.ByteStringgetNameBytes()Full name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.com.google.protobuf.Parser<MappingRule>getParserForType()com.google.protobuf.TimestampgetRevisionCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetRevisionCreateTimeOrBuilder()Output only.StringgetRevisionId()Output only.com.google.protobuf.ByteStringgetRevisionIdBytes()Output only.longgetRuleOrder()Required.DatabaseEntityTypegetRuleScope()Required.intgetRuleScopeValue()Required.intgetSerializedSize()SetTablePrimaryKeygetSetTablePrimaryKey()Optional.SetTablePrimaryKeyOrBuildergetSetTablePrimaryKeyOrBuilder()Optional.SingleColumnChangegetSingleColumnChange()Optional.SingleColumnChangeOrBuildergetSingleColumnChangeOrBuilder()Optional.SingleEntityRenamegetSingleEntityRename()Optional.SingleEntityRenameOrBuildergetSingleEntityRenameOrBuilder()Optional.SinglePackageChangegetSinglePackageChange()Optional.SinglePackageChangeOrBuildergetSinglePackageChangeOrBuilder()Optional.SourceSqlChangegetSourceSqlChange()Optional.SourceSqlChangeOrBuildergetSourceSqlChangeOrBuilder()Optional.MappingRule.StategetState()Optional.intgetStateValue()Optional.booleanhasConditionalColumnSetValue()Optional.booleanhasConvertRowidColumn()Optional.booleanhasEntityMove()Optional.booleanhasFilter()Required.booleanhasFilterTableColumns()Optional.inthashCode()booleanhasMultiColumnDataTypeChange()Optional.booleanhasMultiEntityRename()Optional.booleanhasRevisionCreateTime()Output only.booleanhasSetTablePrimaryKey()Optional.booleanhasSingleColumnChange()Optional.booleanhasSingleEntityRename()Optional.booleanhasSinglePackageChange()Optional.booleanhasSourceSqlChange()Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static MappingRule.BuildernewBuilder()static MappingRule.BuildernewBuilder(MappingRule prototype)MappingRule.BuildernewBuilderForType()protected MappingRule.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MappingRuleparseDelimitedFrom(InputStream input)static MappingRuleparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MappingRuleparseFrom(byte[] data)static MappingRuleparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MappingRuleparseFrom(com.google.protobuf.ByteString data)static MappingRuleparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MappingRuleparseFrom(com.google.protobuf.CodedInputStream input)static MappingRuleparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MappingRuleparseFrom(InputStream input)static MappingRuleparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MappingRuleparseFrom(ByteBuffer data)static MappingRuleparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MappingRule>parser()MappingRule.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RULE_SCOPE_FIELD_NUMBER
public static final int RULE_SCOPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RULE_ORDER_FIELD_NUMBER
public static final int RULE_ORDER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REVISION_ID_FIELD_NUMBER
public static final int REVISION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REVISION_CREATE_TIME_FIELD_NUMBER
public static final int REVISION_CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SINGLE_ENTITY_RENAME_FIELD_NUMBER
public static final int SINGLE_ENTITY_RENAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MULTI_ENTITY_RENAME_FIELD_NUMBER
public static final int MULTI_ENTITY_RENAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENTITY_MOVE_FIELD_NUMBER
public static final int ENTITY_MOVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SINGLE_COLUMN_CHANGE_FIELD_NUMBER
public static final int SINGLE_COLUMN_CHANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MULTI_COLUMN_DATA_TYPE_CHANGE_FIELD_NUMBER
public static final int MULTI_COLUMN_DATA_TYPE_CHANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONDITIONAL_COLUMN_SET_VALUE_FIELD_NUMBER
public static final int CONDITIONAL_COLUMN_SET_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONVERT_ROWID_COLUMN_FIELD_NUMBER
public static final int CONVERT_ROWID_COLUMN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SET_TABLE_PRIMARY_KEY_FIELD_NUMBER
public static final int SET_TABLE_PRIMARY_KEY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SINGLE_PACKAGE_CHANGE_FIELD_NUMBER
public static final int SINGLE_PACKAGE_CHANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_SQL_CHANGE_FIELD_NUMBER
public static final int SOURCE_SQL_CHANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILTER_TABLE_COLUMNS_FIELD_NUMBER
public static final int FILTER_TABLE_COLUMNS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDetailsCase
public MappingRule.DetailsCase getDetailsCase()
- Specified by:
getDetailsCasein interfaceMappingRuleOrBuilder
-
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;- Specified by:
getNamein interfaceMappingRuleOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Full name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.string name = 1;- Specified by:
getNameBytesin interfaceMappingRuleOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
public String getDisplayName()
Optional. A human readable name
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNamein interfaceMappingRuleOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Optional. A human readable name
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNameBytesin interfaceMappingRuleOrBuilder- Returns:
- The bytes for displayName.
-
getStateValue
public int getStateValue()
Optional. The mapping rule state
.google.cloud.clouddms.v1.MappingRule.State state = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStateValuein interfaceMappingRuleOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public MappingRule.State getState()
Optional. The mapping rule state
.google.cloud.clouddms.v1.MappingRule.State state = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStatein interfaceMappingRuleOrBuilder- Returns:
- The state.
-
getRuleScopeValue
public int getRuleScopeValue()
Required. The rule scope
.google.cloud.clouddms.v1.DatabaseEntityType rule_scope = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRuleScopeValuein interfaceMappingRuleOrBuilder- Returns:
- The enum numeric value on the wire for ruleScope.
-
getRuleScope
public DatabaseEntityType getRuleScope()
Required. The rule scope
.google.cloud.clouddms.v1.DatabaseEntityType rule_scope = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRuleScopein interfaceMappingRuleOrBuilder- Returns:
- The ruleScope.
-
hasFilter
public boolean hasFilter()
Required. The rule filter
.google.cloud.clouddms.v1.MappingRuleFilter filter = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasFilterin interfaceMappingRuleOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
public MappingRuleFilter getFilter()
Required. The rule filter
.google.cloud.clouddms.v1.MappingRuleFilter filter = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFilterin interfaceMappingRuleOrBuilder- Returns:
- The filter.
-
getFilterOrBuilder
public MappingRuleFilterOrBuilder getFilterOrBuilder()
Required. The rule filter
.google.cloud.clouddms.v1.MappingRuleFilter filter = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFilterOrBuilderin interfaceMappingRuleOrBuilder
-
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];- Specified by:
getRuleOrderin interfaceMappingRuleOrBuilder- Returns:
- The ruleOrder.
-
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];- Specified by:
getRevisionIdin interfaceMappingRuleOrBuilder- Returns:
- The revisionId.
-
getRevisionIdBytes
public com.google.protobuf.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];- Specified by:
getRevisionIdBytesin interfaceMappingRuleOrBuilder- Returns:
- The bytes for revisionId.
-
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];- Specified by:
hasRevisionCreateTimein interfaceMappingRuleOrBuilder- Returns:
- Whether the revisionCreateTime field is set.
-
getRevisionCreateTime
public com.google.protobuf.Timestamp getRevisionCreateTime()
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionCreateTimein interfaceMappingRuleOrBuilder- Returns:
- The revisionCreateTime.
-
getRevisionCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder()
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionCreateTimeOrBuilderin interfaceMappingRuleOrBuilder
-
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];- Specified by:
hasSingleEntityRenamein interfaceMappingRuleOrBuilder- Returns:
- Whether the singleEntityRename field is set.
-
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];- Specified by:
getSingleEntityRenamein interfaceMappingRuleOrBuilder- Returns:
- 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];- Specified by:
getSingleEntityRenameOrBuilderin interfaceMappingRuleOrBuilder
-
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];- Specified by:
hasMultiEntityRenamein interfaceMappingRuleOrBuilder- Returns:
- Whether the multiEntityRename field is set.
-
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];- Specified by:
getMultiEntityRenamein interfaceMappingRuleOrBuilder- Returns:
- 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];- Specified by:
getMultiEntityRenameOrBuilderin interfaceMappingRuleOrBuilder
-
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];- Specified by:
hasEntityMovein interfaceMappingRuleOrBuilder- Returns:
- Whether the entityMove field is set.
-
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];- Specified by:
getEntityMovein interfaceMappingRuleOrBuilder- Returns:
- 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];- Specified by:
getEntityMoveOrBuilderin interfaceMappingRuleOrBuilder
-
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];- Specified by:
hasSingleColumnChangein interfaceMappingRuleOrBuilder- Returns:
- Whether the singleColumnChange field is set.
-
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];- Specified by:
getSingleColumnChangein interfaceMappingRuleOrBuilder- Returns:
- 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];- Specified by:
getSingleColumnChangeOrBuilderin interfaceMappingRuleOrBuilder
-
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];- Specified by:
hasMultiColumnDataTypeChangein interfaceMappingRuleOrBuilder- Returns:
- Whether the multiColumnDataTypeChange field is set.
-
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];- Specified by:
getMultiColumnDataTypeChangein interfaceMappingRuleOrBuilder- Returns:
- 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];- Specified by:
getMultiColumnDataTypeChangeOrBuilderin interfaceMappingRuleOrBuilder
-
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];- Specified by:
hasConditionalColumnSetValuein interfaceMappingRuleOrBuilder- Returns:
- Whether the conditionalColumnSetValue field is set.
-
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];- Specified by:
getConditionalColumnSetValuein interfaceMappingRuleOrBuilder- Returns:
- 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];- Specified by:
getConditionalColumnSetValueOrBuilderin interfaceMappingRuleOrBuilder
-
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];- Specified by:
hasConvertRowidColumnin interfaceMappingRuleOrBuilder- Returns:
- Whether the convertRowidColumn field is set.
-
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];- Specified by:
getConvertRowidColumnin interfaceMappingRuleOrBuilder- Returns:
- 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];- Specified by:
getConvertRowidColumnOrBuilderin interfaceMappingRuleOrBuilder
-
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];- Specified by:
hasSetTablePrimaryKeyin interfaceMappingRuleOrBuilder- Returns:
- Whether the setTablePrimaryKey field is set.
-
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];- Specified by:
getSetTablePrimaryKeyin interfaceMappingRuleOrBuilder- Returns:
- 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];- Specified by:
getSetTablePrimaryKeyOrBuilderin interfaceMappingRuleOrBuilder
-
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];- Specified by:
hasSinglePackageChangein interfaceMappingRuleOrBuilder- Returns:
- Whether the singlePackageChange field is set.
-
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];- Specified by:
getSinglePackageChangein interfaceMappingRuleOrBuilder- Returns:
- 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];- Specified by:
getSinglePackageChangeOrBuilderin interfaceMappingRuleOrBuilder
-
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];- Specified by:
hasSourceSqlChangein interfaceMappingRuleOrBuilder- Returns:
- Whether the sourceSqlChange field is set.
-
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];- Specified by:
getSourceSqlChangein interfaceMappingRuleOrBuilder- Returns:
- 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];- Specified by:
getSourceSqlChangeOrBuilderin interfaceMappingRuleOrBuilder
-
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];- Specified by:
hasFilterTableColumnsin interfaceMappingRuleOrBuilder- Returns:
- Whether the filterTableColumns field is set.
-
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];- Specified by:
getFilterTableColumnsin interfaceMappingRuleOrBuilder- Returns:
- 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];- Specified by:
getFilterTableColumnsOrBuilderin interfaceMappingRuleOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MappingRule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MappingRule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MappingRule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MappingRule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MappingRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MappingRule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MappingRule parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MappingRule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MappingRule parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MappingRule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static MappingRule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MappingRule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public MappingRule.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static MappingRule.Builder newBuilder()
-
newBuilder
public static MappingRule.Builder newBuilder(MappingRule prototype)
-
toBuilder
public MappingRule.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MappingRule.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static MappingRule getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MappingRule> parser()
-
getParserForType
public com.google.protobuf.Parser<MappingRule> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MappingRule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-