Class Umadb.Event
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
umadb.v1.Umadb.Event
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Umadb.EventOrBuilder
- Enclosing class:
Umadb
public static final class Umadb.Event
extends com.google.protobuf.GeneratedMessage
implements Umadb.EventOrBuilder
Represents a discrete state change, fact, or action within the system.Protobuf type
umadb.v1.Event- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents a discrete state change, fact, or action within the system.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.ByteStringgetData()The serialized payload of the event (e.g., JSON, Protobuf).static Umadb.Eventstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe 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.com.google.protobuf.Parser<Umadb.Event> intgetTags(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.com.google.protobuf.ProtocolStringListIndexed 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.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Umadb.Event.Builderstatic Umadb.Event.BuildernewBuilder(Umadb.Event prototype) protected Umadb.Event.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Umadb.EventparseDelimitedFrom(InputStream input) static Umadb.EventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Umadb.EventparseFrom(byte[] data) static Umadb.EventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Umadb.EventparseFrom(com.google.protobuf.ByteString data) static Umadb.EventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Umadb.EventparseFrom(com.google.protobuf.CodedInputStream input) static Umadb.EventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Umadb.EventparseFrom(InputStream input) static Umadb.EventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Umadb.EventparseFrom(ByteBuffer data) static Umadb.EventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Umadb.Event> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
EVENT_TYPE_FIELD_NUMBER
public static final int EVENT_TYPE_FIELD_NUMBER- See Also:
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- See Also:
-
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER- See Also:
-
UUID_FIELD_NUMBER
public static final int UUID_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getEventType
The domain type or schema identifier of the event (e.g., 'UserCreated').
string event_type = 1;- Specified by:
getEventTypein interfaceUmadb.EventOrBuilder- Returns:
- The eventType.
-
getEventTypeBytes
public com.google.protobuf.ByteString getEventTypeBytes()The domain type or schema identifier of the event (e.g., 'UserCreated').
string event_type = 1;- Specified by:
getEventTypeBytesin interfaceUmadb.EventOrBuilder- Returns:
- The bytes for eventType.
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()Indexed labels used for filtering and categorizing events.
repeated string tags = 2;- Specified by:
getTagsListin interfaceUmadb.EventOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()Indexed labels used for filtering and categorizing events.
repeated string tags = 2;- Specified by:
getTagsCountin interfaceUmadb.EventOrBuilder- Returns:
- The count of tags.
-
getTags
Indexed labels used for filtering and categorizing events.
repeated string tags = 2;- Specified by:
getTagsin interfaceUmadb.EventOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) Indexed labels used for filtering and categorizing events.
repeated string tags = 2;- Specified by:
getTagsBytesin interfaceUmadb.EventOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
getData
public com.google.protobuf.ByteString getData()The serialized payload of the event (e.g., JSON, Protobuf).
bytes data = 3;- Specified by:
getDatain interfaceUmadb.EventOrBuilder- Returns:
- The data.
-
getUuid
A universally unique identifier for the event, useful for idempotency and deduplication.
string uuid = 4;- Specified by:
getUuidin interfaceUmadb.EventOrBuilder- Returns:
- The uuid.
-
getUuidBytes
public com.google.protobuf.ByteString getUuidBytes()A universally unique identifier for the event, useful for idempotency and deduplication.
string uuid = 4;- Specified by:
getUuidBytesin interfaceUmadb.EventOrBuilder- Returns:
- The bytes for uuid.
-
getMetadataList
Additional context or headers (e.g., correlation IDs, user agents) not part of the core payload.
repeated .umadb.v1.MetadataEntry metadata = 5;- Specified by:
getMetadataListin interfaceUmadb.EventOrBuilder
-
getMetadataOrBuilderList
Additional context or headers (e.g., correlation IDs, user agents) not part of the core payload.
repeated .umadb.v1.MetadataEntry metadata = 5;- Specified by:
getMetadataOrBuilderListin interfaceUmadb.EventOrBuilder
-
getMetadataCount
public int getMetadataCount()Additional context or headers (e.g., correlation IDs, user agents) not part of the core payload.
repeated .umadb.v1.MetadataEntry metadata = 5;- Specified by:
getMetadataCountin interfaceUmadb.EventOrBuilder
-
getMetadata
Additional context or headers (e.g., correlation IDs, user agents) not part of the core payload.
repeated .umadb.v1.MetadataEntry metadata = 5;- Specified by:
getMetadatain interfaceUmadb.EventOrBuilder
-
getMetadataOrBuilder
Additional context or headers (e.g., correlation IDs, user agents) not part of the core payload.
repeated .umadb.v1.MetadataEntry metadata = 5;- Specified by:
getMetadataOrBuilderin interfaceUmadb.EventOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Umadb.Event parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Umadb.Event parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Umadb.Event parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Umadb.Event parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Umadb.Event parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Umadb.Event parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Umadb.Event parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Umadb.Event parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Umadb.Event parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Umadb.Event.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-