public static final class GetAggregateEventsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetAggregateEventsRequest.Builder> implements GetAggregateEventsRequestOrBuilder
Request describing the desire to read events for a specific AggregateProtobuf type
io.axoniq.axonserver.grpc.event.GetAggregateEventsRequest| Modifier and Type | Method and Description |
|---|---|
GetAggregateEventsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GetAggregateEventsRequest |
build() |
GetAggregateEventsRequest |
buildPartial() |
GetAggregateEventsRequest.Builder |
clear() |
GetAggregateEventsRequest.Builder |
clearAggregateId()
The identifier of the aggregate to read events for
|
GetAggregateEventsRequest.Builder |
clearAllowSnapshots()
Whether a snapshot may be returned as first element in the stream
|
GetAggregateEventsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GetAggregateEventsRequest.Builder |
clearInitialSequence()
The sequence number of the first event to receive
|
GetAggregateEventsRequest.Builder |
clearMaxSequence()
The maximum sequence number (inclusive) of the events to retrieve, 0 means up to last event
|
GetAggregateEventsRequest.Builder |
clearMinToken()
Hint for a minimum token to search events from
|
GetAggregateEventsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GetAggregateEventsRequest.Builder |
clone() |
String |
getAggregateId()
The identifier of the aggregate to read events for
|
com.google.protobuf.ByteString |
getAggregateIdBytes()
The identifier of the aggregate to read events for
|
boolean |
getAllowSnapshots()
Whether a snapshot may be returned as first element in the stream
|
GetAggregateEventsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getInitialSequence()
The sequence number of the first event to receive
|
long |
getMaxSequence()
The maximum sequence number (inclusive) of the events to retrieve, 0 means up to last event
|
long |
getMinToken()
Hint for a minimum token to search events from
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GetAggregateEventsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GetAggregateEventsRequest.Builder |
mergeFrom(GetAggregateEventsRequest other) |
GetAggregateEventsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
GetAggregateEventsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GetAggregateEventsRequest.Builder |
setAggregateId(String value)
The identifier of the aggregate to read events for
|
GetAggregateEventsRequest.Builder |
setAggregateIdBytes(com.google.protobuf.ByteString value)
The identifier of the aggregate to read events for
|
GetAggregateEventsRequest.Builder |
setAllowSnapshots(boolean value)
Whether a snapshot may be returned as first element in the stream
|
GetAggregateEventsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GetAggregateEventsRequest.Builder |
setInitialSequence(long value)
The sequence number of the first event to receive
|
GetAggregateEventsRequest.Builder |
setMaxSequence(long value)
The maximum sequence number (inclusive) of the events to retrieve, 0 means up to last event
|
GetAggregateEventsRequest.Builder |
setMinToken(long value)
Hint for a minimum token to search events from
|
GetAggregateEventsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GetAggregateEventsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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<GetAggregateEventsRequest.Builder>public GetAggregateEventsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GetAggregateEventsRequest.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<GetAggregateEventsRequest.Builder>public GetAggregateEventsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GetAggregateEventsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GetAggregateEventsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GetAggregateEventsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GetAggregateEventsRequest.Builder>public GetAggregateEventsRequest.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<GetAggregateEventsRequest.Builder>public GetAggregateEventsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GetAggregateEventsRequest.Builder>public GetAggregateEventsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GetAggregateEventsRequest.Builder>public GetAggregateEventsRequest.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<GetAggregateEventsRequest.Builder>public GetAggregateEventsRequest.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<GetAggregateEventsRequest.Builder>public GetAggregateEventsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetAggregateEventsRequest.Builder>public GetAggregateEventsRequest.Builder mergeFrom(GetAggregateEventsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GetAggregateEventsRequest.Builder>public GetAggregateEventsRequest.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<GetAggregateEventsRequest.Builder>IOExceptionpublic String getAggregateId()
The identifier of the aggregate to read events for
string aggregate_id = 1;getAggregateId in interface GetAggregateEventsRequestOrBuilderpublic com.google.protobuf.ByteString getAggregateIdBytes()
The identifier of the aggregate to read events for
string aggregate_id = 1;getAggregateIdBytes in interface GetAggregateEventsRequestOrBuilderpublic GetAggregateEventsRequest.Builder setAggregateId(String value)
The identifier of the aggregate to read events for
string aggregate_id = 1;public GetAggregateEventsRequest.Builder clearAggregateId()
The identifier of the aggregate to read events for
string aggregate_id = 1;public GetAggregateEventsRequest.Builder setAggregateIdBytes(com.google.protobuf.ByteString value)
The identifier of the aggregate to read events for
string aggregate_id = 1;public long getInitialSequence()
The sequence number of the first event to receive
int64 initial_sequence = 2;getInitialSequence in interface GetAggregateEventsRequestOrBuilderpublic GetAggregateEventsRequest.Builder setInitialSequence(long value)
The sequence number of the first event to receive
int64 initial_sequence = 2;public GetAggregateEventsRequest.Builder clearInitialSequence()
The sequence number of the first event to receive
int64 initial_sequence = 2;public boolean getAllowSnapshots()
Whether a snapshot may be returned as first element in the stream
bool allow_snapshots = 3;getAllowSnapshots in interface GetAggregateEventsRequestOrBuilderpublic GetAggregateEventsRequest.Builder setAllowSnapshots(boolean value)
Whether a snapshot may be returned as first element in the stream
bool allow_snapshots = 3;public GetAggregateEventsRequest.Builder clearAllowSnapshots()
Whether a snapshot may be returned as first element in the stream
bool allow_snapshots = 3;public long getMaxSequence()
The maximum sequence number (inclusive) of the events to retrieve, 0 means up to last event
int64 max_sequence = 4;getMaxSequence in interface GetAggregateEventsRequestOrBuilderpublic GetAggregateEventsRequest.Builder setMaxSequence(long value)
The maximum sequence number (inclusive) of the events to retrieve, 0 means up to last event
int64 max_sequence = 4;public GetAggregateEventsRequest.Builder clearMaxSequence()
The maximum sequence number (inclusive) of the events to retrieve, 0 means up to last event
int64 max_sequence = 4;public long getMinToken()
Hint for a minimum token to search events from
int64 min_token = 5;getMinToken in interface GetAggregateEventsRequestOrBuilderpublic GetAggregateEventsRequest.Builder setMinToken(long value)
Hint for a minimum token to search events from
int64 min_token = 5;public GetAggregateEventsRequest.Builder clearMinToken()
Hint for a minimum token to search events from
int64 min_token = 5;public final GetAggregateEventsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetAggregateEventsRequest.Builder>public final GetAggregateEventsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetAggregateEventsRequest.Builder>Copyright © 2020–2023 AxonIQ BV. All rights reserved.