Class: Google::Protobuf::Method
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Protobuf::Method
 
 
- Extended by:
 - Google::Protobuf::MessageExts::ClassMethods
 
- Includes:
 - MessageExts
 
- Defined in:
 - proto_docs/google/protobuf/api.rb
 
Overview
Method represents a method of an API interface.
Instance Attribute Summary collapse
- 
  
    
      #name  ⇒ ::String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The simple name of this method.
 - 
  
    
      #options  ⇒ ::Array<::Google::Protobuf::Option> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Any metadata attached to the method.
 - 
  
    
      #request_streaming  ⇒ ::Boolean 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If true, the request is streamed.
 - 
  
    
      #request_type_url  ⇒ ::String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A URL of the input message type.
 - 
  
    
      #response_streaming  ⇒ ::Boolean 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If true, the response is streamed.
 - 
  
    
      #response_type_url  ⇒ ::String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The URL of the output message type.
 - 
  
    
      #syntax  ⇒ ::Google::Protobuf::Syntax 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The source syntax of this method.
 
Instance Attribute Details
#name ⇒ ::String
Returns The simple name of this method.
      99 100 101 102  | 
    
      # File 'proto_docs/google/protobuf/api.rb', line 99 class Method include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end  | 
  
#options ⇒ ::Array<::Google::Protobuf::Option>
Returns Any metadata attached to the method.
      99 100 101 102  | 
    
      # File 'proto_docs/google/protobuf/api.rb', line 99 class Method include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end  | 
  
#request_streaming ⇒ ::Boolean
Returns If true, the request is streamed.
      99 100 101 102  | 
    
      # File 'proto_docs/google/protobuf/api.rb', line 99 class Method include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end  | 
  
#request_type_url ⇒ ::String
Returns A URL of the input message type.
      99 100 101 102  | 
    
      # File 'proto_docs/google/protobuf/api.rb', line 99 class Method include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end  | 
  
#response_streaming ⇒ ::Boolean
Returns If true, the response is streamed.
      99 100 101 102  | 
    
      # File 'proto_docs/google/protobuf/api.rb', line 99 class Method include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end  |