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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
public Trace getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Trace build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Trace buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Trace.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Trace.Builder>
IOException
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 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 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 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 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 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
Copyright © 2015–2019. All rights reserved.