io.axoniq.axonserver.grpc.event.EventOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of axonserver-connector-java Show documentation
Show all versions of axonserver-connector-java Show documentation
Connector module providing infrastructure components that connect to AxonServer.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: event.proto
package io.axoniq.axonserver.grpc.event;
public interface EventOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.axoniq.axonserver.grpc.event.Event)
com.google.protobuf.MessageOrBuilder {
/**
*
* The unique identifier of this event
*
*
* string message_identifier = 1;
*/
java.lang.String getMessageIdentifier();
/**
*
* The unique identifier of this event
*
*
* string message_identifier = 1;
*/
com.google.protobuf.ByteString
getMessageIdentifierBytes();
/**
*
* The identifier of the Aggregate instance that published this event, if any
*
*
* string aggregate_identifier = 2;
*/
java.lang.String getAggregateIdentifier();
/**
*
* The identifier of the Aggregate instance that published this event, if any
*
*
* string aggregate_identifier = 2;
*/
com.google.protobuf.ByteString
getAggregateIdentifierBytes();
/**
*
* The sequence number of the Event in the Aggregate instance that published it, if any
*
*
* int64 aggregate_sequence_number = 3;
*/
long getAggregateSequenceNumber();
/**
*
* The Type of the Aggregate instance that published this Event, if any
*
*
* string aggregate_type = 4;
*/
java.lang.String getAggregateType();
/**
*
* The Type of the Aggregate instance that published this Event, if any
*
*
* string aggregate_type = 4;
*/
com.google.protobuf.ByteString
getAggregateTypeBytes();
/**
*
* The timestamp of the Event
*
*
* int64 timestamp = 5;
*/
long getTimestamp();
/**
*
* The Payload of the Event
*
*
* .io.axoniq.axonserver.grpc.SerializedObject payload = 6;
*/
boolean hasPayload();
/**
*
* The Payload of the Event
*
*
* .io.axoniq.axonserver.grpc.SerializedObject payload = 6;
*/
io.axoniq.axonserver.grpc.SerializedObject getPayload();
/**
*
* The Payload of the Event
*
*
* .io.axoniq.axonserver.grpc.SerializedObject payload = 6;
*/
io.axoniq.axonserver.grpc.SerializedObjectOrBuilder getPayloadOrBuilder();
/**
*
* The Meta Data of the Event
*
*
* map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
*/
int getMetaDataCount();
/**
*
* The Meta Data of the Event
*
*
* map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
*/
boolean containsMetaData(
java.lang.String key);
/**
* Use {@link #getMetaDataMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getMetaData();
/**
*
* The Meta Data of the Event
*
*
* map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
*/
java.util.Map
getMetaDataMap();
/**
*
* The Meta Data of the Event
*
*
* map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
*/
io.axoniq.axonserver.grpc.MetaDataValue getMetaDataOrDefault(
java.lang.String key,
io.axoniq.axonserver.grpc.MetaDataValue defaultValue);
/**
*
* The Meta Data of the Event
*
*
* map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
*/
io.axoniq.axonserver.grpc.MetaDataValue getMetaDataOrThrow(
java.lang.String key);
/**
*
* Flag indicating whether the Event is a snapshot Event
*
*
* bool snapshot = 8;
*/
boolean getSnapshot();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy