Class Event

  • All Implemented Interfaces:
    com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, EventOrBuilder

    public final class Event
    extends com.google.protobuf.GeneratedMessageLite<Event,​Event.Builder>
    implements EventOrBuilder
    Protobuf type streamlayer.triggers.Event
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Event.Builder
      Protobuf type streamlayer.triggers.Event
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

        com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,​?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,​Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)  
      java.lang.String getDatasource()
      datasource
      com.google.protobuf.ByteString getDatasourceBytes()
      datasource
      static Event getDefaultInstance()  
      java.lang.String getId()
      unique raw event identifier from datasource
      com.google.protobuf.ByteString getIdBytes()
      unique raw event identifier from datasource
      java.lang.String getName()
      event name
      com.google.protobuf.ByteString getNameBytes()
      event name
      java.lang.String getScope()
      scope of event
      com.google.protobuf.ByteString getScopeBytes()
      scope of event
      java.lang.String getScopeId()
      unique scope identifier, e.g.
      com.google.protobuf.ByteString getScopeIdBytes()
      unique scope identifier, e.g.
      long getTimestamp()
      timestamp, unixtime millis
      java.lang.String getValue()
      event value
      com.google.protobuf.ByteString getValueBytes()
      event value
      static Event.Builder newBuilder()  
      static Event.Builder newBuilder​(Event prototype)  
      static Event parseDelimitedFrom​(java.io.InputStream input)  
      static Event parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Event parseFrom​(byte[] data)  
      static Event parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Event parseFrom​(com.google.protobuf.ByteString data)  
      static Event parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Event parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Event parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Event parseFrom​(java.io.InputStream input)  
      static Event parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Event parseFrom​(java.nio.ByteBuffer data)  
      static Event parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<Event> parser()  
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite

        createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
      • Methods inherited from class com.google.protobuf.AbstractMessageLite

        addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getId

        public java.lang.String getId()
         unique raw event identifier from datasource
         
        string id = 1 [json_name = "id"];
        Specified by:
        getId in interface EventOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         unique raw event identifier from datasource
         
        string id = 1 [json_name = "id"];
        Specified by:
        getIdBytes in interface EventOrBuilder
        Returns:
        The bytes for id.
      • getDatasource

        public java.lang.String getDatasource()
         datasource
         
        string datasource = 2 [json_name = "datasource"];
        Specified by:
        getDatasource in interface EventOrBuilder
        Returns:
        The datasource.
      • getDatasourceBytes

        public com.google.protobuf.ByteString getDatasourceBytes()
         datasource
         
        string datasource = 2 [json_name = "datasource"];
        Specified by:
        getDatasourceBytes in interface EventOrBuilder
        Returns:
        The bytes for datasource.
      • getScope

        public java.lang.String getScope()
         scope of event
         
        string scope = 3 [json_name = "scope"];
        Specified by:
        getScope in interface EventOrBuilder
        Returns:
        The scope.
      • getScopeBytes

        public com.google.protobuf.ByteString getScopeBytes()
         scope of event
         
        string scope = 3 [json_name = "scope"];
        Specified by:
        getScopeBytes in interface EventOrBuilder
        Returns:
        The bytes for scope.
      • getScopeId

        public java.lang.String getScopeId()
         unique scope identifier, e.g. d8539eb6-3e27-40c8-906f-9cd1736321d8, adapter takes it from datasource raw data
         
        string scope_id = 4 [json_name = "scopeId"];
        Specified by:
        getScopeId in interface EventOrBuilder
        Returns:
        The scopeId.
      • getScopeIdBytes

        public com.google.protobuf.ByteString getScopeIdBytes()
         unique scope identifier, e.g. d8539eb6-3e27-40c8-906f-9cd1736321d8, adapter takes it from datasource raw data
         
        string scope_id = 4 [json_name = "scopeId"];
        Specified by:
        getScopeIdBytes in interface EventOrBuilder
        Returns:
        The bytes for scopeId.
      • getName

        public java.lang.String getName()
         event name
         
        string name = 5 [json_name = "name"];
        Specified by:
        getName in interface EventOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         event name
         
        string name = 5 [json_name = "name"];
        Specified by:
        getNameBytes in interface EventOrBuilder
        Returns:
        The bytes for name.
      • getValue

        public java.lang.String getValue()
         event value
         
        string value = 6 [json_name = "value"];
        Specified by:
        getValue in interface EventOrBuilder
        Returns:
        The value.
      • getValueBytes

        public com.google.protobuf.ByteString getValueBytes()
         event value
         
        string value = 6 [json_name = "value"];
        Specified by:
        getValueBytes in interface EventOrBuilder
        Returns:
        The bytes for value.
      • getTimestamp

        public long getTimestamp()
         timestamp, unixtime millis
         
        int64 timestamp = 7 [json_name = "timestamp"];
        Specified by:
        getTimestamp in interface EventOrBuilder
        Returns:
        The timestamp.
      • parseFrom

        public static Event parseFrom​(java.nio.ByteBuffer data)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Event parseFrom​(java.nio.ByteBuffer data,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Event parseFrom​(com.google.protobuf.ByteString data)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static 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 Event parseFrom​(byte[] data)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Event parseFrom​(byte[] data,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Event parseFrom​(java.io.InputStream input)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

        public static Event parseDelimitedFrom​(java.io.InputStream input)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

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

        public static Event parseFrom​(com.google.protobuf.CodedInputStream input,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • dynamicMethod

        protected final java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Specified by:
        dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Event,​Event.Builder>
      • getDefaultInstance

        public static Event getDefaultInstance()
      • parser

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