Class CommandSubscription
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.axoniq.axonserver.grpc.command.CommandSubscription
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CommandSubscriptionOrBuilder,Serializable
@Generated public final class CommandSubscription extends com.google.protobuf.GeneratedMessage implements CommandSubscriptionOrBuilder
Message describing a component's capability of handling a command type
Protobuf typeio.axoniq.axonserver.grpc.command.CommandSubscription- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommandSubscription.BuilderMessage describing a component's capability of handling a command type-
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 extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCLIENT_ID_FIELD_NUMBERstatic intCOMMAND_FIELD_NUMBERstatic intCOMPONENT_NAME_FIELD_NUMBERstatic intLOAD_FACTOR_FIELD_NUMBERstatic intMESSAGE_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetClientId()The unique identifier of the component instance subscribingcom.google.protobuf.ByteStringgetClientIdBytes()The unique identifier of the component instance subscribingStringgetCommand()The name of the command the component can handlecom.google.protobuf.ByteStringgetCommandBytes()The name of the command the component can handleStringgetComponentName()The name/type of the component handling the commandcom.google.protobuf.ByteStringgetComponentNameBytes()The name/type of the component handling the commandstatic CommandSubscriptiongetDefaultInstance()CommandSubscriptiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetLoadFactor()A number that represents the client's relative load capacity compared to other clients.StringgetMessageId()A unique identifier for this subscription.com.google.protobuf.ByteStringgetMessageIdBytes()A unique identifier for this subscription.com.google.protobuf.Parser<CommandSubscription>getParserForType()intgetSerializedSize()inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static CommandSubscription.BuildernewBuilder()static CommandSubscription.BuildernewBuilder(CommandSubscription prototype)CommandSubscription.BuildernewBuilderForType()protected CommandSubscription.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static CommandSubscriptionparseDelimitedFrom(InputStream input)static CommandSubscriptionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommandSubscriptionparseFrom(byte[] data)static CommandSubscriptionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommandSubscriptionparseFrom(com.google.protobuf.ByteString data)static CommandSubscriptionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommandSubscriptionparseFrom(com.google.protobuf.CodedInputStream input)static CommandSubscriptionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommandSubscriptionparseFrom(InputStream input)static CommandSubscriptionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommandSubscriptionparseFrom(ByteBuffer data)static CommandSubscriptionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<CommandSubscription>parser()CommandSubscription.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
MESSAGE_ID_FIELD_NUMBER
public static final int MESSAGE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMMAND_FIELD_NUMBER
public static final int COMMAND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPONENT_NAME_FIELD_NUMBER
public static final int COMPONENT_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLIENT_ID_FIELD_NUMBER
public static final int CLIENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOAD_FACTOR_FIELD_NUMBER
public static final int LOAD_FACTOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getMessageId
public String getMessageId()
A unique identifier for this subscription. This identifier is returned in Acknowledgements to allow pipelining of subscription messages
string message_id = 1;- Specified by:
getMessageIdin interfaceCommandSubscriptionOrBuilder- Returns:
- The messageId.
-
getMessageIdBytes
public com.google.protobuf.ByteString getMessageIdBytes()
A unique identifier for this subscription. This identifier is returned in Acknowledgements to allow pipelining of subscription messages
string message_id = 1;- Specified by:
getMessageIdBytesin interfaceCommandSubscriptionOrBuilder- Returns:
- The bytes for messageId.
-
getCommand
public String getCommand()
The name of the command the component can handle
string command = 2;- Specified by:
getCommandin interfaceCommandSubscriptionOrBuilder- Returns:
- The command.
-
getCommandBytes
public com.google.protobuf.ByteString getCommandBytes()
The name of the command the component can handle
string command = 2;- Specified by:
getCommandBytesin interfaceCommandSubscriptionOrBuilder- Returns:
- The bytes for command.
-
getComponentName
public String getComponentName()
The name/type of the component handling the command
string component_name = 3;- Specified by:
getComponentNamein interfaceCommandSubscriptionOrBuilder- Returns:
- The componentName.
-
getComponentNameBytes
public com.google.protobuf.ByteString getComponentNameBytes()
The name/type of the component handling the command
string component_name = 3;- Specified by:
getComponentNameBytesin interfaceCommandSubscriptionOrBuilder- Returns:
- The bytes for componentName.
-
getClientId
public String getClientId()
The unique identifier of the component instance subscribing
string client_id = 4;- Specified by:
getClientIdin interfaceCommandSubscriptionOrBuilder- Returns:
- The clientId.
-
getClientIdBytes
public com.google.protobuf.ByteString getClientIdBytes()
The unique identifier of the component instance subscribing
string client_id = 4;- Specified by:
getClientIdBytesin interfaceCommandSubscriptionOrBuilder- Returns:
- The bytes for clientId.
-
getLoadFactor
public int getLoadFactor()
A number that represents the client's relative load capacity compared to other clients. This information is interpreted by Axon Server in relation to the other connected nodes' values. Used to balance the dispatching of commands. If set to 0, Axon Server consider 100 as default value.
int32 load_factor = 5;- Specified by:
getLoadFactorin interfaceCommandSubscriptionOrBuilder- Returns:
- The loadFactor.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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 CommandSubscription parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandSubscription parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandSubscription parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandSubscription parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandSubscription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandSubscription parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandSubscription parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CommandSubscription parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CommandSubscription parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CommandSubscription parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static CommandSubscription parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CommandSubscription parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public CommandSubscription.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CommandSubscription.Builder newBuilder()
-
newBuilder
public static CommandSubscription.Builder newBuilder(CommandSubscription prototype)
-
toBuilder
public CommandSubscription.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CommandSubscription.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static CommandSubscription getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CommandSubscription> parser()
-
getParserForType
public com.google.protobuf.Parser<CommandSubscription> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public CommandSubscription getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-