public final class Command extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
---|---|
static class |
Command.Builder
A message representing a Command that needs to be routed to a component capable of handling it
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
CLIENT_ID_FIELD_NUMBER |
static int |
COMPONENT_NAME_FIELD_NUMBER |
static int |
MESSAGE_IDENTIFIER_FIELD_NUMBER |
static int |
META_DATA_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PAYLOAD_FIELD_NUMBER |
static int |
PROCESSING_INSTRUCTIONS_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsMetaData(String key)
Meta Data entries of the Command Message, providing contextual information to the recipient
|
boolean |
equals(Object obj) |
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
|
static Command |
getDefaultInstance() |
Command |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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
|
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
|
com.google.protobuf.Parser<Command> |
getParserForType() |
SerializedObject |
getPayload()
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
|
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
|
int |
getSerializedSize() |
long |
getTimestamp()
The time at which the command was dispatched
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
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) |
boolean |
isInitialized() |
static Command.Builder |
newBuilder() |
static Command.Builder |
newBuilder(Command prototype) |
Command.Builder |
newBuilderForType() |
protected Command.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Command |
parseDelimitedFrom(InputStream input) |
static Command |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Command |
parseFrom(byte[] data) |
static Command |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Command |
parseFrom(ByteBuffer data) |
static Command |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Command |
parseFrom(com.google.protobuf.ByteString data) |
static Command |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Command |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Command |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Command |
parseFrom(InputStream input) |
static Command |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Command> |
parser() |
Command.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int MESSAGE_IDENTIFIER_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
public static final int META_DATA_FIELD_NUMBER
public static final int PROCESSING_INSTRUCTIONS_FIELD_NUMBER
public static final int CLIENT_ID_FIELD_NUMBER
public static final int COMPONENT_NAME_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public String getMessageIdentifier()
The unique identifier of the Command Message
string message_identifier = 1;
getMessageIdentifier
in interface CommandOrBuilder
public com.google.protobuf.ByteString getMessageIdentifierBytes()
The unique identifier of the Command Message
string message_identifier = 1;
getMessageIdentifierBytes
in interface CommandOrBuilder
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 CommandOrBuilder
public 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 CommandOrBuilder
public long getTimestamp()
The time at which the command was dispatched
int64 timestamp = 3;
getTimestamp
in interface CommandOrBuilder
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 CommandOrBuilder
public 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 CommandOrBuilder
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 CommandOrBuilder
public int getMetaDataCount()
CommandOrBuilder
Meta 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 CommandOrBuilder
public 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 CommandOrBuilder
public 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 CommandOrBuilder
public 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 CommandOrBuilder
public 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 CommandOrBuilder
public List<ProcessingInstruction> getProcessingInstructionsList()
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
getProcessingInstructionsList
in interface CommandOrBuilder
public List<? extends ProcessingInstructionOrBuilder> getProcessingInstructionsOrBuilderList()
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
getProcessingInstructionsOrBuilderList
in interface CommandOrBuilder
public int getProcessingInstructionsCount()
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
getProcessingInstructionsCount
in interface CommandOrBuilder
public ProcessingInstruction getProcessingInstructions(int index)
Instructions for AxonServer when routing this Command Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
getProcessingInstructions
in interface CommandOrBuilder
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 CommandOrBuilder
public String getClientId()
The unique identifier of the component dispatching this message
string client_id = 7;
getClientId
in interface CommandOrBuilder
public com.google.protobuf.ByteString getClientIdBytes()
The unique identifier of the component dispatching this message
string client_id = 7;
getClientIdBytes
in interface CommandOrBuilder
public String getComponentName()
The name/type of the component dispatching this message
string component_name = 8;
getComponentName
in interface CommandOrBuilder
public com.google.protobuf.ByteString getComponentNameBytes()
The name/type of the component dispatching this message
string component_name = 8;
getComponentNameBytes
in interface CommandOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Command parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Command parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Command parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Command parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Command parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Command parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Command parseFrom(InputStream input) throws IOException
IOException
public static Command parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Command parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Command parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Command parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Command parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Command.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Command.Builder newBuilder()
public static Command.Builder newBuilder(Command prototype)
public Command.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Command.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Command getDefaultInstance()
public static com.google.protobuf.Parser<Command> parser()
public com.google.protobuf.Parser<Command> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Command getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2010–2020. All rights reserved.