| Server IP : 34.87.99.72 / Your IP : 216.73.217.31 Web Server : Apache/2.4.46 (Unix) OpenSSL/1.1.1n System : Linux zlock-bitnami-lamp-prod-v2-vm 4.19.0-16-cloud-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 User : bitnami ( 1000) PHP Version : 7.4.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /opt/bitnami/apache/htdocs/app/vendor/google/longrunning/src/LongRunning/ |
Upload File : |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/longrunning/operations.proto
namespace Google\LongRunning;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* The request message for [Operations.WaitOperation][google.longrunning.Operations.WaitOperation].
*
* Generated from protobuf message <code>google.longrunning.WaitOperationRequest</code>
*/
class WaitOperationRequest extends \Google\Protobuf\Internal\Message
{
/**
* The name of the operation resource to wait on.
*
* Generated from protobuf field <code>string name = 1;</code>
*/
private $name = '';
/**
* The maximum duration to wait before timing out. If left blank, the wait
* will be at most the time permitted by the underlying HTTP/RPC protocol.
* If RPC context deadline is also specified, the shorter one will be used.
*
* Generated from protobuf field <code>.google.protobuf.Duration timeout = 2;</code>
*/
private $timeout = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $name
* The name of the operation resource to wait on.
* @type \Google\Protobuf\Duration $timeout
* The maximum duration to wait before timing out. If left blank, the wait
* will be at most the time permitted by the underlying HTTP/RPC protocol.
* If RPC context deadline is also specified, the shorter one will be used.
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Google\Longrunning\Operations::initOnce();
parent::__construct($data);
}
/**
* The name of the operation resource to wait on.
*
* Generated from protobuf field <code>string name = 1;</code>
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The name of the operation resource to wait on.
*
* Generated from protobuf field <code>string name = 1;</code>
* @param string $var
* @return $this
*/
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
}
/**
* The maximum duration to wait before timing out. If left blank, the wait
* will be at most the time permitted by the underlying HTTP/RPC protocol.
* If RPC context deadline is also specified, the shorter one will be used.
*
* Generated from protobuf field <code>.google.protobuf.Duration timeout = 2;</code>
* @return \Google\Protobuf\Duration|null
*/
public function getTimeout()
{
return $this->timeout;
}
public function hasTimeout()
{
return isset($this->timeout);
}
public function clearTimeout()
{
unset($this->timeout);
}
/**
* The maximum duration to wait before timing out. If left blank, the wait
* will be at most the time permitted by the underlying HTTP/RPC protocol.
* If RPC context deadline is also specified, the shorter one will be used.
*
* Generated from protobuf field <code>.google.protobuf.Duration timeout = 2;</code>
* @param \Google\Protobuf\Duration $var
* @return $this
*/
public function setTimeout($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
$this->timeout = $var;
return $this;
}
}