Package io.axoniq.axonserver.grpc.query
Class QueryProviderOutbound
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.axoniq.axonserver.grpc.query.QueryProviderOutbound
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,QueryProviderOutboundOrBuilder,Serializable
@Generated public final class QueryProviderOutbound extends com.google.protobuf.GeneratedMessage implements QueryProviderOutboundOrBuilder
Message containing Query related instructions for Axon Server
Protobuf typeio.axoniq.axonserver.grpc.query.QueryProviderOutbound- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQueryProviderOutbound.BuilderMessage containing Query related instructions for Axon Serverstatic classQueryProviderOutbound.RequestCase-
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 intACK_FIELD_NUMBERstatic intFLOW_CONTROL_FIELD_NUMBERstatic intINSTRUCTION_ID_FIELD_NUMBERstatic intQUERY_COMPLETE_FIELD_NUMBERstatic intQUERY_RESPONSE_FIELD_NUMBERstatic intSUBSCRIBE_FIELD_NUMBERstatic intSUBSCRIPTION_QUERY_RESPONSE_FIELD_NUMBERstatic intUNSUBSCRIBE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)InstructionAckgetAck()Acknowledgement of previously sent instruction via inbound streamInstructionAckOrBuildergetAckOrBuilder()Acknowledgement of previously sent instruction via inbound streamstatic QueryProviderOutboundgetDefaultInstance()QueryProviderOutboundgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()FlowControlgetFlowControl()Grant permits to AxonServer to send a number of messages to the clientFlowControlOrBuildergetFlowControlOrBuilder()Grant permits to AxonServer to send a number of messages to the clientStringgetInstructionId()Instruction identifier.com.google.protobuf.ByteStringgetInstructionIdBytes()Instruction identifier.com.google.protobuf.Parser<QueryProviderOutbound>getParserForType()QueryCompletegetQueryComplete()Indicator that all responses for Query have been sentQueryCompleteOrBuildergetQueryCompleteOrBuilder()Indicator that all responses for Query have been sentQueryResponsegetQueryResponse()Sends a Response to a Query received via the inbound streamQueryResponseOrBuildergetQueryResponseOrBuilder()Sends a Response to a Query received via the inbound streamQueryProviderOutbound.RequestCasegetRequestCase()intgetSerializedSize()QuerySubscriptiongetSubscribe()Registers a Query Handler with AxonServerQuerySubscriptionOrBuildergetSubscribeOrBuilder()Registers a Query Handler with AxonServerSubscriptionQueryResponsegetSubscriptionQueryResponse()Sends a response for a Subscription Query that has been received via the inbound streamSubscriptionQueryResponseOrBuildergetSubscriptionQueryResponseOrBuilder()Sends a response for a Subscription Query that has been received via the inbound streamQuerySubscriptiongetUnsubscribe()Unregisters a Query Handler with AxonServerQuerySubscriptionOrBuildergetUnsubscribeOrBuilder()Unregisters a Query Handler with AxonServerbooleanhasAck()Acknowledgement of previously sent instruction via inbound streambooleanhasFlowControl()Grant permits to AxonServer to send a number of messages to the clientinthashCode()booleanhasQueryComplete()Indicator that all responses for Query have been sentbooleanhasQueryResponse()Sends a Response to a Query received via the inbound streambooleanhasSubscribe()Registers a Query Handler with AxonServerbooleanhasSubscriptionQueryResponse()Sends a response for a Subscription Query that has been received via the inbound streambooleanhasUnsubscribe()Unregisters a Query Handler with AxonServerprotected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static QueryProviderOutbound.BuildernewBuilder()static QueryProviderOutbound.BuildernewBuilder(QueryProviderOutbound prototype)QueryProviderOutbound.BuildernewBuilderForType()protected QueryProviderOutbound.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static QueryProviderOutboundparseDelimitedFrom(InputStream input)static QueryProviderOutboundparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryProviderOutboundparseFrom(byte[] data)static QueryProviderOutboundparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryProviderOutboundparseFrom(com.google.protobuf.ByteString data)static QueryProviderOutboundparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryProviderOutboundparseFrom(com.google.protobuf.CodedInputStream input)static QueryProviderOutboundparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryProviderOutboundparseFrom(InputStream input)static QueryProviderOutboundparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryProviderOutboundparseFrom(ByteBuffer data)static QueryProviderOutboundparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<QueryProviderOutbound>parser()QueryProviderOutbound.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
-
SUBSCRIBE_FIELD_NUMBER
public static final int SUBSCRIBE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNSUBSCRIBE_FIELD_NUMBER
public static final int UNSUBSCRIBE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FLOW_CONTROL_FIELD_NUMBER
public static final int FLOW_CONTROL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERY_RESPONSE_FIELD_NUMBER
public static final int QUERY_RESPONSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERY_COMPLETE_FIELD_NUMBER
public static final int QUERY_COMPLETE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBSCRIPTION_QUERY_RESPONSE_FIELD_NUMBER
public static final int SUBSCRIPTION_QUERY_RESPONSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACK_FIELD_NUMBER
public static final int ACK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSTRUCTION_ID_FIELD_NUMBER
public static final int INSTRUCTION_ID_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
-
getRequestCase
public QueryProviderOutbound.RequestCase getRequestCase()
- Specified by:
getRequestCasein interfaceQueryProviderOutboundOrBuilder
-
hasSubscribe
public boolean hasSubscribe()
Registers a Query Handler with AxonServer
.io.axoniq.axonserver.grpc.query.QuerySubscription subscribe = 1;- Specified by:
hasSubscribein interfaceQueryProviderOutboundOrBuilder- Returns:
- Whether the subscribe field is set.
-
getSubscribe
public QuerySubscription getSubscribe()
Registers a Query Handler with AxonServer
.io.axoniq.axonserver.grpc.query.QuerySubscription subscribe = 1;- Specified by:
getSubscribein interfaceQueryProviderOutboundOrBuilder- Returns:
- The subscribe.
-
getSubscribeOrBuilder
public QuerySubscriptionOrBuilder getSubscribeOrBuilder()
Registers a Query Handler with AxonServer
.io.axoniq.axonserver.grpc.query.QuerySubscription subscribe = 1;- Specified by:
getSubscribeOrBuilderin interfaceQueryProviderOutboundOrBuilder
-
hasUnsubscribe
public boolean hasUnsubscribe()
Unregisters a Query Handler with AxonServer
.io.axoniq.axonserver.grpc.query.QuerySubscription unsubscribe = 2;- Specified by:
hasUnsubscribein interfaceQueryProviderOutboundOrBuilder- Returns:
- Whether the unsubscribe field is set.
-
getUnsubscribe
public QuerySubscription getUnsubscribe()
Unregisters a Query Handler with AxonServer
.io.axoniq.axonserver.grpc.query.QuerySubscription unsubscribe = 2;- Specified by:
getUnsubscribein interfaceQueryProviderOutboundOrBuilder- Returns:
- The unsubscribe.
-
getUnsubscribeOrBuilder
public QuerySubscriptionOrBuilder getUnsubscribeOrBuilder()
Unregisters a Query Handler with AxonServer
.io.axoniq.axonserver.grpc.query.QuerySubscription unsubscribe = 2;- Specified by:
getUnsubscribeOrBuilderin interfaceQueryProviderOutboundOrBuilder
-
hasFlowControl
public boolean hasFlowControl()
Grant permits to AxonServer to send a number of messages to the client
.io.axoniq.axonserver.grpc.FlowControl flow_control = 3;- Specified by:
hasFlowControlin interfaceQueryProviderOutboundOrBuilder- Returns:
- Whether the flowControl field is set.
-
getFlowControl
public FlowControl getFlowControl()
Grant permits to AxonServer to send a number of messages to the client
.io.axoniq.axonserver.grpc.FlowControl flow_control = 3;- Specified by:
getFlowControlin interfaceQueryProviderOutboundOrBuilder- Returns:
- The flowControl.
-
getFlowControlOrBuilder
public FlowControlOrBuilder getFlowControlOrBuilder()
Grant permits to AxonServer to send a number of messages to the client
.io.axoniq.axonserver.grpc.FlowControl flow_control = 3;- Specified by:
getFlowControlOrBuilderin interfaceQueryProviderOutboundOrBuilder
-
hasQueryResponse
public boolean hasQueryResponse()
Sends a Response to a Query received via the inbound stream
.io.axoniq.axonserver.grpc.query.QueryResponse query_response = 4;- Specified by:
hasQueryResponsein interfaceQueryProviderOutboundOrBuilder- Returns:
- Whether the queryResponse field is set.
-
getQueryResponse
public QueryResponse getQueryResponse()
Sends a Response to a Query received via the inbound stream
.io.axoniq.axonserver.grpc.query.QueryResponse query_response = 4;- Specified by:
getQueryResponsein interfaceQueryProviderOutboundOrBuilder- Returns:
- The queryResponse.
-
getQueryResponseOrBuilder
public QueryResponseOrBuilder getQueryResponseOrBuilder()
Sends a Response to a Query received via the inbound stream
.io.axoniq.axonserver.grpc.query.QueryResponse query_response = 4;- Specified by:
getQueryResponseOrBuilderin interfaceQueryProviderOutboundOrBuilder
-
hasQueryComplete
public boolean hasQueryComplete()
Indicator that all responses for Query have been sent
.io.axoniq.axonserver.grpc.query.QueryComplete query_complete = 5;- Specified by:
hasQueryCompletein interfaceQueryProviderOutboundOrBuilder- Returns:
- Whether the queryComplete field is set.
-
getQueryComplete
public QueryComplete getQueryComplete()
Indicator that all responses for Query have been sent
.io.axoniq.axonserver.grpc.query.QueryComplete query_complete = 5;- Specified by:
getQueryCompletein interfaceQueryProviderOutboundOrBuilder- Returns:
- The queryComplete.
-
getQueryCompleteOrBuilder
public QueryCompleteOrBuilder getQueryCompleteOrBuilder()
Indicator that all responses for Query have been sent
.io.axoniq.axonserver.grpc.query.QueryComplete query_complete = 5;- Specified by:
getQueryCompleteOrBuilderin interfaceQueryProviderOutboundOrBuilder
-
hasSubscriptionQueryResponse
public boolean hasSubscriptionQueryResponse()
Sends a response for a Subscription Query that has been received via the inbound stream
.io.axoniq.axonserver.grpc.query.SubscriptionQueryResponse subscription_query_response = 6;- Specified by:
hasSubscriptionQueryResponsein interfaceQueryProviderOutboundOrBuilder- Returns:
- Whether the subscriptionQueryResponse field is set.
-
getSubscriptionQueryResponse
public SubscriptionQueryResponse getSubscriptionQueryResponse()
Sends a response for a Subscription Query that has been received via the inbound stream
.io.axoniq.axonserver.grpc.query.SubscriptionQueryResponse subscription_query_response = 6;- Specified by:
getSubscriptionQueryResponsein interfaceQueryProviderOutboundOrBuilder- Returns:
- The subscriptionQueryResponse.
-
getSubscriptionQueryResponseOrBuilder
public SubscriptionQueryResponseOrBuilder getSubscriptionQueryResponseOrBuilder()
Sends a response for a Subscription Query that has been received via the inbound stream
.io.axoniq.axonserver.grpc.query.SubscriptionQueryResponse subscription_query_response = 6;- Specified by:
getSubscriptionQueryResponseOrBuilderin interfaceQueryProviderOutboundOrBuilder
-
hasAck
public boolean hasAck()
Acknowledgement of previously sent instruction via inbound stream
.io.axoniq.axonserver.grpc.InstructionAck ack = 7;- Specified by:
hasAckin interfaceQueryProviderOutboundOrBuilder- Returns:
- Whether the ack field is set.
-
getAck
public InstructionAck getAck()
Acknowledgement of previously sent instruction via inbound stream
.io.axoniq.axonserver.grpc.InstructionAck ack = 7;- Specified by:
getAckin interfaceQueryProviderOutboundOrBuilder- Returns:
- The ack.
-
getAckOrBuilder
public InstructionAckOrBuilder getAckOrBuilder()
Acknowledgement of previously sent instruction via inbound stream
.io.axoniq.axonserver.grpc.InstructionAck ack = 7;- Specified by:
getAckOrBuilderin interfaceQueryProviderOutboundOrBuilder
-
getInstructionId
public String getInstructionId()
Instruction identifier. If this identifier is set, this instruction will be acknowledged via inbound stream
string instruction_id = 8;- Specified by:
getInstructionIdin interfaceQueryProviderOutboundOrBuilder- Returns:
- The instructionId.
-
getInstructionIdBytes
public com.google.protobuf.ByteString getInstructionIdBytes()
Instruction identifier. If this identifier is set, this instruction will be acknowledged via inbound stream
string instruction_id = 8;- Specified by:
getInstructionIdBytesin interfaceQueryProviderOutboundOrBuilder- Returns:
- The bytes for instructionId.
-
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 QueryProviderOutbound parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryProviderOutbound parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryProviderOutbound parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryProviderOutbound parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryProviderOutbound parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryProviderOutbound parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryProviderOutbound parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static QueryProviderOutbound parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static QueryProviderOutbound parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static QueryProviderOutbound parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static QueryProviderOutbound parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static QueryProviderOutbound parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public QueryProviderOutbound.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static QueryProviderOutbound.Builder newBuilder()
-
newBuilder
public static QueryProviderOutbound.Builder newBuilder(QueryProviderOutbound prototype)
-
toBuilder
public QueryProviderOutbound.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected QueryProviderOutbound.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static QueryProviderOutbound getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<QueryProviderOutbound> parser()
-
getParserForType
public com.google.protobuf.Parser<QueryProviderOutbound> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public QueryProviderOutbound getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-