- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.axoniq.axonserver.grpc.query.QueryUpdate
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,QueryUpdateOrBuilder,Serializable
@Generated public final class QueryUpdate extends com.google.protobuf.GeneratedMessage implements QueryUpdateOrBuilder
A message containing an Update of a Query Subscription Response
Protobuf typeio.axoniq.axonserver.grpc.query.QueryUpdate- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQueryUpdate.BuilderA message containing an Update of a Query Subscription Response-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCLIENT_ID_FIELD_NUMBERstatic intCOMPONENT_NAME_FIELD_NUMBERstatic intERROR_CODE_FIELD_NUMBERstatic intERROR_MESSAGE_FIELD_NUMBERstatic intMESSAGE_IDENTIFIER_FIELD_NUMBERstatic intMETA_DATA_FIELD_NUMBERstatic intPAYLOAD_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetaData(String key)Meta Data providing contextual information of the Updatebooleanequals(Object obj)StringgetClientId()The identifier of the Client instance providing the Updatecom.google.protobuf.ByteStringgetClientIdBytes()The identifier of the Client instance providing the UpdateStringgetComponentName()The Component Name of the Client providing the Updatecom.google.protobuf.ByteStringgetComponentNameBytes()The Component Name of the Client providing the Updatestatic QueryUpdategetDefaultInstance()QueryUpdategetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetErrorCode()An Error Code identifying the type of error, if anycom.google.protobuf.ByteStringgetErrorCodeBytes()An Error Code identifying the type of error, if anyErrorMessagegetErrorMessage()A detailed description of the error, if anyErrorMessageOrBuildergetErrorMessageOrBuilder()A detailed description of the error, if anyStringgetMessageIdentifier()The unique identifier of this Updatecom.google.protobuf.ByteStringgetMessageIdentifierBytes()The unique identifier of this UpdateMap<String,MetaDataValue>getMetaData()Deprecated.intgetMetaDataCount()Meta Data providing contextual information of the UpdateMap<String,MetaDataValue>getMetaDataMap()Meta Data providing contextual information of the UpdateMetaDataValuegetMetaDataOrDefault(String key, MetaDataValue defaultValue)Meta Data providing contextual information of the UpdateMetaDataValuegetMetaDataOrThrow(String key)Meta Data providing contextual information of the Updatecom.google.protobuf.Parser<QueryUpdate>getParserForType()SerializedObjectgetPayload()The object representing the UpdateSerializedObjectOrBuildergetPayloadOrBuilder()The object representing the UpdateintgetSerializedSize()booleanhasErrorMessage()A detailed description of the error, if anyinthashCode()booleanhasPayload()The object representing the Updateprotected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)booleanisInitialized()static QueryUpdate.BuildernewBuilder()static QueryUpdate.BuildernewBuilder(QueryUpdate prototype)QueryUpdate.BuildernewBuilderForType()protected QueryUpdate.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static QueryUpdateparseDelimitedFrom(InputStream input)static QueryUpdateparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryUpdateparseFrom(byte[] data)static QueryUpdateparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryUpdateparseFrom(com.google.protobuf.ByteString data)static QueryUpdateparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryUpdateparseFrom(com.google.protobuf.CodedInputStream input)static QueryUpdateparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryUpdateparseFrom(InputStream input)static QueryUpdateparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryUpdateparseFrom(ByteBuffer data)static QueryUpdateparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<QueryUpdate>parser()QueryUpdate.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
MESSAGE_IDENTIFIER_FIELD_NUMBER
public static final int MESSAGE_IDENTIFIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
META_DATA_FIELD_NUMBER
public static final int META_DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLIENT_ID_FIELD_NUMBER
public static final int CLIENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPONENT_NAME_FIELD_NUMBER
public static final int COMPONENT_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_CODE_FIELD_NUMBER
public static final int ERROR_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_MESSAGE_FIELD_NUMBER
public static final int ERROR_MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getMessageIdentifier
public String getMessageIdentifier()
The unique identifier of this Update
string message_identifier = 2;- Specified by:
getMessageIdentifierin interfaceQueryUpdateOrBuilder- Returns:
- The messageIdentifier.
-
getMessageIdentifierBytes
public com.google.protobuf.ByteString getMessageIdentifierBytes()
The unique identifier of this Update
string message_identifier = 2;- Specified by:
getMessageIdentifierBytesin interfaceQueryUpdateOrBuilder- Returns:
- The bytes for messageIdentifier.
-
hasPayload
public boolean hasPayload()
The object representing the Update
.io.axoniq.axonserver.grpc.SerializedObject payload = 3;- Specified by:
hasPayloadin interfaceQueryUpdateOrBuilder- Returns:
- Whether the payload field is set.
-
getPayload
public SerializedObject getPayload()
The object representing the Update
.io.axoniq.axonserver.grpc.SerializedObject payload = 3;- Specified by:
getPayloadin interfaceQueryUpdateOrBuilder- Returns:
- The payload.
-
getPayloadOrBuilder
public SerializedObjectOrBuilder getPayloadOrBuilder()
The object representing the Update
.io.axoniq.axonserver.grpc.SerializedObject payload = 3;- Specified by:
getPayloadOrBuilderin interfaceQueryUpdateOrBuilder
-
getMetaDataCount
public int getMetaDataCount()
Description copied from interface:QueryUpdateOrBuilderMeta Data providing contextual information of the Update
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 4;- Specified by:
getMetaDataCountin interfaceQueryUpdateOrBuilder
-
containsMetaData
public boolean containsMetaData(String key)
Meta Data providing contextual information of the Update
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 4;- Specified by:
containsMetaDatain interfaceQueryUpdateOrBuilder
-
getMetaData
@Deprecated public Map<String,MetaDataValue> getMetaData()
Deprecated.UsegetMetaDataMap()instead.- Specified by:
getMetaDatain interfaceQueryUpdateOrBuilder
-
getMetaDataMap
public Map<String,MetaDataValue> getMetaDataMap()
Meta Data providing contextual information of the Update
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 4;- Specified by:
getMetaDataMapin interfaceQueryUpdateOrBuilder
-
getMetaDataOrDefault
public MetaDataValue getMetaDataOrDefault(String key, MetaDataValue defaultValue)
Meta Data providing contextual information of the Update
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 4;- Specified by:
getMetaDataOrDefaultin interfaceQueryUpdateOrBuilder
-
getMetaDataOrThrow
public MetaDataValue getMetaDataOrThrow(String key)
Meta Data providing contextual information of the Update
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 4;- Specified by:
getMetaDataOrThrowin interfaceQueryUpdateOrBuilder
-
getClientId
public String getClientId()
The identifier of the Client instance providing the Update
string client_id = 5;- Specified by:
getClientIdin interfaceQueryUpdateOrBuilder- Returns:
- The clientId.
-
getClientIdBytes
public com.google.protobuf.ByteString getClientIdBytes()
The identifier of the Client instance providing the Update
string client_id = 5;- Specified by:
getClientIdBytesin interfaceQueryUpdateOrBuilder- Returns:
- The bytes for clientId.
-
getComponentName
public String getComponentName()
The Component Name of the Client providing the Update
string component_name = 6;- Specified by:
getComponentNamein interfaceQueryUpdateOrBuilder- Returns:
- The componentName.
-
getComponentNameBytes
public com.google.protobuf.ByteString getComponentNameBytes()
The Component Name of the Client providing the Update
string component_name = 6;- Specified by:
getComponentNameBytesin interfaceQueryUpdateOrBuilder- Returns:
- The bytes for componentName.
-
getErrorCode
public String getErrorCode()
An Error Code identifying the type of error, if any
string error_code = 7;- Specified by:
getErrorCodein interfaceQueryUpdateOrBuilder- Returns:
- The errorCode.
-
getErrorCodeBytes
public com.google.protobuf.ByteString getErrorCodeBytes()
An Error Code identifying the type of error, if any
string error_code = 7;- Specified by:
getErrorCodeBytesin interfaceQueryUpdateOrBuilder- Returns:
- The bytes for errorCode.
-
hasErrorMessage
public boolean hasErrorMessage()
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 8;- Specified by:
hasErrorMessagein interfaceQueryUpdateOrBuilder- Returns:
- Whether the errorMessage field is set.
-
getErrorMessage
public ErrorMessage getErrorMessage()
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 8;- Specified by:
getErrorMessagein interfaceQueryUpdateOrBuilder- Returns:
- The errorMessage.
-
getErrorMessageOrBuilder
public ErrorMessageOrBuilder getErrorMessageOrBuilder()
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 8;- Specified by:
getErrorMessageOrBuilderin interfaceQueryUpdateOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static QueryUpdate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryUpdate parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryUpdate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryUpdate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryUpdate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryUpdate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryUpdate parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static QueryUpdate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static QueryUpdate parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static QueryUpdate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static QueryUpdate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static QueryUpdate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public QueryUpdate.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static QueryUpdate.Builder newBuilder()
-
newBuilder
public static QueryUpdate.Builder newBuilder(QueryUpdate prototype)
-
toBuilder
public QueryUpdate.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected QueryUpdate.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static QueryUpdate getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<QueryUpdate> parser()
-
getParserForType
public com.google.protobuf.Parser<QueryUpdate> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public QueryUpdate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-