Package io.axoniq.axonserver.grpc.event
Class GetEventsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<GetEventsRequest.Builder>
-
- io.axoniq.axonserver.grpc.event.GetEventsRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GetEventsRequestOrBuilder,Cloneable
- Enclosing class:
- GetEventsRequest
public static final class GetEventsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetEventsRequest.Builder> implements GetEventsRequestOrBuilder
Request message to open an Event Stream from the Event Store.
Protobuf typeio.axoniq.axonserver.grpc.event.GetEventsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetEventsRequest.BuilderaddAllBlacklist(Iterable<? extends PayloadDescription> values)An enumeration of payload types that need to be blacklisted.GetEventsRequest.BuilderaddBlacklist(int index, PayloadDescription value)An enumeration of payload types that need to be blacklisted.GetEventsRequest.BuilderaddBlacklist(int index, PayloadDescription.Builder builderForValue)An enumeration of payload types that need to be blacklisted.GetEventsRequest.BuilderaddBlacklist(PayloadDescription value)An enumeration of payload types that need to be blacklisted.GetEventsRequest.BuilderaddBlacklist(PayloadDescription.Builder builderForValue)An enumeration of payload types that need to be blacklisted.PayloadDescription.BuilderaddBlacklistBuilder()An enumeration of payload types that need to be blacklisted.PayloadDescription.BuilderaddBlacklistBuilder(int index)An enumeration of payload types that need to be blacklisted.GetEventsRequestbuild()GetEventsRequestbuildPartial()GetEventsRequest.Builderclear()GetEventsRequest.BuilderclearBlacklist()An enumeration of payload types that need to be blacklisted.GetEventsRequest.BuilderclearClientId()The unique identifier of this client instance.GetEventsRequest.BuilderclearComponentName()The component name of this client instance.GetEventsRequest.BuilderclearForceReadFromLeader()Indicates whether to force reading events from the leader node of an Axon Server.GetEventsRequest.BuilderclearNumberOfPermits()The number of messages the server may send before it needs to wait for more permitsGetEventsRequest.BuilderclearProcessor()The name of the processor requesting this stream.GetEventsRequest.BuilderclearTrackingToken()The token to start streaming fromPayloadDescriptiongetBlacklist(int index)An enumeration of payload types that need to be blacklisted.PayloadDescription.BuildergetBlacklistBuilder(int index)An enumeration of payload types that need to be blacklisted.List<PayloadDescription.Builder>getBlacklistBuilderList()An enumeration of payload types that need to be blacklisted.intgetBlacklistCount()An enumeration of payload types that need to be blacklisted.List<PayloadDescription>getBlacklistList()An enumeration of payload types that need to be blacklisted.PayloadDescriptionOrBuildergetBlacklistOrBuilder(int index)An enumeration of payload types that need to be blacklisted.List<? extends PayloadDescriptionOrBuilder>getBlacklistOrBuilderList()An enumeration of payload types that need to be blacklisted.StringgetClientId()The unique identifier of this client instance.com.google.protobuf.ByteStringgetClientIdBytes()The unique identifier of this client instance.StringgetComponentName()The component name of this client instance.com.google.protobuf.ByteStringgetComponentNameBytes()The component name of this client instance.GetEventsRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetForceReadFromLeader()Indicates whether to force reading events from the leader node of an Axon Server.longgetNumberOfPermits()The number of messages the server may send before it needs to wait for more permitsStringgetProcessor()The name of the processor requesting this stream.com.google.protobuf.ByteStringgetProcessorBytes()The name of the processor requesting this stream.longgetTrackingToken()The token to start streaming fromprotected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()GetEventsRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GetEventsRequest.BuildermergeFrom(com.google.protobuf.Message other)GetEventsRequest.BuildermergeFrom(GetEventsRequest other)GetEventsRequest.BuilderremoveBlacklist(int index)An enumeration of payload types that need to be blacklisted.GetEventsRequest.BuildersetBlacklist(int index, PayloadDescription value)An enumeration of payload types that need to be blacklisted.GetEventsRequest.BuildersetBlacklist(int index, PayloadDescription.Builder builderForValue)An enumeration of payload types that need to be blacklisted.GetEventsRequest.BuildersetClientId(String value)The unique identifier of this client instance.GetEventsRequest.BuildersetClientIdBytes(com.google.protobuf.ByteString value)The unique identifier of this client instance.GetEventsRequest.BuildersetComponentName(String value)The component name of this client instance.GetEventsRequest.BuildersetComponentNameBytes(com.google.protobuf.ByteString value)The component name of this client instance.GetEventsRequest.BuildersetForceReadFromLeader(boolean value)Indicates whether to force reading events from the leader node of an Axon Server.GetEventsRequest.BuildersetNumberOfPermits(long value)The number of messages the server may send before it needs to wait for more permitsGetEventsRequest.BuildersetProcessor(String value)The name of the processor requesting this stream.GetEventsRequest.BuildersetProcessorBytes(com.google.protobuf.ByteString value)The name of the processor requesting this stream.GetEventsRequest.BuildersetTrackingToken(long value)The token to start streaming from-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GetEventsRequest.Builder>
-
clear
public GetEventsRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GetEventsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GetEventsRequest.Builder>
-
getDefaultInstanceForType
public GetEventsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GetEventsRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GetEventsRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GetEventsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetEventsRequest.Builder>
-
mergeFrom
public GetEventsRequest.Builder mergeFrom(GetEventsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GetEventsRequest.Builder>
-
mergeFrom
public GetEventsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetEventsRequest.Builder>- Throws:
IOException
-
getTrackingToken
public long getTrackingToken()
The token to start streaming from
int64 tracking_token = 1;- Specified by:
getTrackingTokenin interfaceGetEventsRequestOrBuilder- Returns:
- The trackingToken.
-
setTrackingToken
public GetEventsRequest.Builder setTrackingToken(long value)
The token to start streaming from
int64 tracking_token = 1;- Parameters:
value- The trackingToken to set.- Returns:
- This builder for chaining.
-
clearTrackingToken
public GetEventsRequest.Builder clearTrackingToken()
The token to start streaming from
int64 tracking_token = 1;- Returns:
- This builder for chaining.
-
getNumberOfPermits
public long getNumberOfPermits()
The number of messages the server may send before it needs to wait for more permits
int64 number_of_permits = 2;- Specified by:
getNumberOfPermitsin interfaceGetEventsRequestOrBuilder- Returns:
- The numberOfPermits.
-
setNumberOfPermits
public GetEventsRequest.Builder setNumberOfPermits(long value)
The number of messages the server may send before it needs to wait for more permits
int64 number_of_permits = 2;- Parameters:
value- The numberOfPermits to set.- Returns:
- This builder for chaining.
-
clearNumberOfPermits
public GetEventsRequest.Builder clearNumberOfPermits()
The number of messages the server may send before it needs to wait for more permits
int64 number_of_permits = 2;- Returns:
- This builder for chaining.
-
getClientId
public String getClientId()
The unique identifier of this client instance. Used for monitoring.
string client_id = 3;- Specified by:
getClientIdin interfaceGetEventsRequestOrBuilder- Returns:
- The clientId.
-
getClientIdBytes
public com.google.protobuf.ByteString getClientIdBytes()
The unique identifier of this client instance. Used for monitoring.
string client_id = 3;- Specified by:
getClientIdBytesin interfaceGetEventsRequestOrBuilder- Returns:
- The bytes for clientId.
-
setClientId
public GetEventsRequest.Builder setClientId(String value)
The unique identifier of this client instance. Used for monitoring.
string client_id = 3;- Parameters:
value- The clientId to set.- Returns:
- This builder for chaining.
-
clearClientId
public GetEventsRequest.Builder clearClientId()
The unique identifier of this client instance. Used for monitoring.
string client_id = 3;- Returns:
- This builder for chaining.
-
setClientIdBytes
public GetEventsRequest.Builder setClientIdBytes(com.google.protobuf.ByteString value)
The unique identifier of this client instance. Used for monitoring.
string client_id = 3;- Parameters:
value- The bytes for clientId to set.- Returns:
- This builder for chaining.
-
getComponentName
public String getComponentName()
The component name of this client instance. Used for monitoring.
string component_name = 4;- Specified by:
getComponentNamein interfaceGetEventsRequestOrBuilder- Returns:
- The componentName.
-
getComponentNameBytes
public com.google.protobuf.ByteString getComponentNameBytes()
The component name of this client instance. Used for monitoring.
string component_name = 4;- Specified by:
getComponentNameBytesin interfaceGetEventsRequestOrBuilder- Returns:
- The bytes for componentName.
-
setComponentName
public GetEventsRequest.Builder setComponentName(String value)
The component name of this client instance. Used for monitoring.
string component_name = 4;- Parameters:
value- The componentName to set.- Returns:
- This builder for chaining.
-
clearComponentName
public GetEventsRequest.Builder clearComponentName()
The component name of this client instance. Used for monitoring.
string component_name = 4;- Returns:
- This builder for chaining.
-
setComponentNameBytes
public GetEventsRequest.Builder setComponentNameBytes(com.google.protobuf.ByteString value)
The component name of this client instance. Used for monitoring.
string component_name = 4;- Parameters:
value- The bytes for componentName to set.- Returns:
- This builder for chaining.
-
getProcessor
public String getProcessor()
The name of the processor requesting this stream. Used for monitoring.
string processor = 5;- Specified by:
getProcessorin interfaceGetEventsRequestOrBuilder- Returns:
- The processor.
-
getProcessorBytes
public com.google.protobuf.ByteString getProcessorBytes()
The name of the processor requesting this stream. Used for monitoring.
string processor = 5;- Specified by:
getProcessorBytesin interfaceGetEventsRequestOrBuilder- Returns:
- The bytes for processor.
-
setProcessor
public GetEventsRequest.Builder setProcessor(String value)
The name of the processor requesting this stream. Used for monitoring.
string processor = 5;- Parameters:
value- The processor to set.- Returns:
- This builder for chaining.
-
clearProcessor
public GetEventsRequest.Builder clearProcessor()
The name of the processor requesting this stream. Used for monitoring.
string processor = 5;- Returns:
- This builder for chaining.
-
setProcessorBytes
public GetEventsRequest.Builder setProcessorBytes(com.google.protobuf.ByteString value)
The name of the processor requesting this stream. Used for monitoring.
string processor = 5;- Parameters:
value- The bytes for processor to set.- Returns:
- This builder for chaining.
-
getBlacklistList
public List<PayloadDescription> getBlacklistList()
An enumeration of payload types that need to be blacklisted. The Server will stop sending messages of these types in order to reduce I/O. Note that the Server may occasionally send a blacklisted message to prevent time-outs and stale tokens on clients.
repeated .io.axoniq.axonserver.grpc.event.PayloadDescription blacklist = 6;- Specified by:
getBlacklistListin interfaceGetEventsRequestOrBuilder
-
getBlacklistCount
public int getBlacklistCount()
An enumeration of payload types that need to be blacklisted. The Server will stop sending messages of these types in order to reduce I/O. Note that the Server may occasionally send a blacklisted message to prevent time-outs and stale tokens on clients.
repeated .io.axoniq.axonserver.grpc.event.PayloadDescription blacklist = 6;- Specified by:
getBlacklistCountin interfaceGetEventsRequestOrBuilder
-
getBlacklist
public PayloadDescription getBlacklist(int index)
An enumeration of payload types that need to be blacklisted. The Server will stop sending messages of these types in order to reduce I/O. Note that the Server may occasionally send a blacklisted message to prevent time-outs and stale tokens on clients.
repeated .io.axoniq.axonserver.grpc.event.PayloadDescription blacklist = 6;- Specified by:
getBlacklistin interfaceGetEventsRequestOrBuilder
-
setBlacklist
public GetEventsRequest.Builder setBlacklist(int index, PayloadDescription value)
An enumeration of payload types that need to be blacklisted. The Server will stop sending messages of these types in order to reduce I/O. Note that the Server may occasionally send a blacklisted message to prevent time-outs and stale tokens on clients.
repeated .io.axoniq.axonserver.grpc.event.PayloadDescription blacklist = 6;
-
setBlacklist
public GetEventsRequest.Builder setBlacklist(int index, PayloadDescription.Builder builderForValue)
An enumeration of payload types that need to be blacklisted. The Server will stop sending messages of these types in order to reduce I/O. Note that the Server may occasionally send a blacklisted message to prevent time-outs and stale tokens on clients.
repeated .io.axoniq.axonserver.grpc.event.PayloadDescription blacklist = 6;
-
addBlacklist
public GetEventsRequest.Builder addBlacklist(PayloadDescription value)
An enumeration of payload types that need to be blacklisted. The Server will stop sending messages of these types in order to reduce I/O. Note that the Server may occasionally send a blacklisted message to prevent time-outs and stale tokens on clients.
repeated .io.axoniq.axonserver.grpc.event.PayloadDescription blacklist = 6;
-
addBlacklist
public GetEventsRequest.Builder addBlacklist(int index, PayloadDescription value)
An enumeration of payload types that need to be blacklisted. The Server will stop sending messages of these types in order to reduce I/O. Note that the Server may occasionally send a blacklisted message to prevent time-outs and stale tokens on clients.
repeated .io.axoniq.axonserver.grpc.event.PayloadDescription blacklist = 6;
-
addBlacklist
public GetEventsRequest.Builder addBlacklist(PayloadDescription.Builder builderForValue)
An enumeration of payload types that need to be blacklisted. The Server will stop sending messages of these types in order to reduce I/O. Note that the Server may occasionally send a blacklisted message to prevent time-outs and stale tokens on clients.
repeated .io.axoniq.axonserver.grpc.event.PayloadDescription blacklist = 6;
-
addBlacklist
public GetEventsRequest.Builder addBlacklist(int index, PayloadDescription.Builder builderForValue)
An enumeration of payload types that need to be blacklisted. The Server will stop sending messages of these types in order to reduce I/O. Note that the Server may occasionally send a blacklisted message to prevent time-outs and stale tokens on clients.
repeated .io.axoniq.axonserver.grpc.event.PayloadDescription blacklist = 6;
-
addAllBlacklist
public GetEventsRequest.Builder addAllBlacklist(Iterable<? extends PayloadDescription> values)
An enumeration of payload types that need to be blacklisted. The Server will stop sending messages of these types in order to reduce I/O. Note that the Server may occasionally send a blacklisted message to prevent time-outs and stale tokens on clients.
repeated .io.axoniq.axonserver.grpc.event.PayloadDescription blacklist = 6;
-
clearBlacklist
public GetEventsRequest.Builder clearBlacklist()
An enumeration of payload types that need to be blacklisted. The Server will stop sending messages of these types in order to reduce I/O. Note that the Server may occasionally send a blacklisted message to prevent time-outs and stale tokens on clients.
repeated .io.axoniq.axonserver.grpc.event.PayloadDescription blacklist = 6;
-
removeBlacklist
public GetEventsRequest.Builder removeBlacklist(int index)
An enumeration of payload types that need to be blacklisted. The Server will stop sending messages of these types in order to reduce I/O. Note that the Server may occasionally send a blacklisted message to prevent time-outs and stale tokens on clients.
repeated .io.axoniq.axonserver.grpc.event.PayloadDescription blacklist = 6;
-
getBlacklistBuilder
public PayloadDescription.Builder getBlacklistBuilder(int index)
An enumeration of payload types that need to be blacklisted. The Server will stop sending messages of these types in order to reduce I/O. Note that the Server may occasionally send a blacklisted message to prevent time-outs and stale tokens on clients.
repeated .io.axoniq.axonserver.grpc.event.PayloadDescription blacklist = 6;
-
getBlacklistOrBuilder
public PayloadDescriptionOrBuilder getBlacklistOrBuilder(int index)
An enumeration of payload types that need to be blacklisted. The Server will stop sending messages of these types in order to reduce I/O. Note that the Server may occasionally send a blacklisted message to prevent time-outs and stale tokens on clients.
repeated .io.axoniq.axonserver.grpc.event.PayloadDescription blacklist = 6;- Specified by:
getBlacklistOrBuilderin interfaceGetEventsRequestOrBuilder
-
getBlacklistOrBuilderList
public List<? extends PayloadDescriptionOrBuilder> getBlacklistOrBuilderList()
An enumeration of payload types that need to be blacklisted. The Server will stop sending messages of these types in order to reduce I/O. Note that the Server may occasionally send a blacklisted message to prevent time-outs and stale tokens on clients.
repeated .io.axoniq.axonserver.grpc.event.PayloadDescription blacklist = 6;- Specified by:
getBlacklistOrBuilderListin interfaceGetEventsRequestOrBuilder
-
addBlacklistBuilder
public PayloadDescription.Builder addBlacklistBuilder()
An enumeration of payload types that need to be blacklisted. The Server will stop sending messages of these types in order to reduce I/O. Note that the Server may occasionally send a blacklisted message to prevent time-outs and stale tokens on clients.
repeated .io.axoniq.axonserver.grpc.event.PayloadDescription blacklist = 6;
-
addBlacklistBuilder
public PayloadDescription.Builder addBlacklistBuilder(int index)
An enumeration of payload types that need to be blacklisted. The Server will stop sending messages of these types in order to reduce I/O. Note that the Server may occasionally send a blacklisted message to prevent time-outs and stale tokens on clients.
repeated .io.axoniq.axonserver.grpc.event.PayloadDescription blacklist = 6;
-
getBlacklistBuilderList
public List<PayloadDescription.Builder> getBlacklistBuilderList()
An enumeration of payload types that need to be blacklisted. The Server will stop sending messages of these types in order to reduce I/O. Note that the Server may occasionally send a blacklisted message to prevent time-outs and stale tokens on clients.
repeated .io.axoniq.axonserver.grpc.event.PayloadDescription blacklist = 6;
-
getForceReadFromLeader
public boolean getForceReadFromLeader()
Indicates whether to force reading events from the leader node of an Axon Server. Forcing reads from leader reduces the staleness of the data read, but also puts extra burden on the leader, reducing overall scalability. <p> This property has no effect on connections to AxonServer SE. </p>
bool force_read_from_leader = 7;- Specified by:
getForceReadFromLeaderin interfaceGetEventsRequestOrBuilder- Returns:
- The forceReadFromLeader.
-
setForceReadFromLeader
public GetEventsRequest.Builder setForceReadFromLeader(boolean value)
Indicates whether to force reading events from the leader node of an Axon Server. Forcing reads from leader reduces the staleness of the data read, but also puts extra burden on the leader, reducing overall scalability. <p> This property has no effect on connections to AxonServer SE. </p>
bool force_read_from_leader = 7;- Parameters:
value- The forceReadFromLeader to set.- Returns:
- This builder for chaining.
-
clearForceReadFromLeader
public GetEventsRequest.Builder clearForceReadFromLeader()
Indicates whether to force reading events from the leader node of an Axon Server. Forcing reads from leader reduces the staleness of the data read, but also puts extra burden on the leader, reducing overall scalability. <p> This property has no effect on connections to AxonServer SE. </p>
bool force_read_from_leader = 7;- Returns:
- This builder for chaining.
-
-