Class Api

    • Method Detail

      • getName

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

        public ByteString getNameBytes()
        string name = 1 [json_name = "name"];
        Specified by:
        getNameBytes in interface ApiOrBuilder
        Returns:
        The bytes for name.
      • getMethodsList

        public java.util.List<Method> getMethodsList()
        repeated .google.protobuf.Method methods = 2 [json_name = "methods"];
        Specified by:
        getMethodsList in interface ApiOrBuilder
      • getMethodsOrBuilderList

        public java.util.List<? extends MethodOrBuilder> getMethodsOrBuilderList()
        repeated .google.protobuf.Method methods = 2 [json_name = "methods"];
      • getMethodsCount

        public int getMethodsCount()
        repeated .google.protobuf.Method methods = 2 [json_name = "methods"];
        Specified by:
        getMethodsCount in interface ApiOrBuilder
      • getMethods

        public Method getMethods​(int index)
        repeated .google.protobuf.Method methods = 2 [json_name = "methods"];
        Specified by:
        getMethods in interface ApiOrBuilder
      • getMethodsOrBuilder

        public MethodOrBuilder getMethodsOrBuilder​(int index)
        repeated .google.protobuf.Method methods = 2 [json_name = "methods"];
      • getOptionsList

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

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

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

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

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

        public java.lang.String getVersion()
        string version = 4 [json_name = "version"];
        Specified by:
        getVersion in interface ApiOrBuilder
        Returns:
        The version.
      • getVersionBytes

        public ByteString getVersionBytes()
        string version = 4 [json_name = "version"];
        Specified by:
        getVersionBytes in interface ApiOrBuilder
        Returns:
        The bytes for version.
      • hasSourceContext

        public boolean hasSourceContext()
        .google.protobuf.SourceContext source_context = 5 [json_name = "sourceContext"];
        Specified by:
        hasSourceContext in interface ApiOrBuilder
        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 ApiOrBuilder
        Returns:
        The sourceContext.
      • getMixinsList

        public java.util.List<Mixin> getMixinsList()
        repeated .google.protobuf.Mixin mixins = 6 [json_name = "mixins"];
        Specified by:
        getMixinsList in interface ApiOrBuilder
      • getMixinsOrBuilderList

        public java.util.List<? extends MixinOrBuilder> getMixinsOrBuilderList()
        repeated .google.protobuf.Mixin mixins = 6 [json_name = "mixins"];
      • getMixinsCount

        public int getMixinsCount()
        repeated .google.protobuf.Mixin mixins = 6 [json_name = "mixins"];
        Specified by:
        getMixinsCount in interface ApiOrBuilder
      • getMixins

        public Mixin getMixins​(int index)
        repeated .google.protobuf.Mixin mixins = 6 [json_name = "mixins"];
        Specified by:
        getMixins in interface ApiOrBuilder
      • getMixinsOrBuilder

        public MixinOrBuilder getMixinsOrBuilder​(int index)
        repeated .google.protobuf.Mixin mixins = 6 [json_name = "mixins"];
      • getSyntaxValue

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

        public Syntax getSyntax()
        .google.protobuf.Syntax syntax = 7 [json_name = "syntax"];
        Specified by:
        getSyntax in interface ApiOrBuilder
        Returns:
        The syntax.
      • parseFrom

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

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

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

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

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

        public static Api.Builder newBuilder​(Api prototype)
      • 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<Api,​Api.Builder>
      • getDefaultInstance

        public static Api getDefaultInstance()
      • parser

        public static Parser<Api> parser()