Package org.tensorflow.framework
Class DeviceStepStats.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DeviceStepStats.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
org.tensorflow.framework.DeviceStepStats.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,DeviceStepStatsOrBuilder
- Enclosing class:
DeviceStepStats
public static final class DeviceStepStats.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
implements DeviceStepStatsOrBuilder
Protobuf type
tensorflow.DeviceStepStats-
Method Summary
Modifier and TypeMethodDescriptionaddAllNodeStats(Iterable<? extends NodeExecStats> values) repeated .tensorflow.NodeExecStats node_stats = 2;addNodeStats(int index, NodeExecStats value) repeated .tensorflow.NodeExecStats node_stats = 2;addNodeStats(int index, NodeExecStats.Builder builderForValue) repeated .tensorflow.NodeExecStats node_stats = 2;addNodeStats(NodeExecStats value) repeated .tensorflow.NodeExecStats node_stats = 2;addNodeStats(NodeExecStats.Builder builderForValue) repeated .tensorflow.NodeExecStats node_stats = 2;repeated .tensorflow.NodeExecStats node_stats = 2;addNodeStatsBuilder(int index) repeated .tensorflow.NodeExecStats node_stats = 2;addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()string device = 1;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) repeated .tensorflow.NodeExecStats node_stats = 2;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()booleancontainsThreadNames(int key) Its key is thread id.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorstring device = 1;com.google.protobuf.ByteStringstring device = 1;Deprecated.getNodeStats(int index) repeated .tensorflow.NodeExecStats node_stats = 2;getNodeStatsBuilder(int index) repeated .tensorflow.NodeExecStats node_stats = 2;repeated .tensorflow.NodeExecStats node_stats = 2;intrepeated .tensorflow.NodeExecStats node_stats = 2;repeated .tensorflow.NodeExecStats node_stats = 2;getNodeStatsOrBuilder(int index) repeated .tensorflow.NodeExecStats node_stats = 2;List<? extends NodeExecStatsOrBuilder> repeated .tensorflow.NodeExecStats node_stats = 2;Deprecated.intIts key is thread id.Its key is thread id.getThreadNamesOrDefault(int key, String defaultValue) Its key is thread id.getThreadNamesOrThrow(int key) Its key is thread id.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(DeviceStepStats other) final DeviceStepStats.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllThreadNames(Map<Integer, String> values) Its key is thread id.putThreadNames(int key, String value) Its key is thread id.removeNodeStats(int index) repeated .tensorflow.NodeExecStats node_stats = 2;removeThreadNames(int key) Its key is thread id.string device = 1;setDeviceBytes(com.google.protobuf.ByteString value) string device = 1;setNodeStats(int index, NodeExecStats value) repeated .tensorflow.NodeExecStats node_stats = 2;setNodeStats(int index, NodeExecStats.Builder builderForValue) repeated .tensorflow.NodeExecStats node_stats = 2;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final DeviceStepStats.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
-
setField
public DeviceStepStats.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
-
setRepeatedField
public DeviceStepStats.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
-
addRepeatedField
public DeviceStepStats.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeviceStepStats.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
-
mergeFrom
public DeviceStepStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeviceStepStats.Builder>- Throws:
IOException
-
getDevice
string device = 1;- Specified by:
getDevicein interfaceDeviceStepStatsOrBuilder- Returns:
- The device.
-
getDeviceBytes
public com.google.protobuf.ByteString getDeviceBytes()string device = 1;- Specified by:
getDeviceBytesin interfaceDeviceStepStatsOrBuilder- Returns:
- The bytes for device.
-
setDevice
string device = 1;- Parameters:
value- The device to set.- Returns:
- This builder for chaining.
-
clearDevice
string device = 1;- Returns:
- This builder for chaining.
-
setDeviceBytes
string device = 1;- Parameters:
value- The bytes for device to set.- Returns:
- This builder for chaining.
-
getNodeStatsList
repeated .tensorflow.NodeExecStats node_stats = 2;- Specified by:
getNodeStatsListin interfaceDeviceStepStatsOrBuilder
-
getNodeStatsCount
public int getNodeStatsCount()repeated .tensorflow.NodeExecStats node_stats = 2;- Specified by:
getNodeStatsCountin interfaceDeviceStepStatsOrBuilder
-
getNodeStats
repeated .tensorflow.NodeExecStats node_stats = 2;- Specified by:
getNodeStatsin interfaceDeviceStepStatsOrBuilder
-
setNodeStats
repeated .tensorflow.NodeExecStats node_stats = 2; -
setNodeStats
repeated .tensorflow.NodeExecStats node_stats = 2; -
addNodeStats
repeated .tensorflow.NodeExecStats node_stats = 2; -
addNodeStats
repeated .tensorflow.NodeExecStats node_stats = 2; -
addNodeStats
repeated .tensorflow.NodeExecStats node_stats = 2; -
addNodeStats
repeated .tensorflow.NodeExecStats node_stats = 2; -
addAllNodeStats
repeated .tensorflow.NodeExecStats node_stats = 2; -
clearNodeStats
repeated .tensorflow.NodeExecStats node_stats = 2; -
removeNodeStats
repeated .tensorflow.NodeExecStats node_stats = 2; -
getNodeStatsBuilder
repeated .tensorflow.NodeExecStats node_stats = 2; -
getNodeStatsOrBuilder
repeated .tensorflow.NodeExecStats node_stats = 2;- Specified by:
getNodeStatsOrBuilderin interfaceDeviceStepStatsOrBuilder
-
getNodeStatsOrBuilderList
repeated .tensorflow.NodeExecStats node_stats = 2;- Specified by:
getNodeStatsOrBuilderListin interfaceDeviceStepStatsOrBuilder
-
addNodeStatsBuilder
repeated .tensorflow.NodeExecStats node_stats = 2; -
addNodeStatsBuilder
repeated .tensorflow.NodeExecStats node_stats = 2; -
getNodeStatsBuilderList
repeated .tensorflow.NodeExecStats node_stats = 2; -
getThreadNamesCount
public int getThreadNamesCount()Description copied from interface:DeviceStepStatsOrBuilderIts key is thread id.
map<uint32, string> thread_names = 3;- Specified by:
getThreadNamesCountin interfaceDeviceStepStatsOrBuilder
-
containsThreadNames
public boolean containsThreadNames(int key) Its key is thread id.
map<uint32, string> thread_names = 3;- Specified by:
containsThreadNamesin interfaceDeviceStepStatsOrBuilder
-
getThreadNames
Deprecated.UsegetThreadNamesMap()instead.- Specified by:
getThreadNamesin interfaceDeviceStepStatsOrBuilder
-
getThreadNamesMap
Its key is thread id.
map<uint32, string> thread_names = 3;- Specified by:
getThreadNamesMapin interfaceDeviceStepStatsOrBuilder
-
getThreadNamesOrDefault
Its key is thread id.
map<uint32, string> thread_names = 3;- Specified by:
getThreadNamesOrDefaultin interfaceDeviceStepStatsOrBuilder
-
getThreadNamesOrThrow
Its key is thread id.
map<uint32, string> thread_names = 3;- Specified by:
getThreadNamesOrThrowin interfaceDeviceStepStatsOrBuilder
-
clearThreadNames
-
removeThreadNames
Its key is thread id.
map<uint32, string> thread_names = 3; -
getMutableThreadNames
Deprecated.Use alternate mutation accessors instead. -
putThreadNames
Its key is thread id.
map<uint32, string> thread_names = 3; -
putAllThreadNames
Its key is thread id.
map<uint32, string> thread_names = 3; -
setUnknownFields
public final DeviceStepStats.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
-
mergeUnknownFields
public final DeviceStepStats.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DeviceStepStats.Builder>
-