Class DatabaseEntity.Builder

  • All Implemented Interfaces:
    DatabaseEntityOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    DatabaseEntity

    public static final class DatabaseEntity.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<DatabaseEntity.Builder>
    implements DatabaseEntityOrBuilder
     The base entity type for all the database related entities.
     The message contains the entity name, the name of its parent, the entity
     type, and the specific details per entity type.
     
    Protobuf type google.cloud.clouddms.v1.DatabaseEntity
    • Method Detail

      • 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.Builder<DatabaseEntity.Builder>
      • clear

        public DatabaseEntity.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<DatabaseEntity.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DatabaseEntity.Builder>
      • getDefaultInstanceForType

        public DatabaseEntity getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public DatabaseEntity build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public DatabaseEntity buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public DatabaseEntity.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<DatabaseEntity.Builder>
      • setField

        public DatabaseEntity.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                               Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<DatabaseEntity.Builder>
      • clearField

        public DatabaseEntity.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DatabaseEntity.Builder>
      • clearOneof

        public DatabaseEntity.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DatabaseEntity.Builder>
      • setRepeatedField

        public DatabaseEntity.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       int index,
                                                       Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DatabaseEntity.Builder>
      • addRepeatedField

        public DatabaseEntity.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DatabaseEntity.Builder>
      • mergeFrom

        public DatabaseEntity.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DatabaseEntity.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DatabaseEntity.Builder>
      • mergeFrom

        public DatabaseEntity.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DatabaseEntity.Builder>
        Throws:
        IOException
      • getShortName

        public String getShortName()
         The short name (e.g. table name) of the entity.
         
        string short_name = 1;
        Specified by:
        getShortName in interface DatabaseEntityOrBuilder
        Returns:
        The shortName.
      • getShortNameBytes

        public com.google.protobuf.ByteString getShortNameBytes()
         The short name (e.g. table name) of the entity.
         
        string short_name = 1;
        Specified by:
        getShortNameBytes in interface DatabaseEntityOrBuilder
        Returns:
        The bytes for shortName.
      • setShortName

        public DatabaseEntity.Builder setShortName​(String value)
         The short name (e.g. table name) of the entity.
         
        string short_name = 1;
        Parameters:
        value - The shortName to set.
        Returns:
        This builder for chaining.
      • clearShortName

        public DatabaseEntity.Builder clearShortName()
         The short name (e.g. table name) of the entity.
         
        string short_name = 1;
        Returns:
        This builder for chaining.
      • setShortNameBytes

        public DatabaseEntity.Builder setShortNameBytes​(com.google.protobuf.ByteString value)
         The short name (e.g. table name) of the entity.
         
        string short_name = 1;
        Parameters:
        value - The bytes for shortName to set.
        Returns:
        This builder for chaining.
      • getParentEntity

        public String getParentEntity()
         The full name of the parent entity (e.g. schema name).
         
        string parent_entity = 2;
        Specified by:
        getParentEntity in interface DatabaseEntityOrBuilder
        Returns:
        The parentEntity.
      • getParentEntityBytes

        public com.google.protobuf.ByteString getParentEntityBytes()
         The full name of the parent entity (e.g. schema name).
         
        string parent_entity = 2;
        Specified by:
        getParentEntityBytes in interface DatabaseEntityOrBuilder
        Returns:
        The bytes for parentEntity.
      • setParentEntity

        public DatabaseEntity.Builder setParentEntity​(String value)
         The full name of the parent entity (e.g. schema name).
         
        string parent_entity = 2;
        Parameters:
        value - The parentEntity to set.
        Returns:
        This builder for chaining.
      • clearParentEntity

        public DatabaseEntity.Builder clearParentEntity()
         The full name of the parent entity (e.g. schema name).
         
        string parent_entity = 2;
        Returns:
        This builder for chaining.
      • setParentEntityBytes

        public DatabaseEntity.Builder setParentEntityBytes​(com.google.protobuf.ByteString value)
         The full name of the parent entity (e.g. schema name).
         
        string parent_entity = 2;
        Parameters:
        value - The bytes for parentEntity to set.
        Returns:
        This builder for chaining.
      • getTreeValue

        public int getTreeValue()
         The type of tree the entity belongs to.
         
        .google.cloud.clouddms.v1.DatabaseEntity.TreeType tree = 3;
        Specified by:
        getTreeValue in interface DatabaseEntityOrBuilder
        Returns:
        The enum numeric value on the wire for tree.
      • setTreeValue

        public DatabaseEntity.Builder setTreeValue​(int value)
         The type of tree the entity belongs to.
         
        .google.cloud.clouddms.v1.DatabaseEntity.TreeType tree = 3;
        Parameters:
        value - The enum numeric value on the wire for tree to set.
        Returns:
        This builder for chaining.
      • setTree

        public DatabaseEntity.Builder setTree​(DatabaseEntity.TreeType value)
         The type of tree the entity belongs to.
         
        .google.cloud.clouddms.v1.DatabaseEntity.TreeType tree = 3;
        Parameters:
        value - The tree to set.
        Returns:
        This builder for chaining.
      • clearTree

        public DatabaseEntity.Builder clearTree()
         The type of tree the entity belongs to.
         
        .google.cloud.clouddms.v1.DatabaseEntity.TreeType tree = 3;
        Returns:
        This builder for chaining.
      • getEntityTypeValue

        public int getEntityTypeValue()
         The type of the database entity (table, view, index, ...).
         
        .google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;
        Specified by:
        getEntityTypeValue in interface DatabaseEntityOrBuilder
        Returns:
        The enum numeric value on the wire for entityType.
      • setEntityTypeValue

        public DatabaseEntity.Builder setEntityTypeValue​(int value)
         The type of the database entity (table, view, index, ...).
         
        .google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;
        Parameters:
        value - The enum numeric value on the wire for entityType to set.
        Returns:
        This builder for chaining.
      • getEntityType

        public DatabaseEntityType getEntityType()
         The type of the database entity (table, view, index, ...).
         
        .google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;
        Specified by:
        getEntityType in interface DatabaseEntityOrBuilder
        Returns:
        The entityType.
      • setEntityType

        public DatabaseEntity.Builder setEntityType​(DatabaseEntityType value)
         The type of the database entity (table, view, index, ...).
         
        .google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;
        Parameters:
        value - The entityType to set.
        Returns:
        This builder for chaining.
      • clearEntityType

        public DatabaseEntity.Builder clearEntityType()
         The type of the database entity (table, view, index, ...).
         
        .google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;
        Returns:
        This builder for chaining.
      • getMappingsList

        public List<EntityMapping> getMappingsList()
         Details about entity mappings.
         For source tree entities, this holds the draft entities which were
         generated by the mapping rules.
         For draft tree entities, this holds the source entities which were
         converted to form the draft entity.
         Destination entities will have no mapping details.
         
        repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;
        Specified by:
        getMappingsList in interface DatabaseEntityOrBuilder
      • getMappingsCount

        public int getMappingsCount()
         Details about entity mappings.
         For source tree entities, this holds the draft entities which were
         generated by the mapping rules.
         For draft tree entities, this holds the source entities which were
         converted to form the draft entity.
         Destination entities will have no mapping details.
         
        repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;
        Specified by:
        getMappingsCount in interface DatabaseEntityOrBuilder
      • getMappings

        public EntityMapping getMappings​(int index)
         Details about entity mappings.
         For source tree entities, this holds the draft entities which were
         generated by the mapping rules.
         For draft tree entities, this holds the source entities which were
         converted to form the draft entity.
         Destination entities will have no mapping details.
         
        repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;
        Specified by:
        getMappings in interface DatabaseEntityOrBuilder
      • setMappings

        public DatabaseEntity.Builder setMappings​(int index,
                                                  EntityMapping value)
         Details about entity mappings.
         For source tree entities, this holds the draft entities which were
         generated by the mapping rules.
         For draft tree entities, this holds the source entities which were
         converted to form the draft entity.
         Destination entities will have no mapping details.
         
        repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;
      • setMappings

        public DatabaseEntity.Builder setMappings​(int index,
                                                  EntityMapping.Builder builderForValue)
         Details about entity mappings.
         For source tree entities, this holds the draft entities which were
         generated by the mapping rules.
         For draft tree entities, this holds the source entities which were
         converted to form the draft entity.
         Destination entities will have no mapping details.
         
        repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;
      • addMappings

        public DatabaseEntity.Builder addMappings​(EntityMapping value)
         Details about entity mappings.
         For source tree entities, this holds the draft entities which were
         generated by the mapping rules.
         For draft tree entities, this holds the source entities which were
         converted to form the draft entity.
         Destination entities will have no mapping details.
         
        repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;
      • addMappings

        public DatabaseEntity.Builder addMappings​(int index,
                                                  EntityMapping value)
         Details about entity mappings.
         For source tree entities, this holds the draft entities which were
         generated by the mapping rules.
         For draft tree entities, this holds the source entities which were
         converted to form the draft entity.
         Destination entities will have no mapping details.
         
        repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;
      • addMappings

        public DatabaseEntity.Builder addMappings​(EntityMapping.Builder builderForValue)
         Details about entity mappings.
         For source tree entities, this holds the draft entities which were
         generated by the mapping rules.
         For draft tree entities, this holds the source entities which were
         converted to form the draft entity.
         Destination entities will have no mapping details.
         
        repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;
      • addMappings

        public DatabaseEntity.Builder addMappings​(int index,
                                                  EntityMapping.Builder builderForValue)
         Details about entity mappings.
         For source tree entities, this holds the draft entities which were
         generated by the mapping rules.
         For draft tree entities, this holds the source entities which were
         converted to form the draft entity.
         Destination entities will have no mapping details.
         
        repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;
      • addAllMappings

        public DatabaseEntity.Builder addAllMappings​(Iterable<? extends EntityMapping> values)
         Details about entity mappings.
         For source tree entities, this holds the draft entities which were
         generated by the mapping rules.
         For draft tree entities, this holds the source entities which were
         converted to form the draft entity.
         Destination entities will have no mapping details.
         
        repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;
      • clearMappings

        public DatabaseEntity.Builder clearMappings()
         Details about entity mappings.
         For source tree entities, this holds the draft entities which were
         generated by the mapping rules.
         For draft tree entities, this holds the source entities which were
         converted to form the draft entity.
         Destination entities will have no mapping details.
         
        repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;
      • removeMappings

        public DatabaseEntity.Builder removeMappings​(int index)
         Details about entity mappings.
         For source tree entities, this holds the draft entities which were
         generated by the mapping rules.
         For draft tree entities, this holds the source entities which were
         converted to form the draft entity.
         Destination entities will have no mapping details.
         
        repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;
      • getMappingsBuilder

        public EntityMapping.Builder getMappingsBuilder​(int index)
         Details about entity mappings.
         For source tree entities, this holds the draft entities which were
         generated by the mapping rules.
         For draft tree entities, this holds the source entities which were
         converted to form the draft entity.
         Destination entities will have no mapping details.
         
        repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;
      • getMappingsOrBuilder

        public EntityMappingOrBuilder getMappingsOrBuilder​(int index)
         Details about entity mappings.
         For source tree entities, this holds the draft entities which were
         generated by the mapping rules.
         For draft tree entities, this holds the source entities which were
         converted to form the draft entity.
         Destination entities will have no mapping details.
         
        repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;
        Specified by:
        getMappingsOrBuilder in interface DatabaseEntityOrBuilder
      • getMappingsOrBuilderList

        public List<? extends EntityMappingOrBuilder> getMappingsOrBuilderList()
         Details about entity mappings.
         For source tree entities, this holds the draft entities which were
         generated by the mapping rules.
         For draft tree entities, this holds the source entities which were
         converted to form the draft entity.
         Destination entities will have no mapping details.
         
        repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;
        Specified by:
        getMappingsOrBuilderList in interface DatabaseEntityOrBuilder
      • addMappingsBuilder

        public EntityMapping.Builder addMappingsBuilder()
         Details about entity mappings.
         For source tree entities, this holds the draft entities which were
         generated by the mapping rules.
         For draft tree entities, this holds the source entities which were
         converted to form the draft entity.
         Destination entities will have no mapping details.
         
        repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;
      • addMappingsBuilder

        public EntityMapping.Builder addMappingsBuilder​(int index)
         Details about entity mappings.
         For source tree entities, this holds the draft entities which were
         generated by the mapping rules.
         For draft tree entities, this holds the source entities which were
         converted to form the draft entity.
         Destination entities will have no mapping details.
         
        repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;
      • getMappingsBuilderList

        public List<EntityMapping.Builder> getMappingsBuilderList()
         Details about entity mappings.
         For source tree entities, this holds the draft entities which were
         generated by the mapping rules.
         For draft tree entities, this holds the source entities which were
         converted to form the draft entity.
         Destination entities will have no mapping details.
         
        repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;
      • getEntityDdlList

        public List<EntityDdl> getEntityDdlList()
         Details about the entity DDL script. Multiple DDL scripts are provided for
         child entities such as a table entity will have one DDL for the table with
         additional DDLs for each index, constraint and such.
         
        repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;
        Specified by:
        getEntityDdlList in interface DatabaseEntityOrBuilder
      • getEntityDdlCount

        public int getEntityDdlCount()
         Details about the entity DDL script. Multiple DDL scripts are provided for
         child entities such as a table entity will have one DDL for the table with
         additional DDLs for each index, constraint and such.
         
        repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;
        Specified by:
        getEntityDdlCount in interface DatabaseEntityOrBuilder
      • getEntityDdl

        public EntityDdl getEntityDdl​(int index)
         Details about the entity DDL script. Multiple DDL scripts are provided for
         child entities such as a table entity will have one DDL for the table with
         additional DDLs for each index, constraint and such.
         
        repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;
        Specified by:
        getEntityDdl in interface DatabaseEntityOrBuilder
      • setEntityDdl

        public DatabaseEntity.Builder setEntityDdl​(int index,
                                                   EntityDdl value)
         Details about the entity DDL script. Multiple DDL scripts are provided for
         child entities such as a table entity will have one DDL for the table with
         additional DDLs for each index, constraint and such.
         
        repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;
      • setEntityDdl

        public DatabaseEntity.Builder setEntityDdl​(int index,
                                                   EntityDdl.Builder builderForValue)
         Details about the entity DDL script. Multiple DDL scripts are provided for
         child entities such as a table entity will have one DDL for the table with
         additional DDLs for each index, constraint and such.
         
        repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;
      • addEntityDdl

        public DatabaseEntity.Builder addEntityDdl​(EntityDdl value)
         Details about the entity DDL script. Multiple DDL scripts are provided for
         child entities such as a table entity will have one DDL for the table with
         additional DDLs for each index, constraint and such.
         
        repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;
      • addEntityDdl

        public DatabaseEntity.Builder addEntityDdl​(int index,
                                                   EntityDdl value)
         Details about the entity DDL script. Multiple DDL scripts are provided for
         child entities such as a table entity will have one DDL for the table with
         additional DDLs for each index, constraint and such.
         
        repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;
      • addEntityDdl

        public DatabaseEntity.Builder addEntityDdl​(EntityDdl.Builder builderForValue)
         Details about the entity DDL script. Multiple DDL scripts are provided for
         child entities such as a table entity will have one DDL for the table with
         additional DDLs for each index, constraint and such.
         
        repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;
      • addEntityDdl

        public DatabaseEntity.Builder addEntityDdl​(int index,
                                                   EntityDdl.Builder builderForValue)
         Details about the entity DDL script. Multiple DDL scripts are provided for
         child entities such as a table entity will have one DDL for the table with
         additional DDLs for each index, constraint and such.
         
        repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;
      • addAllEntityDdl

        public DatabaseEntity.Builder addAllEntityDdl​(Iterable<? extends EntityDdl> values)
         Details about the entity DDL script. Multiple DDL scripts are provided for
         child entities such as a table entity will have one DDL for the table with
         additional DDLs for each index, constraint and such.
         
        repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;
      • clearEntityDdl

        public DatabaseEntity.Builder clearEntityDdl()
         Details about the entity DDL script. Multiple DDL scripts are provided for
         child entities such as a table entity will have one DDL for the table with
         additional DDLs for each index, constraint and such.
         
        repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;
      • removeEntityDdl

        public DatabaseEntity.Builder removeEntityDdl​(int index)
         Details about the entity DDL script. Multiple DDL scripts are provided for
         child entities such as a table entity will have one DDL for the table with
         additional DDLs for each index, constraint and such.
         
        repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;
      • getEntityDdlBuilder

        public EntityDdl.Builder getEntityDdlBuilder​(int index)
         Details about the entity DDL script. Multiple DDL scripts are provided for
         child entities such as a table entity will have one DDL for the table with
         additional DDLs for each index, constraint and such.
         
        repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;
      • getEntityDdlOrBuilder

        public EntityDdlOrBuilder getEntityDdlOrBuilder​(int index)
         Details about the entity DDL script. Multiple DDL scripts are provided for
         child entities such as a table entity will have one DDL for the table with
         additional DDLs for each index, constraint and such.
         
        repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;
        Specified by:
        getEntityDdlOrBuilder in interface DatabaseEntityOrBuilder
      • getEntityDdlOrBuilderList

        public List<? extends EntityDdlOrBuilder> getEntityDdlOrBuilderList()
         Details about the entity DDL script. Multiple DDL scripts are provided for
         child entities such as a table entity will have one DDL for the table with
         additional DDLs for each index, constraint and such.
         
        repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;
        Specified by:
        getEntityDdlOrBuilderList in interface DatabaseEntityOrBuilder
      • addEntityDdlBuilder

        public EntityDdl.Builder addEntityDdlBuilder()
         Details about the entity DDL script. Multiple DDL scripts are provided for
         child entities such as a table entity will have one DDL for the table with
         additional DDLs for each index, constraint and such.
         
        repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;
      • addEntityDdlBuilder

        public EntityDdl.Builder addEntityDdlBuilder​(int index)
         Details about the entity DDL script. Multiple DDL scripts are provided for
         child entities such as a table entity will have one DDL for the table with
         additional DDLs for each index, constraint and such.
         
        repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;
      • getEntityDdlBuilderList

        public List<EntityDdl.Builder> getEntityDdlBuilderList()
         Details about the entity DDL script. Multiple DDL scripts are provided for
         child entities such as a table entity will have one DDL for the table with
         additional DDLs for each index, constraint and such.
         
        repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;
      • getIssuesCount

        public int getIssuesCount()
         Details about the various issues found for the entity.
         
        repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;
        Specified by:
        getIssuesCount in interface DatabaseEntityOrBuilder
      • getIssues

        public EntityIssue getIssues​(int index)
         Details about the various issues found for the entity.
         
        repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;
        Specified by:
        getIssues in interface DatabaseEntityOrBuilder
      • setIssues

        public DatabaseEntity.Builder setIssues​(int index,
                                                EntityIssue value)
         Details about the various issues found for the entity.
         
        repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;
      • setIssues

        public DatabaseEntity.Builder setIssues​(int index,
                                                EntityIssue.Builder builderForValue)
         Details about the various issues found for the entity.
         
        repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;
      • addIssues

        public DatabaseEntity.Builder addIssues​(EntityIssue value)
         Details about the various issues found for the entity.
         
        repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;
      • addIssues

        public DatabaseEntity.Builder addIssues​(int index,
                                                EntityIssue value)
         Details about the various issues found for the entity.
         
        repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;
      • addIssues

        public DatabaseEntity.Builder addIssues​(EntityIssue.Builder builderForValue)
         Details about the various issues found for the entity.
         
        repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;
      • addIssues

        public DatabaseEntity.Builder addIssues​(int index,
                                                EntityIssue.Builder builderForValue)
         Details about the various issues found for the entity.
         
        repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;
      • addAllIssues

        public DatabaseEntity.Builder addAllIssues​(Iterable<? extends EntityIssue> values)
         Details about the various issues found for the entity.
         
        repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;
      • clearIssues

        public DatabaseEntity.Builder clearIssues()
         Details about the various issues found for the entity.
         
        repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;
      • removeIssues

        public DatabaseEntity.Builder removeIssues​(int index)
         Details about the various issues found for the entity.
         
        repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;
      • getIssuesBuilder

        public EntityIssue.Builder getIssuesBuilder​(int index)
         Details about the various issues found for the entity.
         
        repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;
      • addIssuesBuilder

        public EntityIssue.Builder addIssuesBuilder()
         Details about the various issues found for the entity.
         
        repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;
      • addIssuesBuilder

        public EntityIssue.Builder addIssuesBuilder​(int index)
         Details about the various issues found for the entity.
         
        repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;
      • getIssuesBuilderList

        public List<EntityIssue.Builder> getIssuesBuilderList()
         Details about the various issues found for the entity.
         
        repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;
      • hasDatabase

        public boolean hasDatabase()
         Database.
         
        .google.cloud.clouddms.v1.DatabaseInstanceEntity database = 101;
        Specified by:
        hasDatabase in interface DatabaseEntityOrBuilder
        Returns:
        Whether the database field is set.
      • clearDatabase

        public DatabaseEntity.Builder clearDatabase()
         Database.
         
        .google.cloud.clouddms.v1.DatabaseInstanceEntity database = 101;
      • getDatabaseBuilder

        public DatabaseInstanceEntity.Builder getDatabaseBuilder()
         Database.
         
        .google.cloud.clouddms.v1.DatabaseInstanceEntity database = 101;
      • hasSchema

        public boolean hasSchema()
         Schema.
         
        .google.cloud.clouddms.v1.SchemaEntity schema = 102;
        Specified by:
        hasSchema in interface DatabaseEntityOrBuilder
        Returns:
        Whether the schema field is set.
      • clearSchema

        public DatabaseEntity.Builder clearSchema()
         Schema.
         
        .google.cloud.clouddms.v1.SchemaEntity schema = 102;
      • getSchemaBuilder

        public SchemaEntity.Builder getSchemaBuilder()
         Schema.
         
        .google.cloud.clouddms.v1.SchemaEntity schema = 102;
      • hasTable

        public boolean hasTable()
         Table.
         
        .google.cloud.clouddms.v1.TableEntity table = 103;
        Specified by:
        hasTable in interface DatabaseEntityOrBuilder
        Returns:
        Whether the table field is set.
      • clearTable

        public DatabaseEntity.Builder clearTable()
         Table.
         
        .google.cloud.clouddms.v1.TableEntity table = 103;
      • getTableBuilder

        public TableEntity.Builder getTableBuilder()
         Table.
         
        .google.cloud.clouddms.v1.TableEntity table = 103;
      • hasView

        public boolean hasView()
         View.
         
        .google.cloud.clouddms.v1.ViewEntity view = 104;
        Specified by:
        hasView in interface DatabaseEntityOrBuilder
        Returns:
        Whether the view field is set.
      • clearView

        public DatabaseEntity.Builder clearView()
         View.
         
        .google.cloud.clouddms.v1.ViewEntity view = 104;
      • getViewBuilder

        public ViewEntity.Builder getViewBuilder()
         View.
         
        .google.cloud.clouddms.v1.ViewEntity view = 104;
      • hasSequence

        public boolean hasSequence()
         Sequence.
         
        .google.cloud.clouddms.v1.SequenceEntity sequence = 105;
        Specified by:
        hasSequence in interface DatabaseEntityOrBuilder
        Returns:
        Whether the sequence field is set.
      • clearSequence

        public DatabaseEntity.Builder clearSequence()
         Sequence.
         
        .google.cloud.clouddms.v1.SequenceEntity sequence = 105;
      • getSequenceBuilder

        public SequenceEntity.Builder getSequenceBuilder()
         Sequence.
         
        .google.cloud.clouddms.v1.SequenceEntity sequence = 105;
      • hasStoredProcedure

        public boolean hasStoredProcedure()
         Stored procedure.
         
        .google.cloud.clouddms.v1.StoredProcedureEntity stored_procedure = 106;
        Specified by:
        hasStoredProcedure in interface DatabaseEntityOrBuilder
        Returns:
        Whether the storedProcedure field is set.
      • clearStoredProcedure

        public DatabaseEntity.Builder clearStoredProcedure()
         Stored procedure.
         
        .google.cloud.clouddms.v1.StoredProcedureEntity stored_procedure = 106;
      • getStoredProcedureBuilder

        public StoredProcedureEntity.Builder getStoredProcedureBuilder()
         Stored procedure.
         
        .google.cloud.clouddms.v1.StoredProcedureEntity stored_procedure = 106;
      • hasDatabaseFunction

        public boolean hasDatabaseFunction()
         Function.
         
        .google.cloud.clouddms.v1.FunctionEntity database_function = 107;
        Specified by:
        hasDatabaseFunction in interface DatabaseEntityOrBuilder
        Returns:
        Whether the databaseFunction field is set.
      • clearDatabaseFunction

        public DatabaseEntity.Builder clearDatabaseFunction()
         Function.
         
        .google.cloud.clouddms.v1.FunctionEntity database_function = 107;
      • getDatabaseFunctionBuilder

        public FunctionEntity.Builder getDatabaseFunctionBuilder()
         Function.
         
        .google.cloud.clouddms.v1.FunctionEntity database_function = 107;
      • hasSynonym

        public boolean hasSynonym()
         Synonym.
         
        .google.cloud.clouddms.v1.SynonymEntity synonym = 108;
        Specified by:
        hasSynonym in interface DatabaseEntityOrBuilder
        Returns:
        Whether the synonym field is set.
      • clearSynonym

        public DatabaseEntity.Builder clearSynonym()
         Synonym.
         
        .google.cloud.clouddms.v1.SynonymEntity synonym = 108;
      • getSynonymBuilder

        public SynonymEntity.Builder getSynonymBuilder()
         Synonym.
         
        .google.cloud.clouddms.v1.SynonymEntity synonym = 108;
      • hasDatabasePackage

        public boolean hasDatabasePackage()
         Package.
         
        .google.cloud.clouddms.v1.PackageEntity database_package = 109;
        Specified by:
        hasDatabasePackage in interface DatabaseEntityOrBuilder
        Returns:
        Whether the databasePackage field is set.
      • clearDatabasePackage

        public DatabaseEntity.Builder clearDatabasePackage()
         Package.
         
        .google.cloud.clouddms.v1.PackageEntity database_package = 109;
      • getDatabasePackageBuilder

        public PackageEntity.Builder getDatabasePackageBuilder()
         Package.
         
        .google.cloud.clouddms.v1.PackageEntity database_package = 109;
      • hasUdt

        public boolean hasUdt()
         UDT.
         
        .google.cloud.clouddms.v1.UDTEntity udt = 110;
        Specified by:
        hasUdt in interface DatabaseEntityOrBuilder
        Returns:
        Whether the udt field is set.
      • getUdtBuilder

        public UDTEntity.Builder getUdtBuilder()
         UDT.
         
        .google.cloud.clouddms.v1.UDTEntity udt = 110;
      • hasMaterializedView

        public boolean hasMaterializedView()
         Materialized view.
         
        .google.cloud.clouddms.v1.MaterializedViewEntity materialized_view = 111;
        Specified by:
        hasMaterializedView in interface DatabaseEntityOrBuilder
        Returns:
        Whether the materializedView field is set.
      • clearMaterializedView

        public DatabaseEntity.Builder clearMaterializedView()
         Materialized view.
         
        .google.cloud.clouddms.v1.MaterializedViewEntity materialized_view = 111;
      • getMaterializedViewBuilder

        public MaterializedViewEntity.Builder getMaterializedViewBuilder()
         Materialized view.
         
        .google.cloud.clouddms.v1.MaterializedViewEntity materialized_view = 111;
      • setUnknownFields

        public final DatabaseEntity.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DatabaseEntity.Builder>
      • mergeUnknownFields

        public final DatabaseEntity.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DatabaseEntity.Builder>