Package com.azure.messaging.eventhubs
Enum Messages
- All Implemented Interfaces:
Serializable
,Comparable<Messages>
,java.lang.constant.Constable
I18n messages loaded from the messages.properties file located within the same package.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Cannot send empty event batch message.static final String
Class not a supported type message.static final String
Encoding type not supported message.static final String
Error occurred in subscriber error message.static final String
Error sending batch message.static final String
Event data doesn't fit message.static final String
Event processor run end message.static final String
Exception occurred while emitting message.static final String
Failed to close consumer partition message.static final String
Failed to claim ownership message.static final String
Load balancing failed message.static final String
Message not of type message.static final String
Process span scope type error message.static final String
Request value not valid message. -
Method Summary
-
Field Details
-
CLASS_NOT_A_SUPPORTED_TYPE
Class not a supported type message. -
ENCODING_TYPE_NOT_SUPPORTED
Encoding type not supported message. -
PROCESS_SPAN_SCOPE_TYPE_ERROR
Process span scope type error message. -
MESSAGE_NOT_OF_TYPE
Message not of type message. -
REQUEST_VALUE_NOT_VALID
Request value not valid message. -
EVENT_DATA_DOES_NOT_FIT
Event data doesn't fit message. -
CANNOT_SEND_EVENT_BATCH_EMPTY
Cannot send empty event batch message. -
ERROR_SENDING_BATCH
Error sending batch message. -
FAILED_TO_CLAIM_OWNERSHIP
Failed to claim ownership message. -
LOAD_BALANCING_FAILED
Load balancing failed message. -
EVENT_PROCESSOR_RUN_END
Event processor run end message. -
FAILED_CLOSE_CONSUMER_PARTITION
Failed to close consumer partition message. -
ERROR_OCCURRED_IN_SUBSCRIBER_ERROR
Error occurred in subscriber error message. -
EXCEPTION_OCCURRED_WHILE_EMITTING
Exception occurred while emitting message.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getMessage
- Parameters:
key
- the key of the message to retrieve- Returns:
- the message matching the given key
-