Interface Umadb.EventOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Umadb.Event, Umadb.Event.Builder
- Enclosing class:
Umadb
public static interface Umadb.EventOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringgetData()The serialized payload of the event (e.g., JSON, Protobuf).The domain type or schema identifier of the event (e.g., 'UserCreated').com.google.protobuf.ByteStringThe domain type or schema identifier of the event (e.g., 'UserCreated').getMetadata(int index) Additional context or headers (e.g., correlation IDs, user agents) not part of the core payload.intAdditional context or headers (e.g., correlation IDs, user agents) not part of the core payload.Additional context or headers (e.g., correlation IDs, user agents) not part of the core payload.getMetadataOrBuilder(int index) Additional context or headers (e.g., correlation IDs, user agents) not part of the core payload.List<? extends Umadb.MetadataEntryOrBuilder> Additional context or headers (e.g., correlation IDs, user agents) not part of the core payload.getTags(int index) Indexed labels used for filtering and categorizing events.com.google.protobuf.ByteStringgetTagsBytes(int index) Indexed labels used for filtering and categorizing events.intIndexed labels used for filtering and categorizing events.Indexed labels used for filtering and categorizing events.getUuid()A universally unique identifier for the event, useful for idempotency and deduplication.com.google.protobuf.ByteStringA universally unique identifier for the event, useful for idempotency and deduplication.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEventType
String getEventType()The domain type or schema identifier of the event (e.g., 'UserCreated').
string event_type = 1;- Returns:
- The eventType.
-
getEventTypeBytes
com.google.protobuf.ByteString getEventTypeBytes()The domain type or schema identifier of the event (e.g., 'UserCreated').
string event_type = 1;- Returns:
- The bytes for eventType.
-
getTagsList
-
getTagsCount
int getTagsCount()Indexed labels used for filtering and categorizing events.
repeated string tags = 2;- Returns:
- The count of tags.
-
getTags
Indexed labels used for filtering and categorizing events.
repeated string tags = 2;- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
com.google.protobuf.ByteString getTagsBytes(int index) Indexed labels used for filtering and categorizing events.
repeated string tags = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
getData
com.google.protobuf.ByteString getData()The serialized payload of the event (e.g., JSON, Protobuf).
bytes data = 3;- Returns:
- The data.
-
getUuid
String getUuid()A universally unique identifier for the event, useful for idempotency and deduplication.
string uuid = 4;- Returns:
- The uuid.
-
getUuidBytes
com.google.protobuf.ByteString getUuidBytes()A universally unique identifier for the event, useful for idempotency and deduplication.
string uuid = 4;- Returns:
- The bytes for uuid.
-
getMetadataList
List<Umadb.MetadataEntry> getMetadataList()Additional context or headers (e.g., correlation IDs, user agents) not part of the core payload.
repeated .umadb.v1.MetadataEntry metadata = 5; -
getMetadata
Additional context or headers (e.g., correlation IDs, user agents) not part of the core payload.
repeated .umadb.v1.MetadataEntry metadata = 5; -
getMetadataCount
int getMetadataCount()Additional context or headers (e.g., correlation IDs, user agents) not part of the core payload.
repeated .umadb.v1.MetadataEntry metadata = 5; -
getMetadataOrBuilderList
List<? extends Umadb.MetadataEntryOrBuilder> getMetadataOrBuilderList()Additional context or headers (e.g., correlation IDs, user agents) not part of the core payload.
repeated .umadb.v1.MetadataEntry metadata = 5; -
getMetadataOrBuilder
Additional context or headers (e.g., correlation IDs, user agents) not part of the core payload.
repeated .umadb.v1.MetadataEntry metadata = 5;
-