Package com.google.cloud.clouddms.v1
Class EntityMapping
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.clouddms.v1.EntityMapping
-
- All Implemented Interfaces:
EntityMappingOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class EntityMapping extends com.google.protobuf.GeneratedMessageV3 implements EntityMappingOrBuilder
Details of the mappings of a database entity.
Protobuf typegoogle.cloud.clouddms.v1.EntityMapping- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEntityMapping.BuilderDetails of the mappings of a database entity.-
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 intDRAFT_ENTITY_FIELD_NUMBERstatic intDRAFT_TYPE_FIELD_NUMBERstatic intMAPPING_LOG_FIELD_NUMBERstatic intSOURCE_ENTITY_FIELD_NUMBERstatic intSOURCE_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static EntityMappinggetDefaultInstance()EntityMappinggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDraftEntity()Target entity full name.com.google.protobuf.ByteStringgetDraftEntityBytes()Target entity full name.DatabaseEntityTypegetDraftType()Type of draft entity.intgetDraftTypeValue()Type of draft entity.EntityMappingLogEntrygetMappingLog(int index)Entity mapping log entries.intgetMappingLogCount()Entity mapping log entries.List<EntityMappingLogEntry>getMappingLogList()Entity mapping log entries.EntityMappingLogEntryOrBuildergetMappingLogOrBuilder(int index)Entity mapping log entries.List<? extends EntityMappingLogEntryOrBuilder>getMappingLogOrBuilderList()Entity mapping log entries.com.google.protobuf.Parser<EntityMapping>getParserForType()intgetSerializedSize()StringgetSourceEntity()Source entity full name.com.google.protobuf.ByteStringgetSourceEntityBytes()Source entity full name.DatabaseEntityTypegetSourceType()Type of source entity.intgetSourceTypeValue()Type of source entity.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static EntityMapping.BuildernewBuilder()static EntityMapping.BuildernewBuilder(EntityMapping prototype)EntityMapping.BuildernewBuilderForType()protected EntityMapping.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static EntityMappingparseDelimitedFrom(InputStream input)static EntityMappingparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EntityMappingparseFrom(byte[] data)static EntityMappingparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EntityMappingparseFrom(com.google.protobuf.ByteString data)static EntityMappingparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EntityMappingparseFrom(com.google.protobuf.CodedInputStream input)static EntityMappingparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EntityMappingparseFrom(InputStream input)static EntityMappingparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EntityMappingparseFrom(ByteBuffer data)static EntityMappingparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<EntityMapping>parser()EntityMapping.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
-
SOURCE_ENTITY_FIELD_NUMBER
public static final int SOURCE_ENTITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DRAFT_ENTITY_FIELD_NUMBER
public static final int DRAFT_ENTITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_TYPE_FIELD_NUMBER
public static final int SOURCE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DRAFT_TYPE_FIELD_NUMBER
public static final int DRAFT_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAPPING_LOG_FIELD_NUMBER
public static final int MAPPING_LOG_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
-
getSourceEntity
public String getSourceEntity()
Source entity full name. The source entity can also be a column, index or constraint using the same naming notation schema.table.column.
string source_entity = 1;- Specified by:
getSourceEntityin interfaceEntityMappingOrBuilder- Returns:
- The sourceEntity.
-
getSourceEntityBytes
public com.google.protobuf.ByteString getSourceEntityBytes()
Source entity full name. The source entity can also be a column, index or constraint using the same naming notation schema.table.column.
string source_entity = 1;- Specified by:
getSourceEntityBytesin interfaceEntityMappingOrBuilder- Returns:
- The bytes for sourceEntity.
-
getDraftEntity
public String getDraftEntity()
Target entity full name. The draft entity can also include a column, index or constraint using the same naming notation schema.table.column.
string draft_entity = 2;- Specified by:
getDraftEntityin interfaceEntityMappingOrBuilder- Returns:
- The draftEntity.
-
getDraftEntityBytes
public com.google.protobuf.ByteString getDraftEntityBytes()
Target entity full name. The draft entity can also include a column, index or constraint using the same naming notation schema.table.column.
string draft_entity = 2;- Specified by:
getDraftEntityBytesin interfaceEntityMappingOrBuilder- Returns:
- The bytes for draftEntity.
-
getSourceTypeValue
public int getSourceTypeValue()
Type of source entity.
.google.cloud.clouddms.v1.DatabaseEntityType source_type = 4;- Specified by:
getSourceTypeValuein interfaceEntityMappingOrBuilder- Returns:
- The enum numeric value on the wire for sourceType.
-
getSourceType
public DatabaseEntityType getSourceType()
Type of source entity.
.google.cloud.clouddms.v1.DatabaseEntityType source_type = 4;- Specified by:
getSourceTypein interfaceEntityMappingOrBuilder- Returns:
- The sourceType.
-
getDraftTypeValue
public int getDraftTypeValue()
Type of draft entity.
.google.cloud.clouddms.v1.DatabaseEntityType draft_type = 5;- Specified by:
getDraftTypeValuein interfaceEntityMappingOrBuilder- Returns:
- The enum numeric value on the wire for draftType.
-
getDraftType
public DatabaseEntityType getDraftType()
Type of draft entity.
.google.cloud.clouddms.v1.DatabaseEntityType draft_type = 5;- Specified by:
getDraftTypein interfaceEntityMappingOrBuilder- Returns:
- The draftType.
-
getMappingLogList
public List<EntityMappingLogEntry> getMappingLogList()
Entity mapping log entries. Multiple rules can be effective and contribute changes to a converted entity, such as a rule can handle the entity name, another rule can handle an entity type. In addition, rules which did not change the entity are also logged along with the reason preventing them to do so.
repeated .google.cloud.clouddms.v1.EntityMappingLogEntry mapping_log = 3;- Specified by:
getMappingLogListin interfaceEntityMappingOrBuilder
-
getMappingLogOrBuilderList
public List<? extends EntityMappingLogEntryOrBuilder> getMappingLogOrBuilderList()
Entity mapping log entries. Multiple rules can be effective and contribute changes to a converted entity, such as a rule can handle the entity name, another rule can handle an entity type. In addition, rules which did not change the entity are also logged along with the reason preventing them to do so.
repeated .google.cloud.clouddms.v1.EntityMappingLogEntry mapping_log = 3;- Specified by:
getMappingLogOrBuilderListin interfaceEntityMappingOrBuilder
-
getMappingLogCount
public int getMappingLogCount()
Entity mapping log entries. Multiple rules can be effective and contribute changes to a converted entity, such as a rule can handle the entity name, another rule can handle an entity type. In addition, rules which did not change the entity are also logged along with the reason preventing them to do so.
repeated .google.cloud.clouddms.v1.EntityMappingLogEntry mapping_log = 3;- Specified by:
getMappingLogCountin interfaceEntityMappingOrBuilder
-
getMappingLog
public EntityMappingLogEntry getMappingLog(int index)
Entity mapping log entries. Multiple rules can be effective and contribute changes to a converted entity, such as a rule can handle the entity name, another rule can handle an entity type. In addition, rules which did not change the entity are also logged along with the reason preventing them to do so.
repeated .google.cloud.clouddms.v1.EntityMappingLogEntry mapping_log = 3;- Specified by:
getMappingLogin interfaceEntityMappingOrBuilder
-
getMappingLogOrBuilder
public EntityMappingLogEntryOrBuilder getMappingLogOrBuilder(int index)
Entity mapping log entries. Multiple rules can be effective and contribute changes to a converted entity, such as a rule can handle the entity name, another rule can handle an entity type. In addition, rules which did not change the entity are also logged along with the reason preventing them to do so.
repeated .google.cloud.clouddms.v1.EntityMappingLogEntry mapping_log = 3;- Specified by:
getMappingLogOrBuilderin interfaceEntityMappingOrBuilder
-
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 EntityMapping parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntityMapping parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntityMapping parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntityMapping parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntityMapping parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntityMapping parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntityMapping parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EntityMapping parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EntityMapping parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EntityMapping parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static EntityMapping parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EntityMapping parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public EntityMapping.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static EntityMapping.Builder newBuilder()
-
newBuilder
public static EntityMapping.Builder newBuilder(EntityMapping prototype)
-
toBuilder
public EntityMapping.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EntityMapping.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static EntityMapping getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<EntityMapping> parser()
-
getParserForType
public com.google.protobuf.Parser<EntityMapping> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public EntityMapping getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-