public static final class Command.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder> implements CommandOrBuilder
A message representing a Command that needs to be routed to a component capable of handling itProtobuf type
io.axoniq.axonserver.grpc.command.Command| Modifier and Type | Method and Description |
|---|---|
Command.Builder |
addAllProcessingInstructions(Iterable<? extends ProcessingInstruction> values)
Instructions for AxonServer when routing this Command Message
|
Command.Builder |
addProcessingInstructions(int index,
ProcessingInstruction.Builder builderForValue)
Instructions for AxonServer when routing this Command Message
|
Command.Builder |
addProcessingInstructions(int index,
ProcessingInstruction value)
Instructions for AxonServer when routing this Command Message
|
Command.Builder |
addProcessingInstructions(ProcessingInstruction.Builder builderForValue)
Instructions for AxonServer when routing this Command Message
|
Command.Builder |
addProcessingInstructions(ProcessingInstruction value)
Instructions for AxonServer when routing this Command Message
|
ProcessingInstruction.Builder |
addProcessingInstructionsBuilder()
Instructions for AxonServer when routing this Command Message
|
ProcessingInstruction.Builder |
addProcessingInstructionsBuilder(int index)
Instructions for AxonServer when routing this Command Message
|
Command.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Command |
build() |
Command |
buildPartial() |
Command.Builder |
clear() |
Command.Builder |
clearClientId()
The unique identifier of the component dispatching this message
|
Command.Builder |
clearComponentName()
The name/type of the component dispatching this message
|
Command.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Command.Builder |
clearMessageIdentifier()
The unique identifier of the Command Message
|
Command.Builder |
clearMetaData() |
Command.Builder |
clearName()
The name of the command, used for routing it to a destination capable of handling it
|
Command.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Command.Builder |
clearPayload()
The payload of the Command, providing details on the instructions for the recipient
|
Command.Builder |
clearProcessingInstructions()
Instructions for AxonServer when routing this Command Message
|
Command.Builder |
clearTimestamp()
The time at which the command was dispatched
|
Command.Builder |
clone() |
boolean |
containsMetaData(String key)
Meta Data entries of the Command Message, providing contextual information to the recipient
|
String |
getClientId()
The unique identifier of the component dispatching this message
|
com.google.protobuf.ByteString |
getClientIdBytes()
The unique identifier of the component dispatching this message
|
String |
getComponentName()
The name/type of the component dispatching this message
|
com.google.protobuf.ByteString |
getComponentNameBytes()
The name/type of the component dispatching this message
|
Command |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMessageIdentifier()
The unique identifier of the Command Message
|
com.google.protobuf.ByteString |
getMessageIdentifierBytes()
The unique identifier of the Command Message
|
Map<String,MetaDataValue> |
getMetaData()
Deprecated.
|
int |
getMetaDataCount()
Meta Data entries of the Command Message, providing contextual information to the recipient
|
Map<String,MetaDataValue> |
getMetaDataMap()
Meta Data entries of the Command Message, providing contextual information to the recipient
|
MetaDataValue |
getMetaDataOrDefault(String key,
MetaDataValue defaultValue)
Meta Data entries of the Command Message, providing contextual information to the recipient
|
MetaDataValue |
getMetaDataOrThrow(String key)
Meta Data entries of the Command Message, providing contextual information to the recipient
|
Map<String,MetaDataValue> |
getMutableMetaData()
Deprecated.
|
String |
getName()
The name of the command, used for routing it to a destination capable of handling it
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the command, used for routing it to a destination capable of handling it
|
SerializedObject |
getPayload()
The payload of the Command, providing details on the instructions for the recipient
|
SerializedObject.Builder |
getPayloadBuilder()
The payload of the Command, providing details on the instructions for the recipient
|
SerializedObjectOrBuilder |
getPayloadOrBuilder()
The payload of the Command, providing details on the instructions for the recipient
|
ProcessingInstruction |
getProcessingInstructions(int index)
Instructions for AxonServer when routing this Command Message
|
ProcessingInstruction.Builder |
getProcessingInstructionsBuilder(int index)
Instructions for AxonServer when routing this Command Message
|
List<ProcessingInstruction.Builder> |
getProcessingInstructionsBuilderList()
Instructions for AxonServer when routing this Command Message
|
int |
getProcessingInstructionsCount()
Instructions for AxonServer when routing this Command Message
|
List<ProcessingInstruction> |
getProcessingInstructionsList()
Instructions for AxonServer when routing this Command Message
|
ProcessingInstructionOrBuilder |
getProcessingInstructionsOrBuilder(int index)
Instructions for AxonServer when routing this Command Message
|
List<? extends ProcessingInstructionOrBuilder> |
getProcessingInstructionsOrBuilderList()
Instructions for AxonServer when routing this Command Message
|
long |
getTimestamp()
The time at which the command was dispatched
|
boolean |
hasPayload()
The payload of the Command, providing details on the instructions for the recipient
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Command.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Command.Builder |
mergeFrom(Command other) |
Command.Builder |
mergeFrom(com.google.protobuf.Message other) |
Command.Builder |
mergePayload(SerializedObject value)
The payload of the Command, providing details on the instructions for the recipient
|
Command.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Command.Builder |
putAllMetaData(Map<String,MetaDataValue> values)
Meta Data entries of the Command Message, providing contextual information to the recipient
|
Command.Builder |
putMetaData(String key,
MetaDataValue value)
Meta Data entries of the Command Message, providing contextual information to the recipient
|
Command.Builder |
removeMetaData(String key)
Meta Data entries of the Command Message, providing contextual information to the recipient
|
Command.Builder |
removeProcessingInstructions(int index)
Instructions for AxonServer when routing this Command Message
|
Command.Builder |
setClientId(String value)
The unique identifier of the component dispatching this message
|
Command.Builder |
setClientIdBytes(com.google.protobuf.ByteString value)
The unique identifier of the component dispatching this message
|
Command.Builder |
setComponentName(String value)
The name/type of the component dispatching this message
|
Command.Builder |
setComponentNameBytes(com.google.protobuf.ByteString value)
The name/type of the component dispatching this message
|
Command.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Command.Builder |
setMessageIdentifier(String value)
The unique identifier of the Command Message
|
Command.Builder |
setMessageIdentifierBytes(com.google.protobuf.ByteString value)
The unique identifier of the Command Message
|
Command.Builder |
setName(String value)
The name of the command, used for routing it to a destination capable of handling it
|
Command.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the command, used for routing it to a destination capable of handling it
|
Command.Builder |
setPayload(SerializedObject.Builder builderForValue)
The payload of the Command, providing details on the instructions for the recipient
|
Command.Builder |
setPayload(SerializedObject value)
The payload of the Command, providing details on the instructions for the recipient
|
Command.Builder |
setProcessingInstructions(int index,
ProcessingInstruction.Builder builderForValue)
Instructions for AxonServer when routing this Command Message
|
Command.Builder |
setProcessingInstructions(int index,
ProcessingInstruction value)
Instructions for AxonServer when routing this Command Message
|
Command.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Command.Builder |
setTimestamp(long value)
The time at which the command was dispatched
|
Command.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, 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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>public Command.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Command.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<Command.Builder>public Command getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Command build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Command buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Command.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>public Command.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<Command.Builder>public Command.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>public Command.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>public Command.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<Command.Builder>public Command.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<Command.Builder>public Command.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Command.Builder>public Command.Builder mergeFrom(Command other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>public Command.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<Command.Builder>IOExceptionpublic String getMessageIdentifier()
The unique identifier of the Command Message
string message_identifier = 1;getMessageIdentifier in interface CommandOrBuilderpublic com.google.protobuf.ByteString getMessageIdentifierBytes()
The unique identifier of the Command Message
string message_identifier = 1;getMessageIdentifierBytes in interface CommandOrBuilderpublic Command.Builder setMessageIdentifier(String value)
The unique identifier of the Command Message
string message_identifier = 1;public Command.Builder clearMessageIdentifier()
The unique identifier of the Command Message
string message_identifier = 1;public Command.Builder setMessageIdentifierBytes(com.google.protobuf.ByteString value)
The unique identifier of the Command Message
string message_identifier = 1;public String getName()
The name of the command, used for routing it to a destination capable of handling it
string name = 2;getName in interface CommandOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the command, used for routing it to a destination capable of handling it
string name = 2;getNameBytes in interface CommandOrBuilderpublic Command.Builder setName(String value)
The name of the command, used for routing it to a destination capable of handling it
string name = 2;public Command.Builder clearName()
The name of the command, used for routing it to a destination capable of handling it
string name = 2;public Command.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the command, used for routing it to a destination capable of handling it
string name = 2;public long getTimestamp()
The time at which the command was dispatched
int64 timestamp = 3;getTimestamp in interface CommandOrBuilderpublic Command.Builder setTimestamp(long value)
The time at which the command was dispatched
int64 timestamp = 3;public Command.Builder clearTimestamp()
The time at which the command was dispatched
int64 timestamp = 3;public boolean hasPayload()
The payload of the Command, providing details on the instructions for the recipient
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;hasPayload in interface CommandOrBuilderpublic SerializedObject getPayload()
The payload of the Command, providing details on the instructions for the recipient
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;getPayload in interface CommandOrBuilderpublic Command.Builder setPayload(SerializedObject value)
The payload of the Command, providing details on the instructions for the recipient
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;public Command.Builder setPayload(SerializedObject.Builder builderForValue)
The payload of the Command, providing details on the instructions for the recipient
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;public Command.Builder mergePayload(SerializedObject value)
The payload of the Command, providing details on the instructions for the recipient
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;public Command.Builder clearPayload()
The payload of the Command, providing details on the instructions for the recipient
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;public SerializedObject.Builder getPayloadBuilder()
The payload of the Command, providing details on the instructions for the recipient
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;public SerializedObjectOrBuilder getPayloadOrBuilder()
The payload of the Command, providing details on the instructions for the recipient
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;getPayloadOrBuilder in interface CommandOrBuilderpublic int getMetaDataCount()
CommandOrBuilderMeta Data entries of the Command Message, providing contextual information to the recipient
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;getMetaDataCount in interface CommandOrBuilderpublic boolean containsMetaData(String key)
Meta Data entries of the Command Message, providing contextual information to the recipient
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;containsMetaData in interface CommandOrBuilder@Deprecated public Map<String,MetaDataValue> getMetaData()
getMetaDataMap() instead.getMetaData in interface CommandOrBuilderpublic Map<String,MetaDataValue> getMetaDataMap()
Meta Data entries of the Command Message, providing contextual information to the recipient
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;getMetaDataMap in interface CommandOrBuilderpublic MetaDataValue getMetaDataOrDefault(String key, MetaDataValue defaultValue)
Meta Data entries of the Command Message, providing contextual information to the recipient
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;getMetaDataOrDefault in interface CommandOrBuilderpublic MetaDataValue getMetaDataOrThrow(String key)
Meta Data entries of the Command Message, providing contextual information to the recipient
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;getMetaDataOrThrow in interface CommandOrBuilderpublic Command.Builder clearMetaData()
public Command.Builder removeMetaData(String key)
Meta Data entries of the Command Message, providing contextual information to the recipient
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;@Deprecated public Map<String,MetaDataValue> getMutableMetaData()
public Command.Builder putMetaData(String key, MetaDataValue value)
Meta Data entries of the Command Message, providing contextual information to the recipient
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;public Command.Builder putAllMetaData(Map<String,MetaDataValue> values)
Meta Data entries of the Command Message, providing contextual information to the recipient
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;public List<ProcessingInstruction> getProcessingInstructionsList()
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;getProcessingInstructionsList in interface CommandOrBuilderpublic int getProcessingInstructionsCount()
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;getProcessingInstructionsCount in interface CommandOrBuilderpublic ProcessingInstruction getProcessingInstructions(int index)
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;getProcessingInstructions in interface CommandOrBuilderpublic Command.Builder setProcessingInstructions(int index, ProcessingInstruction value)
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;public Command.Builder setProcessingInstructions(int index, ProcessingInstruction.Builder builderForValue)
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;public Command.Builder addProcessingInstructions(ProcessingInstruction value)
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;public Command.Builder addProcessingInstructions(int index, ProcessingInstruction value)
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;public Command.Builder addProcessingInstructions(ProcessingInstruction.Builder builderForValue)
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;public Command.Builder addProcessingInstructions(int index, ProcessingInstruction.Builder builderForValue)
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;public Command.Builder addAllProcessingInstructions(Iterable<? extends ProcessingInstruction> values)
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;public Command.Builder clearProcessingInstructions()
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;public Command.Builder removeProcessingInstructions(int index)
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;public ProcessingInstruction.Builder getProcessingInstructionsBuilder(int index)
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;public ProcessingInstructionOrBuilder getProcessingInstructionsOrBuilder(int index)
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;getProcessingInstructionsOrBuilder in interface CommandOrBuilderpublic List<? extends ProcessingInstructionOrBuilder> getProcessingInstructionsOrBuilderList()
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;getProcessingInstructionsOrBuilderList in interface CommandOrBuilderpublic ProcessingInstruction.Builder addProcessingInstructionsBuilder()
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;public ProcessingInstruction.Builder addProcessingInstructionsBuilder(int index)
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;public List<ProcessingInstruction.Builder> getProcessingInstructionsBuilderList()
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;public String getClientId()
The unique identifier of the component dispatching this message
string client_id = 7;getClientId in interface CommandOrBuilderpublic com.google.protobuf.ByteString getClientIdBytes()
The unique identifier of the component dispatching this message
string client_id = 7;getClientIdBytes in interface CommandOrBuilderpublic Command.Builder setClientId(String value)
The unique identifier of the component dispatching this message
string client_id = 7;public Command.Builder clearClientId()
The unique identifier of the component dispatching this message
string client_id = 7;public Command.Builder setClientIdBytes(com.google.protobuf.ByteString value)
The unique identifier of the component dispatching this message
string client_id = 7;public String getComponentName()
The name/type of the component dispatching this message
string component_name = 8;getComponentName in interface CommandOrBuilderpublic com.google.protobuf.ByteString getComponentNameBytes()
The name/type of the component dispatching this message
string component_name = 8;getComponentNameBytes in interface CommandOrBuilderpublic Command.Builder setComponentName(String value)
The name/type of the component dispatching this message
string component_name = 8;public Command.Builder clearComponentName()
The name/type of the component dispatching this message
string component_name = 8;public Command.Builder setComponentNameBytes(com.google.protobuf.ByteString value)
The name/type of the component dispatching this message
string component_name = 8;public final Command.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>public final Command.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>Copyright © 2010–2020. All rights reserved.