Method
class Method extends Message
Method represents a method of an api.
Protobuf type Google\Protobuf\Method
Methods
No description
The simple name of this method.
The simple name of this method.
A URL of the input message type.
A URL of the input message type.
If true, the request is streamed.
If true, the request is streamed.
The URL of the output message type.
The URL of the output message type.
If true, the response is streamed.
If true, the response is streamed.
Any metadata attached to the method.
Any metadata attached to the method.
The source syntax of this method.
The source syntax of this method.
Details
at line 61
__construct()
at line 72
string
getName()
The simple name of this method.
Generated from protobuf field string name = 1;
at line 83
setName(string $var)
The simple name of this method.
Generated from protobuf field string name = 1;
at line 95
string
getRequestTypeUrl()
A URL of the input message type.
Generated from protobuf field string request_type_url = 2;
at line 106
setRequestTypeUrl(string $var)
A URL of the input message type.
Generated from protobuf field string request_type_url = 2;
at line 118
bool
getRequestStreaming()
If true, the request is streamed.
Generated from protobuf field bool request_streaming = 3;
at line 129
setRequestStreaming(bool $var)
If true, the request is streamed.
Generated from protobuf field bool request_streaming = 3;
at line 141
string
getResponseTypeUrl()
The URL of the output message type.
Generated from protobuf field string response_type_url = 4;
at line 152
setResponseTypeUrl(string $var)
The URL of the output message type.
Generated from protobuf field string response_type_url = 4;
at line 164
bool
getResponseStreaming()
If true, the response is streamed.
Generated from protobuf field bool response_streaming = 5;
at line 175
setResponseStreaming(bool $var)
If true, the response is streamed.
Generated from protobuf field bool response_streaming = 5;
at line 187
RepeatedField
getOptions()
Any metadata attached to the method.
Generated from protobuf field repeated .google.protobuf.Option options = 6;
at line 198
setOptions(array|RepeatedField $var)
Any metadata attached to the method.
Generated from protobuf field repeated .google.protobuf.Option options = 6;
at line 210
int
getSyntax()
The source syntax of this method.
Generated from protobuf field .google.protobuf.Syntax syntax = 7;
at line 221
setSyntax(int $var)
The source syntax of this method.
Generated from protobuf field .google.protobuf.Syntax syntax = 7;