Method represents a method of an API interface.
New usages of this message as an alternative to MethodDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.
Generated from protobuf message google.protobuf.Method
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public getEdition() The source edition string, only valid when syntax is SYNTAX_EDITIONS. This field should be ignored, instead the edition should be inherited from Api. This is similar to Field and EnumValue. Generated from protobuf field string edition = 8 [deprecated = true];
|
| 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. This field should be ignored, instead the syntax should be inherited from Api. This is similar to Field and EnumValue. Generated from protobuf field .google.protobuf.Syntax syntax = 7 [deprecated = true];
|
| public setEdition( $var) The source edition string, only valid when syntax is SYNTAX_EDITIONS. This field should be ignored, instead the edition should be inherited from Api. This is similar to Field and EnumValue. Generated from protobuf field string edition = 8 [deprecated = true];
|
| 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. This field should be ignored, instead the syntax should be inherited from Api. This is similar to Field and EnumValue. Generated from protobuf field .google.protobuf.Syntax syntax = 7 [deprecated = true];
|
| Properties |
| protected $edition = '' The source edition string, only valid when syntax is SYNTAX_EDITIONS. This field should be ignored, instead the edition should be inherited from Api. This is similar to Field and EnumValue. Generated from protobuf field string edition = 8 [deprecated = true];
|
| 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. This field should be ignored, instead the syntax should be inherited from Api. This is similar to Field and EnumValue. Generated from protobuf field .google.protobuf.Syntax syntax = 7 [deprecated = true];
|
| Methods |
| Properties |
| private $options = NULL Any metadata attached to the method. Generated from protobuf field repeated .google.protobuf.Option options = 6; |