Package io.axoniq.axonserver.grpc.query
Class SubscriptionQueryResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.axoniq.axonserver.grpc.query.SubscriptionQueryResponse
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SubscriptionQueryResponseOrBuilder,Serializable
@Generated public final class SubscriptionQueryResponse extends com.google.protobuf.GeneratedMessage implements SubscriptionQueryResponseOrBuilder
Represents a Response Message for a Subscription Query
Protobuf typeio.axoniq.axonserver.grpc.query.SubscriptionQueryResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubscriptionQueryResponse.BuilderRepresents a Response Message for a Subscription Querystatic classSubscriptionQueryResponse.ResponseCase-
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 intCOMPLETE_EXCEPTIONALLY_FIELD_NUMBERstatic intCOMPLETE_FIELD_NUMBERstatic intINITIAL_RESULT_FIELD_NUMBERstatic intMESSAGE_IDENTIFIER_FIELD_NUMBERstatic intSUBSCRIPTION_IDENTIFIER_FIELD_NUMBERstatic intUPDATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)QueryUpdateCompletegetComplete()Indicates the Query is complete, and no more Updates will be sentQueryUpdateCompleteExceptionallygetCompleteExceptionally()Indicates the Query failed exceptionally, and no more Updates will be sentQueryUpdateCompleteExceptionallyOrBuildergetCompleteExceptionallyOrBuilder()Indicates the Query failed exceptionally, and no more Updates will be sentQueryUpdateCompleteOrBuildergetCompleteOrBuilder()Indicates the Query is complete, and no more Updates will be sentstatic SubscriptionQueryResponsegetDefaultInstance()SubscriptionQueryResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()QueryResponsegetInitialResult()Provides an Initial ResponseQueryResponseOrBuildergetInitialResultOrBuilder()Provides an Initial ResponseStringgetMessageIdentifier()The unique identifier for this messagecom.google.protobuf.ByteStringgetMessageIdentifierBytes()The unique identifier for this messagecom.google.protobuf.Parser<SubscriptionQueryResponse>getParserForType()SubscriptionQueryResponse.ResponseCasegetResponseCase()intgetSerializedSize()StringgetSubscriptionIdentifier()The identifier of the subscription query this is a response forcom.google.protobuf.ByteStringgetSubscriptionIdentifierBytes()The identifier of the subscription query this is a response forQueryUpdategetUpdate()Provides an Update ResponseQueryUpdateOrBuildergetUpdateOrBuilder()Provides an Update ResponsebooleanhasComplete()Indicates the Query is complete, and no more Updates will be sentbooleanhasCompleteExceptionally()Indicates the Query failed exceptionally, and no more Updates will be sentinthashCode()booleanhasInitialResult()Provides an Initial ResponsebooleanhasUpdate()Provides an Update Responseprotected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static SubscriptionQueryResponse.BuildernewBuilder()static SubscriptionQueryResponse.BuildernewBuilder(SubscriptionQueryResponse prototype)SubscriptionQueryResponse.BuildernewBuilderForType()protected SubscriptionQueryResponse.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static SubscriptionQueryResponseparseDelimitedFrom(InputStream input)static SubscriptionQueryResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubscriptionQueryResponseparseFrom(byte[] data)static SubscriptionQueryResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubscriptionQueryResponseparseFrom(com.google.protobuf.ByteString data)static SubscriptionQueryResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubscriptionQueryResponseparseFrom(com.google.protobuf.CodedInputStream input)static SubscriptionQueryResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubscriptionQueryResponseparseFrom(InputStream input)static SubscriptionQueryResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubscriptionQueryResponseparseFrom(ByteBuffer data)static SubscriptionQueryResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SubscriptionQueryResponse>parser()SubscriptionQueryResponse.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, internalGetMapFieldReflection, 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
-
SUBSCRIPTION_IDENTIFIER_FIELD_NUMBER
public static final int SUBSCRIPTION_IDENTIFIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INITIAL_RESULT_FIELD_NUMBER
public static final int INITIAL_RESULT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_FIELD_NUMBER
public static final int UPDATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPLETE_FIELD_NUMBER
public static final int COMPLETE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPLETE_EXCEPTIONALLY_FIELD_NUMBER
public static final int COMPLETE_EXCEPTIONALLY_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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getResponseCase
public SubscriptionQueryResponse.ResponseCase getResponseCase()
- Specified by:
getResponseCasein interfaceSubscriptionQueryResponseOrBuilder
-
getMessageIdentifier
public String getMessageIdentifier()
The unique identifier for this message
string message_identifier = 1;- Specified by:
getMessageIdentifierin interfaceSubscriptionQueryResponseOrBuilder- Returns:
- The messageIdentifier.
-
getMessageIdentifierBytes
public com.google.protobuf.ByteString getMessageIdentifierBytes()
The unique identifier for this message
string message_identifier = 1;- Specified by:
getMessageIdentifierBytesin interfaceSubscriptionQueryResponseOrBuilder- Returns:
- The bytes for messageIdentifier.
-
getSubscriptionIdentifier
public String getSubscriptionIdentifier()
The identifier of the subscription query this is a response for
string subscription_identifier = 2;- Specified by:
getSubscriptionIdentifierin interfaceSubscriptionQueryResponseOrBuilder- Returns:
- The subscriptionIdentifier.
-
getSubscriptionIdentifierBytes
public com.google.protobuf.ByteString getSubscriptionIdentifierBytes()
The identifier of the subscription query this is a response for
string subscription_identifier = 2;- Specified by:
getSubscriptionIdentifierBytesin interfaceSubscriptionQueryResponseOrBuilder- Returns:
- The bytes for subscriptionIdentifier.
-
hasInitialResult
public boolean hasInitialResult()
Provides an Initial Response
.io.axoniq.axonserver.grpc.query.QueryResponse initial_result = 3;- Specified by:
hasInitialResultin interfaceSubscriptionQueryResponseOrBuilder- Returns:
- Whether the initialResult field is set.
-
getInitialResult
public QueryResponse getInitialResult()
Provides an Initial Response
.io.axoniq.axonserver.grpc.query.QueryResponse initial_result = 3;- Specified by:
getInitialResultin interfaceSubscriptionQueryResponseOrBuilder- Returns:
- The initialResult.
-
getInitialResultOrBuilder
public QueryResponseOrBuilder getInitialResultOrBuilder()
Provides an Initial Response
.io.axoniq.axonserver.grpc.query.QueryResponse initial_result = 3;- Specified by:
getInitialResultOrBuilderin interfaceSubscriptionQueryResponseOrBuilder
-
hasUpdate
public boolean hasUpdate()
Provides an Update Response
.io.axoniq.axonserver.grpc.query.QueryUpdate update = 4;- Specified by:
hasUpdatein interfaceSubscriptionQueryResponseOrBuilder- Returns:
- Whether the update field is set.
-
getUpdate
public QueryUpdate getUpdate()
Provides an Update Response
.io.axoniq.axonserver.grpc.query.QueryUpdate update = 4;- Specified by:
getUpdatein interfaceSubscriptionQueryResponseOrBuilder- Returns:
- The update.
-
getUpdateOrBuilder
public QueryUpdateOrBuilder getUpdateOrBuilder()
Provides an Update Response
.io.axoniq.axonserver.grpc.query.QueryUpdate update = 4;- Specified by:
getUpdateOrBuilderin interfaceSubscriptionQueryResponseOrBuilder
-
hasComplete
public boolean hasComplete()
Indicates the Query is complete, and no more Updates will be sent
.io.axoniq.axonserver.grpc.query.QueryUpdateComplete complete = 5;- Specified by:
hasCompletein interfaceSubscriptionQueryResponseOrBuilder- Returns:
- Whether the complete field is set.
-
getComplete
public QueryUpdateComplete getComplete()
Indicates the Query is complete, and no more Updates will be sent
.io.axoniq.axonserver.grpc.query.QueryUpdateComplete complete = 5;- Specified by:
getCompletein interfaceSubscriptionQueryResponseOrBuilder- Returns:
- The complete.
-
getCompleteOrBuilder
public QueryUpdateCompleteOrBuilder getCompleteOrBuilder()
Indicates the Query is complete, and no more Updates will be sent
.io.axoniq.axonserver.grpc.query.QueryUpdateComplete complete = 5;- Specified by:
getCompleteOrBuilderin interfaceSubscriptionQueryResponseOrBuilder
-
hasCompleteExceptionally
public boolean hasCompleteExceptionally()
Indicates the Query failed exceptionally, and no more Updates will be sent
.io.axoniq.axonserver.grpc.query.QueryUpdateCompleteExceptionally complete_exceptionally = 6;- Specified by:
hasCompleteExceptionallyin interfaceSubscriptionQueryResponseOrBuilder- Returns:
- Whether the completeExceptionally field is set.
-
getCompleteExceptionally
public QueryUpdateCompleteExceptionally getCompleteExceptionally()
Indicates the Query failed exceptionally, and no more Updates will be sent
.io.axoniq.axonserver.grpc.query.QueryUpdateCompleteExceptionally complete_exceptionally = 6;- Specified by:
getCompleteExceptionallyin interfaceSubscriptionQueryResponseOrBuilder- Returns:
- The completeExceptionally.
-
getCompleteExceptionallyOrBuilder
public QueryUpdateCompleteExceptionallyOrBuilder getCompleteExceptionallyOrBuilder()
Indicates the Query failed exceptionally, and no more Updates will be sent
.io.axoniq.axonserver.grpc.query.QueryUpdateCompleteExceptionally complete_exceptionally = 6;- Specified by:
getCompleteExceptionallyOrBuilderin interfaceSubscriptionQueryResponseOrBuilder
-
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 SubscriptionQueryResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubscriptionQueryResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubscriptionQueryResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubscriptionQueryResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubscriptionQueryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubscriptionQueryResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubscriptionQueryResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SubscriptionQueryResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SubscriptionQueryResponse parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SubscriptionQueryResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static SubscriptionQueryResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SubscriptionQueryResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public SubscriptionQueryResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SubscriptionQueryResponse.Builder newBuilder()
-
newBuilder
public static SubscriptionQueryResponse.Builder newBuilder(SubscriptionQueryResponse prototype)
-
toBuilder
public SubscriptionQueryResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SubscriptionQueryResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static SubscriptionQueryResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SubscriptionQueryResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<SubscriptionQueryResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public SubscriptionQueryResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-