Send feedback
Class RetryInfo (2.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.2.0 keyboard_arrow_down
public sealed class RetryInfo : Protobuf.IMessage<RetryInfo>, Protobuf.IBufferMessage
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.
Inheritance
Object >
RetryInfo
Namespace
Google.Rpc
Assembly
Google.Api.CommonProtos.dll
Constructors
RetryInfo()
RetryInfo(RetryInfo)
public RetryInfo(RetryInfo other)
Fields
RetryDelayFieldNumber
public const int RetryDelayFieldNumber = 1
Field number for the "retry_delay" field.
Field Value Type Description Int32
Properties
Descriptor
public static Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Parser
public static Protobuf.MessageParser<RetryInfo> Parser { get; }
RetryDelay
public Protobuf.WellKnownTypes.Duration RetryDelay { get; set; }
Clients should wait at least this long between retrying the same request.
Methods
CalculateSize()
public int CalculateSize()
Returns Type Description Int32
Clone()
Equals(RetryInfo)
public bool Equals(RetryInfo other)
Equals(Object)
public override bool Equals(object other)
Parameter Name Description other
Object
GetHashCode()
public override int GetHashCode()
Returns Type Description Int32
public void MergeFrom(Protobuf.CodedInputStream input)
MergeFrom(RetryInfo)
public void MergeFrom(RetryInfo other)
ToString()
public override string ToString()
WriteTo(Protobuf.CodedOutputStream)
public void WriteTo(Protobuf.CodedOutputStream output)
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-05 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{
"lastModified": "Last updated 2024-09-05 UTC.",
"confidential": False
}