DeviceStepStats.Builder

public static final class DeviceStepStats.Builder

Protobuf type tensorflow.DeviceStepStats

Public Methods

DeviceStepStats.Builder
addAllNodeStats(Iterable<? extends NodeExecStats> values)
repeated .tensorflow.NodeExecStats node_stats = 2;
DeviceStepStats.Builder
addNodeStats(int index, NodeExecStats.Builder builderForValue)
repeated .tensorflow.NodeExecStats node_stats = 2;
DeviceStepStats.Builder
addNodeStats(NodeExecStats.Builder builderForValue)
repeated .tensorflow.NodeExecStats node_stats = 2;
DeviceStepStats.Builder
addNodeStats(NodeExecStats value)
repeated .tensorflow.NodeExecStats node_stats = 2;
DeviceStepStats.Builder
addNodeStats(int index, NodeExecStats value)
repeated .tensorflow.NodeExecStats node_stats = 2;
NodeExecStats.Builder
addNodeStatsBuilder(int index)
repeated .tensorflow.NodeExecStats node_stats = 2;
NodeExecStats.Builder
addNodeStatsBuilder()
repeated .tensorflow.NodeExecStats node_stats = 2;
DeviceStepStats.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DeviceStepStats
build()
DeviceStepStats
DeviceStepStats.Builder
clear()
DeviceStepStats.Builder
clearDevice()
string device = 1;
DeviceStepStats.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DeviceStepStats.Builder
clearNodeStats()
repeated .tensorflow.NodeExecStats node_stats = 2;
DeviceStepStats.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DeviceStepStats.Builder
DeviceStepStats.Builder
clone()
boolean
containsThreadNames(int key)
 Its key is thread id.
DeviceStepStats
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
String
getDevice()
string device = 1;
com.google.protobuf.ByteString
getDeviceBytes()
string device = 1;
Map<Integer, String>
getMutableThreadNames()
Use alternate mutation accessors instead.
NodeExecStats
getNodeStats(int index)
repeated .tensorflow.NodeExecStats node_stats = 2;
NodeExecStats.Builder
getNodeStatsBuilder(int index)
repeated .tensorflow.NodeExecStats node_stats = 2;
List<NodeExecStats.Builder>
getNodeStatsBuilderList()
repeated .tensorflow.NodeExecStats node_stats = 2;
int
getNodeStatsCount()
repeated .tensorflow.NodeExecStats node_stats = 2;
List<NodeExecStats>
getNodeStatsList()
repeated .tensorflow.NodeExecStats node_stats = 2;
NodeExecStatsOrBuilder
getNodeStatsOrBuilder(int index)
repeated .tensorflow.NodeExecStats node_stats = 2;
List<? extends NodeExecStatsOrBuilder>
getNodeStatsOrBuilderList()
repeated .tensorflow.NodeExecStats node_stats = 2;
Map<Integer, String>
int
getThreadNamesCount()
 Its key is thread id.
Map<Integer, String>
getThreadNamesMap()
 Its key is thread id.
String
getThreadNamesOrDefault(int key, String defaultValue)
 Its key is thread id.
String
getThreadNamesOrThrow(int key)
 Its key is thread id.
final boolean
DeviceStepStats.Builder
mergeFrom(com.google.protobuf.Message other)
DeviceStepStats.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
final DeviceStepStats.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DeviceStepStats.Builder
putAllThreadNames(Map<Integer, String> values)
 Its key is thread id.
DeviceStepStats.Builder
putThreadNames(int key, String value)
 Its key is thread id.
DeviceStepStats.Builder
removeNodeStats(int index)
repeated .tensorflow.NodeExecStats node_stats = 2;
DeviceStepStats.Builder
removeThreadNames(int key)
 Its key is thread id.
DeviceStepStats.Builder
setDevice(String value)
string device = 1;
DeviceStepStats.Builder
setDeviceBytes(com.google.protobuf.ByteString value)
string device = 1;
DeviceStepStats.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DeviceStepStats.Builder
setNodeStats(int index, NodeExecStats value)
repeated .tensorflow.NodeExecStats node_stats = 2;
DeviceStepStats.Builder
setNodeStats(int index, NodeExecStats.Builder builderForValue)
repeated .tensorflow.NodeExecStats node_stats = 2;
DeviceStepStats.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final DeviceStepStats.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public DeviceStepStats.Builder addAllNodeStats (Iterable<? extends NodeExecStats> values)

repeated .tensorflow.NodeExecStats node_stats = 2;

