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 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;
      • 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.