java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.skywalking.apm.network.event.v3.Event
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, EventOrBuilder

public final class Event extends com.google.protobuf.GeneratedMessageV3 implements EventOrBuilder
Protobuf type skywalking.v3.Event
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type skywalking.v3.Event

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

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    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
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, 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
    The parameters in the `message` field.
    boolean
     
    static Event
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    long
    The end time (in milliseconds) of the event.
    [Required] Since 9.0.0 Name of the layer to which the event belongs.
    com.google.protobuf.ByteString
    [Required] Since 9.0.0 Name of the layer to which the event belongs.
    The detail of the event that describes why this event happened.
    com.google.protobuf.ByteString
    The detail of the event that describes why this event happened.
    The name of the event.
    com.google.protobuf.ByteString
    The name of the event.
    Deprecated.
    int
    The parameters in the `message` field.
    The parameters in the `message` field.
    getParametersOrDefault(String key, String defaultValue)
    The parameters in the `message` field.
    The parameters in the `message` field.
    com.google.protobuf.Parser<Event>
     
    int
     
    The source object that the event occurs on.
    The source object that the event occurs on.
    long
    The start time (in milliseconds) of the event, measured between the current time and midnight, January 1, 1970 UTC.
    The type of the event.
    int
    The type of the event.
    final com.google.protobuf.UnknownFieldSet
     
    Unique ID of the event.
    com.google.protobuf.ByteString
    Unique ID of the event.
    int
     
    boolean
    The source object that the event occurs on.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    protected com.google.protobuf.MapField
    internalGetMapField(int number)
     
    final boolean
     
     
    newBuilder(Event prototype)
     
     
    protected Event.Builder
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static Event
     
    static Event
    parseDelimitedFrom(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
     
    static Event
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Event
     
    static Event
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Event>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, 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.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

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

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getUuid

      public String getUuid()
       Unique ID of the event. Because an event may span a long period of time, the UUID is necessary to associate the
       start time with the end time of the same event.
       
      string uuid = 1;
      Specified by:
      getUuid in interface EventOrBuilder
      Returns:
      The uuid.
    • getUuidBytes

      public com.google.protobuf.ByteString getUuidBytes()
       Unique ID of the event. Because an event may span a long period of time, the UUID is necessary to associate the
       start time with the end time of the same event.
       
      string uuid = 1;
      Specified by:
      getUuidBytes in interface EventOrBuilder
      Returns:
      The bytes for uuid.
    • hasSource

      public boolean hasSource()
       The source object that the event occurs on.
       
      .skywalking.v3.Source source = 2;
      Specified by:
      hasSource in interface EventOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public Source getSource()
       The source object that the event occurs on.
       
      .skywalking.v3.Source source = 2;
      Specified by:
      getSource in interface EventOrBuilder
      Returns:
      The source.
    • getSourceOrBuilder

      public SourceOrBuilder getSourceOrBuilder()
       The source object that the event occurs on.
       
      .skywalking.v3.Source source = 2;
      Specified by:
      getSourceOrBuilder in interface EventOrBuilder
    • getName

      public String getName()
       The name of the event. For example, `Reboot`, `Upgrade` etc.
       
      string name = 3;
      Specified by:
      getName in interface EventOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the event. For example, `Reboot`, `Upgrade` etc.
       
      string name = 3;
      Specified by:
      getNameBytes in interface EventOrBuilder
      Returns:
      The bytes for name.
    • getTypeValue

      public int getTypeValue()
       The type of the event. This field is friendly for UI visualization, where events of type `Normal` are considered as normal operations,
       while `Error` is considered as unexpected operations, such as `Crash` events, therefore we can mark them with different colors to be easier identified.
       
      .skywalking.v3.Type type = 4;
      Specified by:
      getTypeValue in interface EventOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

      public Type getType()
       The type of the event. This field is friendly for UI visualization, where events of type `Normal` are considered as normal operations,
       while `Error` is considered as unexpected operations, such as `Crash` events, therefore we can mark them with different colors to be easier identified.
       
      .skywalking.v3.Type type = 4;
      Specified by:
      getType in interface EventOrBuilder
      Returns:
      The type.
    • getMessage

      public String getMessage()
       The detail of the event that describes why this event happened. This should be a one-line message that briefly describes why the event is reported.
       Examples of an `Upgrade` event may be something like `Upgrade from ${from_version} to ${to_version}`.
       It's NOT encouraged to include the detailed logs of this event, such as the exception stack trace.
       
      string message = 5;
      Specified by:
      getMessage in interface EventOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       The detail of the event that describes why this event happened. This should be a one-line message that briefly describes why the event is reported.
       Examples of an `Upgrade` event may be something like `Upgrade from ${from_version} to ${to_version}`.
       It's NOT encouraged to include the detailed logs of this event, such as the exception stack trace.
       
      string message = 5;
      Specified by:
      getMessageBytes in interface EventOrBuilder
      Returns:
      The bytes for message.
    • getParametersCount

      public int getParametersCount()
      Description copied from interface: EventOrBuilder
       The parameters in the `message` field.
       
      map<string, string> parameters = 6;
      Specified by:
      getParametersCount in interface EventOrBuilder
    • containsParameters

      public boolean containsParameters(String key)
       The parameters in the `message` field.
       
      map<string, string> parameters = 6;
      Specified by:
      containsParameters in interface EventOrBuilder
    • getParameters

      @Deprecated public Map<String,String> getParameters()
      Deprecated.
      Use getParametersMap() instead.
      Specified by:
      getParameters in interface EventOrBuilder
    • getParametersMap

      public Map<String,String> getParametersMap()
       The parameters in the `message` field.
       
      map<string, string> parameters = 6;
      Specified by:
      getParametersMap in interface EventOrBuilder
    • getParametersOrDefault

      public String getParametersOrDefault(String key, String defaultValue)
       The parameters in the `message` field.
       
      map<string, string> parameters = 6;
      Specified by:
      getParametersOrDefault in interface EventOrBuilder
    • getParametersOrThrow

      public String getParametersOrThrow(String key)
       The parameters in the `message` field.
       
      map<string, string> parameters = 6;
      Specified by:
      getParametersOrThrow in interface EventOrBuilder
    • getStartTime

      public long getStartTime()
       The start time (in milliseconds) of the event, measured between the current time and midnight, January 1, 1970 UTC.
       This field is mandatory when an event occurs.
       
      int64 startTime = 7;
      Specified by:
      getStartTime in interface EventOrBuilder
      Returns:
      The startTime.
    • getEndTime

      public long getEndTime()
       The end time (in milliseconds) of the event. , measured between the current time and midnight, January 1, 1970 UTC.
       This field may be empty if the event has not stopped yet, otherwise it should be a valid timestamp after `startTime`.
       
      int64 endTime = 8;
      Specified by:
      getEndTime in interface EventOrBuilder
      Returns:
      The endTime.
    • getLayer

      public String getLayer()
       [Required] Since 9.0.0
       Name of the layer to which the event belongs.
       
      string layer = 9;
      Specified by:
      getLayer in interface EventOrBuilder
      Returns:
      The layer.
    • getLayerBytes

      public com.google.protobuf.ByteString getLayerBytes()
       [Required] Since 9.0.0
       Name of the layer to which the event belongs.
       
      string layer = 9;
      Specified by:
      getLayerBytes in interface EventOrBuilder
      Returns:
      The bytes for layer.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • 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.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • 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 Event parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Event parseFrom(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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

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

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

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

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

      public static Event.Builder newBuilder()
    • newBuilder

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

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

      protected Event.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Event getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<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.GeneratedMessageV3
    • getDefaultInstanceForType

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