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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    Represents 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.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    com.google.protobuf.ByteString
    The serialized payload of the event (e.g., JSON, Protobuf).
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The domain type or schema identifier of the event (e.g., 'UserCreated').
    com.google.protobuf.ByteString
    The 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.
    int
    Additional 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.
    Additional 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.
    com.google.protobuf.Parser<Umadb.Event>
     
    int
     
    getTags(int index)
    Indexed labels used for filtering and categorizing events.
    com.google.protobuf.ByteString
    getTagsBytes(int index)
    Indexed labels used for filtering and categorizing events.
    int
    Indexed labels used for filtering and categorizing events.
    com.google.protobuf.ProtocolStringList
    Indexed labels used for filtering and categorizing events.
    A universally unique identifier for the event, useful for idempotency and deduplication.
    com.google.protobuf.ByteString
    A universally unique identifier for the event, useful for idempotency and deduplication.
    int
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Umadb.Event>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getEventType

      public String getEventType()
      The domain type or schema identifier of the event (e.g., 'UserCreated').
      
      string event_type = 1;
      Specified by:
      getEventType in interface Umadb.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:
      getEventTypeBytes in interface Umadb.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:
      getTagsList in interface Umadb.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:
      getTagsCount in interface Umadb.EventOrBuilder
      Returns:
      The count of tags.
    • getTags

      public String getTags(int index)
      Indexed labels used for filtering and categorizing events.
      
      repeated string tags = 2;
      Specified by:
      getTags in interface Umadb.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:
      getTagsBytes in interface Umadb.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:
      getData in interface Umadb.EventOrBuilder
      Returns:
      The data.
    • getUuid

      public String getUuid()
      A universally unique identifier for the event, useful for idempotency and deduplication.
      
      string uuid = 4;
      Specified by:
      getUuid in interface Umadb.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:
      getUuidBytes in interface Umadb.EventOrBuilder
      Returns:
      The bytes for uuid.
    • getMetadataList

      public 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;
      Specified by:
      getMetadataList in interface Umadb.EventOrBuilder
    • getMetadataOrBuilderList

      public 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;
      Specified by:
      getMetadataOrBuilderList in interface Umadb.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:
      getMetadataCount in interface Umadb.EventOrBuilder
    • getMetadata

      public Umadb.MetadataEntry getMetadata(int index)
      Additional context or headers (e.g., correlation IDs, user agents) not part of the core payload.
      
      repeated .umadb.v1.MetadataEntry metadata = 5;
      Specified by:
      getMetadata in interface Umadb.EventOrBuilder
    • getMetadataOrBuilder

      public Umadb.MetadataEntryOrBuilder getMetadataOrBuilder(int index)
      Additional context or headers (e.g., correlation IDs, user agents) not part of the core payload.
      
      repeated .umadb.v1.MetadataEntry metadata = 5;
      Specified by:
      getMetadataOrBuilder in interface Umadb.EventOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static Umadb.Event parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Umadb.Event parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Umadb.Event parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Umadb.Event parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Umadb.Event parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Umadb.Event parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Umadb.Event.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Umadb.Event.Builder newBuilder()
    • newBuilder

      public static Umadb.Event.Builder newBuilder(Umadb.Event prototype)
    • toBuilder

      public Umadb.Event.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Umadb.Event.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Umadb.Event getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Umadb.Event> parser()
    • getParserForType

      public com.google.protobuf.Parser<Umadb.Event> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Umadb.Event getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder