Class ApiStatus.ApiStatusKey
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.confluent.databalancer.record.ApiStatus.ApiStatusKey
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ApiStatus.ApiStatusKeyOrBuilder,Serializable
- Enclosing class:
ApiStatus
public static final class ApiStatus.ApiStatusKey
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classrepeated can not be used directly in oneof (https://developers.google.com/protocol-buffers/docs/proto3#using_oneof) so there are two brokerId-type fields.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionbooleanintFor 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)intgetBrokerIds(int index) For operations acting on multiple brokers: REMOVE_BROKER_V2intFor operations acting on multiple brokers: REMOVE_BROKER_V2For operations acting on multiple brokers: REMOVE_BROKER_V2.databalancer.ApiType configType = 1;int.databalancer.ApiType configType = 1;static ApiStatus.ApiStatusKeystatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<ApiStatus.ApiStatusKey> intinthashCode()final booleannewBuilder(ApiStatus.ApiStatusKey prototype) static ApiStatus.ApiStatusKeyparseDelimitedFrom(InputStream input) static ApiStatus.ApiStatusKeyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ApiStatus.ApiStatusKeyparseFrom(byte[] data) static ApiStatus.ApiStatusKeyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ApiStatus.ApiStatusKeyparseFrom(com.google.protobuf.ByteString data) static ApiStatus.ApiStatusKeyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ApiStatus.ApiStatusKeyparseFrom(com.google.protobuf.CodedInputStream input) static ApiStatus.ApiStatusKeyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ApiStatus.ApiStatusKeyparseFrom(InputStream input) static ApiStatus.ApiStatusKeyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ApiStatus.ApiStatusKeyparseFrom(ByteBuffer data) static ApiStatus.ApiStatusKeyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ApiStatus.ApiStatusKey> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CONFIGTYPE_FIELD_NUMBER
public static final int CONFIGTYPE_FIELD_NUMBER- See Also:
-
BROKERID_FIELD_NUMBER
public static final int BROKERID_FIELD_NUMBER- See Also:
-
BROKERIDS_FIELD_NUMBER
public static final int BROKERIDS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getConfigTypeValue
public int getConfigTypeValue().databalancer.ApiType configType = 1;- Specified by:
getConfigTypeValuein interfaceApiStatus.ApiStatusKeyOrBuilder- Returns:
- The enum numeric value on the wire for configType.
-
getConfigType
.databalancer.ApiType configType = 1;- Specified by:
getConfigTypein interfaceApiStatus.ApiStatusKeyOrBuilder- Returns:
- The configType.
-
getBrokerId
public 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;- Specified by:
getBrokerIdin interfaceApiStatus.ApiStatusKeyOrBuilder- Returns:
- The brokerId.
-
getBrokerIdsList
For operations acting on multiple brokers: REMOVE_BROKER_V2
repeated int32 brokerIds = 3;- Specified by:
getBrokerIdsListin interfaceApiStatus.ApiStatusKeyOrBuilder- Returns:
- A list containing the brokerIds.
-
getBrokerIdsCount
public int getBrokerIdsCount()For operations acting on multiple brokers: REMOVE_BROKER_V2
repeated int32 brokerIds = 3;- Specified by:
getBrokerIdsCountin interfaceApiStatus.ApiStatusKeyOrBuilder- Returns:
- The count of brokerIds.
-
getBrokerIds
public int getBrokerIds(int index) For operations acting on multiple brokers: REMOVE_BROKER_V2
repeated int32 brokerIds = 3;- Specified by:
getBrokerIdsin interfaceApiStatus.ApiStatusKeyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The brokerIds at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ApiStatus.ApiStatusKey parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiStatus.ApiStatusKey parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiStatus.ApiStatusKey parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiStatus.ApiStatusKey parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiStatus.ApiStatusKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiStatus.ApiStatusKey parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ApiStatus.ApiStatusKey parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ApiStatus.ApiStatusKey parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ApiStatus.ApiStatusKey parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ApiStatus.ApiStatusKey parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-