public static final class ApiStatus.ApiStatusKey extends com.google.protobuf.GeneratedMessageV3 implements ApiStatus.ApiStatusKeyOrBuilder
repeated can not be used directly in oneof (https://developers.google.com/protocol-buffers/docs/proto3#using_oneof) so there are two brokerId-type fields. Only one should be set.Protobuf type
databalancer.ApiStatusKey| Modifier and Type | Class and Description |
|---|---|
static class |
ApiStatus.ApiStatusKey.Builder
repeated can not be used directly in oneof (https://developers.google.com/protocol-buffers/docs/proto3#using_oneof)
so there are two brokerId-type fields.
|
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
BROKERID_FIELD_NUMBER |
static int |
BROKERIDS_FIELD_NUMBER |
static int |
CONFIGTYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getBrokerId()
For operations that act on a single (or no) broker at a time (ADD_BROKER, REMOVE_BROKER(v1), EVEN_CLUSTER_LOAD, FAILED_BROKER_LIST, CELL_OVERLOAD_OCCURRENCE_DELTA, CELLS)
|
int |
getBrokerIds(int index)
For operations acting on multiple brokers: REMOVE_BROKER_V2
|
int |
getBrokerIdsCount()
For operations acting on multiple brokers: REMOVE_BROKER_V2
|
List<Integer> |
getBrokerIdsList()
For operations acting on multiple brokers: REMOVE_BROKER_V2
|
ApiStatus.ApiType |
getConfigType()
.databalancer.ApiType configType = 1; |
int |
getConfigTypeValue()
.databalancer.ApiType configType = 1; |
static ApiStatus.ApiStatusKey |
getDefaultInstance() |
ApiStatus.ApiStatusKey |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ApiStatus.ApiStatusKey> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
boolean |
isInitialized() |
static ApiStatus.ApiStatusKey.Builder |
newBuilder() |
static ApiStatus.ApiStatusKey.Builder |
newBuilder(ApiStatus.ApiStatusKey prototype) |
ApiStatus.ApiStatusKey.Builder |
newBuilderForType() |
static ApiStatus.ApiStatusKey |
parseDelimitedFrom(InputStream input) |
static ApiStatus.ApiStatusKey |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ApiStatus.ApiStatusKey |
parseFrom(byte[] data) |
static ApiStatus.ApiStatusKey |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ApiStatus.ApiStatusKey |
parseFrom(ByteBuffer data) |
static ApiStatus.ApiStatusKey |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ApiStatus.ApiStatusKey |
parseFrom(com.google.protobuf.ByteString data) |
static ApiStatus.ApiStatusKey |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ApiStatus.ApiStatusKey |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ApiStatus.ApiStatusKey |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ApiStatus.ApiStatusKey |
parseFrom(InputStream input) |
static ApiStatus.ApiStatusKey |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ApiStatus.ApiStatusKey> |
parser() |
ApiStatus.ApiStatusKey.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int CONFIGTYPE_FIELD_NUMBER
public static final int BROKERID_FIELD_NUMBER
public static final int BROKERIDS_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public int getConfigTypeValue()
.databalancer.ApiType configType = 1;getConfigTypeValue in interface ApiStatus.ApiStatusKeyOrBuilderpublic ApiStatus.ApiType getConfigType()
.databalancer.ApiType configType = 1;getConfigType in interface ApiStatus.ApiStatusKeyOrBuilderpublic int getBrokerId()
For operations that act on a single (or no) broker at a time (ADD_BROKER, REMOVE_BROKER(v1), EVEN_CLUSTER_LOAD, FAILED_BROKER_LIST, CELL_OVERLOAD_OCCURRENCE_DELTA, CELLS)
int32 brokerId = 2;getBrokerId in interface ApiStatus.ApiStatusKeyOrBuilderpublic List<Integer> getBrokerIdsList()
For operations acting on multiple brokers: REMOVE_BROKER_V2
repeated int32 brokerIds = 3;getBrokerIdsList in interface ApiStatus.ApiStatusKeyOrBuilderpublic int getBrokerIdsCount()
For operations acting on multiple brokers: REMOVE_BROKER_V2
repeated int32 brokerIds = 3;getBrokerIdsCount in interface ApiStatus.ApiStatusKeyOrBuilderpublic int getBrokerIds(int index)
For operations acting on multiple brokers: REMOVE_BROKER_V2
repeated int32 brokerIds = 3;getBrokerIds in interface ApiStatus.ApiStatusKeyOrBuilderindex - The index of the element to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ApiStatus.ApiStatusKey parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ApiStatus.ApiStatusKey parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ApiStatus.ApiStatusKey parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ApiStatus.ApiStatusKey parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ApiStatus.ApiStatusKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ApiStatus.ApiStatusKey parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ApiStatus.ApiStatusKey parseFrom(InputStream input) throws IOException
IOExceptionpublic static ApiStatus.ApiStatusKey parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ApiStatus.ApiStatusKey parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ApiStatus.ApiStatusKey parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ApiStatus.ApiStatusKey parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ApiStatus.ApiStatusKey parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ApiStatus.ApiStatusKey.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ApiStatus.ApiStatusKey.Builder newBuilder()
public static ApiStatus.ApiStatusKey.Builder newBuilder(ApiStatus.ApiStatusKey prototype)
public ApiStatus.ApiStatusKey.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLitepublic static ApiStatus.ApiStatusKey getDefaultInstance()
public static com.google.protobuf.Parser<ApiStatus.ApiStatusKey> parser()
public com.google.protobuf.Parser<ApiStatus.ApiStatusKey> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ApiStatus.ApiStatusKey getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder