Interface MethodOrBuilder

All Superinterfaces:
MessageLiteOrBuilder
All Known Implementing Classes:
Method, Method.Builder

@Generated public interface MethodOrBuilder extends MessageLiteOrBuilder
  • Method Details

    • getName

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

      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

      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

      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;
    • getSyntaxValue

      @Deprecated int getSyntaxValue()
      Deprecated.
      google.protobuf.Method.syntax is deprecated. See google/protobuf/api.proto;l=134
      The source syntax of this method.
      
      This field should be ignored, instead the syntax should be inherited from
      Api. This is similar to Field and EnumValue.
      
      .google.protobuf.Syntax syntax = 7 [deprecated = true];
      Returns:
      The enum numeric value on the wire for syntax.
    • getSyntax

      @Deprecated Syntax getSyntax()
      Deprecated.
      google.protobuf.Method.syntax is deprecated. See google/protobuf/api.proto;l=134
      The source syntax of this method.
      
      This field should be ignored, instead the syntax should be inherited from
      Api. This is similar to Field and EnumValue.
      
      .google.protobuf.Syntax syntax = 7 [deprecated = true];
      Returns:
      The syntax.
    • getEdition

      @Deprecated String getEdition()
      Deprecated.
      google.protobuf.Method.edition is deprecated. See google/protobuf/api.proto;l=140
      The source edition string, only valid when syntax is SYNTAX_EDITIONS.
      
      This field should be ignored, instead the edition should be inherited from
      Api. This is similar to Field and EnumValue.
      
      string edition = 8 [deprecated = true];
      Returns:
      The edition.
    • getEditionBytes

      @Deprecated ByteString getEditionBytes()
      Deprecated.
      google.protobuf.Method.edition is deprecated. See google/protobuf/api.proto;l=140
      The source edition string, only valid when syntax is SYNTAX_EDITIONS.
      
      This field should be ignored, instead the edition should be inherited from
      Api. This is similar to Field and EnumValue.
      
      string edition = 8 [deprecated = true];
      Returns:
      The bytes for edition.