Class EventProcessorSegment

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

    @Generated
    public final class EventProcessorSegment
    extends com.google.protobuf.GeneratedMessage
    implements EventProcessorSegmentOrBuilder
    Protobuf type io.axoniq.axonserver.grpc.admin.EventProcessorSegment
    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
      • getOnePartOf

        public int getOnePartOf()
         the fractional unit representing the size of the segment
         
        int32 one_part_of = 2;
        Specified by:
        getOnePartOf in interface EventProcessorSegmentOrBuilder
        Returns:
        The onePartOf.
      • getClaimedByBytes

        public com.google.protobuf.ByteString getClaimedByBytes()
         the id of the client that claimed the segment 
         
        string claimed_by = 3;
        Specified by:
        getClaimedByBytes in interface EventProcessorSegmentOrBuilder
        Returns:
        The bytes for claimedBy.
      • getIsCaughtUp

        public boolean getIsCaughtUp()
         true if the segment has ever reached the head of the stream since it was started, false otherwise 
         
        bool is_caughtUp = 4;
        Specified by:
        getIsCaughtUp in interface EventProcessorSegmentOrBuilder
        Returns:
        The isCaughtUp.
      • getIsReplaying

        public boolean getIsReplaying()
         true if the segment is replaying, false otherwise 
         
        bool is_replaying = 5;
        Specified by:
        getIsReplaying in interface EventProcessorSegmentOrBuilder
        Returns:
        The isReplaying.
      • getIsInError

        public boolean getIsInError()
         true if the segment is in an error loop, false otherwise 
         
        bool is_in_error = 7;
        Specified by:
        getIsInError in interface EventProcessorSegmentOrBuilder
        Returns:
        The isInError.
      • getErrorBytes

        public com.google.protobuf.ByteString getErrorBytes()
         the error description, if the segment is in error 
         
        string error = 8;
        Specified by:
        getErrorBytes in interface EventProcessorSegmentOrBuilder
        Returns:
        The bytes for error.
      • 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 EventProcessorSegment parseFrom​(ByteBuffer data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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