java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.skywalking.apm.network.event.v3.Event
所有已实现的接口:
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
另请参阅:
  • 嵌套类概要

    嵌套类
    修饰符和类型
    说明
    static final class 
    Protobuf type skywalking.v3.Event

    从类继承的嵌套类/接口 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

    从类继承的嵌套类/接口 com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    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
     

    从类继承的字段 com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    从类继承的字段 com.google.protobuf.AbstractMessage

    memoizedSize

    从类继承的字段 com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • 方法概要

    修饰符和类型
    方法
    说明
    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. , measured between the current time and midnight, January 1, 1970 UTC.
    [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.
    已过时。
    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)
     

    从类继承的方法 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

    从类继承的方法 com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    从类继承的方法 com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    从类继承的方法 java.lang.Object

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

    从接口继承的方法 com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    从接口继承的方法 com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
  • 字段详细资料

    • UUID_FIELD_NUMBER

      public static final int UUID_FIELD_NUMBER
      另请参阅:
    • SOURCE_FIELD_NUMBER

      public static final int SOURCE_FIELD_NUMBER
      另请参阅:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      另请参阅:
    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      另请参阅:
    • MESSAGE_FIELD_NUMBER

      public static final int MESSAGE_FIELD_NUMBER
      另请参阅:
    • PARAMETERS_FIELD_NUMBER

      public static final int PARAMETERS_FIELD_NUMBER
      另请参阅:
    • STARTTIME_FIELD_NUMBER

      public static final int STARTTIME_FIELD_NUMBER
      另请参阅:
    • ENDTIME_FIELD_NUMBER

      public static final int ENDTIME_FIELD_NUMBER
      另请参阅:
    • LAYER_FIELD_NUMBER

      public static final int LAYER_FIELD_NUMBER
      另请参阅:
  • 方法详细资料

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      覆盖:
      newInstance 在类中 com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      指定者:
      getUnknownFields 在接口中 com.google.protobuf.MessageOrBuilder
      覆盖:
      getUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.MapField internalGetMapField(int number)
      覆盖:
      internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      指定者:
      internalGetFieldAccessorTable 在类中 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;
      指定者:
      getUuid 在接口中 EventOrBuilder
      返回:
      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;
      指定者:
      getUuidBytes 在接口中 EventOrBuilder
      返回:
      The bytes for uuid.
    • hasSource

      public boolean hasSource()
       The source object that the event occurs on.
       
      .skywalking.v3.Source source = 2;
      指定者:
      hasSource 在接口中 EventOrBuilder
      返回:
      Whether the source field is set.
    • getSource

      public Source getSource()
       The source object that the event occurs on.
       
      .skywalking.v3.Source source = 2;
      指定者:
      getSource 在接口中 EventOrBuilder
      返回:
      The source.
    • getSourceOrBuilder

      public SourceOrBuilder getSourceOrBuilder()
       The source object that the event occurs on.
       
      .skywalking.v3.Source source = 2;
      指定者:
      getSourceOrBuilder 在接口中 EventOrBuilder
    • getName

      public String getName()
       The name of the event. For example, `Reboot`, `Upgrade` etc.
       
      string name = 3;
      指定者:
      getName 在接口中 EventOrBuilder
      返回:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the event. For example, `Reboot`, `Upgrade` etc.
       
      string name = 3;
      指定者:
      getNameBytes 在接口中 EventOrBuilder
      返回:
      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;
      指定者:
      getTypeValue 在接口中 EventOrBuilder
      返回:
      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;
      指定者:
      getType 在接口中 EventOrBuilder
      返回:
      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;
      指定者:
      getMessage 在接口中 EventOrBuilder
      返回:
      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;
      指定者:
      getMessageBytes 在接口中 EventOrBuilder
      返回:
      The bytes for message.
    • getParametersCount

      public int getParametersCount()
      从接口复制的说明: EventOrBuilder
       The parameters in the `message` field.
       
      map<string, string> parameters = 6;
      指定者:
      getParametersCount 在接口中 EventOrBuilder
    • containsParameters

      public boolean containsParameters(String key)
       The parameters in the `message` field.
       
      map<string, string> parameters = 6;
      指定者:
      containsParameters 在接口中 EventOrBuilder
    • getParameters

      @Deprecated public Map<String,String> getParameters()
      已过时。
      Use getParametersMap() instead.
      指定者:
      getParameters 在接口中 EventOrBuilder
    • getParametersMap

      public Map<String,String> getParametersMap()
       The parameters in the `message` field.
       
      map<string, string> parameters = 6;
      指定者:
      getParametersMap 在接口中 EventOrBuilder
    • getParametersOrDefault

      public String getParametersOrDefault(String key, String defaultValue)
       The parameters in the `message` field.
       
      map<string, string> parameters = 6;
      指定者:
      getParametersOrDefault 在接口中 EventOrBuilder
    • getParametersOrThrow

      public String getParametersOrThrow(String key)
       The parameters in the `message` field.
       
      map<string, string> parameters = 6;
      指定者:
      getParametersOrThrow 在接口中 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;
      指定者:
      getStartTime 在接口中 EventOrBuilder
      返回:
      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;
      指定者:
      getEndTime 在接口中 EventOrBuilder
      返回:
      The endTime.
    • getLayer

      public String getLayer()
       [Required] Since 9.0.0
       Name of the layer to which the event belongs.
       
      string layer = 9;
      指定者:
      getLayer 在接口中 EventOrBuilder
      返回:
      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;
      指定者:
      getLayerBytes 在接口中 EventOrBuilder
      返回:
      The bytes for layer.
    • isInitialized

      public final boolean isInitialized()
      指定者:
      isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
      覆盖:
      isInitialized 在类中 com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      指定者:
      writeTo 在接口中 com.google.protobuf.MessageLite
      覆盖:
      writeTo 在类中 com.google.protobuf.GeneratedMessageV3
      抛出:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      指定者:
      getSerializedSize 在接口中 com.google.protobuf.MessageLite
      覆盖:
      getSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      指定者:
      equals 在接口中 com.google.protobuf.Message
      覆盖:
      equals 在类中 com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      指定者:
      hashCode 在接口中 com.google.protobuf.Message
      覆盖:
      hashCode 在类中 com.google.protobuf.AbstractMessage
    • parseFrom

      public static Event parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Event parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

      public static Event parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Event parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

      public static Event parseFrom(InputStream input) throws IOException
      抛出:
      IOException
    • parseFrom

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

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

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

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

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

      public Event.Builder newBuilderForType()
      指定者:
      newBuilderForType 在接口中 com.google.protobuf.Message
      指定者:
      newBuilderForType 在接口中 com.google.protobuf.MessageLite
    • newBuilder

      public static Event.Builder newBuilder()
    • newBuilder

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

      public Event.Builder toBuilder()
      指定者:
      toBuilder 在接口中 com.google.protobuf.Message
      指定者:
      toBuilder 在接口中 com.google.protobuf.MessageLite
    • newBuilderForType

      protected Event.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      指定者:
      newBuilderForType 在类中 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()
      指定者:
      getParserForType 在接口中 com.google.protobuf.Message
      指定者:
      getParserForType 在接口中 com.google.protobuf.MessageLite
      覆盖:
      getParserForType 在类中 com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Event getDefaultInstanceForType()
      指定者:
      getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
      指定者:
      getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder