Class 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 type google.cloud.clouddms.v1.EntityMapping
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.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 class com.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:
        getSourceEntity in interface EntityMappingOrBuilder
        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:
        getSourceEntityBytes in interface EntityMappingOrBuilder
        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:
        getDraftEntity in interface EntityMappingOrBuilder
        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:
        getDraftEntityBytes in interface EntityMappingOrBuilder
        Returns:
        The bytes for draftEntity.
      • getSourceTypeValue

        public int getSourceTypeValue()
         Type of source entity.
         
        .google.cloud.clouddms.v1.DatabaseEntityType source_type = 4;
        Specified by:
        getSourceTypeValue in interface EntityMappingOrBuilder
        Returns:
        The enum numeric value on the wire for sourceType.
      • getDraftTypeValue

        public int getDraftTypeValue()
         Type of draft entity.
         
        .google.cloud.clouddms.v1.DatabaseEntityType draft_type = 5;
        Specified by:
        getDraftTypeValue in interface EntityMappingOrBuilder
        Returns:
        The enum numeric value on the wire for 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:
        getMappingLogList in interface EntityMappingOrBuilder
      • 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:
        getMappingLogOrBuilderList in interface EntityMappingOrBuilder
      • 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:
        getMappingLogCount in interface EntityMappingOrBuilder
      • 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:
        getMappingLog in interface EntityMappingOrBuilder
      • 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:
        getMappingLogOrBuilder in interface EntityMappingOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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​(com.google.protobuf.CodedInputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws IOException
        Throws:
        IOException
      • newBuilderForType

        public EntityMapping.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public EntityMapping.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected EntityMapping.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.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:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public EntityMapping getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder