@Generated public enum ServiceErrorCode extends Enum<ServiceErrorCode>
Enum Constant and Description |
---|
ABORTED |
ALREADY_EXISTS |
BAD_REQUEST |
CANCELLED |
DEADLINE_EXCEEDED |
INTERNAL_ERROR |
IO_ERROR |
NOT_FOUND |
RESOURCE_EXHAUSTED |
SERVICE_UNDER_MAINTENANCE |
TEMPORARILY_UNAVAILABLE |
UNAUTHENTICATED |
UNKNOWN |
WORKSPACE_TEMPORARILY_UNAVAILABLE |
Modifier and Type | Method and Description |
---|---|
static ServiceErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceErrorCode ABORTED
public static final ServiceErrorCode ALREADY_EXISTS
public static final ServiceErrorCode BAD_REQUEST
public static final ServiceErrorCode CANCELLED
public static final ServiceErrorCode DEADLINE_EXCEEDED
public static final ServiceErrorCode INTERNAL_ERROR
public static final ServiceErrorCode IO_ERROR
public static final ServiceErrorCode NOT_FOUND
public static final ServiceErrorCode RESOURCE_EXHAUSTED
public static final ServiceErrorCode SERVICE_UNDER_MAINTENANCE
public static final ServiceErrorCode TEMPORARILY_UNAVAILABLE
public static final ServiceErrorCode UNAUTHENTICATED
public static final ServiceErrorCode UNKNOWN
public static final ServiceErrorCode WORKSPACE_TEMPORARILY_UNAVAILABLE
public static ServiceErrorCode[] values()
for (ServiceErrorCode c : ServiceErrorCode.values()) System.out.println(c);
public static ServiceErrorCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2024. All rights reserved.