public final class Trace extends com.google.protobuf.GeneratedMessageV3 implements TraceOrBuilder
A 'Trace' contains metadata for the individual traces of a system.Protobuf type
tensorflow.profiler.Trace
Modifier and Type | Class and Description |
---|---|
static class |
Trace.Builder
A 'Trace' contains metadata for the individual traces of a system.
|
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
Modifier and Type | Field and Description |
---|---|
static int |
DEVICES_FIELD_NUMBER |
static int |
TRACE_EVENTS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsDevices(int key)
The devices that this trace has information about.
|
boolean |
equals(Object obj) |
static Trace |
getDefaultInstance() |
Trace |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<Integer,Device> |
getDevices()
Deprecated.
|
int |
getDevicesCount()
The devices that this trace has information about.
|
Map<Integer,Device> |
getDevicesMap()
The devices that this trace has information about.
|
Device |
getDevicesOrDefault(int key,
Device defaultValue)
The devices that this trace has information about.
|
Device |
getDevicesOrThrow(int key)
The devices that this trace has information about.
|
com.google.protobuf.Parser<Trace> |
getParserForType() |
int |
getSerializedSize() |
TraceEvent |
getTraceEvents(int index)
All trace events capturing in the profiling period.
|
int |
getTraceEventsCount()
All trace events capturing in the profiling period.
|
List<TraceEvent> |
getTraceEventsList()
All trace events capturing in the profiling period.
|
TraceEventOrBuilder |
getTraceEventsOrBuilder(int index)
All trace events capturing in the profiling period.
|
List<? extends TraceEventOrBuilder> |
getTraceEventsOrBuilderList()
All trace events capturing in the profiling period.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Trace.Builder |
newBuilder() |
static Trace.Builder |
newBuilder(Trace prototype) |
Trace.Builder |
newBuilderForType() |
protected Trace.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Trace |
parseDelimitedFrom(InputStream input) |
static Trace |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Trace |
parseFrom(byte[] data) |
static Trace |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Trace |
parseFrom(ByteBuffer data) |
static Trace |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Trace |
parseFrom(com.google.protobuf.ByteString data) |
static Trace |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Trace |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Trace |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Trace |
parseFrom(InputStream input) |
static Trace |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Trace> |
parser() |
Trace.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int DEVICES_FIELD_NUMBER
public static final int TRACE_EVENTS_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public int getDevicesCount()
TraceOrBuilder
The devices that this trace has information about. Maps from device_id to more data about the specific device.
map<uint32, .tensorflow.profiler.Device> devices = 1;
getDevicesCount
in interface TraceOrBuilder
public boolean containsDevices(int key)
The devices that this trace has information about. Maps from device_id to more data about the specific device.
map<uint32, .tensorflow.profiler.Device> devices = 1;
containsDevices
in interface TraceOrBuilder
@Deprecated public Map<Integer,Device> getDevices()
getDevicesMap()
instead.getDevices
in interface TraceOrBuilder
public Map<Integer,Device> getDevicesMap()
The devices that this trace has information about. Maps from device_id to more data about the specific device.
map<uint32, .tensorflow.profiler.Device> devices = 1;
getDevicesMap
in interface TraceOrBuilder
public Device getDevicesOrDefault(int key, Device defaultValue)
The devices that this trace has information about. Maps from device_id to more data about the specific device.
map<uint32, .tensorflow.profiler.Device> devices = 1;
getDevicesOrDefault
in interface TraceOrBuilder
public Device getDevicesOrThrow(int key)
The devices that this trace has information about. Maps from device_id to more data about the specific device.
map<uint32, .tensorflow.profiler.Device> devices = 1;
getDevicesOrThrow
in interface TraceOrBuilder
public List<TraceEvent> getTraceEventsList()
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;
getTraceEventsList
in interface TraceOrBuilder
public List<? extends TraceEventOrBuilder> getTraceEventsOrBuilderList()
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;
getTraceEventsOrBuilderList
in interface TraceOrBuilder
public int getTraceEventsCount()
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;
getTraceEventsCount
in interface TraceOrBuilder
public TraceEvent getTraceEvents(int index)
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;
getTraceEvents
in interface TraceOrBuilder
public TraceEventOrBuilder getTraceEventsOrBuilder(int index)
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;
getTraceEventsOrBuilder
in interface TraceOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Trace parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Trace parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Trace parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Trace parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Trace parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Trace parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Trace parseFrom(InputStream input) throws IOException
IOException
public static Trace parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Trace parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Trace parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Trace parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Trace parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Trace.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Trace.Builder newBuilder()
public static Trace.Builder newBuilder(Trace prototype)
public Trace.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Trace.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Trace getDefaultInstance()
public static com.google.protobuf.Parser<Trace> parser()
public com.google.protobuf.Parser<Trace> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Trace getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2015–2019. All rights reserved.