Package io.axoniq.axonserver.grpc.admin
Class EventProcessorSegment
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.axoniq.axonserver.grpc.admin.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 typeio.axoniq.axonserver.grpc.admin.EventProcessorSegment- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEventProcessorSegment.BuilderProtobuf typeio.axoniq.axonserver.grpc.admin.EventProcessorSegment-
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 intCLAIMED_BY_FIELD_NUMBERstatic intERROR_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intIS_CAUGHTUP_FIELD_NUMBERstatic intIS_IN_ERROR_FIELD_NUMBERstatic intIS_REPLAYING_FIELD_NUMBERstatic intONE_PART_OF_FIELD_NUMBERstatic intTOKEN_POSITION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetClaimedBy()the id of the client that claimed the segmentcom.google.protobuf.ByteStringgetClaimedByBytes()the id of the client that claimed the segmentstatic EventProcessorSegmentgetDefaultInstance()EventProcessorSegmentgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetError()the error description, if the segment is in errorcom.google.protobuf.ByteStringgetErrorBytes()the error description, if the segment is in errorintgetId()the identifier of the segmentbooleangetIsCaughtUp()true if the segment has ever reached the head of the stream since it was started, false otherwisebooleangetIsInError()true if the segment is in an error loop, false otherwisebooleangetIsReplaying()true if the segment is replaying, false otherwiseintgetOnePartOf()the fractional unit representing the size of the segmentcom.google.protobuf.Parser<EventProcessorSegment>getParserForType()intgetSerializedSize()longgetTokenPosition()the approximate position of the tokeninthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static EventProcessorSegment.BuildernewBuilder()static EventProcessorSegment.BuildernewBuilder(EventProcessorSegment prototype)EventProcessorSegment.BuildernewBuilderForType()protected EventProcessorSegment.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static EventProcessorSegmentparseDelimitedFrom(InputStream input)static EventProcessorSegmentparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EventProcessorSegmentparseFrom(byte[] data)static EventProcessorSegmentparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EventProcessorSegmentparseFrom(com.google.protobuf.ByteString data)static EventProcessorSegmentparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EventProcessorSegmentparseFrom(com.google.protobuf.CodedInputStream input)static EventProcessorSegmentparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EventProcessorSegmentparseFrom(InputStream input)static EventProcessorSegmentparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EventProcessorSegmentparseFrom(ByteBuffer data)static EventProcessorSegmentparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<EventProcessorSegment>parser()EventProcessorSegment.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
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ONE_PART_OF_FIELD_NUMBER
public static final int ONE_PART_OF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLAIMED_BY_FIELD_NUMBER
public static final int CLAIMED_BY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_CAUGHTUP_FIELD_NUMBER
public static final int IS_CAUGHTUP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_REPLAYING_FIELD_NUMBER
public static final int IS_REPLAYING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOKEN_POSITION_FIELD_NUMBER
public static final int TOKEN_POSITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_IN_ERROR_FIELD_NUMBER
public static final int IS_IN_ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_FIELD_NUMBER
public static final int ERROR_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
-
getId
public int getId()
the identifier of the segment
int32 id = 1;- Specified by:
getIdin interfaceEventProcessorSegmentOrBuilder- Returns:
- The id.
-
getOnePartOf
public int getOnePartOf()
the fractional unit representing the size of the segment
int32 one_part_of = 2;- Specified by:
getOnePartOfin interfaceEventProcessorSegmentOrBuilder- Returns:
- The onePartOf.
-
getClaimedBy
public String getClaimedBy()
the id of the client that claimed the segment
string claimed_by = 3;- Specified by:
getClaimedByin interfaceEventProcessorSegmentOrBuilder- Returns:
- The claimedBy.
-
getClaimedByBytes
public com.google.protobuf.ByteString getClaimedByBytes()
the id of the client that claimed the segment
string claimed_by = 3;- Specified by:
getClaimedByBytesin interfaceEventProcessorSegmentOrBuilder- 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:
getIsCaughtUpin interfaceEventProcessorSegmentOrBuilder- Returns:
- The isCaughtUp.
-
getIsReplaying
public boolean getIsReplaying()
true if the segment is replaying, false otherwise
bool is_replaying = 5;- Specified by:
getIsReplayingin interfaceEventProcessorSegmentOrBuilder- Returns:
- The isReplaying.
-
getTokenPosition
public long getTokenPosition()
the approximate position of the token
int64 token_position = 6;- Specified by:
getTokenPositionin interfaceEventProcessorSegmentOrBuilder- Returns:
- The tokenPosition.
-
getIsInError
public boolean getIsInError()
true if the segment is in an error loop, false otherwise
bool is_in_error = 7;- Specified by:
getIsInErrorin interfaceEventProcessorSegmentOrBuilder- Returns:
- The isInError.
-
getError
public String getError()
the error description, if the segment is in error
string error = 8;- Specified by:
getErrorin interfaceEventProcessorSegmentOrBuilder- Returns:
- The error.
-
getErrorBytes
public com.google.protobuf.ByteString getErrorBytes()
the error description, if the segment is in error
string error = 8;- Specified by:
getErrorBytesin interfaceEventProcessorSegmentOrBuilder- Returns:
- The bytes for error.
-
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 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
-
parseFrom
public static EventProcessorSegment parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EventProcessorSegment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EventProcessorSegment parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EventProcessorSegment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static EventProcessorSegment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EventProcessorSegment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public EventProcessorSegment.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static EventProcessorSegment.Builder newBuilder()
-
newBuilder
public static EventProcessorSegment.Builder newBuilder(EventProcessorSegment prototype)
-
toBuilder
public EventProcessorSegment.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EventProcessorSegment.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static EventProcessorSegment getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<EventProcessorSegment> parser()
-
getParserForType
public com.google.protobuf.Parser<EventProcessorSegment> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public EventProcessorSegment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-