@Generated(value="by GAPIC") @BetaApi public final class HttpRetryPolicy extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
HttpRetryPolicy.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
static HttpRetryPolicy |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
Integer |
getNumRetries()
Specifies the allowed number retries.
|
Duration |
getPerTryTimeout()
Specifies a non-zero timeout per retry attempt.
|
List<String> |
getRetryConditionsList()
Specfies one or more conditions when this retry rule applies.
|
int |
hashCode() |
static HttpRetryPolicy.Builder |
newBuilder() |
static HttpRetryPolicy.Builder |
newBuilder(HttpRetryPolicy prototype) |
HttpRetryPolicy.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public Integer getNumRetries()
public Duration getPerTryTimeout()
public List<String> getRetryConditionsList()
public static HttpRetryPolicy.Builder newBuilder()
public static HttpRetryPolicy.Builder newBuilder(HttpRetryPolicy prototype)
public HttpRetryPolicy.Builder toBuilder()
public static HttpRetryPolicy getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.