Class StreamStatus

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

    @Generated
    public final class StreamStatus
    extends com.google.protobuf.GeneratedMessage
    implements StreamStatusOrBuilder
     Contains the current status of a persistent stream 
     
    Protobuf type io.axoniq.axonserver.grpc.streams.StreamStatus
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  StreamStatus.Builder
      Contains the current status of a persistent stream
      • 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
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

        com.google.protobuf.AbstractMessage.BuilderParent
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • 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
      • getStreamId

        public String getStreamId()
         the unique identification of the persistent stream 
         
        string stream_id = 1;
        Specified by:
        getStreamId in interface StreamStatusOrBuilder
        Returns:
        The streamId.
      • getStreamIdBytes

        public com.google.protobuf.ByteString getStreamIdBytes()
         the unique identification of the persistent stream 
         
        string stream_id = 1;
        Specified by:
        getStreamIdBytes in interface StreamStatusOrBuilder
        Returns:
        The bytes for streamId.
      • getStreamNameBytes

        public com.google.protobuf.ByteString getStreamNameBytes()
         a name for the persistent stream 
         
        string stream_name = 2;
        Specified by:
        getStreamNameBytes in interface StreamStatusOrBuilder
        Returns:
        The bytes for streamName.
      • hasSequencingPolicy

        public boolean hasSequencingPolicy()
         the policy used to distribute events across segments. 
         
        .io.axoniq.axonserver.grpc.streams.SequencingPolicy sequencing_policy = 3;
        Specified by:
        hasSequencingPolicy in interface StreamStatusOrBuilder
        Returns:
        Whether the sequencingPolicy field is set.
      • getSequencingPolicy

        public SequencingPolicy getSequencingPolicy()
         the policy used to distribute events across segments. 
         
        .io.axoniq.axonserver.grpc.streams.SequencingPolicy sequencing_policy = 3;
        Specified by:
        getSequencingPolicy in interface StreamStatusOrBuilder
        Returns:
        The sequencingPolicy.
      • getFilter

        public String getFilter()
         an expression to filter events, same syntax as used for ad-hoc queries on the event store 
         
        string filter = 4;
        Specified by:
        getFilter in interface StreamStatusOrBuilder
        Returns:
        The filter.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         an expression to filter events, same syntax as used for ad-hoc queries on the event store 
         
        string filter = 4;
        Specified by:
        getFilterBytes in interface StreamStatusOrBuilder
        Returns:
        The bytes for filter.
      • getSegmentsCount

        public int getSegmentsCount()
         the last confirmed position per segment 
         
        repeated .io.axoniq.axonserver.grpc.streams.SegmentPosition segments = 5;
        Specified by:
        getSegmentsCount in interface StreamStatusOrBuilder
      • getSegments

        public SegmentPosition getSegments​(int index)
         the last confirmed position per segment 
         
        repeated .io.axoniq.axonserver.grpc.streams.SegmentPosition segments = 5;
        Specified by:
        getSegments in interface StreamStatusOrBuilder
      • 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 StreamStatus parseFrom​(ByteBuffer data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

        public static StreamStatus getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<StreamStatus> parser()
      • getParserForType

        public com.google.protobuf.Parser<StreamStatus> 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 StreamStatus getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder