public static interface RemoveBroker.BrokerRemovalStateRecordProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getBrokerId()
V1-only: when only one broker could be removed at a time.
|
int |
getBrokerIds(int index)
V2+: supporting multiple-broker removal
|
int |
getBrokerIdsCount()
V2+: supporting multiple-broker removal
|
List<Integer> |
getBrokerIdsList()
V2+: supporting multiple-broker removal
|
String |
getError()
exception serialized as Base64 string
|
com.google.protobuf.ByteString |
getErrorBytes()
exception serialized as Base64 string
|
long |
getLastUpdateTime()
int64 lastUpdateTime = 6; |
RemoveBroker.RemovalState |
getRemovalState()
the state of the broker removal operation
|
int |
getRemovalStateValue()
the state of the broker removal operation
|
boolean |
getShouldShutDown()
bool shouldShutDown = 7; |
long |
getStartTime()
int64 startTime = 5; |
int |
getVersion()
Version to allow change in exception/state serialization if needed.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
int getVersion()
Version to allow change in exception/state serialization if needed.
int32 version = 1;
int getBrokerId()
V1-only: when only one broker could be removed at a time.
int32 brokerId = 2;
List<Integer> getBrokerIdsList()
V2+: supporting multiple-broker removal
repeated int32 brokerIds = 8;
int getBrokerIdsCount()
V2+: supporting multiple-broker removal
repeated int32 brokerIds = 8;
int getBrokerIds(int index)
V2+: supporting multiple-broker removal
repeated int32 brokerIds = 8;
index
- The index of the element to return.String getError()
exception serialized as Base64 string
string error = 3;
com.google.protobuf.ByteString getErrorBytes()
exception serialized as Base64 string
string error = 3;
int getRemovalStateValue()
the state of the broker removal operation
.databalancer.RemovalState removal_state = 4;
RemoveBroker.RemovalState getRemovalState()
the state of the broker removal operation
.databalancer.RemovalState removal_state = 4;
long getStartTime()
int64 startTime = 5;
long getLastUpdateTime()
int64 lastUpdateTime = 6;
boolean getShouldShutDown()
bool shouldShutDown = 7;