public static final class QueryEventsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<QueryEventsRequest.Builder> implements QueryEventsRequestOrBuilder
Message providing the parameters for executing a Query against AxonServer.Protobuf type
io.axoniq.axonserver.grpc.event.QueryEventsRequest
Modifier and Type | Method and Description |
---|---|
QueryEventsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QueryEventsRequest |
build() |
QueryEventsRequest |
buildPartial() |
QueryEventsRequest.Builder |
clear() |
QueryEventsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
QueryEventsRequest.Builder |
clearLiveEvents()
Whether to keep the query running against incoming events once the Head of the Stream is reached
|
QueryEventsRequest.Builder |
clearNumberOfPermits()
The number of results AxonServer may send before new permits need to be provided
|
QueryEventsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
QueryEventsRequest.Builder |
clearQuery()
The query to execute against the Event Stream
|
QueryEventsRequest.Builder |
clone() |
QueryEventsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getLiveEvents()
Whether to keep the query running against incoming events once the Head of the Stream is reached
|
long |
getNumberOfPermits()
The number of results AxonServer may send before new permits need to be provided
|
String |
getQuery()
The query to execute against the Event Stream
|
com.google.protobuf.ByteString |
getQueryBytes()
The query to execute against the Event Stream
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
QueryEventsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
QueryEventsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
QueryEventsRequest.Builder |
mergeFrom(QueryEventsRequest other) |
QueryEventsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
QueryEventsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QueryEventsRequest.Builder |
setLiveEvents(boolean value)
Whether to keep the query running against incoming events once the Head of the Stream is reached
|
QueryEventsRequest.Builder |
setNumberOfPermits(long value)
The number of results AxonServer may send before new permits need to be provided
|
QueryEventsRequest.Builder |
setQuery(String value)
The query to execute against the Event Stream
|
QueryEventsRequest.Builder |
setQueryBytes(com.google.protobuf.ByteString value)
The query to execute against the Event Stream
|
QueryEventsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
QueryEventsRequest.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<QueryEventsRequest.Builder>
public QueryEventsRequest.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<QueryEventsRequest.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<QueryEventsRequest.Builder>
public QueryEventsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public QueryEventsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public QueryEventsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public QueryEventsRequest.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<QueryEventsRequest.Builder>
public QueryEventsRequest.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<QueryEventsRequest.Builder>
public QueryEventsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<QueryEventsRequest.Builder>
public QueryEventsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<QueryEventsRequest.Builder>
public QueryEventsRequest.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<QueryEventsRequest.Builder>
public QueryEventsRequest.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<QueryEventsRequest.Builder>
public QueryEventsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<QueryEventsRequest.Builder>
public QueryEventsRequest.Builder mergeFrom(QueryEventsRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<QueryEventsRequest.Builder>
public QueryEventsRequest.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<QueryEventsRequest.Builder>
IOException
public String getQuery()
The query to execute against the Event Stream
string query = 1;
getQuery
in interface QueryEventsRequestOrBuilder
public com.google.protobuf.ByteString getQueryBytes()
The query to execute against the Event Stream
string query = 1;
getQueryBytes
in interface QueryEventsRequestOrBuilder
public QueryEventsRequest.Builder setQuery(String value)
The query to execute against the Event Stream
string query = 1;
public QueryEventsRequest.Builder clearQuery()
The query to execute against the Event Stream
string query = 1;
public QueryEventsRequest.Builder setQueryBytes(com.google.protobuf.ByteString value)
The query to execute against the Event Stream
string query = 1;
public long getNumberOfPermits()
The number of results AxonServer may send before new permits need to be provided
int64 number_of_permits = 2;
getNumberOfPermits
in interface QueryEventsRequestOrBuilder
public QueryEventsRequest.Builder setNumberOfPermits(long value)
The number of results AxonServer may send before new permits need to be provided
int64 number_of_permits = 2;
public QueryEventsRequest.Builder clearNumberOfPermits()
The number of results AxonServer may send before new permits need to be provided
int64 number_of_permits = 2;
public boolean getLiveEvents()
Whether to keep the query running against incoming events once the Head of the Stream is reached
bool live_events = 3;
getLiveEvents
in interface QueryEventsRequestOrBuilder
public QueryEventsRequest.Builder setLiveEvents(boolean value)
Whether to keep the query running against incoming events once the Head of the Stream is reached
bool live_events = 3;
public QueryEventsRequest.Builder clearLiveEvents()
Whether to keep the query running against incoming events once the Head of the Stream is reached
bool live_events = 3;
public final QueryEventsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<QueryEventsRequest.Builder>
public final QueryEventsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<QueryEventsRequest.Builder>
Copyright © 2010–2020. All rights reserved.