Class Method

    • Method Detail

      • getName

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

        public java.lang.String getRequestTypeUrl()
        string request_type_url = 2 [json_name = "requestTypeUrl"];
        Specified by:
        getRequestTypeUrl in interface MethodOrBuilder
        Returns:
        The requestTypeUrl.
      • getRequestTypeUrlBytes

        public ByteString getRequestTypeUrlBytes()
        string request_type_url = 2 [json_name = "requestTypeUrl"];
        Specified by:
        getRequestTypeUrlBytes in interface MethodOrBuilder
        Returns:
        The bytes for requestTypeUrl.
      • getRequestStreaming

        public boolean getRequestStreaming()
        bool request_streaming = 3 [json_name = "requestStreaming"];
        Specified by:
        getRequestStreaming in interface MethodOrBuilder
        Returns:
        The requestStreaming.
      • getResponseTypeUrl

        public java.lang.String getResponseTypeUrl()
        string response_type_url = 4 [json_name = "responseTypeUrl"];
        Specified by:
        getResponseTypeUrl in interface MethodOrBuilder
        Returns:
        The responseTypeUrl.
      • getResponseTypeUrlBytes

        public ByteString getResponseTypeUrlBytes()
        string response_type_url = 4 [json_name = "responseTypeUrl"];
        Specified by:
        getResponseTypeUrlBytes in interface MethodOrBuilder
        Returns:
        The bytes for responseTypeUrl.
      • getResponseStreaming

        public boolean getResponseStreaming()
        bool response_streaming = 5 [json_name = "responseStreaming"];
        Specified by:
        getResponseStreaming in interface MethodOrBuilder
        Returns:
        The responseStreaming.
      • getOptionsList

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

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

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

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

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

        @Deprecated
        public int getSyntaxValue()
        Deprecated.
        google.protobuf.Method.syntax is deprecated. See google/protobuf/api.proto;l=0
        .google.protobuf.Syntax syntax = 7 [json_name = "syntax", deprecated = true];
        Specified by:
        getSyntaxValue in interface MethodOrBuilder
        Returns:
        The enum numeric value on the wire for syntax.
      • getSyntax

        @Deprecated
        public Syntax getSyntax()
        Deprecated.
        google.protobuf.Method.syntax is deprecated. See google/protobuf/api.proto;l=0
        .google.protobuf.Syntax syntax = 7 [json_name = "syntax", deprecated = true];
        Specified by:
        getSyntax in interface MethodOrBuilder
        Returns:
        The syntax.
      • getEdition

        @Deprecated
        public java.lang.String getEdition()
        Deprecated.
        google.protobuf.Method.edition is deprecated. See google/protobuf/api.proto;l=0
        string edition = 8 [json_name = "edition", deprecated = true];
        Specified by:
        getEdition in interface MethodOrBuilder
        Returns:
        The edition.
      • getEditionBytes

        @Deprecated
        public ByteString getEditionBytes()
        Deprecated.
        google.protobuf.Method.edition is deprecated. See google/protobuf/api.proto;l=0
        string edition = 8 [json_name = "edition", deprecated = true];
        Specified by:
        getEditionBytes in interface MethodOrBuilder
        Returns:
        The bytes for edition.
      • parseFrom

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

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

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

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

        public static Method 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<Method,​Method.Builder>
      • getDefaultInstance

        public static Method getDefaultInstance()