Class Type

    • Method Detail

      • getName

        public java.lang.String getName()
        string name = 1 [json_name = "name"];
        Specified by:
        getName in interface TypeOrBuilder
        Returns:
        The name.
      • getFieldsList

        public java.util.List<Field> getFieldsList()
        repeated .google.protobuf.Field fields = 2 [json_name = "fields"];
        Specified by:
        getFieldsList in interface TypeOrBuilder
      • getFieldsOrBuilderList

        public java.util.List<? extends FieldOrBuilder> getFieldsOrBuilderList()
        repeated .google.protobuf.Field fields = 2 [json_name = "fields"];
      • getFieldsCount

        public int getFieldsCount()
        repeated .google.protobuf.Field fields = 2 [json_name = "fields"];
        Specified by:
        getFieldsCount in interface TypeOrBuilder
      • getFields

        public Field getFields​(int index)
        repeated .google.protobuf.Field fields = 2 [json_name = "fields"];
        Specified by:
        getFields in interface TypeOrBuilder
      • getFieldsOrBuilder

        public FieldOrBuilder getFieldsOrBuilder​(int index)
        repeated .google.protobuf.Field fields = 2 [json_name = "fields"];
      • getOneofsList

        public java.util.List<java.lang.String> getOneofsList()
        repeated string oneofs = 3 [json_name = "oneofs"];
        Specified by:
        getOneofsList in interface TypeOrBuilder
        Returns:
        A list containing the oneofs.
      • getOneofsCount

        public int getOneofsCount()
        repeated string oneofs = 3 [json_name = "oneofs"];
        Specified by:
        getOneofsCount in interface TypeOrBuilder
        Returns:
        The count of oneofs.
      • getOneofs

        public java.lang.String getOneofs​(int index)
        repeated string oneofs = 3 [json_name = "oneofs"];
        Specified by:
        getOneofs in interface TypeOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The oneofs at the given index.
      • getOneofsBytes

        public ByteString getOneofsBytes​(int index)
        repeated string oneofs = 3 [json_name = "oneofs"];
        Specified by:
        getOneofsBytes in interface TypeOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the oneofs at the given index.
      • getOptionsList

        public java.util.List<Option> getOptionsList()
        repeated .google.protobuf.Option options = 4 [json_name = "options"];
        Specified by:
        getOptionsList in interface TypeOrBuilder
      • getOptionsOrBuilderList

        public java.util.List<? extends OptionOrBuilder> getOptionsOrBuilderList()
        repeated .google.protobuf.Option options = 4 [json_name = "options"];
      • getOptionsCount

        public int getOptionsCount()
        repeated .google.protobuf.Option options = 4 [json_name = "options"];
        Specified by:
        getOptionsCount in interface TypeOrBuilder
      • getOptions

        public Option getOptions​(int index)
        repeated .google.protobuf.Option options = 4 [json_name = "options"];
        Specified by:
        getOptions in interface TypeOrBuilder
      • getOptionsOrBuilder

        public OptionOrBuilder getOptionsOrBuilder​(int index)
        repeated .google.protobuf.Option options = 4 [json_name = "options"];
      • hasSourceContext

        public boolean hasSourceContext()
        .google.protobuf.SourceContext source_context = 5 [json_name = "sourceContext"];
        Specified by:
        hasSourceContext in interface TypeOrBuilder
        Returns:
        Whether the sourceContext field is set.
      • getSourceContext

        public SourceContext getSourceContext()
        .google.protobuf.SourceContext source_context = 5 [json_name = "sourceContext"];
        Specified by:
        getSourceContext in interface TypeOrBuilder
        Returns:
        The sourceContext.
      • getSyntaxValue

        public int getSyntaxValue()
        .google.protobuf.Syntax syntax = 6 [json_name = "syntax"];
        Specified by:
        getSyntaxValue in interface TypeOrBuilder
        Returns:
        The enum numeric value on the wire for syntax.
      • getSyntax

        public Syntax getSyntax()
        .google.protobuf.Syntax syntax = 6 [json_name = "syntax"];
        Specified by:
        getSyntax in interface TypeOrBuilder
        Returns:
        The syntax.
      • getEdition

        public java.lang.String getEdition()
        string edition = 7 [json_name = "edition"];
        Specified by:
        getEdition in interface TypeOrBuilder
        Returns:
        The edition.
      • getEditionBytes

        public ByteString getEditionBytes()
        string edition = 7 [json_name = "edition"];
        Specified by:
        getEditionBytes in interface TypeOrBuilder
        Returns:
        The bytes for edition.
      • parseFrom

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

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

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

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

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

        protected final java.lang.Object dynamicMethod​(GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Description copied from class: GeneratedMessageLite
        A method that implements different types of operations described in GeneratedMessageLite.MethodToInvoke. These different kinds of operations are required to implement message-level operations for builders in the runtime. This method bundles those operations to reduce the generated methods count.
        • NEW_INSTANCE returns a new instance of the protocol buffer that has not yet been made immutable. See MAKE_IMMUTABLE.
        • IS_INITIALIZED returns null for false and the default instance for true. It doesn't use or modify any memoized value.
        • GET_MEMOIZED_IS_INITIALIZED returns the memoized isInitialized byte value.
        • SET_MEMOIZED_IS_INITIALIZED sets the memoized isInitialized byte value to 1 if the first parameter is not null, or to 0 if the first parameter is null.
        • NEW_BUILDER returns a BuilderType instance.
        This method, plus the implementation of the Builder, enables the Builder class to be proguarded away entirely on Android.

        For use by generated code only.

        Specified by:
        dynamicMethod in class GeneratedMessageLite<Type,​Type.Builder>
      • getDefaultInstance

        public static Type getDefaultInstance()