类 Event
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
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 intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int从类继承的字段 com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields从类继承的字段 com.google.protobuf.AbstractMessage
memoizedSize从类继承的字段 com.google.protobuf.AbstractMessageLite
memoizedHashCode -
方法概要
修饰符和类型方法说明booleancontainsParameters(String key) The parameters in the `message` field.booleanstatic Eventstatic final com.google.protobuf.Descriptors.DescriptorlongThe end time (in milliseconds) of the event. , measured between the current time and midnight, January 1, 1970 UTC.getLayer()[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.ByteStringThe detail of the event that describes why this event happened.getName()The name of the event.com.google.protobuf.ByteStringThe name of the event.已过时。intThe 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>intThe source object that the event occurs on.The source object that the event occurs on.longThe start time (in milliseconds) of the event, measured between the current time and midnight, January 1, 1970 UTC.getType()The type of the event.intThe type of the event.final com.google.protobuf.UnknownFieldSetgetUuid()Unique ID of the event.com.google.protobuf.ByteStringUnique ID of the event.inthashCode()booleanThe source object that the event occurs on.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleanstatic Event.Builderstatic Event.BuildernewBuilder(Event prototype) protected Event.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static EventparseDelimitedFrom(InputStream input) static EventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventparseFrom(byte[] data) static EventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventparseFrom(com.google.protobuf.ByteString data) static EventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventparseFrom(com.google.protobuf.CodedInputStream input) static EventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventparseFrom(InputStream input) static EventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventparseFrom(ByteBuffer data) static EventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Event>parser()voidwriteTo(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从接口继承的方法 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
- 覆盖:
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
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
The source object that the event occurs on.
.skywalking.v3.Source source = 2;- 指定者:
getSource在接口中EventOrBuilder- 返回:
- The source.
-
getSourceOrBuilder
The source object that the event occurs on.
.skywalking.v3.Source source = 2;- 指定者:
getSourceOrBuilder在接口中EventOrBuilder
-
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
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
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()从接口复制的说明:EventOrBuilderThe parameters in the `message` field.
map<string, string> parameters = 6;- 指定者:
getParametersCount在接口中EventOrBuilder
-
containsParameters
The parameters in the `message` field.
map<string, string> parameters = 6;- 指定者:
containsParameters在接口中EventOrBuilder
-
getParameters
已过时。UsegetParametersMap()instead.- 指定者:
getParameters在接口中EventOrBuilder
-
getParametersMap
The parameters in the `message` field.
map<string, string> parameters = 6;- 指定者:
getParametersMap在接口中EventOrBuilder
-
getParametersOrDefault
The parameters in the `message` field.
map<string, string> parameters = 6;- 指定者:
getParametersOrDefault在接口中EventOrBuilder
-
getParametersOrThrow
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
[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
- 指定者:
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
- 指定者:
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
- 抛出:
IOException
-
parseFrom
public static Event parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
- 抛出:
IOException
-
parseDelimitedFrom
public static Event parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseFrom
- 抛出:
IOException
-
parseFrom
public static Event parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
newBuilderForType
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
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
-
parser
-
getParserForType
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-