public interface EventOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsParameters(String key)
The parameters in the `message` field.
|
long |
getEndTime()
The end time (in milliseconds) of the event.
|
String |
getLayer()
[Required] Since 9.0.0
Name of the layer to which the event belongs.
|
com.google.protobuf.ByteString |
getLayerBytes()
[Required] Since 9.0.0
Name of the layer to which the event belongs.
|
String |
getMessage()
The detail of the event that describes why this event happened.
|
com.google.protobuf.ByteString |
getMessageBytes()
The detail of the event that describes why this event happened.
|
String |
getName()
The name of the event.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the event.
|
Map<String,String> |
getParameters()
Deprecated.
|
int |
getParametersCount()
The parameters in the `message` field.
|
Map<String,String> |
getParametersMap()
The parameters in the `message` field.
|
String |
getParametersOrDefault(String key,
String defaultValue)
The parameters in the `message` field.
|
String |
getParametersOrThrow(String key)
The parameters in the `message` field.
|
Source |
getSource()
The source object that the event occurs on.
|
SourceOrBuilder |
getSourceOrBuilder()
The source object that the event occurs on.
|
long |
getStartTime()
The start time (in milliseconds) of the event, measured between the current time and midnight, January 1, 1970 UTC.
|
Type |
getType()
The type of the event.
|
int |
getTypeValue()
The type of the event.
|
String |
getUuid()
Unique ID of the event.
|
com.google.protobuf.ByteString |
getUuidBytes()
Unique ID of the event.
|
boolean |
hasSource()
The source object that the event occurs on.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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;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;boolean hasSource()
The source object that the event occurs on.
.skywalking.v3.Source source = 2;Source getSource()
The source object that the event occurs on.
.skywalking.v3.Source source = 2;SourceOrBuilder getSourceOrBuilder()
The source object that the event occurs on.
.skywalking.v3.Source source = 2;String getName()
The name of the event. For example, `Reboot`, `Upgrade` etc.
string name = 3;com.google.protobuf.ByteString getNameBytes()
The name of the event. For example, `Reboot`, `Upgrade` etc.
string name = 3;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;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;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;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;int getParametersCount()
The parameters in the `message` field.
map<string, string> parameters = 6;boolean containsParameters(String key)
The parameters in the `message` field.
map<string, string> parameters = 6;@Deprecated Map<String,String> getParameters()
getParametersMap() instead.Map<String,String> getParametersMap()
The parameters in the `message` field.
map<string, string> parameters = 6;String getParametersOrDefault(String key, String defaultValue)
The parameters in the `message` field.
map<string, string> parameters = 6;String getParametersOrThrow(String key)
The parameters in the `message` field.
map<string, string> parameters = 6;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;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;String getLayer()
[Required] Since 9.0.0 Name of the layer to which the event belongs.
string layer = 9;com.google.protobuf.ByteString getLayerBytes()
[Required] Since 9.0.0 Name of the layer to which the event belongs.
string layer = 9;Copyright © 2022 The Apache Software Foundation. All rights reserved.