public static enum RemoveBroker.RemovalRecordVersion extends Enum<RemoveBroker.RemovalRecordVersion> implements com.google.protobuf.ProtocolMessageEnum
Version numbersProtobuf enum
databalancer.RemovalRecordVersion
Enum Constant and Description |
---|
remove_version_1
Initial release (CP6.0), with broker shutdown before removal
See https://confluentinc.atlassian.net/wiki/spaces/CNKAF/pages/1219931556/SBK+Remove+Broker+Mega-Pager
|
remove_version_2
CP 7.0: multi-broker removal with exclusion: shutdown optional
and at the end of the operation.
|
remove_version_invalid
Invalid version
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
remove_version_1_VALUE
Initial release (CP6.0), with broker shutdown before removal
See https://confluentinc.atlassian.net/wiki/spaces/CNKAF/pages/1219931556/SBK+Remove+Broker+Mega-Pager
|
static int |
remove_version_2_VALUE
CP 7.0: multi-broker removal with exclusion: shutdown optional
and at the end of the operation.
|
static int |
remove_version_invalid_VALUE
Invalid version
|
Modifier and Type | Method and Description |
---|---|
static RemoveBroker.RemovalRecordVersion |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<RemoveBroker.RemovalRecordVersion> |
internalGetValueMap() |
static RemoveBroker.RemovalRecordVersion |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RemoveBroker.RemovalRecordVersion |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RemoveBroker.RemovalRecordVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RemoveBroker.RemovalRecordVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RemoveBroker.RemovalRecordVersion remove_version_invalid
Invalid version
remove_version_invalid = 0;
public static final RemoveBroker.RemovalRecordVersion remove_version_1
Initial release (CP6.0), with broker shutdown before removal See https://confluentinc.atlassian.net/wiki/spaces/CNKAF/pages/1219931556/SBK+Remove+Broker+Mega-Pager
remove_version_1 = 1;
public static final RemoveBroker.RemovalRecordVersion remove_version_2
CP 7.0: multi-broker removal with exclusion: shutdown optional and at the end of the operation. "shouldShutDown" added support multiple brokers in the record. https://confluentinc.atlassian.net/wiki/spaces/CNKAF/pages/2097985596/Broker%2BRemoval%2Bv2%2BMultiple%2BBroker%2BRemoval%2BWith%2BDebarment%2B-%2BKafka%2B1-pager
remove_version_2 = 2;
public static final RemoveBroker.RemovalRecordVersion UNRECOGNIZED
public static final int remove_version_invalid_VALUE
Invalid version
remove_version_invalid = 0;
public static final int remove_version_1_VALUE
Initial release (CP6.0), with broker shutdown before removal See https://confluentinc.atlassian.net/wiki/spaces/CNKAF/pages/1219931556/SBK+Remove+Broker+Mega-Pager
remove_version_1 = 1;
public static final int remove_version_2_VALUE
CP 7.0: multi-broker removal with exclusion: shutdown optional and at the end of the operation. "shouldShutDown" added support multiple brokers in the record. https://confluentinc.atlassian.net/wiki/spaces/CNKAF/pages/2097985596/Broker%2BRemoval%2Bv2%2BMultiple%2BBroker%2BRemoval%2BWith%2BDebarment%2B-%2BKafka%2B1-pager
remove_version_2 = 2;
public static RemoveBroker.RemovalRecordVersion[] values()
for (RemoveBroker.RemovalRecordVersion c : RemoveBroker.RemovalRecordVersion.values()) System.out.println(c);
public static RemoveBroker.RemovalRecordVersion 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 com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static RemoveBroker.RemovalRecordVersion valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static RemoveBroker.RemovalRecordVersion forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RemoveBroker.RemovalRecordVersion> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RemoveBroker.RemovalRecordVersion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)