public static enum PulsarApi.CommandAck.ValidationError extends Enum<PulsarApi.CommandAck.ValidationError> implements org.apache.pulsar.shaded.com.google.protobuf.v241.Internal.EnumLite
| Enum Constant and Description |
|---|
BatchDeSerializeError |
ChecksumMismatch |
DecompressionError |
DecryptionError |
UncompressedSizeCorruption |
| Modifier and Type | Field and Description |
|---|---|
static int |
BatchDeSerializeError_VALUE |
static int |
ChecksumMismatch_VALUE |
static int |
DecompressionError_VALUE |
static int |
DecryptionError_VALUE |
static int |
UncompressedSizeCorruption_VALUE |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumber() |
static org.apache.pulsar.shaded.com.google.protobuf.v241.Internal.EnumLiteMap<PulsarApi.CommandAck.ValidationError> |
internalGetValueMap() |
static PulsarApi.CommandAck.ValidationError |
valueOf(int value) |
static PulsarApi.CommandAck.ValidationError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PulsarApi.CommandAck.ValidationError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PulsarApi.CommandAck.ValidationError UncompressedSizeCorruption
public static final PulsarApi.CommandAck.ValidationError DecompressionError
public static final PulsarApi.CommandAck.ValidationError ChecksumMismatch
public static final PulsarApi.CommandAck.ValidationError BatchDeSerializeError
public static final PulsarApi.CommandAck.ValidationError DecryptionError
public static final int UncompressedSizeCorruption_VALUE
public static final int DecompressionError_VALUE
public static final int ChecksumMismatch_VALUE
public static final int BatchDeSerializeError_VALUE
public static final int DecryptionError_VALUE
public static PulsarApi.CommandAck.ValidationError[] values()
for (PulsarApi.CommandAck.ValidationError c : PulsarApi.CommandAck.ValidationError.values()) System.out.println(c);
public static PulsarApi.CommandAck.ValidationError 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 final int getNumber()
getNumber in interface org.apache.pulsar.shaded.com.google.protobuf.v241.Internal.EnumLitepublic static PulsarApi.CommandAck.ValidationError valueOf(int value)
public static org.apache.pulsar.shaded.com.google.protobuf.v241.Internal.EnumLiteMap<PulsarApi.CommandAck.ValidationError> internalGetValueMap()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.