Class AppendEventsRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.axoniq.axonserver.grpc.event.dcb.AppendEventsRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AppendEventsRequestOrBuilder,Serializable
@Generated public final class AppendEventsRequest extends com.google.protobuf.GeneratedMessage implements AppendEventsRequestOrBuilder
The message representing the request to append events to the event store.
Protobuf typeio.axoniq.axonserver.grpc.event.dcb.AppendEventsRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAppendEventsRequest.BuilderThe message representing the request to append events to the event store.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCONDITION_FIELD_NUMBERstatic intEVENT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ConsistencyConditiongetCondition()The condition used to check the validity of this request.ConsistencyConditionOrBuildergetConditionOrBuilder()The condition used to check the validity of this request.static AppendEventsRequestgetDefaultInstance()AppendEventsRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()TaggedEventgetEvent(int index)A list of tagged events to be appended to the event store if the condition is met.intgetEventCount()A list of tagged events to be appended to the event store if the condition is met.List<TaggedEvent>getEventList()A list of tagged events to be appended to the event store if the condition is met.TaggedEventOrBuildergetEventOrBuilder(int index)A list of tagged events to be appended to the event store if the condition is met.List<? extends TaggedEventOrBuilder>getEventOrBuilderList()A list of tagged events to be appended to the event store if the condition is met.com.google.protobuf.Parser<AppendEventsRequest>getParserForType()intgetSerializedSize()booleanhasCondition()The condition used to check the validity of this request.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static AppendEventsRequest.BuildernewBuilder()static AppendEventsRequest.BuildernewBuilder(AppendEventsRequest prototype)AppendEventsRequest.BuildernewBuilderForType()protected AppendEventsRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static AppendEventsRequestparseDelimitedFrom(InputStream input)static AppendEventsRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppendEventsRequestparseFrom(byte[] data)static AppendEventsRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppendEventsRequestparseFrom(com.google.protobuf.ByteString data)static AppendEventsRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppendEventsRequestparseFrom(com.google.protobuf.CodedInputStream input)static AppendEventsRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppendEventsRequestparseFrom(InputStream input)static AppendEventsRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppendEventsRequestparseFrom(ByteBuffer data)static AppendEventsRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AppendEventsRequest>parser()AppendEventsRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CONDITION_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENT_FIELD_NUMBER
public static final int EVENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasCondition
public boolean hasCondition()
The condition used to check the validity of this request. If omitted, events will be appended unconditionally.
.io.axoniq.axonserver.grpc.event.dcb.ConsistencyCondition condition = 1;- Specified by:
hasConditionin interfaceAppendEventsRequestOrBuilder- Returns:
- Whether the condition field is set.
-
getCondition
public ConsistencyCondition getCondition()
The condition used to check the validity of this request. If omitted, events will be appended unconditionally.
.io.axoniq.axonserver.grpc.event.dcb.ConsistencyCondition condition = 1;- Specified by:
getConditionin interfaceAppendEventsRequestOrBuilder- Returns:
- The condition.
-
getConditionOrBuilder
public ConsistencyConditionOrBuilder getConditionOrBuilder()
The condition used to check the validity of this request. If omitted, events will be appended unconditionally.
.io.axoniq.axonserver.grpc.event.dcb.ConsistencyCondition condition = 1;- Specified by:
getConditionOrBuilderin interfaceAppendEventsRequestOrBuilder
-
getEventList
public List<TaggedEvent> getEventList()
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;- Specified by:
getEventListin interfaceAppendEventsRequestOrBuilder
-
getEventOrBuilderList
public List<? extends TaggedEventOrBuilder> getEventOrBuilderList()
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;- Specified by:
getEventOrBuilderListin interfaceAppendEventsRequestOrBuilder
-
getEventCount
public int getEventCount()
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;- Specified by:
getEventCountin interfaceAppendEventsRequestOrBuilder
-
getEvent
public TaggedEvent getEvent(int index)
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;- Specified by:
getEventin interfaceAppendEventsRequestOrBuilder
-
getEventOrBuilder
public TaggedEventOrBuilder getEventOrBuilder(int index)
A list of tagged events to be appended to the event store if the condition is met. These events are considered as a transaction - they are either all appended or none of them are appended. The event store will index the events based on provided tags for future faster retrieval.
repeated .io.axoniq.axonserver.grpc.event.dcb.TaggedEvent event = 2;- Specified by:
getEventOrBuilderin interfaceAppendEventsRequestOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AppendEventsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppendEventsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppendEventsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppendEventsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppendEventsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppendEventsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppendEventsRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AppendEventsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AppendEventsRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AppendEventsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static AppendEventsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AppendEventsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public AppendEventsRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AppendEventsRequest.Builder newBuilder()
-
newBuilder
public static AppendEventsRequest.Builder newBuilder(AppendEventsRequest prototype)
-
toBuilder
public AppendEventsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AppendEventsRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static AppendEventsRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AppendEventsRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<AppendEventsRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public AppendEventsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-