Uses of Enum
com.google.api.gax.rpc.StatusCode.Code
Packages that use StatusCode.Code
-
Uses of StatusCode.Code in com.google.api.gax.batching
Methods in com.google.api.gax.batching with parameters of type StatusCode.CodeModifier and TypeMethodDescriptionBatchingCallSettings.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.CodeModifier and TypeMethodDescriptionBatchingCallSettings.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.CodeModifier and TypeMethodDescriptionRetryingContext.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.CodeModifier and TypeMethodDescriptionStatusCode.getCode()Return the code enum value.static StatusCode.CodeReturns 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.CodeModifier and TypeMethodDescriptionServerStreamingCallSettings.Builder.getRetryableCodes()ServerStreamingCallSettings.getRetryableCodes()See the class documentation ofServerStreamingCallSettingsfor a description of what retryableCodes do.UnaryCallSettings.Builder.getRetryableCodes()See the class documentation ofUnaryCallSettingsfor a description of what retryable codes do.final 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.CodeModifier and TypeMethodDescriptionBatchingCallSettings.Builder.setRetryableCodes(StatusCode.Code... codes) PagedCallSettings.Builder.setRetryableCodes(StatusCode.Code... codes) ServerStreamingCallSettings.Builder.setRetryableCodes(StatusCode.Code... codes) See the class documentation ofServerStreamingCallSettingsfor a description of what retryableCodes do.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.CodeModifier and TypeMethodDescriptionBatchingCallSettings.Builder.setRetryableCodes(Set<StatusCode.Code> retryableCodes) PagedCallSettings.Builder.setRetryableCodes(Set<StatusCode.Code> retryableCodes) ServerStreamingCallSettings.Builder.setRetryableCodes(Set<StatusCode.Code> retryableCodes) See the class documentation ofServerStreamingCallSettingsfor a description of what retryableCodes do.UnaryCallSettings.Builder.setRetryableCodes(Set<StatusCode.Code> retryableCodes) See the class documentation ofUnaryCallSettingsfor a description of what retryable codes do.ApiCallContext.withRetryableCodes(Set<StatusCode.Code> retryableCodes) Returns a new ApiCallContext with the given retryable codes set.