Class Errors
- java.lang.Object
-
- com.google.cloud.bigquery.storage.util.Errors
-
public class Errors extends Object
Static utility methods for working with Errors returned from the service.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Errors.IsRetryableStatusResult
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isRetryableInternalStatus(io.grpc.Status status)
Returns true iff the Status indicates and internal error that is retryable.static Errors.IsRetryableStatusResult
isRetryableStatus(io.grpc.Status status, io.grpc.Metadata metadata)
Returns true iff the Status indicates an error that is retryable.
-
-
-
Method Detail
-
isRetryableStatus
public static Errors.IsRetryableStatusResult isRetryableStatus(io.grpc.Status status, io.grpc.Metadata metadata)
Returns true iff the Status indicates an error that is retryable.Generally, internal errors are not considered retryable, however there are certain transient network issues that appear as internal but are in fact retryable.
Resource exhausted errors are only considered retryable if metadata contains a serialized RetryInfo object.
-
isRetryableInternalStatus
public static boolean isRetryableInternalStatus(io.grpc.Status status)
Returns true iff the Status indicates and internal error that is retryable.Generally, internal errors are not considered retryable, however there are certain transient network issues that appear as internal but are in fact retryable.
-
-