public interface TraceEventOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsArgs(String key)
Extra arguments that will be displayed in trace view.
|
Map<String,String> |
getArgs()
Deprecated.
|
int |
getArgsCount()
Extra arguments that will be displayed in trace view.
|
Map<String,String> |
getArgsMap()
Extra arguments that will be displayed in trace view.
|
String |
getArgsOrDefault(String key,
String defaultValue)
Extra arguments that will be displayed in trace view.
|
String |
getArgsOrThrow(String key)
Extra arguments that will be displayed in trace view.
|
int |
getDeviceId()
The id of the device that this event occurred on.
|
long |
getDurationPs()
The duration of the event in picoseconds if applicable.
|
String |
getName()
The name of this trace event.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of this trace event.
|
int |
getResourceId()
The id of the resource that this event occurred on.
|
long |
getTimestampPs()
The timestamp that this event occurred at (in picos since tracing started).
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
int getDeviceId()
The id of the device that this event occurred on. The full dataset should have this device present in the Trace object.
uint32 device_id = 1;
int getResourceId()
The id of the resource that this event occurred on. The full dataset should have this resource present in the Device object of the Trace object. A resource_id is unique on a specific device, but not necessarily within the trace.
uint32 resource_id = 2;
String getName()
The name of this trace event.
string name = 3;
com.google.protobuf.ByteString getNameBytes()
The name of this trace event.
string name = 3;
long getTimestampPs()
The timestamp that this event occurred at (in picos since tracing started).
uint64 timestamp_ps = 9;
long getDurationPs()
The duration of the event in picoseconds if applicable. Events without duration are called instant events.
uint64 duration_ps = 10;
int getArgsCount()
Extra arguments that will be displayed in trace view.
map<string, string> args = 11;
boolean containsArgs(String key)
Extra arguments that will be displayed in trace view.
map<string, string> args = 11;
@Deprecated Map<String,String> getArgs()
getArgsMap()
instead.Map<String,String> getArgsMap()
Extra arguments that will be displayed in trace view.
map<string, string> args = 11;
String getArgsOrDefault(String key, String defaultValue)
Extra arguments that will be displayed in trace view.
map<string, string> args = 11;
Copyright © 2015–2019. All rights reserved.