public enum PubSubErrorType extends Enum<PubSubErrorType> implements org.mule.runtime.extension.api.error.ErrorTypeDefinition<PubSubErrorType>
| Enum Constant and Description |
|---|
ALREADY_EXISTS
The topic or subscription already exists.
|
BAD_GATEWAY
This error indicates an internal server error; it should not occur.
|
CANCELLED
This error indicates an internal server error; it should not occur.
|
DEADLINE_EXCEEDED
The request did not complete in the time allocated.
|
FAILED_PRECONDITION
Something must be done in the system to allow this operation.
|
INVALID_ARGUMENT
The request is invalid; a required argument may be missing, exceeds limits, or has an invalid value.
|
MAX_OUTSTANDING_BATCH_SIZE_REACHED
Error raised when flow control enabled and the max size of outstanding messages exceeded the selected limit.
|
MAX_OUTSTANDING_ELEMENT_COUNT_REACHED
Error raised when flow control enabled and the max number of outstanding messages exceeded the selected limit.
|
NOT_FOUND
The topic or subscription referenced has not been found.
|
PERMISSION_DENIED
The client does not have permission to perform the operation on the resource; or the resource does not exist, but the client does not have list
permission on the parent resource (i.e., on the project).
|
UNAVAILABLE
The service was unable to process a request.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> |
getParent() |
static PubSubErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PubSubErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PubSubErrorType ALREADY_EXISTS
public static final PubSubErrorType CANCELLED
public static final PubSubErrorType BAD_GATEWAY
public static final PubSubErrorType DEADLINE_EXCEEDED
public static final PubSubErrorType FAILED_PRECONDITION
public static final PubSubErrorType INVALID_ARGUMENT
public static final PubSubErrorType NOT_FOUND
public static final PubSubErrorType PERMISSION_DENIED
public static final PubSubErrorType UNAVAILABLE
public static final PubSubErrorType MAX_OUTSTANDING_ELEMENT_COUNT_REACHED
public static final PubSubErrorType MAX_OUTSTANDING_BATCH_SIZE_REACHED
public static PubSubErrorType[] values()
for (PubSubErrorType c : PubSubErrorType.values()) System.out.println(c);
public static PubSubErrorType 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 nullpublic Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> getParent()
getParent in interface org.mule.runtime.extension.api.error.ErrorTypeDefinition<PubSubErrorType>Copyright © 2021 MuleSoft, Inc.. All rights reserved.