public static final class EventProcessorSegment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorSegment.Builder> implements EventProcessorSegmentOrBuilder
io.axoniq.axonserver.grpc.admin.EventProcessorSegment| Modifier and Type | Method and Description |
|---|---|
EventProcessorSegment.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EventProcessorSegment |
build() |
EventProcessorSegment |
buildPartial() |
EventProcessorSegment.Builder |
clear() |
EventProcessorSegment.Builder |
clearClaimedBy()
the id of the client that claimed the segment
|
EventProcessorSegment.Builder |
clearError()
the error description, if the segment is in error
|
EventProcessorSegment.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
EventProcessorSegment.Builder |
clearId()
the identifier of the segment
|
EventProcessorSegment.Builder |
clearIsCaughtUp()
true if the segment has ever reached the head of the stream since it was started, false otherwise
|
EventProcessorSegment.Builder |
clearIsInError()
true if the segment is in an error loop, false otherwise
|
EventProcessorSegment.Builder |
clearIsReplaying()
true if the segment is replaying, false otherwise
|
EventProcessorSegment.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
EventProcessorSegment.Builder |
clearOnePartOf()
the fractional unit representing the size of the segment
|
EventProcessorSegment.Builder |
clearTokenPosition()
the approximate position of the token
|
EventProcessorSegment.Builder |
clone() |
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
|
EventProcessorSegment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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
|
long |
getTokenPosition()
the approximate position of the token
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
EventProcessorSegment.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EventProcessorSegment.Builder |
mergeFrom(EventProcessorSegment other) |
EventProcessorSegment.Builder |
mergeFrom(com.google.protobuf.Message other) |
EventProcessorSegment.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EventProcessorSegment.Builder |
setClaimedBy(String value)
the id of the client that claimed the segment
|
EventProcessorSegment.Builder |
setClaimedByBytes(com.google.protobuf.ByteString value)
the id of the client that claimed the segment
|
EventProcessorSegment.Builder |
setError(String value)
the error description, if the segment is in error
|
EventProcessorSegment.Builder |
setErrorBytes(com.google.protobuf.ByteString value)
the error description, if the segment is in error
|
EventProcessorSegment.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EventProcessorSegment.Builder |
setId(int value)
the identifier of the segment
|
EventProcessorSegment.Builder |
setIsCaughtUp(boolean value)
true if the segment has ever reached the head of the stream since it was started, false otherwise
|
EventProcessorSegment.Builder |
setIsInError(boolean value)
true if the segment is in an error loop, false otherwise
|
EventProcessorSegment.Builder |
setIsReplaying(boolean value)
true if the segment is replaying, false otherwise
|
EventProcessorSegment.Builder |
setOnePartOf(int value)
the fractional unit representing the size of the segment
|
EventProcessorSegment.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
EventProcessorSegment.Builder |
setTokenPosition(long value)
the approximate position of the token
|
EventProcessorSegment.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorSegment.Builder>public EventProcessorSegment.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorSegment.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorSegment.Builder>public EventProcessorSegment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic EventProcessorSegment build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic EventProcessorSegment buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic EventProcessorSegment.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorSegment.Builder>public EventProcessorSegment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorSegment.Builder>public EventProcessorSegment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorSegment.Builder>public EventProcessorSegment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorSegment.Builder>public EventProcessorSegment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorSegment.Builder>public EventProcessorSegment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorSegment.Builder>public EventProcessorSegment.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EventProcessorSegment.Builder>public EventProcessorSegment.Builder mergeFrom(EventProcessorSegment other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorSegment.Builder>public EventProcessorSegment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EventProcessorSegment.Builder>IOExceptionpublic int getId()
the identifier of the segment
int32 id = 1;getId in interface EventProcessorSegmentOrBuilderpublic EventProcessorSegment.Builder setId(int value)
the identifier of the segment
int32 id = 1;public EventProcessorSegment.Builder clearId()
the identifier of the segment
int32 id = 1;public int getOnePartOf()
the fractional unit representing the size of the segment
int32 one_part_of = 2;getOnePartOf in interface EventProcessorSegmentOrBuilderpublic EventProcessorSegment.Builder setOnePartOf(int value)
the fractional unit representing the size of the segment
int32 one_part_of = 2;public EventProcessorSegment.Builder clearOnePartOf()
the fractional unit representing the size of the segment
int32 one_part_of = 2;public 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 EventProcessorSegment.Builder setClaimedBy(String value)
the id of the client that claimed the segment
string claimed_by = 3;public EventProcessorSegment.Builder clearClaimedBy()
the id of the client that claimed the segment
string claimed_by = 3;public EventProcessorSegment.Builder setClaimedByBytes(com.google.protobuf.ByteString value)
the id of the client that claimed the segment
string claimed_by = 3;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;getIsCaughtUp in interface EventProcessorSegmentOrBuilderpublic EventProcessorSegment.Builder setIsCaughtUp(boolean value)
true if the segment has ever reached the head of the stream since it was started, false otherwise
bool is_caughtUp = 4;public EventProcessorSegment.Builder clearIsCaughtUp()
true if the segment has ever reached the head of the stream since it was started, false otherwise
bool is_caughtUp = 4;public boolean getIsReplaying()
true if the segment is replaying, false otherwise
bool is_replaying = 5;getIsReplaying in interface EventProcessorSegmentOrBuilderpublic EventProcessorSegment.Builder setIsReplaying(boolean value)
true if the segment is replaying, false otherwise
bool is_replaying = 5;public EventProcessorSegment.Builder clearIsReplaying()
true if the segment is replaying, false otherwise
bool is_replaying = 5;public long getTokenPosition()
the approximate position of the token
int64 token_position = 6;getTokenPosition in interface EventProcessorSegmentOrBuilderpublic EventProcessorSegment.Builder setTokenPosition(long value)
the approximate position of the token
int64 token_position = 6;public EventProcessorSegment.Builder clearTokenPosition()
the approximate position of the token
int64 token_position = 6;public boolean getIsInError()
true if the segment is in an error loop, false otherwise
bool is_in_error = 7;getIsInError in interface EventProcessorSegmentOrBuilderpublic EventProcessorSegment.Builder setIsInError(boolean value)
true if the segment is in an error loop, false otherwise
bool is_in_error = 7;public EventProcessorSegment.Builder clearIsInError()
true if the segment is in an error loop, false otherwise
bool is_in_error = 7;public 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 EventProcessorSegment.Builder setError(String value)
the error description, if the segment is in error
string error = 8;public EventProcessorSegment.Builder clearError()
the error description, if the segment is in error
string error = 8;public EventProcessorSegment.Builder setErrorBytes(com.google.protobuf.ByteString value)
the error description, if the segment is in error
string error = 8;public final EventProcessorSegment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorSegment.Builder>public final EventProcessorSegment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorSegment.Builder>Copyright © 2020–2022 AxonIQ BV. All rights reserved.