public static final class Trace.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder> implements TraceOrBuilder
A 'Trace' contains metadata for the individual traces of a system.Protobuf type
tensorflow.profiler.Trace| Modifier and Type | Method and Description |
|---|---|
Trace.Builder |
addAllTraceEvents(Iterable<? extends TraceEvent> values)
All trace events capturing in the profiling period.
|
Trace.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Trace.Builder |
addTraceEvents(int index,
TraceEvent.Builder builderForValue)
All trace events capturing in the profiling period.
|
Trace.Builder |
addTraceEvents(int index,
TraceEvent value)
All trace events capturing in the profiling period.
|
Trace.Builder |
addTraceEvents(TraceEvent.Builder builderForValue)
All trace events capturing in the profiling period.
|
Trace.Builder |
addTraceEvents(TraceEvent value)
All trace events capturing in the profiling period.
|
TraceEvent.Builder |
addTraceEventsBuilder()
All trace events capturing in the profiling period.
|
TraceEvent.Builder |
addTraceEventsBuilder(int index)
All trace events capturing in the profiling period.
|
Trace |
build() |
Trace |
buildPartial() |
Trace.Builder |
clear() |
Trace.Builder |
clearDevices() |
Trace.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Trace.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Trace.Builder |
clearTraceEvents()
All trace events capturing in the profiling period.
|
Trace.Builder |
clone() |
boolean |
containsDevices(int key)
The devices that this trace has information about.
|
Trace |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
Map<Integer,Device> |
getMutableDevices()
Deprecated.
|
TraceEvent |
getTraceEvents(int index)
All trace events capturing in the profiling period.
|
TraceEvent.Builder |
getTraceEventsBuilder(int index)
All trace events capturing in the profiling period.
|
List<TraceEvent.Builder> |
getTraceEventsBuilderList()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Trace.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Trace.Builder |
mergeFrom(com.google.protobuf.Message other) |
Trace.Builder |
mergeFrom(Trace other) |
Trace.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Trace.Builder |
putAllDevices(Map<Integer,Device> values)
The devices that this trace has information about.
|
Trace.Builder |
putDevices(int key,
Device value)
The devices that this trace has information about.
|
Trace.Builder |
removeDevices(int key)
The devices that this trace has information about.
|
Trace.Builder |
removeTraceEvents(int index)
All trace events capturing in the profiling period.
|
Trace.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Trace.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Trace.Builder |
setTraceEvents(int index,
TraceEvent.Builder builderForValue)
All trace events capturing in the profiling period.
|
Trace.Builder |
setTraceEvents(int index,
TraceEvent value)
All trace events capturing in the profiling period.
|
Trace.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>public Trace.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>public Trace getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Trace build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Trace buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Trace.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>public Trace.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>public Trace.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>public Trace.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>public Trace.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>public Trace.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>public Trace.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Trace.Builder>public Trace.Builder mergeFrom(Trace other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>public Trace.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Trace.Builder>IOExceptionpublic int getDevicesCount()
TraceOrBuilderThe 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 TraceOrBuilderpublic 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 TraceOrBuilderpublic 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 TraceOrBuilderpublic 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 TraceOrBuilderpublic 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 TraceOrBuilderpublic Trace.Builder clearDevices()
public Trace.Builder removeDevices(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;@Deprecated public Map<Integer,Device> getMutableDevices()
public Trace.Builder putDevices(int key, Device value)
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;public Trace.Builder putAllDevices(Map<Integer,Device> values)
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;public List<TraceEvent> getTraceEventsList()
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;getTraceEventsList in interface TraceOrBuilderpublic int getTraceEventsCount()
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;getTraceEventsCount in interface TraceOrBuilderpublic TraceEvent getTraceEvents(int index)
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;getTraceEvents in interface TraceOrBuilderpublic Trace.Builder setTraceEvents(int index, TraceEvent value)
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;public Trace.Builder setTraceEvents(int index, TraceEvent.Builder builderForValue)
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;public Trace.Builder addTraceEvents(TraceEvent value)
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;public Trace.Builder addTraceEvents(int index, TraceEvent value)
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;public Trace.Builder addTraceEvents(TraceEvent.Builder builderForValue)
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;public Trace.Builder addTraceEvents(int index, TraceEvent.Builder builderForValue)
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;public Trace.Builder addAllTraceEvents(Iterable<? extends TraceEvent> values)
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;public Trace.Builder clearTraceEvents()
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;public Trace.Builder removeTraceEvents(int index)
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;public TraceEvent.Builder getTraceEventsBuilder(int index)
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;public TraceEventOrBuilder getTraceEventsOrBuilder(int index)
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;getTraceEventsOrBuilder in interface TraceOrBuilderpublic List<? extends TraceEventOrBuilder> getTraceEventsOrBuilderList()
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;getTraceEventsOrBuilderList in interface TraceOrBuilderpublic TraceEvent.Builder addTraceEventsBuilder()
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;public TraceEvent.Builder addTraceEventsBuilder(int index)
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;public List<TraceEvent.Builder> getTraceEventsBuilderList()
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;public final Trace.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>public final Trace.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>Copyright © 2015–2019. All rights reserved.