public final class Event extends com.google.protobuf.GeneratedMessageV3 implements EventOrBuilder
Message containing the information of an EventProtobuf type
io.axoniq.axonserver.grpc.event.Event| Modifier and Type | Class and Description |
|---|---|
static class |
Event.Builder
Message containing the information of an Event
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
AGGREGATE_IDENTIFIER_FIELD_NUMBER |
static int |
AGGREGATE_SEQUENCE_NUMBER_FIELD_NUMBER |
static int |
AGGREGATE_TYPE_FIELD_NUMBER |
static int |
MESSAGE_IDENTIFIER_FIELD_NUMBER |
static int |
META_DATA_FIELD_NUMBER |
static int |
PAYLOAD_FIELD_NUMBER |
static int |
SNAPSHOT_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMetaData(String key)
The Meta Data of the Event
|
boolean |
equals(Object obj) |
String |
getAggregateIdentifier()
The identifier of the Aggregate instance that published this event, if any
|
com.google.protobuf.ByteString |
getAggregateIdentifierBytes()
The identifier of the Aggregate instance that published this event, if any
|
long |
getAggregateSequenceNumber()
The sequence number of the Event in the Aggregate instance that published it, if any
|
String |
getAggregateType()
The Type of the Aggregate instance that published this Event, if any
|
com.google.protobuf.ByteString |
getAggregateTypeBytes()
The Type of the Aggregate instance that published this Event, if any
|
static Event |
getDefaultInstance() |
Event |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getMessageIdentifier()
The unique identifier of this event
|
com.google.protobuf.ByteString |
getMessageIdentifierBytes()
The unique identifier of this event
|
Map<String,MetaDataValue> |
getMetaData()
Deprecated.
|
int |
getMetaDataCount()
The Meta Data of the Event
|
Map<String,MetaDataValue> |
getMetaDataMap()
The Meta Data of the Event
|
MetaDataValue |
getMetaDataOrDefault(String key,
MetaDataValue defaultValue)
The Meta Data of the Event
|
MetaDataValue |
getMetaDataOrThrow(String key)
The Meta Data of the Event
|
com.google.protobuf.Parser<Event> |
getParserForType() |
SerializedObject |
getPayload()
The Payload of the Event
|
SerializedObjectOrBuilder |
getPayloadOrBuilder()
The Payload of the Event
|
int |
getSerializedSize() |
boolean |
getSnapshot()
Flag indicating whether the Event is a snapshot Event
|
long |
getTimestamp()
The timestamp of the Event
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasPayload()
The Payload of the Event
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Event.Builder |
newBuilder() |
static Event.Builder |
newBuilder(Event prototype) |
Event.Builder |
newBuilderForType() |
protected Event.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Event |
parseDelimitedFrom(InputStream input) |
static Event |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Event |
parseFrom(byte[] data) |
static Event |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Event |
parseFrom(ByteBuffer data) |
static Event |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Event |
parseFrom(com.google.protobuf.ByteString data) |
static Event |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Event |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Event |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Event |
parseFrom(InputStream input) |
static Event |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Event> |
parser() |
Event.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MESSAGE_IDENTIFIER_FIELD_NUMBER
public static final int AGGREGATE_IDENTIFIER_FIELD_NUMBER
public static final int AGGREGATE_SEQUENCE_NUMBER_FIELD_NUMBER
public static final int AGGREGATE_TYPE_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
public static final int META_DATA_FIELD_NUMBER
public static final int SNAPSHOT_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getMessageIdentifier()
The unique identifier of this event
string message_identifier = 1;getMessageIdentifier in interface EventOrBuilderpublic com.google.protobuf.ByteString getMessageIdentifierBytes()
The unique identifier of this event
string message_identifier = 1;getMessageIdentifierBytes in interface EventOrBuilderpublic String getAggregateIdentifier()
The identifier of the Aggregate instance that published this event, if any
string aggregate_identifier = 2;getAggregateIdentifier in interface EventOrBuilderpublic com.google.protobuf.ByteString getAggregateIdentifierBytes()
The identifier of the Aggregate instance that published this event, if any
string aggregate_identifier = 2;getAggregateIdentifierBytes in interface EventOrBuilderpublic long getAggregateSequenceNumber()
The sequence number of the Event in the Aggregate instance that published it, if any
int64 aggregate_sequence_number = 3;getAggregateSequenceNumber in interface EventOrBuilderpublic String getAggregateType()
The Type of the Aggregate instance that published this Event, if any
string aggregate_type = 4;getAggregateType in interface EventOrBuilderpublic com.google.protobuf.ByteString getAggregateTypeBytes()
The Type of the Aggregate instance that published this Event, if any
string aggregate_type = 4;getAggregateTypeBytes in interface EventOrBuilderpublic long getTimestamp()
The timestamp of the Event
int64 timestamp = 5;getTimestamp in interface EventOrBuilderpublic boolean hasPayload()
The Payload of the Event
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;hasPayload in interface EventOrBuilderpublic SerializedObject getPayload()
The Payload of the Event
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;getPayload in interface EventOrBuilderpublic SerializedObjectOrBuilder getPayloadOrBuilder()
The Payload of the Event
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;getPayloadOrBuilder in interface EventOrBuilderpublic int getMetaDataCount()
EventOrBuilderThe Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;getMetaDataCount in interface EventOrBuilderpublic boolean containsMetaData(String key)
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;containsMetaData in interface EventOrBuilder@Deprecated public Map<String,MetaDataValue> getMetaData()
getMetaDataMap() instead.getMetaData in interface EventOrBuilderpublic Map<String,MetaDataValue> getMetaDataMap()
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;getMetaDataMap in interface EventOrBuilderpublic MetaDataValue getMetaDataOrDefault(String key, MetaDataValue defaultValue)
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;getMetaDataOrDefault in interface EventOrBuilderpublic MetaDataValue getMetaDataOrThrow(String key)
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;getMetaDataOrThrow in interface EventOrBuilderpublic boolean getSnapshot()
Flag indicating whether the Event is a snapshot Event
bool snapshot = 8;getSnapshot in interface EventOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Event parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Event parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Event parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Event parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Event parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Event parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Event parseFrom(InputStream input) throws IOException
IOExceptionpublic static Event parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Event parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Event parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Event parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Event parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Event.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Event.Builder newBuilder()
public static Event.Builder newBuilder(Event prototype)
public Event.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Event.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Event getDefaultInstance()
public static com.google.protobuf.Parser<Event> parser()
public com.google.protobuf.Parser<Event> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Event getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2010–2020. All rights reserved.