Class QueryEventsResponse

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, QueryEventsResponseOrBuilder, Serializable

    @Generated
    public final class QueryEventsResponse
    extends com.google.protobuf.GeneratedMessage
    implements QueryEventsResponseOrBuilder
     A message describing a response to a Query request 
     
    Protobuf type io.axoniq.axonserver.grpc.event.QueryEventsResponse
    See Also:
    Serialized Form
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
      • hasColumns

        public boolean hasColumns()
         Provided when the response contains the names of the columns the response contains. This message typically arrives first. 
         
        .io.axoniq.axonserver.grpc.event.ColumnsResponse columns = 1;
        Specified by:
        hasColumns in interface QueryEventsResponseOrBuilder
        Returns:
        Whether the columns field is set.
      • getColumns

        public ColumnsResponse getColumns()
         Provided when the response contains the names of the columns the response contains. This message typically arrives first. 
         
        .io.axoniq.axonserver.grpc.event.ColumnsResponse columns = 1;
        Specified by:
        getColumns in interface QueryEventsResponseOrBuilder
        Returns:
        The columns.
      • hasRow

        public boolean hasRow()
         Provided when the response message contains results of the Query  
         
        .io.axoniq.axonserver.grpc.event.RowResponse row = 2;
        Specified by:
        hasRow in interface QueryEventsResponseOrBuilder
        Returns:
        Whether the row field is set.
      • getRow

        public RowResponse getRow()
         Provided when the response message contains results of the Query  
         
        .io.axoniq.axonserver.grpc.event.RowResponse row = 2;
        Specified by:
        getRow in interface QueryEventsResponseOrBuilder
        Returns:
        The row.
      • hasFilesCompleted

        public boolean hasFilesCompleted()
         Provided when all historic events have been included in the query results 
         
        .io.axoniq.axonserver.grpc.event.Confirmation files_completed = 3;
        Specified by:
        hasFilesCompleted in interface QueryEventsResponseOrBuilder
        Returns:
        Whether the filesCompleted field is set.
      • getFilesCompleted

        public Confirmation getFilesCompleted()
         Provided when all historic events have been included in the query results 
         
        .io.axoniq.axonserver.grpc.event.Confirmation files_completed = 3;
        Specified by:
        getFilesCompleted in interface QueryEventsResponseOrBuilder
        Returns:
        The filesCompleted.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static QueryEventsResponse parseFrom​(ByteBuffer data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueryEventsResponse parseFrom​(ByteBuffer data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueryEventsResponse parseFrom​(com.google.protobuf.ByteString data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueryEventsResponse parseFrom​(com.google.protobuf.ByteString data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueryEventsResponse parseFrom​(byte[] data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueryEventsResponse parseFrom​(byte[] data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueryEventsResponse parseFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws IOException
        Throws:
        IOException
      • newBuilderForType

        public QueryEventsResponse.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public QueryEventsResponse.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected QueryEventsResponse.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getParserForType

        public com.google.protobuf.Parser<QueryEventsResponse> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • getDefaultInstanceForType

        public QueryEventsResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder