class Method extends Message

Method represents a method of an api.

Protobuf type Google\Protobuf\Method

Methods

__construct()

No description

string
getName()

The simple name of this method.

setName(string $var)

The simple name of this method.

string
getRequestTypeUrl()

A URL of the input message type.

setRequestTypeUrl(string $var)

A URL of the input message type.

bool
getRequestStreaming()

If true, the request is streamed.

setRequestStreaming(bool $var)

If true, the request is streamed.

string
getResponseTypeUrl()

The URL of the output message type.

setResponseTypeUrl(string $var)

The URL of the output message type.

bool
getResponseStreaming()

If true, the response is streamed.

setResponseStreaming(bool $var)

If true, the response is streamed.

RepeatedField
getOptions()

Any metadata attached to the method.

setOptions(array|RepeatedField $var)

Any metadata attached to the method.

int
getSyntax()

The source syntax of this method.

setSyntax(int $var)

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;

Return Value

string

at line 83
setName(string $var)

The simple name of this method.

Generated from protobuf field string name = 1;

Parameters

string $var

at line 95
string getRequestTypeUrl()

A URL of the input message type.

Generated from protobuf field string request_type_url = 2;

Return Value

string

at line 106
setRequestTypeUrl(string $var)

A URL of the input message type.

Generated from protobuf field string request_type_url = 2;

Parameters

string $var

at line 118
bool getRequestStreaming()

If true, the request is streamed.

Generated from protobuf field bool request_streaming = 3;

Return Value

bool

at line 129
setRequestStreaming(bool $var)

If true, the request is streamed.

Generated from protobuf field bool request_streaming = 3;

Parameters

bool $var

at line 141
string getResponseTypeUrl()

The URL of the output message type.

Generated from protobuf field string response_type_url = 4;

Return Value

string

at line 152
setResponseTypeUrl(string $var)

The URL of the output message type.

Generated from protobuf field string response_type_url = 4;

Parameters

string $var

at line 164
bool getResponseStreaming()

If true, the response is streamed.

Generated from protobuf field bool response_streaming = 5;

Return Value

bool

at line 175
setResponseStreaming(bool $var)

If true, the response is streamed.

Generated from protobuf field bool response_streaming = 5;

Parameters

bool $var

at line 187
RepeatedField getOptions()

Any metadata attached to the method.

Generated from protobuf field repeated .google.protobuf.Option options = 6;

Return Value

RepeatedField

at line 198
setOptions(array|RepeatedField $var)

Any metadata attached to the method.

Generated from protobuf field repeated .google.protobuf.Option options = 6;

Parameters

array|RepeatedField $var

at line 210
int getSyntax()

The source syntax of this method.

Generated from protobuf field .google.protobuf.Syntax syntax = 7;

Return Value

int

at line 221
setSyntax(int $var)

The source syntax of this method.

Generated from protobuf field .google.protobuf.Syntax syntax = 7;

Parameters

int $var