public static final class EventProcessorInfo.SegmentStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorInfo.SegmentStatus.Builder> implements EventProcessorInfo.SegmentStatusOrBuilder
Message containing information about the status of a Segment of a Tracking Event ProcessorProtobuf type
io.axoniq.axonserver.grpc.control.EventProcessorInfo.SegmentStatus
Modifier and Type | Method and Description |
---|---|
EventProcessorInfo.SegmentStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EventProcessorInfo.SegmentStatus |
build() |
EventProcessorInfo.SegmentStatus |
buildPartial() |
EventProcessorInfo.SegmentStatus.Builder |
clear() |
EventProcessorInfo.SegmentStatus.Builder |
clearCaughtUp()
Indicates whether the Segment has "Caught Up" with the Head of the Event Stream
|
EventProcessorInfo.SegmentStatus.Builder |
clearErrorState()
Information about the error state of the Segment, if applicable.
|
EventProcessorInfo.SegmentStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
EventProcessorInfo.SegmentStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
EventProcessorInfo.SegmentStatus.Builder |
clearOnePartOf()
The fraction this segment processes.
|
EventProcessorInfo.SegmentStatus.Builder |
clearReplaying()
Indicates whether the Segment is "Replaying" historic events after a Reset.
|
EventProcessorInfo.SegmentStatus.Builder |
clearSegmentId()
The ID of the Segment for which the status is reported
|
EventProcessorInfo.SegmentStatus.Builder |
clearTokenPosition()
The approximate position of the token in the stream.
|
EventProcessorInfo.SegmentStatus.Builder |
clone() |
boolean |
getCaughtUp()
Indicates whether the Segment has "Caught Up" with the Head of the Event Stream
|
EventProcessorInfo.SegmentStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getErrorState()
Information about the error state of the Segment, if applicable.
|
com.google.protobuf.ByteString |
getErrorStateBytes()
Information about the error state of the Segment, if applicable.
|
int |
getOnePartOf()
The fraction this segment processes.
|
boolean |
getReplaying()
Indicates whether the Segment is "Replaying" historic events after a Reset.
|
int |
getSegmentId()
The ID of the Segment for which the status is reported
|
long |
getTokenPosition()
The approximate position of the token in the stream.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
EventProcessorInfo.SegmentStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EventProcessorInfo.SegmentStatus.Builder |
mergeFrom(EventProcessorInfo.SegmentStatus other) |
EventProcessorInfo.SegmentStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
EventProcessorInfo.SegmentStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EventProcessorInfo.SegmentStatus.Builder |
setCaughtUp(boolean value)
Indicates whether the Segment has "Caught Up" with the Head of the Event Stream
|
EventProcessorInfo.SegmentStatus.Builder |
setErrorState(String value)
Information about the error state of the Segment, if applicable.
|
EventProcessorInfo.SegmentStatus.Builder |
setErrorStateBytes(com.google.protobuf.ByteString value)
Information about the error state of the Segment, if applicable.
|
EventProcessorInfo.SegmentStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EventProcessorInfo.SegmentStatus.Builder |
setOnePartOf(int value)
The fraction this segment processes.
|
EventProcessorInfo.SegmentStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
EventProcessorInfo.SegmentStatus.Builder |
setReplaying(boolean value)
Indicates whether the Segment is "Replaying" historic events after a Reset.
|
EventProcessorInfo.SegmentStatus.Builder |
setSegmentId(int value)
The ID of the Segment for which the status is reported
|
EventProcessorInfo.SegmentStatus.Builder |
setTokenPosition(long value)
The approximate position of the token in the stream.
|
EventProcessorInfo.SegmentStatus.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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorInfo.SegmentStatus.Builder>
public EventProcessorInfo.SegmentStatus.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorInfo.SegmentStatus.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorInfo.SegmentStatus.Builder>
public EventProcessorInfo.SegmentStatus getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public EventProcessorInfo.SegmentStatus build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public EventProcessorInfo.SegmentStatus buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public EventProcessorInfo.SegmentStatus.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorInfo.SegmentStatus.Builder>
public EventProcessorInfo.SegmentStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorInfo.SegmentStatus.Builder>
public EventProcessorInfo.SegmentStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorInfo.SegmentStatus.Builder>
public EventProcessorInfo.SegmentStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorInfo.SegmentStatus.Builder>
public EventProcessorInfo.SegmentStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorInfo.SegmentStatus.Builder>
public EventProcessorInfo.SegmentStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorInfo.SegmentStatus.Builder>
public EventProcessorInfo.SegmentStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<EventProcessorInfo.SegmentStatus.Builder>
public EventProcessorInfo.SegmentStatus.Builder mergeFrom(EventProcessorInfo.SegmentStatus other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorInfo.SegmentStatus.Builder>
public EventProcessorInfo.SegmentStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<EventProcessorInfo.SegmentStatus.Builder>
IOException
public int getSegmentId()
The ID of the Segment for which the status is reported
int32 segment_id = 1;
getSegmentId
in interface EventProcessorInfo.SegmentStatusOrBuilder
public EventProcessorInfo.SegmentStatus.Builder setSegmentId(int value)
The ID of the Segment for which the status is reported
int32 segment_id = 1;
public EventProcessorInfo.SegmentStatus.Builder clearSegmentId()
The ID of the Segment for which the status is reported
int32 segment_id = 1;
public boolean getCaughtUp()
Indicates whether the Segment has "Caught Up" with the Head of the Event Stream
bool caught_up = 2;
getCaughtUp
in interface EventProcessorInfo.SegmentStatusOrBuilder
public EventProcessorInfo.SegmentStatus.Builder setCaughtUp(boolean value)
Indicates whether the Segment has "Caught Up" with the Head of the Event Stream
bool caught_up = 2;
public EventProcessorInfo.SegmentStatus.Builder clearCaughtUp()
Indicates whether the Segment has "Caught Up" with the Head of the Event Stream
bool caught_up = 2;
public boolean getReplaying()
Indicates whether the Segment is "Replaying" historic events after a Reset.
bool replaying = 3;
getReplaying
in interface EventProcessorInfo.SegmentStatusOrBuilder
public EventProcessorInfo.SegmentStatus.Builder setReplaying(boolean value)
Indicates whether the Segment is "Replaying" historic events after a Reset.
bool replaying = 3;
public EventProcessorInfo.SegmentStatus.Builder clearReplaying()
Indicates whether the Segment is "Replaying" historic events after a Reset.
bool replaying = 3;
public int getOnePartOf()
The fraction this segment processes. A fraction of 2 means 1/2, 4 means 1/4, etc.
int32 one_part_of = 4;
getOnePartOf
in interface EventProcessorInfo.SegmentStatusOrBuilder
public EventProcessorInfo.SegmentStatus.Builder setOnePartOf(int value)
The fraction this segment processes. A fraction of 2 means 1/2, 4 means 1/4, etc.
int32 one_part_of = 4;
public EventProcessorInfo.SegmentStatus.Builder clearOnePartOf()
The fraction this segment processes. A fraction of 2 means 1/2, 4 means 1/4, etc.
int32 one_part_of = 4;
public long getTokenPosition()
The approximate position of the token in the stream.
int64 token_position = 5;
getTokenPosition
in interface EventProcessorInfo.SegmentStatusOrBuilder
public EventProcessorInfo.SegmentStatus.Builder setTokenPosition(long value)
The approximate position of the token in the stream.
int64 token_position = 5;
public EventProcessorInfo.SegmentStatus.Builder clearTokenPosition()
The approximate position of the token in the stream.
int64 token_position = 5;
public String getErrorState()
Information about the error state of the Segment, if applicable.
string error_state = 6;
getErrorState
in interface EventProcessorInfo.SegmentStatusOrBuilder
public com.google.protobuf.ByteString getErrorStateBytes()
Information about the error state of the Segment, if applicable.
string error_state = 6;
getErrorStateBytes
in interface EventProcessorInfo.SegmentStatusOrBuilder
public EventProcessorInfo.SegmentStatus.Builder setErrorState(String value)
Information about the error state of the Segment, if applicable.
string error_state = 6;
public EventProcessorInfo.SegmentStatus.Builder clearErrorState()
Information about the error state of the Segment, if applicable.
string error_state = 6;
public EventProcessorInfo.SegmentStatus.Builder setErrorStateBytes(com.google.protobuf.ByteString value)
Information about the error state of the Segment, if applicable.
string error_state = 6;
public final EventProcessorInfo.SegmentStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorInfo.SegmentStatus.Builder>
public final EventProcessorInfo.SegmentStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<EventProcessorInfo.SegmentStatus.Builder>
Copyright © 2010–2020. All rights reserved.