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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public String getMessageIdentifier()
The unique identifier of this event
string message_identifier = 1;
getMessageIdentifier
in interface EventOrBuilder
public com.google.protobuf.ByteString getMessageIdentifierBytes()
The unique identifier of this event
string message_identifier = 1;
getMessageIdentifierBytes
in interface EventOrBuilder
public String getAggregateIdentifier()
The identifier of the Aggregate instance that published this event, if any
string aggregate_identifier = 2;
getAggregateIdentifier
in interface EventOrBuilder
public com.google.protobuf.ByteString getAggregateIdentifierBytes()
The identifier of the Aggregate instance that published this event, if any
string aggregate_identifier = 2;
getAggregateIdentifierBytes
in interface EventOrBuilder
public 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 EventOrBuilder
public String getAggregateType()
The Type of the Aggregate instance that published this Event, if any
string aggregate_type = 4;
getAggregateType
in interface EventOrBuilder
public com.google.protobuf.ByteString getAggregateTypeBytes()
The Type of the Aggregate instance that published this Event, if any
string aggregate_type = 4;
getAggregateTypeBytes
in interface EventOrBuilder
public long getTimestamp()
The timestamp of the Event
int64 timestamp = 5;
getTimestamp
in interface EventOrBuilder
public boolean hasPayload()
The Payload of the Event
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;
hasPayload
in interface EventOrBuilder
public SerializedObject getPayload()
The Payload of the Event
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;
getPayload
in interface EventOrBuilder
public SerializedObjectOrBuilder getPayloadOrBuilder()
The Payload of the Event
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;
getPayloadOrBuilder
in interface EventOrBuilder
public int getMetaDataCount()
EventOrBuilder
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
getMetaDataCount
in interface EventOrBuilder
public 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 EventOrBuilder
public Map<String,MetaDataValue> getMetaDataMap()
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
getMetaDataMap
in interface EventOrBuilder
public 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 EventOrBuilder
public MetaDataValue getMetaDataOrThrow(String key)
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
getMetaDataOrThrow
in interface EventOrBuilder
public boolean getSnapshot()
Flag indicating whether the Event is a snapshot Event
bool snapshot = 8;
getSnapshot
in interface EventOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Event parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Event parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Event parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Event parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Event parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Event parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Event parseFrom(InputStream input) throws IOException
IOException
public static Event parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Event parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Event parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Event parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Event parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Event.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Event.Builder newBuilder()
public static Event.Builder newBuilder(Event prototype)
public Event.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Event.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Event getDefaultInstance()
public static com.google.protobuf.Parser<Event> parser()
public com.google.protobuf.Parser<Event> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Event getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2010–2020. All rights reserved.