Class BfcMemoryMap.MemoryDump.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BfcMemoryMap.MemoryDump.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<BfcMemoryMap.MemoryDump.Builder>
org.tensorflow.proto.BfcMemoryMap.MemoryDump.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, BfcMemoryMap.MemoryDumpOrBuilder
- Enclosing class:
BfcMemoryMap.MemoryDump
public static final class BfcMemoryMap.MemoryDump.Builder
extends GeneratedMessageV3.Builder<BfcMemoryMap.MemoryDump.Builder>
implements BfcMemoryMap.MemoryDumpOrBuilder
Protobuf type
tensorflow.MemoryDump-
Method Summary
Modifier and TypeMethodDescriptionaddAllBinSummary(Iterable<? extends BfcMemoryMap.BinSummary> values) repeated .tensorflow.BinSummary bin_summary = 2;addAllChunk(Iterable<? extends BfcMemoryMap.MemChunk> values) repeated .tensorflow.MemChunk chunk = 3;addAllSnapShot(Iterable<? extends BfcMemoryMap.SnapShot> values) repeated .tensorflow.SnapShot snap_shot = 4;addBinSummary(int index, BfcMemoryMap.BinSummary value) repeated .tensorflow.BinSummary bin_summary = 2;addBinSummary(int index, BfcMemoryMap.BinSummary.Builder builderForValue) repeated .tensorflow.BinSummary bin_summary = 2;repeated .tensorflow.BinSummary bin_summary = 2;addBinSummary(BfcMemoryMap.BinSummary.Builder builderForValue) repeated .tensorflow.BinSummary bin_summary = 2;repeated .tensorflow.BinSummary bin_summary = 2;addBinSummaryBuilder(int index) repeated .tensorflow.BinSummary bin_summary = 2;addChunk(int index, BfcMemoryMap.MemChunk value) repeated .tensorflow.MemChunk chunk = 3;addChunk(int index, BfcMemoryMap.MemChunk.Builder builderForValue) repeated .tensorflow.MemChunk chunk = 3;addChunk(BfcMemoryMap.MemChunk value) repeated .tensorflow.MemChunk chunk = 3;addChunk(BfcMemoryMap.MemChunk.Builder builderForValue) repeated .tensorflow.MemChunk chunk = 3;repeated .tensorflow.MemChunk chunk = 3;addChunkBuilder(int index) repeated .tensorflow.MemChunk chunk = 3;addRepeatedField(Descriptors.FieldDescriptor field, Object value) addSnapShot(int index, BfcMemoryMap.SnapShot value) repeated .tensorflow.SnapShot snap_shot = 4;addSnapShot(int index, BfcMemoryMap.SnapShot.Builder builderForValue) repeated .tensorflow.SnapShot snap_shot = 4;addSnapShot(BfcMemoryMap.SnapShot value) repeated .tensorflow.SnapShot snap_shot = 4;addSnapShot(BfcMemoryMap.SnapShot.Builder builderForValue) repeated .tensorflow.SnapShot snap_shot = 4;repeated .tensorflow.SnapShot snap_shot = 4;addSnapShotBuilder(int index) repeated .tensorflow.SnapShot snap_shot = 4;build()clear()string allocator_name = 1;repeated .tensorflow.BinSummary bin_summary = 2;repeated .tensorflow.MemChunk chunk = 3;repeated .tensorflow.SnapShot snap_shot = 4;.tensorflow.MemAllocatorStats stats = 5;clone()string allocator_name = 1;string allocator_name = 1;getBinSummary(int index) repeated .tensorflow.BinSummary bin_summary = 2;getBinSummaryBuilder(int index) repeated .tensorflow.BinSummary bin_summary = 2;repeated .tensorflow.BinSummary bin_summary = 2;intrepeated .tensorflow.BinSummary bin_summary = 2;repeated .tensorflow.BinSummary bin_summary = 2;getBinSummaryOrBuilder(int index) repeated .tensorflow.BinSummary bin_summary = 2;List<? extends BfcMemoryMap.BinSummaryOrBuilder> repeated .tensorflow.BinSummary bin_summary = 2;getChunk(int index) repeated .tensorflow.MemChunk chunk = 3;getChunkBuilder(int index) repeated .tensorflow.MemChunk chunk = 3;repeated .tensorflow.MemChunk chunk = 3;intrepeated .tensorflow.MemChunk chunk = 3;repeated .tensorflow.MemChunk chunk = 3;getChunkOrBuilder(int index) repeated .tensorflow.MemChunk chunk = 3;List<? extends BfcMemoryMap.MemChunkOrBuilder> repeated .tensorflow.MemChunk chunk = 3;static final Descriptors.DescriptorgetSnapShot(int index) repeated .tensorflow.SnapShot snap_shot = 4;getSnapShotBuilder(int index) repeated .tensorflow.SnapShot snap_shot = 4;repeated .tensorflow.SnapShot snap_shot = 4;intrepeated .tensorflow.SnapShot snap_shot = 4;repeated .tensorflow.SnapShot snap_shot = 4;getSnapShotOrBuilder(int index) repeated .tensorflow.SnapShot snap_shot = 4;List<? extends BfcMemoryMap.SnapShotOrBuilder> repeated .tensorflow.SnapShot snap_shot = 4;getStats().tensorflow.MemAllocatorStats stats = 5;.tensorflow.MemAllocatorStats stats = 5;.tensorflow.MemAllocatorStats stats = 5;booleanhasStats().tensorflow.MemAllocatorStats stats = 5;protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(BfcMemoryMap.MemoryDump other) .tensorflow.MemAllocatorStats stats = 5;mergeUnknownFields(UnknownFieldSet unknownFields) removeBinSummary(int index) repeated .tensorflow.BinSummary bin_summary = 2;removeChunk(int index) repeated .tensorflow.MemChunk chunk = 3;removeSnapShot(int index) repeated .tensorflow.SnapShot snap_shot = 4;setAllocatorName(String value) string allocator_name = 1;setAllocatorNameBytes(ByteString value) string allocator_name = 1;setBinSummary(int index, BfcMemoryMap.BinSummary value) repeated .tensorflow.BinSummary bin_summary = 2;setBinSummary(int index, BfcMemoryMap.BinSummary.Builder builderForValue) repeated .tensorflow.BinSummary bin_summary = 2;setChunk(int index, BfcMemoryMap.MemChunk value) repeated .tensorflow.MemChunk chunk = 3;setChunk(int index, BfcMemoryMap.MemChunk.Builder builderForValue) repeated .tensorflow.MemChunk chunk = 3;setField(Descriptors.FieldDescriptor field, Object value) setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setSnapShot(int index, BfcMemoryMap.SnapShot value) repeated .tensorflow.SnapShot snap_shot = 4;setSnapShot(int index, BfcMemoryMap.SnapShot.Builder builderForValue) repeated .tensorflow.SnapShot snap_shot = 4;.tensorflow.MemAllocatorStats stats = 5;setStats(BfcMemoryMap.MemAllocatorStats.Builder builderForValue) .tensorflow.MemAllocatorStats stats = 5;setUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class 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 AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<BfcMemoryMap.MemoryDump.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<BfcMemoryMap.MemoryDump.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<BfcMemoryMap.MemoryDump.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<BfcMemoryMap.MemoryDump.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<BfcMemoryMap.MemoryDump.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<BfcMemoryMap.MemoryDump.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<BfcMemoryMap.MemoryDump.Builder>
-
setRepeatedField
public BfcMemoryMap.MemoryDump.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<BfcMemoryMap.MemoryDump.Builder>
-
addRepeatedField
public BfcMemoryMap.MemoryDump.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<BfcMemoryMap.MemoryDump.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<BfcMemoryMap.MemoryDump.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<BfcMemoryMap.MemoryDump.Builder>
-
mergeFrom
public BfcMemoryMap.MemoryDump.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<BfcMemoryMap.MemoryDump.Builder>- Throws:
IOException
-
getAllocatorName
string allocator_name = 1;- Specified by:
getAllocatorNamein interfaceBfcMemoryMap.MemoryDumpOrBuilder- Returns:
- The allocatorName.
-
getAllocatorNameBytes
string allocator_name = 1;- Specified by:
getAllocatorNameBytesin interfaceBfcMemoryMap.MemoryDumpOrBuilder- Returns:
- The bytes for allocatorName.
-
setAllocatorName
string allocator_name = 1;- Parameters:
value- The allocatorName to set.- Returns:
- This builder for chaining.
-
clearAllocatorName
string allocator_name = 1;- Returns:
- This builder for chaining.
-
setAllocatorNameBytes
string allocator_name = 1;- Parameters:
value- The bytes for allocatorName to set.- Returns:
- This builder for chaining.
-
getBinSummaryList
repeated .tensorflow.BinSummary bin_summary = 2;- Specified by:
getBinSummaryListin interfaceBfcMemoryMap.MemoryDumpOrBuilder
-
getBinSummaryCount
public int getBinSummaryCount()repeated .tensorflow.BinSummary bin_summary = 2;- Specified by:
getBinSummaryCountin interfaceBfcMemoryMap.MemoryDumpOrBuilder
-
getBinSummary
repeated .tensorflow.BinSummary bin_summary = 2;- Specified by:
getBinSummaryin interfaceBfcMemoryMap.MemoryDumpOrBuilder
-
setBinSummary
repeated .tensorflow.BinSummary bin_summary = 2; -
setBinSummary
public BfcMemoryMap.MemoryDump.Builder setBinSummary(int index, BfcMemoryMap.BinSummary.Builder builderForValue) repeated .tensorflow.BinSummary bin_summary = 2; -
addBinSummary
repeated .tensorflow.BinSummary bin_summary = 2; -
addBinSummary
repeated .tensorflow.BinSummary bin_summary = 2; -
addBinSummary
public BfcMemoryMap.MemoryDump.Builder addBinSummary(BfcMemoryMap.BinSummary.Builder builderForValue) repeated .tensorflow.BinSummary bin_summary = 2; -
addBinSummary
public BfcMemoryMap.MemoryDump.Builder addBinSummary(int index, BfcMemoryMap.BinSummary.Builder builderForValue) repeated .tensorflow.BinSummary bin_summary = 2; -
addAllBinSummary
public BfcMemoryMap.MemoryDump.Builder addAllBinSummary(Iterable<? extends BfcMemoryMap.BinSummary> values) repeated .tensorflow.BinSummary bin_summary = 2; -
clearBinSummary
repeated .tensorflow.BinSummary bin_summary = 2; -
removeBinSummary
repeated .tensorflow.BinSummary bin_summary = 2; -
getBinSummaryBuilder
repeated .tensorflow.BinSummary bin_summary = 2; -
getBinSummaryOrBuilder
repeated .tensorflow.BinSummary bin_summary = 2;- Specified by:
getBinSummaryOrBuilderin interfaceBfcMemoryMap.MemoryDumpOrBuilder
-
getBinSummaryOrBuilderList
repeated .tensorflow.BinSummary bin_summary = 2;- Specified by:
getBinSummaryOrBuilderListin interfaceBfcMemoryMap.MemoryDumpOrBuilder
-
addBinSummaryBuilder
repeated .tensorflow.BinSummary bin_summary = 2; -
addBinSummaryBuilder
repeated .tensorflow.BinSummary bin_summary = 2; -
getBinSummaryBuilderList
repeated .tensorflow.BinSummary bin_summary = 2; -
getChunkList
repeated .tensorflow.MemChunk chunk = 3;- Specified by:
getChunkListin interfaceBfcMemoryMap.MemoryDumpOrBuilder
-
getChunkCount
public int getChunkCount()repeated .tensorflow.MemChunk chunk = 3;- Specified by:
getChunkCountin interfaceBfcMemoryMap.MemoryDumpOrBuilder
-
getChunk
repeated .tensorflow.MemChunk chunk = 3;- Specified by:
getChunkin interfaceBfcMemoryMap.MemoryDumpOrBuilder
-
setChunk
repeated .tensorflow.MemChunk chunk = 3; -
setChunk
public BfcMemoryMap.MemoryDump.Builder setChunk(int index, BfcMemoryMap.MemChunk.Builder builderForValue) repeated .tensorflow.MemChunk chunk = 3; -
addChunk
repeated .tensorflow.MemChunk chunk = 3; -
addChunk
repeated .tensorflow.MemChunk chunk = 3; -
addChunk
repeated .tensorflow.MemChunk chunk = 3; -
addChunk
public BfcMemoryMap.MemoryDump.Builder addChunk(int index, BfcMemoryMap.MemChunk.Builder builderForValue) repeated .tensorflow.MemChunk chunk = 3; -
addAllChunk
public BfcMemoryMap.MemoryDump.Builder addAllChunk(Iterable<? extends BfcMemoryMap.MemChunk> values) repeated .tensorflow.MemChunk chunk = 3; -
clearChunk
repeated .tensorflow.MemChunk chunk = 3; -
removeChunk
repeated .tensorflow.MemChunk chunk = 3; -
getChunkBuilder
repeated .tensorflow.MemChunk chunk = 3; -
getChunkOrBuilder
repeated .tensorflow.MemChunk chunk = 3;- Specified by:
getChunkOrBuilderin interfaceBfcMemoryMap.MemoryDumpOrBuilder
-
getChunkOrBuilderList
repeated .tensorflow.MemChunk chunk = 3;- Specified by:
getChunkOrBuilderListin interfaceBfcMemoryMap.MemoryDumpOrBuilder
-
addChunkBuilder
repeated .tensorflow.MemChunk chunk = 3; -
addChunkBuilder
repeated .tensorflow.MemChunk chunk = 3; -
getChunkBuilderList
repeated .tensorflow.MemChunk chunk = 3; -
getSnapShotList
repeated .tensorflow.SnapShot snap_shot = 4;- Specified by:
getSnapShotListin interfaceBfcMemoryMap.MemoryDumpOrBuilder
-
getSnapShotCount
public int getSnapShotCount()repeated .tensorflow.SnapShot snap_shot = 4;- Specified by:
getSnapShotCountin interfaceBfcMemoryMap.MemoryDumpOrBuilder
-
getSnapShot
repeated .tensorflow.SnapShot snap_shot = 4;- Specified by:
getSnapShotin interfaceBfcMemoryMap.MemoryDumpOrBuilder
-
setSnapShot
repeated .tensorflow.SnapShot snap_shot = 4; -
setSnapShot
public BfcMemoryMap.MemoryDump.Builder setSnapShot(int index, BfcMemoryMap.SnapShot.Builder builderForValue) repeated .tensorflow.SnapShot snap_shot = 4; -
addSnapShot
repeated .tensorflow.SnapShot snap_shot = 4; -
addSnapShot
repeated .tensorflow.SnapShot snap_shot = 4; -
addSnapShot
repeated .tensorflow.SnapShot snap_shot = 4; -
addSnapShot
public BfcMemoryMap.MemoryDump.Builder addSnapShot(int index, BfcMemoryMap.SnapShot.Builder builderForValue) repeated .tensorflow.SnapShot snap_shot = 4; -
addAllSnapShot
public BfcMemoryMap.MemoryDump.Builder addAllSnapShot(Iterable<? extends BfcMemoryMap.SnapShot> values) repeated .tensorflow.SnapShot snap_shot = 4; -
clearSnapShot
repeated .tensorflow.SnapShot snap_shot = 4; -
removeSnapShot
repeated .tensorflow.SnapShot snap_shot = 4; -
getSnapShotBuilder
repeated .tensorflow.SnapShot snap_shot = 4; -
getSnapShotOrBuilder
repeated .tensorflow.SnapShot snap_shot = 4;- Specified by:
getSnapShotOrBuilderin interfaceBfcMemoryMap.MemoryDumpOrBuilder
-
getSnapShotOrBuilderList
repeated .tensorflow.SnapShot snap_shot = 4;- Specified by:
getSnapShotOrBuilderListin interfaceBfcMemoryMap.MemoryDumpOrBuilder
-
addSnapShotBuilder
repeated .tensorflow.SnapShot snap_shot = 4; -
addSnapShotBuilder
repeated .tensorflow.SnapShot snap_shot = 4; -
getSnapShotBuilderList
repeated .tensorflow.SnapShot snap_shot = 4; -
hasStats
public boolean hasStats().tensorflow.MemAllocatorStats stats = 5;- Specified by:
hasStatsin interfaceBfcMemoryMap.MemoryDumpOrBuilder- Returns:
- Whether the stats field is set.
-
getStats
.tensorflow.MemAllocatorStats stats = 5;- Specified by:
getStatsin interfaceBfcMemoryMap.MemoryDumpOrBuilder- Returns:
- The stats.
-
setStats
.tensorflow.MemAllocatorStats stats = 5; -
setStats
public BfcMemoryMap.MemoryDump.Builder setStats(BfcMemoryMap.MemAllocatorStats.Builder builderForValue) .tensorflow.MemAllocatorStats stats = 5; -
mergeStats
.tensorflow.MemAllocatorStats stats = 5; -
clearStats
.tensorflow.MemAllocatorStats stats = 5; -
getStatsBuilder
.tensorflow.MemAllocatorStats stats = 5; -
getStatsOrBuilder
.tensorflow.MemAllocatorStats stats = 5;- Specified by:
getStatsOrBuilderin interfaceBfcMemoryMap.MemoryDumpOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<BfcMemoryMap.MemoryDump.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<BfcMemoryMap.MemoryDump.Builder>
-