Interface CommandOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Command,Command.Builder
@Generated public interface CommandOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetaData(String key)Meta Data entries of the Command Message, providing contextual information to the recipientStringgetClientId()The unique identifier of the component dispatching this messagecom.google.protobuf.ByteStringgetClientIdBytes()The unique identifier of the component dispatching this messageStringgetComponentName()The name/type of the component dispatching this messagecom.google.protobuf.ByteStringgetComponentNameBytes()The name/type of the component dispatching this messageStringgetMessageIdentifier()The unique identifier of the Command Messagecom.google.protobuf.ByteStringgetMessageIdentifierBytes()The unique identifier of the Command MessageMap<String,MetaDataValue>getMetaData()Deprecated.intgetMetaDataCount()Meta Data entries of the Command Message, providing contextual information to the recipientMap<String,MetaDataValue>getMetaDataMap()Meta Data entries of the Command Message, providing contextual information to the recipientMetaDataValuegetMetaDataOrDefault(String key, MetaDataValue defaultValue)Meta Data entries of the Command Message, providing contextual information to the recipientMetaDataValuegetMetaDataOrThrow(String key)Meta Data entries of the Command Message, providing contextual information to the recipientStringgetName()The name of the command, used for routing it to a destination capable of handling itcom.google.protobuf.ByteStringgetNameBytes()The name of the command, used for routing it to a destination capable of handling itSerializedObjectgetPayload()The payload of the Command, providing details on the instructions for the recipientSerializedObjectOrBuildergetPayloadOrBuilder()The payload of the Command, providing details on the instructions for the recipientProcessingInstructiongetProcessingInstructions(int index)Instructions for AxonServer when routing this Command MessageintgetProcessingInstructionsCount()Instructions for AxonServer when routing this Command MessageList<ProcessingInstruction>getProcessingInstructionsList()Instructions for AxonServer when routing this Command MessageProcessingInstructionOrBuildergetProcessingInstructionsOrBuilder(int index)Instructions for AxonServer when routing this Command MessageList<? extends ProcessingInstructionOrBuilder>getProcessingInstructionsOrBuilderList()Instructions for AxonServer when routing this Command MessagelonggetTimestamp()The time at which the command was dispatchedbooleanhasPayload()The payload of the Command, providing details on the instructions for the recipient-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMessageIdentifier
String getMessageIdentifier()
The unique identifier of the Command Message
string message_identifier = 1;- Returns:
- The messageIdentifier.
-
getMessageIdentifierBytes
com.google.protobuf.ByteString getMessageIdentifierBytes()
The unique identifier of the Command Message
string message_identifier = 1;- Returns:
- The bytes for messageIdentifier.
-
getName
String getName()
The name of the command, used for routing it to a destination capable of handling it
string name = 2;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name of the command, used for routing it to a destination capable of handling it
string name = 2;- Returns:
- The bytes for name.
-
getTimestamp
long getTimestamp()
The time at which the command was dispatched
int64 timestamp = 3;- Returns:
- The timestamp.
-
hasPayload
boolean hasPayload()
The payload of the Command, providing details on the instructions for the recipient
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;- Returns:
- Whether the payload field is set.
-
getPayload
SerializedObject getPayload()
The payload of the Command, providing details on the instructions for the recipient
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;- Returns:
- The payload.
-
getPayloadOrBuilder
SerializedObjectOrBuilder getPayloadOrBuilder()
The payload of the Command, providing details on the instructions for the recipient
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;
-
getMetaDataCount
int getMetaDataCount()
Meta Data entries of the Command Message, providing contextual information to the recipient
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
-
containsMetaData
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;
-
getMetaData
@Deprecated Map<String,MetaDataValue> getMetaData()
Deprecated.UsegetMetaDataMap()instead.
-
getMetaDataMap
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;
-
getMetaDataOrDefault
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;
-
getMetaDataOrThrow
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;
-
getProcessingInstructionsList
List<ProcessingInstruction> getProcessingInstructionsList()
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
-
getProcessingInstructions
ProcessingInstruction getProcessingInstructions(int index)
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
-
getProcessingInstructionsCount
int getProcessingInstructionsCount()
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
-
getProcessingInstructionsOrBuilderList
List<? extends ProcessingInstructionOrBuilder> getProcessingInstructionsOrBuilderList()
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
-
getProcessingInstructionsOrBuilder
ProcessingInstructionOrBuilder getProcessingInstructionsOrBuilder(int index)
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
-
getClientId
String getClientId()
The unique identifier of the component dispatching this message
string client_id = 7;- Returns:
- The clientId.
-
getClientIdBytes
com.google.protobuf.ByteString getClientIdBytes()
The unique identifier of the component dispatching this message
string client_id = 7;- Returns:
- The bytes for clientId.
-
getComponentName
String getComponentName()
The name/type of the component dispatching this message
string component_name = 8;- Returns:
- The componentName.
-
getComponentNameBytes
com.google.protobuf.ByteString getComponentNameBytes()
The name/type of the component dispatching this message
string component_name = 8;- Returns:
- The bytes for componentName.
-
-