Class Method

  • All Implemented Interfaces:
    com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, MethodOrBuilder

    @Generated
    public final class Method
    extends com.google.protobuf.GeneratedMessageLite<Method,​Method.Builder>
    implements MethodOrBuilder
    Protobuf type google.protobuf.Method
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Method.Builder
      Protobuf type google.protobuf.Method
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

        com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,​?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,​Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)  
      static Method getDefaultInstance()  
      java.lang.String getEdition()
      Deprecated.
      google.protobuf.Method.edition is deprecated.
      com.google.protobuf.ByteString getEditionBytes()
      Deprecated.
      google.protobuf.Method.edition is deprecated.
      java.lang.String getName()
      string name = 1 [json_name = "name"];
      com.google.protobuf.ByteString getNameBytes()
      string name = 1 [json_name = "name"];
      Option getOptions​(int index)
      repeated .google.protobuf.Option options = 6 [json_name = "options"];
      int getOptionsCount()
      repeated .google.protobuf.Option options = 6 [json_name = "options"];
      java.util.List<Option> getOptionsList()
      repeated .google.protobuf.Option options = 6 [json_name = "options"];
      OptionOrBuilder getOptionsOrBuilder​(int index)
      repeated .google.protobuf.Option options = 6 [json_name = "options"];
      java.util.List<? extends OptionOrBuilder> getOptionsOrBuilderList()
      repeated .google.protobuf.Option options = 6 [json_name = "options"];
      boolean getRequestStreaming()
      bool request_streaming = 3 [json_name = "requestStreaming"];
      java.lang.String getRequestTypeUrl()
      string request_type_url = 2 [json_name = "requestTypeUrl"];
      com.google.protobuf.ByteString getRequestTypeUrlBytes()
      string request_type_url = 2 [json_name = "requestTypeUrl"];
      boolean getResponseStreaming()
      bool response_streaming = 5 [json_name = "responseStreaming"];
      java.lang.String getResponseTypeUrl()
      string response_type_url = 4 [json_name = "responseTypeUrl"];
      com.google.protobuf.ByteString getResponseTypeUrlBytes()
      string response_type_url = 4 [json_name = "responseTypeUrl"];
      Syntax getSyntax()
      Deprecated.
      google.protobuf.Method.syntax is deprecated.
      int getSyntaxValue()
      Deprecated.
      google.protobuf.Method.syntax is deprecated.
      static Method.Builder newBuilder()  
      static Method.Builder newBuilder​(Method prototype)  
      static Method parseDelimitedFrom​(java.io.InputStream input)  
      static Method parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Method parseFrom​(byte[] data)  
      static Method parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Method parseFrom​(com.google.protobuf.ByteString data)  
      static Method parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Method parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Method parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Method parseFrom​(java.io.InputStream input)  
      static Method parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Method parseFrom​(java.nio.ByteBuffer data)  
      static Method parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<Method> parser()  
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite

        createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
      • Methods inherited from class com.google.protobuf.AbstractMessageLite

        addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getName

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

        public com.google.protobuf.ByteString getNameBytes()
        string name = 1 [json_name = "name"];
        Specified by:
        getNameBytes in interface MethodOrBuilder
        Returns:
        The bytes for 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 com.google.protobuf.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 com.google.protobuf.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 com.google.protobuf.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.nio.ByteBuffer data)
                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

        public static Method parseFrom​(byte[] data,
                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • 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,
                                       com.google.protobuf.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,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

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

        protected final java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Specified by:
        dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Method,​Method.Builder>
      • getDefaultInstance

        public static Method getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Method> parser()