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 class
MappingRule.Builder
Definition of a transformation that is to be applied to a group of entities in the source schema.static class
MappingRule.DetailsCase
static class
MappingRule.State
The 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 int
CONDITIONAL_COLUMN_SET_VALUE_FIELD_NUMBER
static int
CONVERT_ROWID_COLUMN_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
ENTITY_MOVE_FIELD_NUMBER
static int
FILTER_FIELD_NUMBER
static int
FILTER_TABLE_COLUMNS_FIELD_NUMBER
static int
MULTI_COLUMN_DATA_TYPE_CHANGE_FIELD_NUMBER
static int
MULTI_ENTITY_RENAME_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
REVISION_CREATE_TIME_FIELD_NUMBER
static int
REVISION_ID_FIELD_NUMBER
static int
RULE_ORDER_FIELD_NUMBER
static int
RULE_SCOPE_FIELD_NUMBER
static int
SET_TABLE_PRIMARY_KEY_FIELD_NUMBER
static int
SINGLE_COLUMN_CHANGE_FIELD_NUMBER
static int
SINGLE_ENTITY_RENAME_FIELD_NUMBER
static int
SINGLE_PACKAGE_CHANGE_FIELD_NUMBER
static int
SOURCE_SQL_CHANGE_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ConditionalColumnSetValue
getConditionalColumnSetValue()
Optional.ConditionalColumnSetValueOrBuilder
getConditionalColumnSetValueOrBuilder()
Optional.ConvertRowIdToColumn
getConvertRowidColumn()
Optional.ConvertRowIdToColumnOrBuilder
getConvertRowidColumnOrBuilder()
Optional.static MappingRule
getDefaultInstance()
MappingRule
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
MappingRule.DetailsCase
getDetailsCase()
String
getDisplayName()
Optional.com.google.protobuf.ByteString
getDisplayNameBytes()
Optional.EntityMove
getEntityMove()
Optional.EntityMoveOrBuilder
getEntityMoveOrBuilder()
Optional.MappingRuleFilter
getFilter()
Required.MappingRuleFilterOrBuilder
getFilterOrBuilder()
Required.FilterTableColumns
getFilterTableColumns()
Optional.FilterTableColumnsOrBuilder
getFilterTableColumnsOrBuilder()
Optional.MultiColumnDatatypeChange
getMultiColumnDataTypeChange()
Optional.MultiColumnDatatypeChangeOrBuilder
getMultiColumnDataTypeChangeOrBuilder()
Optional.MultiEntityRename
getMultiEntityRename()
Optional.MultiEntityRenameOrBuilder
getMultiEntityRenameOrBuilder()
Optional.String
getName()
Full name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.com.google.protobuf.ByteString
getNameBytes()
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.Timestamp
getRevisionCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getRevisionCreateTimeOrBuilder()
Output only.String
getRevisionId()
Output only.com.google.protobuf.ByteString
getRevisionIdBytes()
Output only.long
getRuleOrder()
Required.DatabaseEntityType
getRuleScope()
Required.int
getRuleScopeValue()
Required.int
getSerializedSize()
SetTablePrimaryKey
getSetTablePrimaryKey()
Optional.SetTablePrimaryKeyOrBuilder
getSetTablePrimaryKeyOrBuilder()
Optional.SingleColumnChange
getSingleColumnChange()
Optional.SingleColumnChangeOrBuilder
getSingleColumnChangeOrBuilder()
Optional.SingleEntityRename
getSingleEntityRename()
Optional.SingleEntityRenameOrBuilder
getSingleEntityRenameOrBuilder()
Optional.SinglePackageChange
getSinglePackageChange()
Optional.SinglePackageChangeOrBuilder
getSinglePackageChangeOrBuilder()
Optional.SourceSqlChange
getSourceSqlChange()
Optional.SourceSqlChangeOrBuilder
getSourceSqlChangeOrBuilder()
Optional.MappingRule.State
getState()
Optional.int
getStateValue()
Optional.boolean
hasConditionalColumnSetValue()
Optional.boolean
hasConvertRowidColumn()
Optional.boolean
hasEntityMove()
Optional.boolean
hasFilter()
Required.boolean
hasFilterTableColumns()
Optional.int
hashCode()
boolean
hasMultiColumnDataTypeChange()
Optional.boolean
hasMultiEntityRename()
Optional.boolean
hasRevisionCreateTime()
Output only.boolean
hasSetTablePrimaryKey()
Optional.boolean
hasSingleColumnChange()
Optional.boolean
hasSingleEntityRename()
Optional.boolean
hasSinglePackageChange()
Optional.boolean
hasSourceSqlChange()
Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static MappingRule.Builder
newBuilder()
static MappingRule.Builder
newBuilder(MappingRule prototype)
MappingRule.Builder
newBuilderForType()
protected MappingRule.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static MappingRule
parseDelimitedFrom(InputStream input)
static MappingRule
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MappingRule
parseFrom(byte[] data)
static MappingRule
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MappingRule
parseFrom(com.google.protobuf.ByteString data)
static MappingRule
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MappingRule
parseFrom(com.google.protobuf.CodedInputStream input)
static MappingRule
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MappingRule
parseFrom(InputStream input)
static MappingRule
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MappingRule
parseFrom(ByteBuffer data)
static MappingRule
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<MappingRule>
parser()
MappingRule.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getDetailsCase
public MappingRule.DetailsCase getDetailsCase()
- Specified by:
getDetailsCase
in 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:
getName
in 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:
getNameBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
getStateValue
in 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:
getState
in 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:
getRuleScopeValue
in 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:
getRuleScope
in 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:
hasFilter
in 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:
getFilter
in 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:
getFilterOrBuilder
in 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:
getRuleOrder
in 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:
getRevisionId
in 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:
getRevisionIdBytes
in 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:
hasRevisionCreateTime
in 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:
getRevisionCreateTime
in 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:
getRevisionCreateTimeOrBuilder
in 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:
hasSingleEntityRename
in 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:
getSingleEntityRename
in 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:
getSingleEntityRenameOrBuilder
in 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:
hasMultiEntityRename
in 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:
getMultiEntityRename
in 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:
getMultiEntityRenameOrBuilder
in 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:
hasEntityMove
in 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:
getEntityMove
in 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:
getEntityMoveOrBuilder
in 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:
hasSingleColumnChange
in 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:
getSingleColumnChange
in 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:
getSingleColumnChangeOrBuilder
in 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:
hasMultiColumnDataTypeChange
in 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:
getMultiColumnDataTypeChange
in 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:
getMultiColumnDataTypeChangeOrBuilder
in 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:
hasConditionalColumnSetValue
in 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:
getConditionalColumnSetValue
in 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:
getConditionalColumnSetValueOrBuilder
in 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:
hasConvertRowidColumn
in 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:
getConvertRowidColumn
in 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:
getConvertRowidColumnOrBuilder
in 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:
hasSetTablePrimaryKey
in 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:
getSetTablePrimaryKey
in 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:
getSetTablePrimaryKeyOrBuilder
in 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:
hasSinglePackageChange
in 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:
getSinglePackageChange
in 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:
getSinglePackageChangeOrBuilder
in 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:
hasSourceSqlChange
in 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:
getSourceSqlChange
in 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:
getSourceSqlChangeOrBuilder
in 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:
hasFilterTableColumns
in 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:
getFilterTableColumns
in 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:
getFilterTableColumnsOrBuilder
in interfaceMappingRuleOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MappingRule.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MappingRule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-