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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandSubscription.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandSubscription.Builder>
public CommandSubscription getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CommandSubscription build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CommandSubscription buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CommandSubscription.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CommandSubscription.Builder>
IOException
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;
getMessageId
in interface CommandSubscriptionOrBuilder
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;
getMessageIdBytes
in interface CommandSubscriptionOrBuilder
public 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 CommandSubscriptionOrBuilder
public com.google.protobuf.ByteString getCommandBytes()
The name of the command the component can handle
string command = 2;
getCommandBytes
in interface CommandSubscriptionOrBuilder
public 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 CommandSubscriptionOrBuilder
public com.google.protobuf.ByteString getComponentNameBytes()
The name/type of the component handling the command
string component_name = 3;
getComponentNameBytes
in interface CommandSubscriptionOrBuilder
public 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 CommandSubscriptionOrBuilder
public com.google.protobuf.ByteString getClientIdBytes()
The unique identifier of the component instance subscribing
string client_id = 4;
getClientIdBytes
in interface CommandSubscriptionOrBuilder
public 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 CommandSubscriptionOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandSubscription.Builder>
Copyright © 2010–2020. All rights reserved.