Class: Google::Protobuf::Method

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#name::String

Returns The simple name of this method.

Returns:

  • (::String)

    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.

Returns:



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.

Returns:

  • (::Boolean)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::Boolean)

    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

#response_type_url::String

Returns The URL of the output message type.

Returns:

  • (::String)

    The URL of the output 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

#syntax::Google::Protobuf::Syntax

Returns The source syntax of this method.

Returns:



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