接口 EventOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
Event, Event.Builder

public interface EventOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    The parameters in the `message` field.
    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.
    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.
    Unique ID of the event.
    com.google.protobuf.ByteString
    Unique ID of the event.
    boolean
    The source object that the event occurs on.

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

    isInitialized

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

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 方法详细资料

    • getUuid

      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;
      返回:
      The uuid.
    • getUuidBytes

      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;
      返回:
      The bytes for uuid.
    • hasSource

      boolean hasSource()
       The source object that the event occurs on.
       
      .skywalking.v3.Source source = 2;
      返回:
      Whether the source field is set.
    • getSource

      Source getSource()
       The source object that the event occurs on.
       
      .skywalking.v3.Source source = 2;
      返回:
      The source.
    • getSourceOrBuilder

      SourceOrBuilder getSourceOrBuilder()
       The source object that the event occurs on.
       
      .skywalking.v3.Source source = 2;
    • getName

      String getName()
       The name of the event. For example, `Reboot`, `Upgrade` etc.
       
      string name = 3;
      返回:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name of the event. For example, `Reboot`, `Upgrade` etc.
       
      string name = 3;
      返回:
      The bytes for name.
    • getTypeValue

      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;
      返回:
      The enum numeric value on the wire for type.
    • getType

      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;
      返回:
      The type.
    • getMessage

      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;
      返回:
      The message.
    • getMessageBytes

      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;
      返回:
      The bytes for message.
    • getParametersCount

      int getParametersCount()
       The parameters in the `message` field.
       
      map<string, string> parameters = 6;
    • containsParameters

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

      @Deprecated Map<String,String> getParameters()
      已过时。
      Use getParametersMap() instead.
    • getParametersMap

      Map<String,String> getParametersMap()
       The parameters in the `message` field.
       
      map<string, string> parameters = 6;
    • getParametersOrDefault

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

      String getParametersOrThrow(String key)
       The parameters in the `message` field.
       
      map<string, string> parameters = 6;
    • getStartTime

      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;
      返回:
      The startTime.
    • getEndTime

      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;
      返回:
      The endTime.
    • getLayer

      String getLayer()
       [Required] Since 9.0.0
       Name of the layer to which the event belongs.
       
      string layer = 9;
      返回:
      The layer.
    • getLayerBytes

      com.google.protobuf.ByteString getLayerBytes()
       [Required] Since 9.0.0
       Name of the layer to which the event belongs.
       
      string layer = 9;
      返回:
      The bytes for layer.