public final class CommandResponse extends com.google.protobuf.GeneratedMessageV3 implements CommandResponseOrBuilder
io.axoniq.axonserver.grpc.command.CommandResponse
Modifier and Type | Class and Description |
---|---|
static class |
CommandResponse.Builder
Protobuf type
io.axoniq.axonserver.grpc.command.CommandResponse |
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 |
ERROR_CODE_FIELD_NUMBER |
static int |
ERROR_MESSAGE_FIELD_NUMBER |
static int |
MESSAGE_IDENTIFIER_FIELD_NUMBER |
static int |
META_DATA_FIELD_NUMBER |
static int |
PAYLOAD_FIELD_NUMBER |
static int |
PROCESSING_INSTRUCTIONS_FIELD_NUMBER |
static int |
REQUEST_IDENTIFIER_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) |
static CommandResponse |
getDefaultInstance() |
CommandResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getErrorCode()
optional string error_code = 2; |
com.google.protobuf.ByteString |
getErrorCodeBytes()
optional string error_code = 2; |
ErrorMessage |
getErrorMessage()
optional .io.axoniq.axonserver.grpc.ErrorMessage error_message = 3; |
ErrorMessageOrBuilder |
getErrorMessageOrBuilder()
optional .io.axoniq.axonserver.grpc.ErrorMessage error_message = 3; |
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; |
com.google.protobuf.Parser<CommandResponse> |
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; |
String |
getRequestIdentifier()
optional string request_identifier = 7; |
com.google.protobuf.ByteString |
getRequestIdentifierBytes()
optional string request_identifier = 7; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasErrorMessage()
optional .io.axoniq.axonserver.grpc.ErrorMessage error_message = 3; |
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 CommandResponse.Builder |
newBuilder() |
static CommandResponse.Builder |
newBuilder(CommandResponse prototype) |
CommandResponse.Builder |
newBuilderForType() |
protected CommandResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static CommandResponse |
parseDelimitedFrom(InputStream input) |
static CommandResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommandResponse |
parseFrom(byte[] data) |
static CommandResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommandResponse |
parseFrom(com.google.protobuf.ByteString data) |
static CommandResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommandResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CommandResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommandResponse |
parseFrom(InputStream input) |
static CommandResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CommandResponse> |
parser() |
CommandResponse.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, 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 ERROR_CODE_FIELD_NUMBER
public static final int ERROR_MESSAGE_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 REQUEST_IDENTIFIER_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()
A message id
optional string message_identifier = 1;
getMessageIdentifier
in interface CommandResponseOrBuilder
public com.google.protobuf.ByteString getMessageIdentifierBytes()
A message id
optional string message_identifier = 1;
getMessageIdentifierBytes
in interface CommandResponseOrBuilder
public String getErrorCode()
optional string error_code = 2;
getErrorCode
in interface CommandResponseOrBuilder
public com.google.protobuf.ByteString getErrorCodeBytes()
optional string error_code = 2;
getErrorCodeBytes
in interface CommandResponseOrBuilder
public boolean hasErrorMessage()
optional .io.axoniq.axonserver.grpc.ErrorMessage error_message = 3;
hasErrorMessage
in interface CommandResponseOrBuilder
public ErrorMessage getErrorMessage()
optional .io.axoniq.axonserver.grpc.ErrorMessage error_message = 3;
getErrorMessage
in interface CommandResponseOrBuilder
public ErrorMessageOrBuilder getErrorMessageOrBuilder()
optional .io.axoniq.axonserver.grpc.ErrorMessage error_message = 3;
getErrorMessageOrBuilder
in interface CommandResponseOrBuilder
public boolean hasPayload()
optional .io.axoniq.axonserver.grpc.SerializedObject payload = 4;
hasPayload
in interface CommandResponseOrBuilder
public SerializedObject getPayload()
optional .io.axoniq.axonserver.grpc.SerializedObject payload = 4;
getPayload
in interface CommandResponseOrBuilder
public SerializedObjectOrBuilder getPayloadOrBuilder()
optional .io.axoniq.axonserver.grpc.SerializedObject payload = 4;
getPayloadOrBuilder
in interface CommandResponseOrBuilder
public int getMetaDataCount()
CommandResponseOrBuilder
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
getMetaDataCount
in interface CommandResponseOrBuilder
public boolean containsMetaData(String key)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
containsMetaData
in interface CommandResponseOrBuilder
@Deprecated public Map<String,MetaDataValue> getMetaData()
getMetaDataMap()
instead.getMetaData
in interface CommandResponseOrBuilder
public Map<String,MetaDataValue> getMetaDataMap()
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
getMetaDataMap
in interface CommandResponseOrBuilder
public MetaDataValue getMetaDataOrDefault(String key, MetaDataValue defaultValue)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
getMetaDataOrDefault
in interface CommandResponseOrBuilder
public MetaDataValue getMetaDataOrThrow(String key)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
getMetaDataOrThrow
in interface CommandResponseOrBuilder
public List<ProcessingInstruction> getProcessingInstructionsList()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
getProcessingInstructionsList
in interface CommandResponseOrBuilder
public List<? extends ProcessingInstructionOrBuilder> getProcessingInstructionsOrBuilderList()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
getProcessingInstructionsOrBuilderList
in interface CommandResponseOrBuilder
public int getProcessingInstructionsCount()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
getProcessingInstructionsCount
in interface CommandResponseOrBuilder
public ProcessingInstruction getProcessingInstructions(int index)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
getProcessingInstructions
in interface CommandResponseOrBuilder
public ProcessingInstructionOrBuilder getProcessingInstructionsOrBuilder(int index)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
getProcessingInstructionsOrBuilder
in interface CommandResponseOrBuilder
public String getRequestIdentifier()
optional string request_identifier = 7;
getRequestIdentifier
in interface CommandResponseOrBuilder
public com.google.protobuf.ByteString getRequestIdentifierBytes()
optional string request_identifier = 7;
getRequestIdentifierBytes
in interface CommandResponseOrBuilder
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 CommandResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CommandResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CommandResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CommandResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CommandResponse parseFrom(InputStream input) throws IOException
IOException
public static CommandResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CommandResponse parseDelimitedFrom(InputStream input) throws IOException
IOException
public static CommandResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CommandResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static CommandResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public CommandResponse.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static CommandResponse.Builder newBuilder()
public static CommandResponse.Builder newBuilder(CommandResponse prototype)
public CommandResponse.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected CommandResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static CommandResponse getDefaultInstance()
public static com.google.protobuf.Parser<CommandResponse> parser()
public com.google.protobuf.Parser<CommandResponse> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public CommandResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2010–2018. All rights reserved.