Package io.axoniq.axonserver.grpc.event
Interface EventOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Event,Event.Builder
@Generated public interface EventOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetaData(String key)The Meta Data of the EventStringgetAggregateIdentifier()The identifier of the Aggregate instance that published this event, if anycom.google.protobuf.ByteStringgetAggregateIdentifierBytes()The identifier of the Aggregate instance that published this event, if anylonggetAggregateSequenceNumber()The sequence number of the Event in the Aggregate instance that published it, if anyStringgetAggregateType()The Type of the Aggregate instance that published this Event, if anycom.google.protobuf.ByteStringgetAggregateTypeBytes()The Type of the Aggregate instance that published this Event, if anyStringgetMessageIdentifier()The unique identifier of this eventcom.google.protobuf.ByteStringgetMessageIdentifierBytes()The unique identifier of this eventMap<String,MetaDataValue>getMetaData()Deprecated.intgetMetaDataCount()The Meta Data of the EventMap<String,MetaDataValue>getMetaDataMap()The Meta Data of the EventMetaDataValuegetMetaDataOrDefault(String key, MetaDataValue defaultValue)The Meta Data of the EventMetaDataValuegetMetaDataOrThrow(String key)The Meta Data of the EventSerializedObjectgetPayload()The Payload of the EventSerializedObjectOrBuildergetPayloadOrBuilder()The Payload of the EventbooleangetSnapshot()Flag indicating whether the Event is a snapshot EventlonggetTimestamp()The timestamp of the EventbooleanhasPayload()The Payload of the Event-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMessageIdentifier
String getMessageIdentifier()
The unique identifier of this event
string message_identifier = 1;- Returns:
- The messageIdentifier.
-
getMessageIdentifierBytes
com.google.protobuf.ByteString getMessageIdentifierBytes()
The unique identifier of this event
string message_identifier = 1;- Returns:
- The bytes for messageIdentifier.
-
getAggregateIdentifier
String getAggregateIdentifier()
The identifier of the Aggregate instance that published this event, if any
string aggregate_identifier = 2;- Returns:
- The aggregateIdentifier.
-
getAggregateIdentifierBytes
com.google.protobuf.ByteString getAggregateIdentifierBytes()
The identifier of the Aggregate instance that published this event, if any
string aggregate_identifier = 2;- Returns:
- The bytes for aggregateIdentifier.
-
getAggregateSequenceNumber
long getAggregateSequenceNumber()
The sequence number of the Event in the Aggregate instance that published it, if any
int64 aggregate_sequence_number = 3;- Returns:
- The aggregateSequenceNumber.
-
getAggregateType
String getAggregateType()
The Type of the Aggregate instance that published this Event, if any
string aggregate_type = 4;- Returns:
- The aggregateType.
-
getAggregateTypeBytes
com.google.protobuf.ByteString getAggregateTypeBytes()
The Type of the Aggregate instance that published this Event, if any
string aggregate_type = 4;- Returns:
- The bytes for aggregateType.
-
getTimestamp
long getTimestamp()
The timestamp of the Event
int64 timestamp = 5;- Returns:
- The timestamp.
-
hasPayload
boolean hasPayload()
The Payload of the Event
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;- Returns:
- Whether the payload field is set.
-
getPayload
SerializedObject getPayload()
The Payload of the Event
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;- Returns:
- The payload.
-
getPayloadOrBuilder
SerializedObjectOrBuilder getPayloadOrBuilder()
The Payload of the Event
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;
-
getMetaDataCount
int getMetaDataCount()
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
-
containsMetaData
boolean containsMetaData(String key)
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
-
getMetaData
@Deprecated Map<String,MetaDataValue> getMetaData()
Deprecated.UsegetMetaDataMap()instead.
-
getMetaDataMap
Map<String,MetaDataValue> getMetaDataMap()
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
-
getMetaDataOrDefault
MetaDataValue getMetaDataOrDefault(String key, MetaDataValue defaultValue)
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
-
getMetaDataOrThrow
MetaDataValue getMetaDataOrThrow(String key)
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
-
getSnapshot
boolean getSnapshot()
Flag indicating whether the Event is a snapshot Event
bool snapshot = 8;- Returns:
- The snapshot.
-
-