Class AllocatorMemoryUsed.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<AllocatorMemoryUsed.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
org.tensorflow.proto.AllocatorMemoryUsed.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, AllocatorMemoryUsedOrBuilder
- Enclosing class:
AllocatorMemoryUsed
public static final class AllocatorMemoryUsed.Builder
extends GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
implements AllocatorMemoryUsedOrBuilder
Protobuf type
tensorflow.AllocatorMemoryUsed-
Method Summary
Modifier and TypeMethodDescriptionaddAllAllocationRecords(Iterable<? extends AllocationRecord> values) The allocation and deallocation timeline.addAllocationRecords(int index, AllocationRecord value) The allocation and deallocation timeline.addAllocationRecords(int index, AllocationRecord.Builder builderForValue) The allocation and deallocation timeline.The allocation and deallocation timeline.addAllocationRecords(AllocationRecord.Builder builderForValue) The allocation and deallocation timeline.The allocation and deallocation timeline.addAllocationRecordsBuilder(int index) The allocation and deallocation timeline.addRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()The allocation and deallocation timeline.These are snapshots of the overall allocator memory stats.string allocator_name = 1;The bytes that are not deallocated.int64 peak_bytes = 3;These are per-node allocator memory stats.clone()getAllocationRecords(int index) The allocation and deallocation timeline.getAllocationRecordsBuilder(int index) The allocation and deallocation timeline.The allocation and deallocation timeline.intThe allocation and deallocation timeline.The allocation and deallocation timeline.getAllocationRecordsOrBuilder(int index) The allocation and deallocation timeline.List<? extends AllocationRecordOrBuilder> The allocation and deallocation timeline.longThese are snapshots of the overall allocator memory stats.string allocator_name = 1;string allocator_name = 1;static final Descriptors.DescriptorlongThe bytes that are not deallocated.longint64 peak_bytes = 3;longThese are per-node allocator memory stats.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(AllocatorMemoryUsed other) mergeUnknownFields(UnknownFieldSet unknownFields) removeAllocationRecords(int index) The allocation and deallocation timeline.setAllocationRecords(int index, AllocationRecord value) The allocation and deallocation timeline.setAllocationRecords(int index, AllocationRecord.Builder builderForValue) The allocation and deallocation timeline.setAllocatorBytesInUse(long value) These are snapshots of the overall allocator memory stats.setAllocatorName(String value) string allocator_name = 1;setAllocatorNameBytes(ByteString value) string allocator_name = 1;setField(Descriptors.FieldDescriptor field, Object value) setLiveBytes(long value) The bytes that are not deallocated.setPeakBytes(long value) int64 peak_bytes = 3;setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setTotalBytes(long value) These are per-node allocator memory stats.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<AllocatorMemoryUsed.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<AllocatorMemoryUsed.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<AllocatorMemoryUsed.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
setRepeatedField
public AllocatorMemoryUsed.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
addRepeatedField
public AllocatorMemoryUsed.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<AllocatorMemoryUsed.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
mergeFrom
public AllocatorMemoryUsed.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<AllocatorMemoryUsed.Builder>- Throws:
IOException
-
getAllocatorName
string allocator_name = 1;- Specified by:
getAllocatorNamein interfaceAllocatorMemoryUsedOrBuilder- Returns:
- The allocatorName.
-
getAllocatorNameBytes
string allocator_name = 1;- Specified by:
getAllocatorNameBytesin interfaceAllocatorMemoryUsedOrBuilder- 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.
-
getTotalBytes
public long getTotalBytes()These are per-node allocator memory stats.
int64 total_bytes = 2;- Specified by:
getTotalBytesin interfaceAllocatorMemoryUsedOrBuilder- Returns:
- The totalBytes.
-
setTotalBytes
These are per-node allocator memory stats.
int64 total_bytes = 2;- Parameters:
value- The totalBytes to set.- Returns:
- This builder for chaining.
-
clearTotalBytes
These are per-node allocator memory stats.
int64 total_bytes = 2;- Returns:
- This builder for chaining.
-
getPeakBytes
public long getPeakBytes()int64 peak_bytes = 3;- Specified by:
getPeakBytesin interfaceAllocatorMemoryUsedOrBuilder- Returns:
- The peakBytes.
-
setPeakBytes
int64 peak_bytes = 3;- Parameters:
value- The peakBytes to set.- Returns:
- This builder for chaining.
-
clearPeakBytes
int64 peak_bytes = 3;- Returns:
- This builder for chaining.
-
getLiveBytes
public long getLiveBytes()The bytes that are not deallocated.
int64 live_bytes = 4;- Specified by:
getLiveBytesin interfaceAllocatorMemoryUsedOrBuilder- Returns:
- The liveBytes.
-
setLiveBytes
The bytes that are not deallocated.
int64 live_bytes = 4;- Parameters:
value- The liveBytes to set.- Returns:
- This builder for chaining.
-
clearLiveBytes
The bytes that are not deallocated.
int64 live_bytes = 4;- Returns:
- This builder for chaining.
-
getAllocationRecordsList
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;- Specified by:
getAllocationRecordsListin interfaceAllocatorMemoryUsedOrBuilder
-
getAllocationRecordsCount
public int getAllocationRecordsCount()The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;- Specified by:
getAllocationRecordsCountin interfaceAllocatorMemoryUsedOrBuilder
-
getAllocationRecords
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;- Specified by:
getAllocationRecordsin interfaceAllocatorMemoryUsedOrBuilder
-
setAllocationRecords
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6; -
setAllocationRecords
public AllocatorMemoryUsed.Builder setAllocationRecords(int index, AllocationRecord.Builder builderForValue) The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6; -
addAllocationRecords
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6; -
addAllocationRecords
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6; -
addAllocationRecords
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6; -
addAllocationRecords
public AllocatorMemoryUsed.Builder addAllocationRecords(int index, AllocationRecord.Builder builderForValue) The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6; -
addAllAllocationRecords
public AllocatorMemoryUsed.Builder addAllAllocationRecords(Iterable<? extends AllocationRecord> values) The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6; -
clearAllocationRecords
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6; -
removeAllocationRecords
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6; -
getAllocationRecordsBuilder
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6; -
getAllocationRecordsOrBuilder
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;- Specified by:
getAllocationRecordsOrBuilderin interfaceAllocatorMemoryUsedOrBuilder
-
getAllocationRecordsOrBuilderList
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;- Specified by:
getAllocationRecordsOrBuilderListin interfaceAllocatorMemoryUsedOrBuilder
-
addAllocationRecordsBuilder
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6; -
addAllocationRecordsBuilder
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6; -
getAllocationRecordsBuilderList
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6; -
getAllocatorBytesInUse
public long getAllocatorBytesInUse()These are snapshots of the overall allocator memory stats. The number of live bytes currently allocated by the allocator.
int64 allocator_bytes_in_use = 5;- Specified by:
getAllocatorBytesInUsein interfaceAllocatorMemoryUsedOrBuilder- Returns:
- The allocatorBytesInUse.
-
setAllocatorBytesInUse
These are snapshots of the overall allocator memory stats. The number of live bytes currently allocated by the allocator.
int64 allocator_bytes_in_use = 5;- Parameters:
value- The allocatorBytesInUse to set.- Returns:
- This builder for chaining.
-
clearAllocatorBytesInUse
These are snapshots of the overall allocator memory stats. The number of live bytes currently allocated by the allocator.
int64 allocator_bytes_in_use = 5;- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-