Package io.axoniq.axonserver.grpc.query
Class SubscriptionQuery
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.axoniq.axonserver.grpc.query.SubscriptionQuery
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SubscriptionQueryOrBuilder,Serializable
@Generated public final class SubscriptionQuery extends com.google.protobuf.GeneratedMessage implements SubscriptionQueryOrBuilder
Message that represents a Subscription Query
Protobuf typeio.axoniq.axonserver.grpc.query.SubscriptionQuery- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubscriptionQuery.BuilderMessage that represents a Subscription Query-
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 intNUMBER_OF_PERMITS_FIELD_NUMBERstatic intQUERY_REQUEST_FIELD_NUMBERstatic intSUBSCRIPTION_IDENTIFIER_FIELD_NUMBERstatic intUPDATE_RESPONSE_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)static SubscriptionQuerygetDefaultInstance()SubscriptionQuerygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetNumberOfPermits()The number of messages the Server may send before needing to await additional permitscom.google.protobuf.Parser<SubscriptionQuery>getParserForType()QueryRequestgetQueryRequest()The Query describing the desire for informationQueryRequestOrBuildergetQueryRequestOrBuilder()The Query describing the desire for informationintgetSerializedSize()StringgetSubscriptionIdentifier()A unique identifier for this subscriptioncom.google.protobuf.ByteStringgetSubscriptionIdentifierBytes()A unique identifier for this subscriptionSerializedObjectgetUpdateResponseType()Deprecated.io.axoniq.axonserver.grpc.query.SubscriptionQuery.update_response_type is deprecated.SerializedObjectOrBuildergetUpdateResponseTypeOrBuilder()Deprecated.inthashCode()booleanhasQueryRequest()The Query describing the desire for informationbooleanhasUpdateResponseType()Deprecated.io.axoniq.axonserver.grpc.query.SubscriptionQuery.update_response_type is deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static SubscriptionQuery.BuildernewBuilder()static SubscriptionQuery.BuildernewBuilder(SubscriptionQuery prototype)SubscriptionQuery.BuildernewBuilderForType()protected SubscriptionQuery.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static SubscriptionQueryparseDelimitedFrom(InputStream input)static SubscriptionQueryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubscriptionQueryparseFrom(byte[] data)static SubscriptionQueryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubscriptionQueryparseFrom(com.google.protobuf.ByteString data)static SubscriptionQueryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubscriptionQueryparseFrom(com.google.protobuf.CodedInputStream input)static SubscriptionQueryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubscriptionQueryparseFrom(InputStream input)static SubscriptionQueryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubscriptionQueryparseFrom(ByteBuffer data)static SubscriptionQueryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SubscriptionQuery>parser()SubscriptionQuery.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
-
SUBSCRIPTION_IDENTIFIER_FIELD_NUMBER
public static final int SUBSCRIPTION_IDENTIFIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NUMBER_OF_PERMITS_FIELD_NUMBER
public static final int NUMBER_OF_PERMITS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERY_REQUEST_FIELD_NUMBER
public static final int QUERY_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_RESPONSE_TYPE_FIELD_NUMBER
public static final int UPDATE_RESPONSE_TYPE_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
-
getSubscriptionIdentifier
public String getSubscriptionIdentifier()
A unique identifier for this subscription
string subscription_identifier = 1;- Specified by:
getSubscriptionIdentifierin interfaceSubscriptionQueryOrBuilder- Returns:
- The subscriptionIdentifier.
-
getSubscriptionIdentifierBytes
public com.google.protobuf.ByteString getSubscriptionIdentifierBytes()
A unique identifier for this subscription
string subscription_identifier = 1;- Specified by:
getSubscriptionIdentifierBytesin interfaceSubscriptionQueryOrBuilder- Returns:
- The bytes for subscriptionIdentifier.
-
getNumberOfPermits
public long getNumberOfPermits()
The number of messages the Server may send before needing to await additional permits
int64 number_of_permits = 2;- Specified by:
getNumberOfPermitsin interfaceSubscriptionQueryOrBuilder- Returns:
- The numberOfPermits.
-
hasQueryRequest
public boolean hasQueryRequest()
The Query describing the desire for information
.io.axoniq.axonserver.grpc.query.QueryRequest query_request = 3;- Specified by:
hasQueryRequestin interfaceSubscriptionQueryOrBuilder- Returns:
- Whether the queryRequest field is set.
-
getQueryRequest
public QueryRequest getQueryRequest()
The Query describing the desire for information
.io.axoniq.axonserver.grpc.query.QueryRequest query_request = 3;- Specified by:
getQueryRequestin interfaceSubscriptionQueryOrBuilder- Returns:
- The queryRequest.
-
getQueryRequestOrBuilder
public QueryRequestOrBuilder getQueryRequestOrBuilder()
The Query describing the desire for information
.io.axoniq.axonserver.grpc.query.QueryRequest query_request = 3;- Specified by:
getQueryRequestOrBuilderin interfaceSubscriptionQueryOrBuilder
-
hasUpdateResponseType
@Deprecated public boolean hasUpdateResponseType()
Deprecated.io.axoniq.axonserver.grpc.query.SubscriptionQuery.update_response_type is deprecated. See query.proto;l=177A description of the type of Object expected as Update Responses. Deprecated: queries don't need to provide expected response types
.io.axoniq.axonserver.grpc.SerializedObject update_response_type = 4 [deprecated = true];- Specified by:
hasUpdateResponseTypein interfaceSubscriptionQueryOrBuilder- Returns:
- Whether the updateResponseType field is set.
-
getUpdateResponseType
@Deprecated public SerializedObject getUpdateResponseType()
Deprecated.io.axoniq.axonserver.grpc.query.SubscriptionQuery.update_response_type is deprecated. See query.proto;l=177A description of the type of Object expected as Update Responses. Deprecated: queries don't need to provide expected response types
.io.axoniq.axonserver.grpc.SerializedObject update_response_type = 4 [deprecated = true];- Specified by:
getUpdateResponseTypein interfaceSubscriptionQueryOrBuilder- Returns:
- The updateResponseType.
-
getUpdateResponseTypeOrBuilder
@Deprecated public SerializedObjectOrBuilder getUpdateResponseTypeOrBuilder()
Deprecated.A description of the type of Object expected as Update Responses. Deprecated: queries don't need to provide expected response types
.io.axoniq.axonserver.grpc.SerializedObject update_response_type = 4 [deprecated = true];- Specified by:
getUpdateResponseTypeOrBuilderin interfaceSubscriptionQueryOrBuilder
-
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 SubscriptionQuery parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubscriptionQuery parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubscriptionQuery parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubscriptionQuery parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubscriptionQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubscriptionQuery parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubscriptionQuery parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SubscriptionQuery parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SubscriptionQuery parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SubscriptionQuery parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static SubscriptionQuery parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SubscriptionQuery parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public SubscriptionQuery.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SubscriptionQuery.Builder newBuilder()
-
newBuilder
public static SubscriptionQuery.Builder newBuilder(SubscriptionQuery prototype)
-
toBuilder
public SubscriptionQuery.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SubscriptionQuery.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static SubscriptionQuery getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SubscriptionQuery> parser()
-
getParserForType
public com.google.protobuf.Parser<SubscriptionQuery> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public SubscriptionQuery getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-