public final class Command extends com.google.protobuf.GeneratedMessageV3 implements CommandOrBuilder
io.axoniq.axonserver.grpc.command.Command| Modifier and Type | Class and Description |
|---|---|
static class |
Command.Builder
Protobuf type
io.axoniq.axonserver.grpc.command.Command |
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)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5; |
boolean |
equals(Object obj) |
String |
getClientId()
optional string client_id = 7; |
com.google.protobuf.ByteString |
getClientIdBytes()
optional string client_id = 7; |
String |
getComponentName()
optional string component_name = 8; |
com.google.protobuf.ByteString |
getComponentNameBytes()
optional string component_name = 8; |
static Command |
getDefaultInstance() |
Command |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getMessageIdentifier()
A message id
|
com.google.protobuf.ByteString |
getMessageIdentifierBytes()
A message id
|
Map<String,MetaDataValue> |
getMetaData()
Deprecated.
|
int |
getMetaDataCount()
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5; |
Map<String,MetaDataValue> |
getMetaDataMap()
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5; |
MetaDataValue |
getMetaDataOrDefault(String key,
MetaDataValue defaultValue)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5; |
MetaDataValue |
getMetaDataOrThrow(String key)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5; |
String |
getName()
optional string name = 2; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 2; |
com.google.protobuf.Parser<Command> |
getParserForType() |
SerializedObject |
getPayload()
optional .io.axoniq.axonserver.grpc.SerializedObject payload = 4; |
SerializedObjectOrBuilder |
getPayloadOrBuilder()
optional .io.axoniq.axonserver.grpc.SerializedObject payload = 4; |
ProcessingInstruction |
getProcessingInstructions(int index)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
int |
getProcessingInstructionsCount()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
List<ProcessingInstruction> |
getProcessingInstructionsList()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
ProcessingInstructionOrBuilder |
getProcessingInstructionsOrBuilder(int index)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
List<? extends ProcessingInstructionOrBuilder> |
getProcessingInstructionsOrBuilderList()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
int |
getSerializedSize() |
long |
getTimestamp()
optional int64 timestamp = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasPayload()
optional .io.axoniq.axonserver.grpc.SerializedObject payload = 4; |
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(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, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getMessageIdentifier()
A message id
optional string message_identifier = 1;getMessageIdentifier in interface CommandOrBuilderpublic com.google.protobuf.ByteString getMessageIdentifierBytes()
A message id
optional string message_identifier = 1;getMessageIdentifierBytes in interface CommandOrBuilderpublic String getName()
optional string name = 2;getName in interface CommandOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
optional string name = 2;getNameBytes in interface CommandOrBuilderpublic long getTimestamp()
optional int64 timestamp = 3;getTimestamp in interface CommandOrBuilderpublic boolean hasPayload()
optional .io.axoniq.axonserver.grpc.SerializedObject payload = 4;hasPayload in interface CommandOrBuilderpublic SerializedObject getPayload()
optional .io.axoniq.axonserver.grpc.SerializedObject payload = 4;getPayload in interface CommandOrBuilderpublic SerializedObjectOrBuilder getPayloadOrBuilder()
optional .io.axoniq.axonserver.grpc.SerializedObject payload = 4;getPayloadOrBuilder in interface CommandOrBuilderpublic int getMetaDataCount()
CommandOrBuildermap<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;getMetaDataCount in interface CommandOrBuilderpublic boolean containsMetaData(String key)
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()
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;getMetaDataMap in interface CommandOrBuilderpublic MetaDataValue getMetaDataOrDefault(String key, MetaDataValue defaultValue)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;getMetaDataOrDefault in interface CommandOrBuilderpublic MetaDataValue getMetaDataOrThrow(String key)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;getMetaDataOrThrow in interface CommandOrBuilderpublic List<ProcessingInstruction> getProcessingInstructionsList()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;getProcessingInstructionsList in interface CommandOrBuilderpublic List<? extends ProcessingInstructionOrBuilder> getProcessingInstructionsOrBuilderList()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;getProcessingInstructionsOrBuilderList in interface CommandOrBuilderpublic int getProcessingInstructionsCount()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;getProcessingInstructionsCount in interface CommandOrBuilderpublic ProcessingInstruction getProcessingInstructions(int index)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;getProcessingInstructions in interface CommandOrBuilderpublic ProcessingInstructionOrBuilder getProcessingInstructionsOrBuilder(int index)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;getProcessingInstructionsOrBuilder in interface CommandOrBuilderpublic String getClientId()
optional string client_id = 7;getClientId in interface CommandOrBuilderpublic com.google.protobuf.ByteString getClientIdBytes()
optional string client_id = 7;getClientIdBytes in interface CommandOrBuilderpublic String getComponentName()
optional string component_name = 8;getComponentName in interface CommandOrBuilderpublic com.google.protobuf.ByteString getComponentNameBytes()
optional string component_name = 8;getComponentNameBytes in interface CommandOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Command parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Command parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Command parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Command parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Command parseFrom(InputStream input) throws IOException
IOExceptionpublic static Command parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Command parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Command parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Command parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Command parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Command.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Command.Builder newBuilder()
public static Command.Builder newBuilder(Command prototype)
public Command.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Command.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Command getDefaultInstance()
public static com.google.protobuf.Parser<Command> parser()
public com.google.protobuf.Parser<Command> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Command getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2010–2018. All rights reserved.