Method represents a method of an API interface.
Generated from protobuf message google.protobuf.Method
Methods |
public __construct( $data = NULL) Constructor.
|
public getName() The simple name of this method. Generated from protobuf field string name = 1;
|
public getOptions() Any metadata attached to the method. Generated from protobuf field repeated .google.protobuf.Option options = 6;
|
public getRequestStreaming() If true, the request is streamed. Generated from protobuf field bool request_streaming = 3;
|
public getRequestTypeUrl() A URL of the input message type. Generated from protobuf field string request_type_url = 2;
|
public getResponseStreaming() If true, the response is streamed. Generated from protobuf field bool response_streaming = 5;
|
public getResponseTypeUrl() The URL of the output message type. Generated from protobuf field string response_type_url = 4;
|
public getSyntax() The source syntax of this method. Generated from protobuf field .google.protobuf.Syntax syntax = 7;
|
public setName( $var) The simple name of this method. Generated from protobuf field string name = 1;
|
public setOptions( $var) Any metadata attached to the method. Generated from protobuf field repeated .google.protobuf.Option options = 6;
|
public setRequestStreaming( $var) If true, the request is streamed. Generated from protobuf field bool request_streaming = 3;
|
public setRequestTypeUrl( $var) A URL of the input message type. Generated from protobuf field string request_type_url = 2;
|
public setResponseStreaming( $var) If true, the response is streamed. Generated from protobuf field bool response_streaming = 5;
|
public setResponseTypeUrl( $var) The URL of the output message type. Generated from protobuf field string response_type_url = 4;
|
public setSyntax( $var) The source syntax of this method. Generated from protobuf field .google.protobuf.Syntax syntax = 7;
|
Properties |
protected $name = '' The simple name of this method. Generated from protobuf field string name = 1; |
protected $request_streaming = false If true, the request is streamed. Generated from protobuf field bool request_streaming = 3; |
protected $request_type_url = '' A URL of the input message type. Generated from protobuf field string request_type_url = 2; |
protected $response_streaming = false If true, the response is streamed. Generated from protobuf field bool response_streaming = 5; |
protected $response_type_url = '' The URL of the output message type. Generated from protobuf field string response_type_url = 4; |
protected $syntax = 0 The source syntax of this method. Generated from protobuf field .google.protobuf.Syntax syntax = 7; |
Methods |
Properties |
private $options = NULL Any metadata attached to the method. Generated from protobuf field repeated .google.protobuf.Option options = 6; |