- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.8
- 2.1.9
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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > MappingRuleImplements
MappingRuleOrBuilderStatic Fields
CONDITIONAL_COLUMN_SET_VALUE_FIELD_NUMBER
public static final int CONDITIONAL_COLUMN_SET_VALUE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CONVERT_ROWID_COLUMN_FIELD_NUMBER
public static final int CONVERT_ROWID_COLUMN_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ENTITY_MOVE_FIELD_NUMBER
public static final int ENTITY_MOVE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
FILTER_TABLE_COLUMNS_FIELD_NUMBER
public static final int FILTER_TABLE_COLUMNS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
MULTI_COLUMN_DATA_TYPE_CHANGE_FIELD_NUMBER
public static final int MULTI_COLUMN_DATA_TYPE_CHANGE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
MULTI_ENTITY_RENAME_FIELD_NUMBER
public static final int MULTI_ENTITY_RENAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
REVISION_CREATE_TIME_FIELD_NUMBER
public static final int REVISION_CREATE_TIME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
REVISION_ID_FIELD_NUMBER
public static final int REVISION_ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
RULE_ORDER_FIELD_NUMBER
public static final int RULE_ORDER_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
RULE_SCOPE_FIELD_NUMBER
public static final int RULE_SCOPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SET_TABLE_PRIMARY_KEY_FIELD_NUMBER
public static final int SET_TABLE_PRIMARY_KEY_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SINGLE_COLUMN_CHANGE_FIELD_NUMBER
public static final int SINGLE_COLUMN_CHANGE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SINGLE_ENTITY_RENAME_FIELD_NUMBER
public static final int SINGLE_ENTITY_RENAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SINGLE_PACKAGE_CHANGE_FIELD_NUMBER
public static final int SINGLE_PACKAGE_CHANGE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SOURCE_SQL_CHANGE_FIELD_NUMBER
public static final int SOURCE_SQL_CHANGE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static MappingRule getDefaultInstance()
Returns | |
---|---|
Type | Description |
MappingRule |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static MappingRule.Builder newBuilder()
Returns | |
---|---|
Type | Description |
MappingRule.Builder |
newBuilder(MappingRule prototype)
public static MappingRule.Builder newBuilder(MappingRule prototype)
Parameter | |
---|---|
Name | Description |
prototype | MappingRule |
Returns | |
---|---|
Type | Description |
MappingRule.Builder |
parseDelimitedFrom(InputStream input)
public static MappingRule parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
MappingRule |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MappingRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MappingRule |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static MappingRule parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
MappingRule |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MappingRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MappingRule |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static MappingRule parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
MappingRule |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MappingRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MappingRule |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static MappingRule parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
MappingRule |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MappingRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MappingRule |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static MappingRule parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
MappingRule |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MappingRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MappingRule |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static MappingRule parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
MappingRule |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MappingRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MappingRule |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<MappingRule> parser()
Returns | |
---|---|
Type | Description |
Parser<MappingRule> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getConditionalColumnSetValue()
public ConditionalColumnSetValue getConditionalColumnSetValue()
Optional. Rule to specify how the data contained in a column should be transformed (such as trimmed, rounded, etc) provided that the data meets certain criteria.
.google.cloud.clouddms.v1.ConditionalColumnSetValue conditional_column_set_value = 108 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConditionalColumnSetValue | The conditionalColumnSetValue. |
getConditionalColumnSetValueOrBuilder()
public ConditionalColumnSetValueOrBuilder getConditionalColumnSetValueOrBuilder()
Optional. Rule to specify how the data contained in a column should be transformed (such as trimmed, rounded, etc) provided that the data meets certain criteria.
.google.cloud.clouddms.v1.ConditionalColumnSetValue conditional_column_set_value = 108 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConditionalColumnSetValueOrBuilder |
getConvertRowidColumn()
public ConvertRowIdToColumn getConvertRowidColumn()
Optional. Rule to specify how multiple tables should be converted with an additional rowid column.
.google.cloud.clouddms.v1.ConvertRowIdToColumn convert_rowid_column = 114 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConvertRowIdToColumn | The convertRowidColumn. |
getConvertRowidColumnOrBuilder()
public ConvertRowIdToColumnOrBuilder getConvertRowidColumnOrBuilder()
Optional. Rule to specify how multiple tables should be converted with an additional rowid column.
.google.cloud.clouddms.v1.ConvertRowIdToColumn convert_rowid_column = 114 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConvertRowIdToColumnOrBuilder |
getDefaultInstanceForType()
public MappingRule getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MappingRule |
getDetailsCase()
public MappingRule.DetailsCase getDetailsCase()
Returns | |
---|---|
Type | Description |
MappingRule.DetailsCase |
getDisplayName()
public String getDisplayName()
Optional. A human readable name
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. A human readable name
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getEntityMove()
public EntityMove getEntityMove()
Optional. Rule to specify how multiple entities should be relocated into a different schema.
.google.cloud.clouddms.v1.EntityMove entity_move = 105 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
EntityMove | The entityMove. |
getEntityMoveOrBuilder()
public EntityMoveOrBuilder getEntityMoveOrBuilder()
Optional. Rule to specify how multiple entities should be relocated into a different schema.
.google.cloud.clouddms.v1.EntityMove entity_move = 105 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
EntityMoveOrBuilder |
getFilter()
public MappingRuleFilter getFilter()
Required. The rule filter
.google.cloud.clouddms.v1.MappingRuleFilter filter = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
MappingRuleFilter | The filter. |
getFilterOrBuilder()
public MappingRuleFilterOrBuilder getFilterOrBuilder()
Required. The rule filter
.google.cloud.clouddms.v1.MappingRuleFilter filter = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
MappingRuleFilterOrBuilder |
getFilterTableColumns()
public FilterTableColumns getFilterTableColumns()
Optional. Rule to specify the list of columns to include or exclude from a table.
.google.cloud.clouddms.v1.FilterTableColumns filter_table_columns = 118 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FilterTableColumns | The filterTableColumns. |
getFilterTableColumnsOrBuilder()
public FilterTableColumnsOrBuilder getFilterTableColumnsOrBuilder()
Optional. Rule to specify the list of columns to include or exclude from a table.
.google.cloud.clouddms.v1.FilterTableColumns filter_table_columns = 118 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FilterTableColumnsOrBuilder |
getMultiColumnDataTypeChange()
public MultiColumnDatatypeChange getMultiColumnDataTypeChange()
Optional. Rule to specify how multiple columns should be converted to a different data type.
.google.cloud.clouddms.v1.MultiColumnDatatypeChange multi_column_data_type_change = 107 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MultiColumnDatatypeChange | The multiColumnDataTypeChange. |
getMultiColumnDataTypeChangeOrBuilder()
public MultiColumnDatatypeChangeOrBuilder getMultiColumnDataTypeChangeOrBuilder()
Optional. Rule to specify how multiple columns should be converted to a different data type.
.google.cloud.clouddms.v1.MultiColumnDatatypeChange multi_column_data_type_change = 107 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MultiColumnDatatypeChangeOrBuilder |
getMultiEntityRename()
public MultiEntityRename getMultiEntityRename()
Optional. Rule to specify how multiple entities should be renamed.
.google.cloud.clouddms.v1.MultiEntityRename multi_entity_rename = 103 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MultiEntityRename | The multiEntityRename. |
getMultiEntityRenameOrBuilder()
public MultiEntityRenameOrBuilder getMultiEntityRenameOrBuilder()
Optional. Rule to specify how multiple entities should be renamed.
.google.cloud.clouddms.v1.MultiEntityRename multi_entity_rename = 103 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MultiEntityRenameOrBuilder |
getName()
public String getName()
Full name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Full name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<MappingRule> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<MappingRule> |
getRevisionCreateTime()
public Timestamp getRevisionCreateTime()
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The revisionCreateTime. |
getRevisionCreateTimeOrBuilder()
public TimestampOrBuilder getRevisionCreateTimeOrBuilder()
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getRevisionId()
public String getRevisionId()
Output only. The revision ID of the mapping rule. A new revision is committed whenever the mapping rule is changed in any way. The format is an 8-character hexadecimal string.
string revision_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The revisionId. |
getRevisionIdBytes()
public ByteString getRevisionIdBytes()
Output only. The revision ID of the mapping rule. A new revision is committed whenever the mapping rule is changed in any way. The format is an 8-character hexadecimal string.
string revision_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for revisionId. |
getRuleOrder()
public long getRuleOrder()
Required. The order in which the rule is applied. Lower order rules are applied before higher value rules so they may end up being overridden.
int64 rule_order = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
long | The ruleOrder. |
getRuleScope()
public DatabaseEntityType getRuleScope()
Required. The rule scope
.google.cloud.clouddms.v1.DatabaseEntityType rule_scope = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DatabaseEntityType | The ruleScope. |
getRuleScopeValue()
public int getRuleScopeValue()
Required. The rule scope
.google.cloud.clouddms.v1.DatabaseEntityType rule_scope = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for ruleScope. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getSetTablePrimaryKey()
public SetTablePrimaryKey getSetTablePrimaryKey()
Optional. Rule to specify the primary key for a table
.google.cloud.clouddms.v1.SetTablePrimaryKey set_table_primary_key = 115 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SetTablePrimaryKey | The setTablePrimaryKey. |
getSetTablePrimaryKeyOrBuilder()
public SetTablePrimaryKeyOrBuilder getSetTablePrimaryKeyOrBuilder()
Optional. Rule to specify the primary key for a table
.google.cloud.clouddms.v1.SetTablePrimaryKey set_table_primary_key = 115 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SetTablePrimaryKeyOrBuilder |
getSingleColumnChange()
public SingleColumnChange getSingleColumnChange()
Optional. Rule to specify how a single column is converted.
.google.cloud.clouddms.v1.SingleColumnChange single_column_change = 106 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SingleColumnChange | The singleColumnChange. |
getSingleColumnChangeOrBuilder()
public SingleColumnChangeOrBuilder getSingleColumnChangeOrBuilder()
Optional. Rule to specify how a single column is converted.
.google.cloud.clouddms.v1.SingleColumnChange single_column_change = 106 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SingleColumnChangeOrBuilder |
getSingleEntityRename()
public SingleEntityRename getSingleEntityRename()
Optional. Rule to specify how a single entity should be renamed.
.google.cloud.clouddms.v1.SingleEntityRename single_entity_rename = 102 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SingleEntityRename | The singleEntityRename. |
getSingleEntityRenameOrBuilder()
public SingleEntityRenameOrBuilder getSingleEntityRenameOrBuilder()
Optional. Rule to specify how a single entity should be renamed.
.google.cloud.clouddms.v1.SingleEntityRename single_entity_rename = 102 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SingleEntityRenameOrBuilder |
getSinglePackageChange()
public SinglePackageChange getSinglePackageChange()
Optional. Rule to specify how a single package is converted.
.google.cloud.clouddms.v1.SinglePackageChange single_package_change = 116 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SinglePackageChange | The singlePackageChange. |
getSinglePackageChangeOrBuilder()
public SinglePackageChangeOrBuilder getSinglePackageChangeOrBuilder()
Optional. Rule to specify how a single package is converted.
.google.cloud.clouddms.v1.SinglePackageChange single_package_change = 116 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SinglePackageChangeOrBuilder |
getSourceSqlChange()
public SourceSqlChange getSourceSqlChange()
Optional. Rule to change the sql code for an entity, for example, function, procedure.
.google.cloud.clouddms.v1.SourceSqlChange source_sql_change = 117 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SourceSqlChange | The sourceSqlChange. |
getSourceSqlChangeOrBuilder()
public SourceSqlChangeOrBuilder getSourceSqlChangeOrBuilder()
Optional. Rule to change the sql code for an entity, for example, function, procedure.
.google.cloud.clouddms.v1.SourceSqlChange source_sql_change = 117 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SourceSqlChangeOrBuilder |
getState()
public MappingRule.State getState()
Optional. The mapping rule state
.google.cloud.clouddms.v1.MappingRule.State state = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MappingRule.State | The state. |
getStateValue()
public int getStateValue()
Optional. The mapping rule state
.google.cloud.clouddms.v1.MappingRule.State state = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for state. |
hasConditionalColumnSetValue()
public boolean hasConditionalColumnSetValue()
Optional. Rule to specify how the data contained in a column should be transformed (such as trimmed, rounded, etc) provided that the data meets certain criteria.
.google.cloud.clouddms.v1.ConditionalColumnSetValue conditional_column_set_value = 108 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the conditionalColumnSetValue field is set. |
hasConvertRowidColumn()
public boolean hasConvertRowidColumn()
Optional. Rule to specify how multiple tables should be converted with an additional rowid column.
.google.cloud.clouddms.v1.ConvertRowIdToColumn convert_rowid_column = 114 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the convertRowidColumn field is set. |
hasEntityMove()
public boolean hasEntityMove()
Optional. Rule to specify how multiple entities should be relocated into a different schema.
.google.cloud.clouddms.v1.EntityMove entity_move = 105 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the entityMove field is set. |
hasFilter()
public boolean hasFilter()
Required. The rule filter
.google.cloud.clouddms.v1.MappingRuleFilter filter = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean | Whether the filter field is set. |
hasFilterTableColumns()
public boolean hasFilterTableColumns()
Optional. Rule to specify the list of columns to include or exclude from a table.
.google.cloud.clouddms.v1.FilterTableColumns filter_table_columns = 118 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the filterTableColumns field is set. |
hasMultiColumnDataTypeChange()
public boolean hasMultiColumnDataTypeChange()
Optional. Rule to specify how multiple columns should be converted to a different data type.
.google.cloud.clouddms.v1.MultiColumnDatatypeChange multi_column_data_type_change = 107 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the multiColumnDataTypeChange field is set. |
hasMultiEntityRename()
public boolean hasMultiEntityRename()
Optional. Rule to specify how multiple entities should be renamed.
.google.cloud.clouddms.v1.MultiEntityRename multi_entity_rename = 103 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the multiEntityRename field is set. |
hasRevisionCreateTime()
public boolean hasRevisionCreateTime()
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the revisionCreateTime field is set. |
hasSetTablePrimaryKey()
public boolean hasSetTablePrimaryKey()
Optional. Rule to specify the primary key for a table
.google.cloud.clouddms.v1.SetTablePrimaryKey set_table_primary_key = 115 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the setTablePrimaryKey field is set. |
hasSingleColumnChange()
public boolean hasSingleColumnChange()
Optional. Rule to specify how a single column is converted.
.google.cloud.clouddms.v1.SingleColumnChange single_column_change = 106 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the singleColumnChange field is set. |
hasSingleEntityRename()
public boolean hasSingleEntityRename()
Optional. Rule to specify how a single entity should be renamed.
.google.cloud.clouddms.v1.SingleEntityRename single_entity_rename = 102 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the singleEntityRename field is set. |
hasSinglePackageChange()
public boolean hasSinglePackageChange()
Optional. Rule to specify how a single package is converted.
.google.cloud.clouddms.v1.SinglePackageChange single_package_change = 116 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the singlePackageChange field is set. |
hasSourceSqlChange()
public boolean hasSourceSqlChange()
Optional. Rule to change the sql code for an entity, for example, function, procedure.
.google.cloud.clouddms.v1.SourceSqlChange source_sql_change = 117 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the sourceSqlChange field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public MappingRule.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
MappingRule.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MappingRule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
MappingRule.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public MappingRule.Builder toBuilder()
Returns | |
---|---|
Type | Description |
MappingRule.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |