public final class Event extends com.google.protobuf.GeneratedMessageV3 implements EventOrBuilder
skywalking.v3.Event| Modifier and Type | Class and Description |
|---|---|
static class |
Event.Builder
Protobuf type
skywalking.v3.Event |
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| Modifier and Type | Field and Description |
|---|---|
static int |
ENDTIME_FIELD_NUMBER |
static int |
LAYER_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PARAMETERS_FIELD_NUMBER |
static int |
SOURCE_FIELD_NUMBER |
static int |
STARTTIME_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
UUID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsParameters(String key)
The parameters in the `message` field.
|
boolean |
equals(Object obj) |
static Event |
getDefaultInstance() |
Event |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<Event> |
getParserForType() |
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getUuid()
Unique ID of the event.
|
com.google.protobuf.ByteString |
getUuidBytes()
Unique ID of the event.
|
int |
hashCode() |
boolean |
hasSource()
The source object that the event occurs on.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Event.Builder |
newBuilder() |
static Event.Builder |
newBuilder(Event prototype) |
Event.Builder |
newBuilderForType() |
protected Event.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Event |
parseDelimitedFrom(InputStream input) |
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(ByteBuffer data) |
static Event |
parseFrom(ByteBuffer 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(InputStream input) |
static Event |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Event> |
parser() |
Event.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int UUID_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
public static final int STARTTIME_FIELD_NUMBER
public static final int ENDTIME_FIELD_NUMBER
public static final int LAYER_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 in interface EventOrBuilderpublic 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 in interface EventOrBuilderpublic boolean hasSource()
The source object that the event occurs on.
.skywalking.v3.Source source = 2;hasSource in interface EventOrBuilderpublic Source getSource()
The source object that the event occurs on.
.skywalking.v3.Source source = 2;getSource in interface EventOrBuilderpublic SourceOrBuilder getSourceOrBuilder()
The source object that the event occurs on.
.skywalking.v3.Source source = 2;getSourceOrBuilder in interface EventOrBuilderpublic String getName()
The name of the event. For example, `Reboot`, `Upgrade` etc.
string name = 3;getName in interface EventOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the event. For example, `Reboot`, `Upgrade` etc.
string name = 3;getNameBytes in interface EventOrBuilderpublic 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 in interface EventOrBuilderpublic 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 in interface EventOrBuilderpublic 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 in interface EventOrBuilderpublic 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 in interface EventOrBuilderpublic int getParametersCount()
EventOrBuilderThe parameters in the `message` field.
map<string, string> parameters = 6;getParametersCount in interface EventOrBuilderpublic boolean containsParameters(String key)
The parameters in the `message` field.
map<string, string> parameters = 6;containsParameters in interface EventOrBuilder@Deprecated public Map<String,String> getParameters()
getParametersMap() instead.getParameters in interface EventOrBuilderpublic Map<String,String> getParametersMap()
The parameters in the `message` field.
map<string, string> parameters = 6;getParametersMap in interface EventOrBuilderpublic String getParametersOrDefault(String key, String defaultValue)
The parameters in the `message` field.
map<string, string> parameters = 6;getParametersOrDefault in interface EventOrBuilderpublic String getParametersOrThrow(String key)
The parameters in the `message` field.
map<string, string> parameters = 6;getParametersOrThrow in interface EventOrBuilderpublic 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 in interface EventOrBuilderpublic 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 in interface EventOrBuilderpublic String getLayer()
[Required] Since 9.0.0 Name of the layer to which the event belongs.
string layer = 9;getLayer in interface EventOrBuilderpublic com.google.protobuf.ByteString getLayerBytes()
[Required] Since 9.0.0 Name of the layer to which the event belongs.
string layer = 9;getLayerBytes in interface EventOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Event parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Event parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Event parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Event parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Event parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Event parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Event parseFrom(InputStream input) throws IOException
IOExceptionpublic static Event parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Event parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Event parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Event parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Event parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Event.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Event.Builder newBuilder()
public static Event.Builder newBuilder(Event prototype)
public Event.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Event.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Event getDefaultInstance()
public static com.google.protobuf.Parser<Event> parser()
public com.google.protobuf.Parser<Event> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Event getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 The Apache Software Foundation. All rights reserved.