public static final class CommandSubscription.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommandSubscription.Builder> implements CommandSubscriptionOrBuilder
Message describing a component's capability of handling a command typeProtobuf type
io.axoniq.axonserver.grpc.command.CommandSubscription| Modifier and Type | Method and Description |
|---|---|
CommandSubscription.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommandSubscription |
build() |
CommandSubscription |
buildPartial() |
CommandSubscription.Builder |
clear() |
CommandSubscription.Builder |
clearClientId()
The unique identifier of the component instance subscribing
|
CommandSubscription.Builder |
clearCommand()
The name of the command the component can handle
|
CommandSubscription.Builder |
clearComponentName()
The name/type of the component handling the command
|
CommandSubscription.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CommandSubscription.Builder |
clearLoadFactor()
A number that represents the client's relative load capacity compared to other clients.
|
CommandSubscription.Builder |
clearMessageId()
A unique identifier for this subscription.
|
CommandSubscription.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CommandSubscription.Builder |
clone() |
String |
getClientId()
The unique identifier of the component instance subscribing
|
com.google.protobuf.ByteString |
getClientIdBytes()
The unique identifier of the component instance subscribing
|
String |
getCommand()
The name of the command the component can handle
|
com.google.protobuf.ByteString |
getCommandBytes()
The name of the command the component can handle
|
String |
getComponentName()
The name/type of the component handling the command
|
com.google.protobuf.ByteString |
getComponentNameBytes()
The name/type of the component handling the command
|
CommandSubscription |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getLoadFactor()
A number that represents the client's relative load capacity compared to other clients.
|
String |
getMessageId()
A unique identifier for this subscription.
|
com.google.protobuf.ByteString |
getMessageIdBytes()
A unique identifier for this subscription.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CommandSubscription.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CommandSubscription.Builder |
mergeFrom(CommandSubscription other) |
CommandSubscription.Builder |
mergeFrom(com.google.protobuf.Message other) |
CommandSubscription.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CommandSubscription.Builder |
setClientId(String value)
The unique identifier of the component instance subscribing
|
CommandSubscription.Builder |
setClientIdBytes(com.google.protobuf.ByteString value)
The unique identifier of the component instance subscribing
|
CommandSubscription.Builder |
setCommand(String value)
The name of the command the component can handle
|
CommandSubscription.Builder |
setCommandBytes(com.google.protobuf.ByteString value)
The name of the command the component can handle
|
CommandSubscription.Builder |
setComponentName(String value)
The name/type of the component handling the command
|
CommandSubscription.Builder |
setComponentNameBytes(com.google.protobuf.ByteString value)
The name/type of the component handling the command
|
CommandSubscription.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommandSubscription.Builder |
setLoadFactor(int value)
A number that represents the client's relative load capacity compared to other clients.
|
CommandSubscription.Builder |
setMessageId(String value)
A unique identifier for this subscription.
|
CommandSubscription.Builder |
setMessageIdBytes(com.google.protobuf.ByteString value)
A unique identifier for this subscription.
|
CommandSubscription.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CommandSubscription.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CommandSubscription.Builder>public CommandSubscription.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CommandSubscription.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CommandSubscription.Builder>public CommandSubscription getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CommandSubscription build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CommandSubscription buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CommandSubscription.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CommandSubscription.Builder>public CommandSubscription.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CommandSubscription.Builder>public CommandSubscription.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CommandSubscription.Builder>public CommandSubscription.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CommandSubscription.Builder>public CommandSubscription.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CommandSubscription.Builder>public CommandSubscription.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CommandSubscription.Builder>public CommandSubscription.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommandSubscription.Builder>public CommandSubscription.Builder mergeFrom(CommandSubscription other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CommandSubscription.Builder>public CommandSubscription.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommandSubscription.Builder>IOExceptionpublic String getMessageId()
A unique identifier for this subscription. This identifier is returned in Acknowledgements to allow pipelining of subscription messages
string message_id = 1;getMessageId in interface CommandSubscriptionOrBuilderpublic 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;getMessageIdBytes in interface CommandSubscriptionOrBuilderpublic CommandSubscription.Builder setMessageId(String value)
A unique identifier for this subscription. This identifier is returned in Acknowledgements to allow pipelining of subscription messages
string message_id = 1;public CommandSubscription.Builder clearMessageId()
A unique identifier for this subscription. This identifier is returned in Acknowledgements to allow pipelining of subscription messages
string message_id = 1;public CommandSubscription.Builder setMessageIdBytes(com.google.protobuf.ByteString value)
A unique identifier for this subscription. This identifier is returned in Acknowledgements to allow pipelining of subscription messages
string message_id = 1;public String getCommand()
The name of the command the component can handle
string command = 2;getCommand in interface CommandSubscriptionOrBuilderpublic com.google.protobuf.ByteString getCommandBytes()
The name of the command the component can handle
string command = 2;getCommandBytes in interface CommandSubscriptionOrBuilderpublic CommandSubscription.Builder setCommand(String value)
The name of the command the component can handle
string command = 2;public CommandSubscription.Builder clearCommand()
The name of the command the component can handle
string command = 2;public CommandSubscription.Builder setCommandBytes(com.google.protobuf.ByteString value)
The name of the command the component can handle
string command = 2;public String getComponentName()
The name/type of the component handling the command
string component_name = 3;getComponentName in interface CommandSubscriptionOrBuilderpublic com.google.protobuf.ByteString getComponentNameBytes()
The name/type of the component handling the command
string component_name = 3;getComponentNameBytes in interface CommandSubscriptionOrBuilderpublic CommandSubscription.Builder setComponentName(String value)
The name/type of the component handling the command
string component_name = 3;public CommandSubscription.Builder clearComponentName()
The name/type of the component handling the command
string component_name = 3;public CommandSubscription.Builder setComponentNameBytes(com.google.protobuf.ByteString value)
The name/type of the component handling the command
string component_name = 3;public String getClientId()
The unique identifier of the component instance subscribing
string client_id = 4;getClientId in interface CommandSubscriptionOrBuilderpublic com.google.protobuf.ByteString getClientIdBytes()
The unique identifier of the component instance subscribing
string client_id = 4;getClientIdBytes in interface CommandSubscriptionOrBuilderpublic CommandSubscription.Builder setClientId(String value)
The unique identifier of the component instance subscribing
string client_id = 4;public CommandSubscription.Builder clearClientId()
The unique identifier of the component instance subscribing
string client_id = 4;public CommandSubscription.Builder setClientIdBytes(com.google.protobuf.ByteString value)
The unique identifier of the component instance subscribing
string client_id = 4;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;getLoadFactor in interface CommandSubscriptionOrBuilderpublic CommandSubscription.Builder setLoadFactor(int value)
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;public CommandSubscription.Builder clearLoadFactor()
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;public final CommandSubscription.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CommandSubscription.Builder>public final CommandSubscription.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CommandSubscription.Builder>Copyright © 2010–2020. All rights reserved.