ok
Direktori : /home2/selectio/www/fms-worksuite/vendor/google/common-protos/src/Api/ |
Current File : /home2/selectio/www/fms-worksuite/vendor/google/common-protos/src/Api/MethodSettings.php |
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/api/client.proto namespace Google\Api; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Describes the generator configuration for a method. * * Generated from protobuf message <code>google.api.MethodSettings</code> */ class MethodSettings extends \Google\Protobuf\Internal\Message { /** * The fully qualified name of the method, for which the options below apply. * This is used to find the method to apply the options. * * Generated from protobuf field <code>string selector = 1;</code> */ protected $selector = ''; /** * Describes settings to use for long-running operations when generating * API methods for RPCs. Complements RPCs that use the annotations in * google/longrunning/operations.proto. * Example of a YAML configuration:: * publishing: * method_settings: * - selector: google.cloud.speech.v2.Speech.BatchRecognize * long_running: * initial_poll_delay: * seconds: 60 # 1 minute * poll_delay_multiplier: 1.5 * max_poll_delay: * seconds: 360 # 6 minutes * total_poll_timeout: * seconds: 54000 # 90 minutes * * Generated from protobuf field <code>.google.api.MethodSettings.LongRunning long_running = 2;</code> */ protected $long_running = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $selector * The fully qualified name of the method, for which the options below apply. * This is used to find the method to apply the options. * @type \Google\Api\MethodSettings\LongRunning $long_running * Describes settings to use for long-running operations when generating * API methods for RPCs. Complements RPCs that use the annotations in * google/longrunning/operations.proto. * Example of a YAML configuration:: * publishing: * method_settings: * - selector: google.cloud.speech.v2.Speech.BatchRecognize * long_running: * initial_poll_delay: * seconds: 60 # 1 minute * poll_delay_multiplier: 1.5 * max_poll_delay: * seconds: 360 # 6 minutes * total_poll_timeout: * seconds: 54000 # 90 minutes * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Api\Client::initOnce(); parent::__construct($data); } /** * The fully qualified name of the method, for which the options below apply. * This is used to find the method to apply the options. * * Generated from protobuf field <code>string selector = 1;</code> * @return string */ public function getSelector() { return $this->selector; } /** * The fully qualified name of the method, for which the options below apply. * This is used to find the method to apply the options. * * Generated from protobuf field <code>string selector = 1;</code> * @param string $var * @return $this */ public function setSelector($var) { GPBUtil::checkString($var, True); $this->selector = $var; return $this; } /** * Describes settings to use for long-running operations when generating * API methods for RPCs. Complements RPCs that use the annotations in * google/longrunning/operations.proto. * Example of a YAML configuration:: * publishing: * method_settings: * - selector: google.cloud.speech.v2.Speech.BatchRecognize * long_running: * initial_poll_delay: * seconds: 60 # 1 minute * poll_delay_multiplier: 1.5 * max_poll_delay: * seconds: 360 # 6 minutes * total_poll_timeout: * seconds: 54000 # 90 minutes * * Generated from protobuf field <code>.google.api.MethodSettings.LongRunning long_running = 2;</code> * @return \Google\Api\MethodSettings\LongRunning|null */ public function getLongRunning() { return $this->long_running; } public function hasLongRunning() { return isset($this->long_running); } public function clearLongRunning() { unset($this->long_running); } /** * Describes settings to use for long-running operations when generating * API methods for RPCs. Complements RPCs that use the annotations in * google/longrunning/operations.proto. * Example of a YAML configuration:: * publishing: * method_settings: * - selector: google.cloud.speech.v2.Speech.BatchRecognize * long_running: * initial_poll_delay: * seconds: 60 # 1 minute * poll_delay_multiplier: 1.5 * max_poll_delay: * seconds: 360 # 6 minutes * total_poll_timeout: * seconds: 54000 # 90 minutes * * Generated from protobuf field <code>.google.api.MethodSettings.LongRunning long_running = 2;</code> * @param \Google\Api\MethodSettings\LongRunning $var * @return $this */ public function setLongRunning($var) { GPBUtil::checkMessage($var, \Google\Api\MethodSettings\LongRunning::class); $this->long_running = $var; return $this; } }