public final class EventProcessorSegment extends com.google.protobuf.GeneratedMessageV3 implements EventProcessorSegmentOrBuilder
io.axoniq.axonserver.grpc.admin.EventProcessorSegment| Modifier and Type | Class and Description |
|---|---|
static class |
EventProcessorSegment.Builder
Protobuf type
io.axoniq.axonserver.grpc.admin.EventProcessorSegment |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CLAIMED_BY_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
IS_CAUGHTUP_FIELD_NUMBER |
static int |
IS_IN_ERROR_FIELD_NUMBER |
static int |
IS_REPLAYING_FIELD_NUMBER |
static int |
ONE_PART_OF_FIELD_NUMBER |
static int |
TOKEN_POSITION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getClaimedBy()
the id of the client that claimed the segment
|
com.google.protobuf.ByteString |
getClaimedByBytes()
the id of the client that claimed the segment
|
static EventProcessorSegment |
getDefaultInstance() |
EventProcessorSegment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getError()
the error description, if the segment is in error
|
com.google.protobuf.ByteString |
getErrorBytes()
the error description, if the segment is in error
|
int |
getId()
the identifier of the segment
|
boolean |
getIsCaughtUp()
true if the segment has ever reached the head of the stream since it was started, false otherwise
|
boolean |
getIsInError()
true if the segment is in an error loop, false otherwise
|
boolean |
getIsReplaying()
true if the segment is replaying, false otherwise
|
int |
getOnePartOf()
the fractional unit representing the size of the segment
|
com.google.protobuf.Parser<EventProcessorSegment> |
getParserForType() |
int |
getSerializedSize() |
long |
getTokenPosition()
the approximate position of the token
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static EventProcessorSegment.Builder |
newBuilder() |
static EventProcessorSegment.Builder |
newBuilder(EventProcessorSegment prototype) |
EventProcessorSegment.Builder |
newBuilderForType() |
protected EventProcessorSegment.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static EventProcessorSegment |
parseDelimitedFrom(InputStream input) |
static EventProcessorSegment |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EventProcessorSegment |
parseFrom(byte[] data) |
static EventProcessorSegment |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EventProcessorSegment |
parseFrom(ByteBuffer data) |
static EventProcessorSegment |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EventProcessorSegment |
parseFrom(com.google.protobuf.ByteString data) |
static EventProcessorSegment |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EventProcessorSegment |
parseFrom(com.google.protobuf.CodedInputStream input) |
static EventProcessorSegment |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EventProcessorSegment |
parseFrom(InputStream input) |
static EventProcessorSegment |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<EventProcessorSegment> |
parser() |
EventProcessorSegment.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ID_FIELD_NUMBER
public static final int ONE_PART_OF_FIELD_NUMBER
public static final int CLAIMED_BY_FIELD_NUMBER
public static final int IS_CAUGHTUP_FIELD_NUMBER
public static final int IS_REPLAYING_FIELD_NUMBER
public static final int TOKEN_POSITION_FIELD_NUMBER
public static final int IS_IN_ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getId()
the identifier of the segment
int32 id = 1;getId in interface EventProcessorSegmentOrBuilderpublic int getOnePartOf()
the fractional unit representing the size of the segment
int32 one_part_of = 2;getOnePartOf in interface EventProcessorSegmentOrBuilderpublic String getClaimedBy()
the id of the client that claimed the segment
string claimed_by = 3;getClaimedBy in interface EventProcessorSegmentOrBuilderpublic com.google.protobuf.ByteString getClaimedByBytes()
the id of the client that claimed the segment
string claimed_by = 3;getClaimedByBytes in interface EventProcessorSegmentOrBuilderpublic boolean getIsCaughtUp()
true if the segment has ever reached the head of the stream since it was started, false otherwise
bool is_caughtUp = 4;getIsCaughtUp in interface EventProcessorSegmentOrBuilderpublic boolean getIsReplaying()
true if the segment is replaying, false otherwise
bool is_replaying = 5;getIsReplaying in interface EventProcessorSegmentOrBuilderpublic long getTokenPosition()
the approximate position of the token
int64 token_position = 6;getTokenPosition in interface EventProcessorSegmentOrBuilderpublic boolean getIsInError()
true if the segment is in an error loop, false otherwise
bool is_in_error = 7;getIsInError in interface EventProcessorSegmentOrBuilderpublic String getError()
the error description, if the segment is in error
string error = 8;getError in interface EventProcessorSegmentOrBuilderpublic com.google.protobuf.ByteString getErrorBytes()
the error description, if the segment is in error
string error = 8;getErrorBytes in interface EventProcessorSegmentOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static EventProcessorSegment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventProcessorSegment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventProcessorSegment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventProcessorSegment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventProcessorSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventProcessorSegment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventProcessorSegment parseFrom(InputStream input) throws IOException
IOExceptionpublic static EventProcessorSegment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EventProcessorSegment parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static EventProcessorSegment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EventProcessorSegment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static EventProcessorSegment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic EventProcessorSegment.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static EventProcessorSegment.Builder newBuilder()
public static EventProcessorSegment.Builder newBuilder(EventProcessorSegment prototype)
public EventProcessorSegment.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected EventProcessorSegment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static EventProcessorSegment getDefaultInstance()
public static com.google.protobuf.Parser<EventProcessorSegment> parser()
public com.google.protobuf.Parser<EventProcessorSegment> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public EventProcessorSegment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020–2022 AxonIQ BV. All rights reserved.