Class Semanticdb.Type

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Semanticdb.TypeOrBuilder, java.io.Serializable
    Enclosing class:
    Semanticdb

    public static final class Semanticdb.Type
    extends com.google.protobuf.GeneratedMessageV3
    implements Semanticdb.TypeOrBuilder
    Protobuf type com.sourcegraph.semanticdb_javac.Type
    See Also:
    Serialized Form
    • Field Detail

      • SINGLE_TYPE_FIELD_NUMBER

        public static final int SINGLE_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SUPER_TYPE_FIELD_NUMBER

        public static final int SUPER_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONSTANT_TYPE_FIELD_NUMBER

        public static final int CONSTANT_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INTERSECTION_TYPE_FIELD_NUMBER

        public static final int INTERSECTION_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UNION_TYPE_FIELD_NUMBER

        public static final int UNION_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • STRUCTURAL_TYPE_FIELD_NUMBER

        public static final int STRUCTURAL_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ANNOTATED_TYPE_FIELD_NUMBER

        public static final int ANNOTATED_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EXISTENTIAL_TYPE_FIELD_NUMBER

        public static final int EXISTENTIAL_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UNIVERSAL_TYPE_FIELD_NUMBER

        public static final int UNIVERSAL_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BY_NAME_TYPE_FIELD_NUMBER

        public static final int BY_NAME_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • REPEATED_TYPE_FIELD_NUMBER

        public static final int REPEATED_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields 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
      • hasTypeRef

        public boolean hasTypeRef()
        .com.sourcegraph.semanticdb_javac.TypeRef type_ref = 2;
        Specified by:
        hasTypeRef in interface Semanticdb.TypeOrBuilder
        Returns:
        Whether the typeRef field is set.
      • hasSingleType

        public boolean hasSingleType()
        .com.sourcegraph.semanticdb_javac.SingleType single_type = 20;
        Specified by:
        hasSingleType in interface Semanticdb.TypeOrBuilder
        Returns:
        Whether the singleType field is set.
      • hasThisType

        public boolean hasThisType()
        .com.sourcegraph.semanticdb_javac.ThisType this_type = 21;
        Specified by:
        hasThisType in interface Semanticdb.TypeOrBuilder
        Returns:
        Whether the thisType field is set.
      • hasSuperType

        public boolean hasSuperType()
        .com.sourcegraph.semanticdb_javac.SuperType super_type = 22;
        Specified by:
        hasSuperType in interface Semanticdb.TypeOrBuilder
        Returns:
        Whether the superType field is set.
      • hasConstantType

        public boolean hasConstantType()
        .com.sourcegraph.semanticdb_javac.ConstantType constant_type = 23;
        Specified by:
        hasConstantType in interface Semanticdb.TypeOrBuilder
        Returns:
        Whether the constantType field is set.
      • hasIntersectionType

        public boolean hasIntersectionType()
        .com.sourcegraph.semanticdb_javac.IntersectionType intersection_type = 17;
        Specified by:
        hasIntersectionType in interface Semanticdb.TypeOrBuilder
        Returns:
        Whether the intersectionType field is set.
      • hasUnionType

        public boolean hasUnionType()
        .com.sourcegraph.semanticdb_javac.UnionType union_type = 18;
        Specified by:
        hasUnionType in interface Semanticdb.TypeOrBuilder
        Returns:
        Whether the unionType field is set.
      • hasWithType

        public boolean hasWithType()
        .com.sourcegraph.semanticdb_javac.WithType with_type = 19;
        Specified by:
        hasWithType in interface Semanticdb.TypeOrBuilder
        Returns:
        Whether the withType field is set.
      • hasStructuralType

        public boolean hasStructuralType()
        .com.sourcegraph.semanticdb_javac.StructuralType structural_type = 7;
        Specified by:
        hasStructuralType in interface Semanticdb.TypeOrBuilder
        Returns:
        Whether the structuralType field is set.
      • hasAnnotatedType

        public boolean hasAnnotatedType()
        .com.sourcegraph.semanticdb_javac.AnnotatedType annotated_type = 8;
        Specified by:
        hasAnnotatedType in interface Semanticdb.TypeOrBuilder
        Returns:
        Whether the annotatedType field is set.
      • hasExistentialType

        public boolean hasExistentialType()
        .com.sourcegraph.semanticdb_javac.ExistentialType existential_type = 9;
        Specified by:
        hasExistentialType in interface Semanticdb.TypeOrBuilder
        Returns:
        Whether the existentialType field is set.
      • hasUniversalType

        public boolean hasUniversalType()
        .com.sourcegraph.semanticdb_javac.UniversalType universal_type = 10;
        Specified by:
        hasUniversalType in interface Semanticdb.TypeOrBuilder
        Returns:
        Whether the universalType field is set.
      • hasByNameType

        public boolean hasByNameType()
        .com.sourcegraph.semanticdb_javac.ByNameType by_name_type = 13;
        Specified by:
        hasByNameType in interface Semanticdb.TypeOrBuilder
        Returns:
        Whether the byNameType field is set.
      • hasRepeatedType

        public boolean hasRepeatedType()
        .com.sourcegraph.semanticdb_javac.RepeatedType repeated_type = 14;
        Specified by:
        hasRepeatedType in interface Semanticdb.TypeOrBuilder
        Returns:
        Whether the repeatedType field is set.
      • 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 java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.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​(java.lang.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 Semanticdb.Type parseFrom​(java.nio.ByteBuffer data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Semanticdb.Type parseFrom​(java.nio.ByteBuffer data,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Semanticdb.Type parseFrom​(com.google.protobuf.ByteString data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Semanticdb.Type parseFrom​(com.google.protobuf.ByteString data,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Semanticdb.Type parseFrom​(byte[] data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Semanticdb.Type parseFrom​(byte[] data,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Semanticdb.Type parseFrom​(java.io.InputStream input)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Semanticdb.Type parseFrom​(java.io.InputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Semanticdb.Type parseDelimitedFrom​(java.io.InputStream input)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Semanticdb.Type parseDelimitedFrom​(java.io.InputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Semanticdb.Type parseFrom​(com.google.protobuf.CodedInputStream input)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Semanticdb.Type parseFrom​(com.google.protobuf.CodedInputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

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

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

        protected Semanticdb.Type.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • parser

        public static com.google.protobuf.Parser<Semanticdb.Type> parser()
      • getParserForType

        public com.google.protobuf.Parser<Semanticdb.Type> 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 Semanticdb.Type getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder