<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/rpc/error_details.proto namespace Google\Rpc; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Describes when the clients can retry a failed request. Clients could ignore * the recommendation here or retry when this information is missing from error * responses. * It's always recommended that clients should use exponential backoff when * retrying. * Clients should wait until `retry_delay` amount of time has passed since * receiving the error response before retrying. If retrying requests also * fail, clients should use an exponential backoff scheme to gradually increase * the delay between retries based on `retry_delay`, until either a maximum * number of retries have been reached or a maximum retry delay cap has been * reached. * * Generated from protobuf message <code>google.rpc.RetryInfo</code> */ class RetryInfo extends \Google\Protobuf\Internal\Message { /** * Clients should wait at least this long between retrying the same request. * * Generated from protobuf field <code>.google.protobuf.Duration retry_delay = 1;</code> */ private $retry_delay = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Google\Protobuf\Duration $retry_delay * Clients should wait at least this long between retrying the same request. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Rpc\ErrorDetails::initOnce(); parent::__construct($data); } /** * Clients should wait at least this long between retrying the same request. * * Generated from protobuf field <code>.google.protobuf.Duration retry_delay = 1;</code> * @return \Google\Protobuf\Duration */ public function getRetryDelay() { return $this->retry_delay; } /** * Clients should wait at least this long between retrying the same request. * * Generated from protobuf field <code>.google.protobuf.Duration retry_delay = 1;</code> * @param \Google\Protobuf\Duration $var * @return $this */ public function setRetryDelay($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); $this->retry_delay = $var; return $this; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
BadRequest | Folder | 2755 |
|
|
Help | Folder | 2755 |
|
|
PreconditionFailure | Folder | 2755 |
|
|
QuotaFailure | Folder | 2755 |
|
|
BadRequest.php | File | 2.08 KB | 0644 |
|
BadRequest_FieldViolation.php | File | 536 B | 0644 |
|
Code.php | File | 9.43 KB | 0644 |
|
DebugInfo.php | File | 2.71 KB | 0644 |
|
ErrorInfo.php | File | 7.94 KB | 0644 |
|
Help.php | File | 2.17 KB | 0644 |
|
Help_Link.php | File | 456 B | 0644 |
|
LocalizedMessage.php | File | 2.91 KB | 0644 |
|
PreconditionFailure.php | File | 2.15 KB | 0644 |
|
PreconditionFailure_Violation.php | File | 556 B | 0644 |
|
QuotaFailure.php | File | 2.35 KB | 0644 |
|
QuotaFailure_Violation.php | File | 521 B | 0644 |
|
RequestInfo.php | File | 3.4 KB | 0644 |
|
ResourceInfo.php | File | 6.58 KB | 0644 |
|
RetryInfo.php | File | 2.44 KB | 0644 |
|
Status.php | File | 5 KB | 0644 |
|