public static final class DeviceStepStats.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder> implements DeviceStepStatsOrBuilder
tensorflow.DeviceStepStats
Modifier and Type | Method and Description |
---|---|
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(int index,
NodeExecStats value)
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; |
NodeExecStats.Builder |
addNodeStatsBuilder()
repeated .tensorflow.NodeExecStats node_stats = 2; |
NodeExecStats.Builder |
addNodeStatsBuilder(int index)
repeated .tensorflow.NodeExecStats node_stats = 2; |
DeviceStepStats.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DeviceStepStats |
build() |
DeviceStepStats |
buildPartial() |
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 |
clearThreadNames() |
DeviceStepStats.Builder |
clone() |
boolean |
containsThreadNames(int key)
Its key is thread id.
|
DeviceStepStats |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDevice()
string device = 1; |
com.google.protobuf.ByteString |
getDeviceBytes()
string device = 1; |
Map<Integer,String> |
getMutableThreadNames()
Deprecated.
|
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> |
getThreadNames()
Deprecated.
|
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.
|
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() |
DeviceStepStats.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DeviceStepStats.Builder |
mergeFrom(DeviceStepStats other) |
DeviceStepStats.Builder |
mergeFrom(com.google.protobuf.Message other) |
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.Builder builderForValue)
repeated .tensorflow.NodeExecStats node_stats = 2; |
DeviceStepStats.Builder |
setNodeStats(int index,
NodeExecStats value)
repeated .tensorflow.NodeExecStats node_stats = 2; |
DeviceStepStats.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DeviceStepStats.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<DeviceStepStats.Builder>
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
public DeviceStepStats.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<DeviceStepStats.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<DeviceStepStats.Builder>
public DeviceStepStats getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public DeviceStepStats build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public DeviceStepStats buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public DeviceStepStats.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<DeviceStepStats.Builder>
public DeviceStepStats.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<DeviceStepStats.Builder>
public DeviceStepStats.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
public DeviceStepStats.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
public DeviceStepStats.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<DeviceStepStats.Builder>
public DeviceStepStats.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<DeviceStepStats.Builder>
public DeviceStepStats.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DeviceStepStats.Builder>
public DeviceStepStats.Builder mergeFrom(DeviceStepStats other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
public DeviceStepStats.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<DeviceStepStats.Builder>
IOException
public String getDevice()
string device = 1;
getDevice
in interface DeviceStepStatsOrBuilder
public com.google.protobuf.ByteString getDeviceBytes()
string device = 1;
getDeviceBytes
in interface DeviceStepStatsOrBuilder
public DeviceStepStats.Builder setDevice(String value)
string device = 1;
public DeviceStepStats.Builder clearDevice()
string device = 1;
public DeviceStepStats.Builder setDeviceBytes(com.google.protobuf.ByteString value)
string device = 1;
public List<NodeExecStats> getNodeStatsList()
repeated .tensorflow.NodeExecStats node_stats = 2;
getNodeStatsList
in interface DeviceStepStatsOrBuilder
public int getNodeStatsCount()
repeated .tensorflow.NodeExecStats node_stats = 2;
getNodeStatsCount
in interface DeviceStepStatsOrBuilder
public NodeExecStats getNodeStats(int index)
repeated .tensorflow.NodeExecStats node_stats = 2;
getNodeStats
in interface DeviceStepStatsOrBuilder
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 addNodeStats(NodeExecStats value)
repeated .tensorflow.NodeExecStats node_stats = 2;
public DeviceStepStats.Builder addNodeStats(int index, NodeExecStats value)
repeated .tensorflow.NodeExecStats node_stats = 2;
public DeviceStepStats.Builder addNodeStats(NodeExecStats.Builder builderForValue)
repeated .tensorflow.NodeExecStats node_stats = 2;
public DeviceStepStats.Builder addNodeStats(int index, NodeExecStats.Builder builderForValue)
repeated .tensorflow.NodeExecStats node_stats = 2;
public DeviceStepStats.Builder addAllNodeStats(Iterable<? extends NodeExecStats> values)
repeated .tensorflow.NodeExecStats node_stats = 2;
public DeviceStepStats.Builder clearNodeStats()
repeated .tensorflow.NodeExecStats node_stats = 2;
public DeviceStepStats.Builder removeNodeStats(int index)
repeated .tensorflow.NodeExecStats node_stats = 2;
public NodeExecStats.Builder getNodeStatsBuilder(int index)
repeated .tensorflow.NodeExecStats node_stats = 2;
public NodeExecStatsOrBuilder getNodeStatsOrBuilder(int index)
repeated .tensorflow.NodeExecStats node_stats = 2;
getNodeStatsOrBuilder
in interface DeviceStepStatsOrBuilder
public List<? extends NodeExecStatsOrBuilder> getNodeStatsOrBuilderList()
repeated .tensorflow.NodeExecStats node_stats = 2;
getNodeStatsOrBuilderList
in interface DeviceStepStatsOrBuilder
public NodeExecStats.Builder addNodeStatsBuilder()
repeated .tensorflow.NodeExecStats node_stats = 2;
public NodeExecStats.Builder addNodeStatsBuilder(int index)
repeated .tensorflow.NodeExecStats node_stats = 2;
public List<NodeExecStats.Builder> getNodeStatsBuilderList()
repeated .tensorflow.NodeExecStats node_stats = 2;
public int getThreadNamesCount()
DeviceStepStatsOrBuilder
Its key is thread id.
map<uint32, string> thread_names = 3;
getThreadNamesCount
in interface DeviceStepStatsOrBuilder
public boolean containsThreadNames(int key)
Its key is thread id.
map<uint32, string> thread_names = 3;
containsThreadNames
in interface DeviceStepStatsOrBuilder
@Deprecated public Map<Integer,String> getThreadNames()
getThreadNamesMap()
instead.getThreadNames
in interface DeviceStepStatsOrBuilder
public Map<Integer,String> getThreadNamesMap()
Its key is thread id.
map<uint32, string> thread_names = 3;
getThreadNamesMap
in interface DeviceStepStatsOrBuilder
public String getThreadNamesOrDefault(int key, String defaultValue)
Its key is thread id.
map<uint32, string> thread_names = 3;
getThreadNamesOrDefault
in interface DeviceStepStatsOrBuilder
public String getThreadNamesOrThrow(int key)
Its key is thread id.
map<uint32, string> thread_names = 3;
getThreadNamesOrThrow
in interface DeviceStepStatsOrBuilder
public DeviceStepStats.Builder clearThreadNames()
public DeviceStepStats.Builder removeThreadNames(int key)
Its key is thread id.
map<uint32, string> thread_names = 3;
@Deprecated public Map<Integer,String> getMutableThreadNames()
public DeviceStepStats.Builder putThreadNames(int key, String value)
Its key is thread id.
map<uint32, string> thread_names = 3;
public DeviceStepStats.Builder putAllThreadNames(Map<Integer,String> values)
Its key is thread id.
map<uint32, string> thread_names = 3;
public final DeviceStepStats.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
public final DeviceStepStats.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
Copyright © 2015–2019. All rights reserved.