Interface MethodOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Method, Method.Builder

public interface MethodOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       The simple name of this method.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The simple name of this method.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getRequestTypeUrl

      String getRequestTypeUrl()
       A URL of the input message type.
       
      string request_type_url = 2;
      Returns:
      The requestTypeUrl.
    • getRequestTypeUrlBytes

      com.google.protobuf.ByteString getRequestTypeUrlBytes()
       A URL of the input message type.
       
      string request_type_url = 2;
      Returns:
      The bytes for requestTypeUrl.
    • getRequestStreaming

      boolean getRequestStreaming()
       If true, the request is streamed.
       
      bool request_streaming = 3;
      Returns:
      The requestStreaming.
    • getResponseTypeUrl

      String getResponseTypeUrl()
       The URL of the output message type.
       
      string response_type_url = 4;
      Returns:
      The responseTypeUrl.
    • getResponseTypeUrlBytes

      com.google.protobuf.ByteString getResponseTypeUrlBytes()
       The URL of the output message type.
       
      string response_type_url = 4;
      Returns:
      The bytes for responseTypeUrl.
    • getResponseStreaming

      boolean getResponseStreaming()
       If true, the response is streamed.
       
      bool response_streaming = 5;
      Returns:
      The responseStreaming.
    • getOptionsList

      List<Option> getOptionsList()
       Any metadata attached to the method.
       
      repeated .google.protobuf.Option options = 6;
    • getOptions

      Option getOptions(int index)
       Any metadata attached to the method.
       
      repeated .google.protobuf.Option options = 6;
    • getOptionsCount

      int getOptionsCount()
       Any metadata attached to the method.
       
      repeated .google.protobuf.Option options = 6;
    • getOptionsOrBuilderList

      List<? extends OptionOrBuilder> getOptionsOrBuilderList()
       Any metadata attached to the method.
       
      repeated .google.protobuf.Option options = 6;
    • getOptionsOrBuilder

      OptionOrBuilder getOptionsOrBuilder(int index)
       Any metadata attached to the method.
       
      repeated .google.protobuf.Option options = 6;
    • getSyntaxValue

      int getSyntaxValue()
       The source syntax of this method.
       
      .google.protobuf.Syntax syntax = 7;
      Returns:
      The enum numeric value on the wire for syntax.
    • getSyntax

      Syntax getSyntax()
       The source syntax of this method.
       
      .google.protobuf.Syntax syntax = 7;
      Returns:
      The syntax.