Class EntityIssue.Builder

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

    public static final class EntityIssue.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<EntityIssue.Builder>
    implements EntityIssueOrBuilder
     Issue related to the entity.
     
    Protobuf type google.cloud.clouddms.v1.EntityIssue
    • 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<EntityIssue.Builder>
      • clear

        public EntityIssue.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<EntityIssue.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<EntityIssue.Builder>
      • getDefaultInstanceForType

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

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

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

        public EntityIssue.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<EntityIssue.Builder>
      • setField

        public EntityIssue.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<EntityIssue.Builder>
      • clearField

        public EntityIssue.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<EntityIssue.Builder>
      • clearOneof

        public EntityIssue.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<EntityIssue.Builder>
      • setRepeatedField

        public EntityIssue.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<EntityIssue.Builder>
      • addRepeatedField

        public EntityIssue.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<EntityIssue.Builder>
      • mergeFrom

        public EntityIssue.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<EntityIssue.Builder>
      • isInitialized

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

        public EntityIssue.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<EntityIssue.Builder>
        Throws:
        IOException
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         Unique Issue ID.
         
        string id = 1;
        Specified by:
        getIdBytes in interface EntityIssueOrBuilder
        Returns:
        The bytes for id.
      • setId

        public EntityIssue.Builder setId​(String value)
         Unique Issue ID.
         
        string id = 1;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public EntityIssue.Builder clearId()
         Unique Issue ID.
         
        string id = 1;
        Returns:
        This builder for chaining.
      • setIdBytes

        public EntityIssue.Builder setIdBytes​(com.google.protobuf.ByteString value)
         Unique Issue ID.
         
        string id = 1;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • getTypeValue

        public int getTypeValue()
         The type of the issue.
         
        .google.cloud.clouddms.v1.EntityIssue.IssueType type = 2;
        Specified by:
        getTypeValue in interface EntityIssueOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public EntityIssue.Builder setTypeValue​(int value)
         The type of the issue.
         
        .google.cloud.clouddms.v1.EntityIssue.IssueType type = 2;
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • setType

        public EntityIssue.Builder setType​(EntityIssue.IssueType value)
         The type of the issue.
         
        .google.cloud.clouddms.v1.EntityIssue.IssueType type = 2;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public EntityIssue.Builder clearType()
         The type of the issue.
         
        .google.cloud.clouddms.v1.EntityIssue.IssueType type = 2;
        Returns:
        This builder for chaining.
      • getSeverityValue

        public int getSeverityValue()
         Severity of the issue
         
        .google.cloud.clouddms.v1.EntityIssue.IssueSeverity severity = 3;
        Specified by:
        getSeverityValue in interface EntityIssueOrBuilder
        Returns:
        The enum numeric value on the wire for severity.
      • setSeverityValue

        public EntityIssue.Builder setSeverityValue​(int value)
         Severity of the issue
         
        .google.cloud.clouddms.v1.EntityIssue.IssueSeverity severity = 3;
        Parameters:
        value - The enum numeric value on the wire for severity to set.
        Returns:
        This builder for chaining.
      • setSeverity

        public EntityIssue.Builder setSeverity​(EntityIssue.IssueSeverity value)
         Severity of the issue
         
        .google.cloud.clouddms.v1.EntityIssue.IssueSeverity severity = 3;
        Parameters:
        value - The severity to set.
        Returns:
        This builder for chaining.
      • clearSeverity

        public EntityIssue.Builder clearSeverity()
         Severity of the issue
         
        .google.cloud.clouddms.v1.EntityIssue.IssueSeverity severity = 3;
        Returns:
        This builder for chaining.
      • getMessageBytes

        public com.google.protobuf.ByteString getMessageBytes()
         Issue detailed message
         
        string message = 4;
        Specified by:
        getMessageBytes in interface EntityIssueOrBuilder
        Returns:
        The bytes for message.
      • setMessage

        public EntityIssue.Builder setMessage​(String value)
         Issue detailed message
         
        string message = 4;
        Parameters:
        value - The message to set.
        Returns:
        This builder for chaining.
      • clearMessage

        public EntityIssue.Builder clearMessage()
         Issue detailed message
         
        string message = 4;
        Returns:
        This builder for chaining.
      • setMessageBytes

        public EntityIssue.Builder setMessageBytes​(com.google.protobuf.ByteString value)
         Issue detailed message
         
        string message = 4;
        Parameters:
        value - The bytes for message to set.
        Returns:
        This builder for chaining.
      • getCodeBytes

        public com.google.protobuf.ByteString getCodeBytes()
         Error/Warning code
         
        string code = 5;
        Specified by:
        getCodeBytes in interface EntityIssueOrBuilder
        Returns:
        The bytes for code.
      • setCode

        public EntityIssue.Builder setCode​(String value)
         Error/Warning code
         
        string code = 5;
        Parameters:
        value - The code to set.
        Returns:
        This builder for chaining.
      • clearCode

        public EntityIssue.Builder clearCode()
         Error/Warning code
         
        string code = 5;
        Returns:
        This builder for chaining.
      • setCodeBytes

        public EntityIssue.Builder setCodeBytes​(com.google.protobuf.ByteString value)
         Error/Warning code
         
        string code = 5;
        Parameters:
        value - The bytes for code to set.
        Returns:
        This builder for chaining.
      • hasDdl

        public boolean hasDdl()
         The ddl which caused the issue, if relevant.
         
        optional string ddl = 6;
        Specified by:
        hasDdl in interface EntityIssueOrBuilder
        Returns:
        Whether the ddl field is set.
      • getDdl

        public String getDdl()
         The ddl which caused the issue, if relevant.
         
        optional string ddl = 6;
        Specified by:
        getDdl in interface EntityIssueOrBuilder
        Returns:
        The ddl.
      • getDdlBytes

        public com.google.protobuf.ByteString getDdlBytes()
         The ddl which caused the issue, if relevant.
         
        optional string ddl = 6;
        Specified by:
        getDdlBytes in interface EntityIssueOrBuilder
        Returns:
        The bytes for ddl.
      • setDdl

        public EntityIssue.Builder setDdl​(String value)
         The ddl which caused the issue, if relevant.
         
        optional string ddl = 6;
        Parameters:
        value - The ddl to set.
        Returns:
        This builder for chaining.
      • clearDdl

        public EntityIssue.Builder clearDdl()
         The ddl which caused the issue, if relevant.
         
        optional string ddl = 6;
        Returns:
        This builder for chaining.
      • setDdlBytes

        public EntityIssue.Builder setDdlBytes​(com.google.protobuf.ByteString value)
         The ddl which caused the issue, if relevant.
         
        optional string ddl = 6;
        Parameters:
        value - The bytes for ddl to set.
        Returns:
        This builder for chaining.
      • hasPosition

        public boolean hasPosition()
         The position of the issue found, if relevant.
         
        optional .google.cloud.clouddms.v1.EntityIssue.Position position = 7;
        Specified by:
        hasPosition in interface EntityIssueOrBuilder
        Returns:
        Whether the position field is set.
      • getPosition

        public EntityIssue.Position getPosition()
         The position of the issue found, if relevant.
         
        optional .google.cloud.clouddms.v1.EntityIssue.Position position = 7;
        Specified by:
        getPosition in interface EntityIssueOrBuilder
        Returns:
        The position.
      • setPosition

        public EntityIssue.Builder setPosition​(EntityIssue.Position value)
         The position of the issue found, if relevant.
         
        optional .google.cloud.clouddms.v1.EntityIssue.Position position = 7;
      • mergePosition

        public EntityIssue.Builder mergePosition​(EntityIssue.Position value)
         The position of the issue found, if relevant.
         
        optional .google.cloud.clouddms.v1.EntityIssue.Position position = 7;
      • clearPosition

        public EntityIssue.Builder clearPosition()
         The position of the issue found, if relevant.
         
        optional .google.cloud.clouddms.v1.EntityIssue.Position position = 7;
      • getPositionBuilder

        public EntityIssue.Position.Builder getPositionBuilder()
         The position of the issue found, if relevant.
         
        optional .google.cloud.clouddms.v1.EntityIssue.Position position = 7;
      • getEntityTypeValue

        public int getEntityTypeValue()
         The entity type (if the DDL is for a sub entity).
         
        .google.cloud.clouddms.v1.DatabaseEntityType entity_type = 8;
        Specified by:
        getEntityTypeValue in interface EntityIssueOrBuilder
        Returns:
        The enum numeric value on the wire for entityType.
      • setEntityTypeValue

        public EntityIssue.Builder setEntityTypeValue​(int value)
         The entity type (if the DDL is for a sub entity).
         
        .google.cloud.clouddms.v1.DatabaseEntityType entity_type = 8;
        Parameters:
        value - The enum numeric value on the wire for entityType to set.
        Returns:
        This builder for chaining.
      • getEntityType

        public DatabaseEntityType getEntityType()
         The entity type (if the DDL is for a sub entity).
         
        .google.cloud.clouddms.v1.DatabaseEntityType entity_type = 8;
        Specified by:
        getEntityType in interface EntityIssueOrBuilder
        Returns:
        The entityType.
      • setEntityType

        public EntityIssue.Builder setEntityType​(DatabaseEntityType value)
         The entity type (if the DDL is for a sub entity).
         
        .google.cloud.clouddms.v1.DatabaseEntityType entity_type = 8;
        Parameters:
        value - The entityType to set.
        Returns:
        This builder for chaining.
      • clearEntityType

        public EntityIssue.Builder clearEntityType()
         The entity type (if the DDL is for a sub entity).
         
        .google.cloud.clouddms.v1.DatabaseEntityType entity_type = 8;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final EntityIssue.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<EntityIssue.Builder>
      • mergeUnknownFields

        public final EntityIssue.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<EntityIssue.Builder>