public DeviceStepStats.Builder addNodeStats (int index, NodeExecStats.Builder builderForValue)

repeated .tensorflow.NodeExecStats node_stats = 2;

public DeviceStepStats.Builder addNodeStats (NodeExecStats.Builder builderForValue)

repeated .tensorflow.NodeExecStats node_stats = 2;

public DeviceStepStats.Builder addNodeStats (NodeExecStats value)

repeated .tensorflow.NodeExecStats node_stats = 2;

public DeviceStepStats.Builder addNodeStats (int index, NodeExecStats value)

repeated .tensorflow.NodeExecStats node_stats = 2;

public NodeExecStats.Builder addNodeStatsBuilder (int index)

repeated .tensorflow.NodeExecStats node_stats = 2;

public NodeExecStats.Builder addNodeStatsBuilder ()

repeated .tensorflow.NodeExecStats node_stats = 2;

public DeviceStepStats.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public DeviceStepStats build ()

public DeviceStepStats buildPartial ()

public DeviceStepStats.Builder clear ()

public DeviceStepStats.Builder clearDevice ()

string device = 1;

public DeviceStepStats.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public DeviceStepStats.Builder clearNodeStats ()

repeated .tensorflow.NodeExecStats node_stats = 2;

public DeviceStepStats.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public DeviceStepStats.Builder clearThreadNames ()

public DeviceStepStats.Builder clone ()

public boolean containsThreadNames (int key)

 Its key is thread id.
 
map<uint32, string> thread_names = 3;

public DeviceStepStats getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public String getDevice ()

string device = 1;

public com.google.protobuf.ByteString getDeviceBytes ()

string device = 1;

public Map<Integer, String> getMutableThreadNames ()

Use alternate mutation accessors instead.

public NodeExecStats getNodeStats (int index)

repeated .tensorflow.NodeExecStats node_stats = 2;

public NodeExecStats.Builder getNodeStatsBuilder (int index)

repeated .tensorflow.NodeExecStats node_stats = 2;

public List<NodeExecStats.Builder> getNodeStatsBuilderList ()

repeated .tensorflow.NodeExecStats node_stats = 2;

public int getNodeStatsCount ()

repeated .tensorflow.NodeExecStats node_stats = 2;

public List<NodeExecStats> getNodeStatsList ()

repeated .tensorflow.NodeExecStats node_stats = 2;

public NodeExecStatsOrBuilder getNodeStatsOrBuilder (int index)

repeated .tensorflow.NodeExecStats node_stats = 2;

public List<? extends NodeExecStatsOrBuilder> getNodeStatsOrBuilderList ()

repeated .tensorflow.NodeExecStats node_stats = 2;

public Map<Integer, String> getThreadNames ()

Use getThreadNamesMap() instead.

public int getThreadNamesCount ()

 Its key is thread id.
 
map<uint32, string> thread_names = 3;

public Map<Integer, String> getThreadNamesMap ()

 Its key is thread id.
 
map<uint32, string> thread_names = 3;

public String getThreadNamesOrDefault (int key, String defaultValue)

 Its key is thread id.
 
map<uint32, string> thread_names = 3;

public String getThreadNamesOrThrow (int key)

 Its key is thread id.
 
map<uint32, string> thread_names = 3;

public final boolean isInitialized ()

public DeviceStepStats.Builder mergeFrom (com.google.protobuf.Message other)

public DeviceStepStats.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public final DeviceStepStats.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public DeviceStepStats.Builder putAllThreadNames (Map<Integer, String> values)

 Its key is thread id.
 
map<uint32, string> thread_names = 3;

public DeviceStepStats.Builder putThreadNames (int key, String value)

 Its key is thread id.
 
map<uint32, string> thread_names = 3;

public DeviceStepStats.Builder removeNodeStats (int index)

repeated .tensorflow.NodeExecStats node_stats = 2;

public DeviceStepStats.Builder removeThreadNames (int key)

 Its key is thread id.
 
map<uint32, string> thread_names = 3;

public DeviceStepStats.Builder setDevice (String value)

string device = 1;

public DeviceStepStats.Builder setDeviceBytes (com.google.protobuf.ByteString value)

string device = 1;

public DeviceStepStats.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public DeviceStepStats.Builder setNodeStats (int index, NodeExecStats value)

repeated .tensorflow.NodeExecStats node_stats = 2;

public DeviceStepStats.Builder setNodeStats (int index, NodeExecStats.Builder builderForValue)

repeated .tensorflow.NodeExecStats node_stats = 2;

public DeviceStepStats.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public final DeviceStepStats.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)