Uses of Class
com.google.api.gax.rpc.StatusCode.Code
-
Packages that use StatusCode.Code Package Description com.google.api.gax.batching com.google.api.gax.retrying com.google.api.gax.rpc -
-
Uses of StatusCode.Code in com.google.api.gax.batching
Methods in com.google.api.gax.batching with parameters of type StatusCode.Code Modifier and Type Method Description BatchingCallSettings.Builder<ElementT,ElementResultT,RequestT,ResponseT>BatchingCallSettings.Builder. setRetryableCodes(StatusCode.Code... codes)Sets the rpc failurecode, for which retries should be performed.Method parameters in com.google.api.gax.batching with type arguments of type StatusCode.Code Modifier and Type Method Description BatchingCallSettings.Builder<ElementT,ElementResultT,RequestT,ResponseT>BatchingCallSettings.Builder. setRetryableCodes(Set<StatusCode.Code> retryableCodes)Sets the rpc failurecode, for which retries should be performed. -
Uses of StatusCode.Code in com.google.api.gax.retrying
Methods in com.google.api.gax.retrying that return types with arguments of type StatusCode.Code Modifier and Type Method Description Set<StatusCode.Code>RetryingContext. getRetryableCodes()Returns the retryable codes to use with this context, ornullif the default retryable codes should be used. -
Uses of StatusCode.Code in com.google.api.gax.rpc
Methods in com.google.api.gax.rpc that return StatusCode.Code Modifier and Type Method Description StatusCode.CodeStatusCode. getCode()Return the code enum value.static StatusCode.CodeStatusCode.Code. valueOf(String name)Returns the enum constant of this type with the specified name.static StatusCode.Code[]StatusCode.Code. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.google.api.gax.rpc that return types with arguments of type StatusCode.Code Modifier and Type Method Description Set<StatusCode.Code>ServerStreamingCallSettings.Builder. getRetryableCodes()Set<StatusCode.Code>ServerStreamingCallSettings. getRetryableCodes()See the class documentation ofServerStreamingCallSettingsfor a description of what retryableCodes do.Set<StatusCode.Code>UnaryCallSettings.Builder. getRetryableCodes()See the class documentation ofUnaryCallSettingsfor a description of what retryable codes do.Set<StatusCode.Code>UnaryCallSettings. getRetryableCodes()See the class documentation ofUnaryCallSettingsfor a description of what retryable codes do.Methods in com.google.api.gax.rpc with parameters of type StatusCode.Code Modifier and Type Method Description BatchingCallSettings.Builder<RequestT,ResponseT>BatchingCallSettings.Builder. setRetryableCodes(StatusCode.Code... codes)PagedCallSettings.Builder<RequestT,ResponseT,PagedListResponseT>PagedCallSettings.Builder. setRetryableCodes(StatusCode.Code... codes)ServerStreamingCallSettings.Builder<RequestT,ResponseT>ServerStreamingCallSettings.Builder. setRetryableCodes(StatusCode.Code... codes)See the class documentation ofServerStreamingCallSettingsfor a description of what retryableCodes do.UnaryCallSettings.Builder<RequestT,ResponseT>UnaryCallSettings.Builder. setRetryableCodes(StatusCode.Code... codes)See the class documentation ofUnaryCallSettingsfor a description of what retryable codes do.Method parameters in com.google.api.gax.rpc with type arguments of type StatusCode.Code Modifier and Type Method Description BatchingCallSettings.Builder<RequestT,ResponseT>BatchingCallSettings.Builder. setRetryableCodes(Set<StatusCode.Code> retryableCodes)PagedCallSettings.Builder<RequestT,ResponseT,PagedListResponseT>PagedCallSettings.Builder. setRetryableCodes(Set<StatusCode.Code> retryableCodes)ServerStreamingCallSettings.Builder<RequestT,ResponseT>ServerStreamingCallSettings.Builder. setRetryableCodes(Set<StatusCode.Code> retryableCodes)See the class documentation ofServerStreamingCallSettingsfor a description of what retryableCodes do.UnaryCallSettings.Builder<RequestT,ResponseT>UnaryCallSettings.Builder. setRetryableCodes(Set<StatusCode.Code> retryableCodes)See the class documentation ofUnaryCallSettingsfor a description of what retryable codes do.ApiCallContextApiCallContext. withRetryableCodes(Set<StatusCode.Code> retryableCodes)Returns a new ApiCallContext with the given retryable codes set.
-