Method represents a method of an API interface.
- Value parameters:
- name
The simple name of this method.
- options
Any metadata attached to the method.
- requestStreaming
If true, the request is streamed.
- requestTypeUrl
A URL of the input message type.
- responseStreaming
If true, the response is streamed.
- responseTypeUrl
The URL of the output message type.
- syntax
The source syntax of this method.
- Companion:
- object
Value members
Concrete methods
Returns a human-readable ASCII format representation of this message.
Returns a human-readable ASCII format representation of this message.
The original message can be decoded from this format by using fromAscii on the companion object.
- Returns:
human-readable representation of this message.
Inherited methods
Serializes the message and returns a byte array containing its raw bytes
Serializes the message and returns a byte array containing its raw bytes
- Inherited from:
- GeneratedMessage
Serializes the message and returns a ByteString containing its raw bytes
Serializes the message and returns a ByteString containing its raw bytes
- Inherited from:
- GeneratedMessage
Serializes the message into the given output stream
Serializes the message into the given output stream
- Inherited from:
- GeneratedMessage