RetryInfo

com.google.rpc.error_details.RetryInfo
See theRetryInfo companion object
final case class RetryInfo(retryDelay: Option[Duration], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[RetryInfo]

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.

Attributes

retryDelay

Clients should wait at least this long between retrying the same request.

Companion:
object
Source:
RetryInfo.scala
Graph
Supertypes
trait Updatable[RetryInfo]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Attributes

Source:
RetryInfo.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source:
RetryInfo.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source:
RetryInfo.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
RetryInfo.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns:

human-readable representation of this message.

Source:
RetryInfo.scala

Attributes

Source:
RetryInfo.scala
def withUnknownFields(`__v`: UnknownFieldSet): RetryInfo

Attributes

Source:
RetryInfo.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source:
RetryInfo.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
def update(ms: Lens[RetryInfo, RetryInfo] => () => RetryInfo*): A

Attributes

Inherited from:
Updatable
Source:
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala