Enum Class CatalogNetworkFailureReason
java.lang.Object
java.lang.Enum<CatalogNetworkFailureReason>
com.github.copilot.generated.rpc.CatalogNetworkFailureReason
- All Implemented Interfaces:
Serializable, Comparable<CatalogNetworkFailureReason>, Constable
@Generated("copilot-sdk-codegen")
public enum CatalogNetworkFailureReason
extends Enum<CatalogNetworkFailureReason>
Categorised network failure, low cardinality so it can be aggregated without carrying a URL
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTheconnection-refusedvariant.Thednsvariant.Thehttp-statusvariant.Theofflinevariant.Theproxy-authentication-requiredvariant.Therate-limitedvariant.Theredirect-rejectedvariant.Theresponse-too-largevariant.Theservice-unavailablevariant.Thetimeoutvariant.Thetlsvariant. -
Method Summary
Modifier and TypeMethodDescriptionstatic CatalogNetworkFailureReasongetValue()static CatalogNetworkFailureReasonReturns the enum constant of this class with the specified name.static CatalogNetworkFailureReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
OFFLINE
Theofflinevariant. -
DNS
Thednsvariant. -
TIMEOUT
Thetimeoutvariant. -
TLS
Thetlsvariant. -
CONNECTION_REFUSED
Theconnection-refusedvariant. -
PROXY_AUTHENTICATION_REQUIRED
Theproxy-authentication-requiredvariant. -
RATE_LIMITED
Therate-limitedvariant. -
SERVICE_UNAVAILABLE
Theservice-unavailablevariant. -
HTTP_STATUS
Thehttp-statusvariant. -
RESPONSE_TOO_LARGE
Theresponse-too-largevariant. -
REDIRECT_REJECTED
Theredirect-rejectedvariant.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-
fromValue
-