Package org.tensorflow.framework
Class AllocatorMemoryUsed.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
- org.tensorflow.framework.AllocatorMemoryUsed.Builder
-
- All Implemented Interfaces:
Cloneable
,org.nd4j.shade.protobuf.Message.Builder
,org.nd4j.shade.protobuf.MessageLite.Builder
,org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
,AllocatorMemoryUsedOrBuilder
- Enclosing class:
- AllocatorMemoryUsed
public static final class AllocatorMemoryUsed.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder> implements AllocatorMemoryUsedOrBuilder
Protobuf typetensorflow.AllocatorMemoryUsed
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AllocatorMemoryUsed.Builder
addAllAllocationRecords(Iterable<? extends AllocationRecord> values)
The allocation and deallocation timeline.AllocatorMemoryUsed.Builder
addAllocationRecords(int index, AllocationRecord value)
The allocation and deallocation timeline.AllocatorMemoryUsed.Builder
addAllocationRecords(int index, AllocationRecord.Builder builderForValue)
The allocation and deallocation timeline.AllocatorMemoryUsed.Builder
addAllocationRecords(AllocationRecord value)
The allocation and deallocation timeline.AllocatorMemoryUsed.Builder
addAllocationRecords(AllocationRecord.Builder builderForValue)
The allocation and deallocation timeline.AllocationRecord.Builder
addAllocationRecordsBuilder()
The allocation and deallocation timeline.AllocationRecord.Builder
addAllocationRecordsBuilder(int index)
The allocation and deallocation timeline.AllocatorMemoryUsed.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
AllocatorMemoryUsed
build()
AllocatorMemoryUsed
buildPartial()
AllocatorMemoryUsed.Builder
clear()
AllocatorMemoryUsed.Builder
clearAllocationRecords()
The allocation and deallocation timeline.AllocatorMemoryUsed.Builder
clearAllocatorBytesInUse()
These are snapshots of the overall allocator memory stats.AllocatorMemoryUsed.Builder
clearAllocatorName()
string allocator_name = 1;
AllocatorMemoryUsed.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
AllocatorMemoryUsed.Builder
clearLiveBytes()
The bytes that are not deallocated.AllocatorMemoryUsed.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
AllocatorMemoryUsed.Builder
clearPeakBytes()
int64 peak_bytes = 3;
AllocatorMemoryUsed.Builder
clearTotalBytes()
These are per-node allocator memory stats.AllocatorMemoryUsed.Builder
clone()
AllocationRecord
getAllocationRecords(int index)
The allocation and deallocation timeline.AllocationRecord.Builder
getAllocationRecordsBuilder(int index)
The allocation and deallocation timeline.List<AllocationRecord.Builder>
getAllocationRecordsBuilderList()
The allocation and deallocation timeline.int
getAllocationRecordsCount()
The allocation and deallocation timeline.List<AllocationRecord>
getAllocationRecordsList()
The allocation and deallocation timeline.AllocationRecordOrBuilder
getAllocationRecordsOrBuilder(int index)
The allocation and deallocation timeline.List<? extends AllocationRecordOrBuilder>
getAllocationRecordsOrBuilderList()
The allocation and deallocation timeline.long
getAllocatorBytesInUse()
These are snapshots of the overall allocator memory stats.String
getAllocatorName()
string allocator_name = 1;
org.nd4j.shade.protobuf.ByteString
getAllocatorNameBytes()
string allocator_name = 1;
AllocatorMemoryUsed
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getLiveBytes()
The bytes that are not deallocated.long
getPeakBytes()
int64 peak_bytes = 3;
long
getTotalBytes()
These are per-node allocator memory stats.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AllocatorMemoryUsed.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
AllocatorMemoryUsed.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
AllocatorMemoryUsed.Builder
mergeFrom(AllocatorMemoryUsed other)
AllocatorMemoryUsed.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
AllocatorMemoryUsed.Builder
removeAllocationRecords(int index)
The allocation and deallocation timeline.AllocatorMemoryUsed.Builder
setAllocationRecords(int index, AllocationRecord value)
The allocation and deallocation timeline.AllocatorMemoryUsed.Builder
setAllocationRecords(int index, AllocationRecord.Builder builderForValue)
The allocation and deallocation timeline.AllocatorMemoryUsed.Builder
setAllocatorBytesInUse(long value)
These are snapshots of the overall allocator memory stats.AllocatorMemoryUsed.Builder
setAllocatorName(String value)
string allocator_name = 1;
AllocatorMemoryUsed.Builder
setAllocatorNameBytes(org.nd4j.shade.protobuf.ByteString value)
string allocator_name = 1;
AllocatorMemoryUsed.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
AllocatorMemoryUsed.Builder
setLiveBytes(long value)
The bytes that are not deallocated.AllocatorMemoryUsed.Builder
setPeakBytes(long value)
int64 peak_bytes = 3;
AllocatorMemoryUsed.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AllocatorMemoryUsed.Builder
setTotalBytes(long value)
These are per-node allocator memory stats.AllocatorMemoryUsed.Builder
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
clear
public AllocatorMemoryUsed.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
getDefaultInstanceForType
public AllocatorMemoryUsed getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public AllocatorMemoryUsed build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public AllocatorMemoryUsed buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public AllocatorMemoryUsed.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
setField
public AllocatorMemoryUsed.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
clearField
public AllocatorMemoryUsed.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
clearOneof
public AllocatorMemoryUsed.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
setRepeatedField
public AllocatorMemoryUsed.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
addRepeatedField
public AllocatorMemoryUsed.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
mergeFrom
public AllocatorMemoryUsed.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<AllocatorMemoryUsed.Builder>
-
mergeFrom
public AllocatorMemoryUsed.Builder mergeFrom(AllocatorMemoryUsed other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
mergeFrom
public AllocatorMemoryUsed.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<AllocatorMemoryUsed.Builder>
- Throws:
IOException
-
getAllocatorName
public String getAllocatorName()
string allocator_name = 1;
- Specified by:
getAllocatorName
in interfaceAllocatorMemoryUsedOrBuilder
- Returns:
- The allocatorName.
-
getAllocatorNameBytes
public org.nd4j.shade.protobuf.ByteString getAllocatorNameBytes()
string allocator_name = 1;
- Specified by:
getAllocatorNameBytes
in interfaceAllocatorMemoryUsedOrBuilder
- Returns:
- The bytes for allocatorName.
-
setAllocatorName
public AllocatorMemoryUsed.Builder setAllocatorName(String value)
string allocator_name = 1;
- Parameters:
value
- The allocatorName to set.- Returns:
- This builder for chaining.
-
clearAllocatorName
public AllocatorMemoryUsed.Builder clearAllocatorName()
string allocator_name = 1;
- Returns:
- This builder for chaining.
-
setAllocatorNameBytes
public AllocatorMemoryUsed.Builder setAllocatorNameBytes(org.nd4j.shade.protobuf.ByteString value)
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:
getTotalBytes
in interfaceAllocatorMemoryUsedOrBuilder
- Returns:
- The totalBytes.
-
setTotalBytes
public AllocatorMemoryUsed.Builder setTotalBytes(long value)
These are per-node allocator memory stats.
int64 total_bytes = 2;
- Parameters:
value
- The totalBytes to set.- Returns:
- This builder for chaining.
-
clearTotalBytes
public AllocatorMemoryUsed.Builder 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:
getPeakBytes
in interfaceAllocatorMemoryUsedOrBuilder
- Returns:
- The peakBytes.
-
setPeakBytes
public AllocatorMemoryUsed.Builder setPeakBytes(long value)
int64 peak_bytes = 3;
- Parameters:
value
- The peakBytes to set.- Returns:
- This builder for chaining.
-
clearPeakBytes
public AllocatorMemoryUsed.Builder 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:
getLiveBytes
in interfaceAllocatorMemoryUsedOrBuilder
- Returns:
- The liveBytes.
-
setLiveBytes
public AllocatorMemoryUsed.Builder setLiveBytes(long value)
The bytes that are not deallocated.
int64 live_bytes = 4;
- Parameters:
value
- The liveBytes to set.- Returns:
- This builder for chaining.
-
clearLiveBytes
public AllocatorMemoryUsed.Builder clearLiveBytes()
The bytes that are not deallocated.
int64 live_bytes = 4;
- Returns:
- This builder for chaining.
-
getAllocationRecordsList
public List<AllocationRecord> getAllocationRecordsList()
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
- Specified by:
getAllocationRecordsList
in interfaceAllocatorMemoryUsedOrBuilder
-
getAllocationRecordsCount
public int getAllocationRecordsCount()
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
- Specified by:
getAllocationRecordsCount
in interfaceAllocatorMemoryUsedOrBuilder
-
getAllocationRecords
public AllocationRecord getAllocationRecords(int index)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
- Specified by:
getAllocationRecords
in interfaceAllocatorMemoryUsedOrBuilder
-
setAllocationRecords
public AllocatorMemoryUsed.Builder setAllocationRecords(int index, AllocationRecord value)
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
public AllocatorMemoryUsed.Builder addAllocationRecords(AllocationRecord value)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
-
addAllocationRecords
public AllocatorMemoryUsed.Builder addAllocationRecords(int index, AllocationRecord value)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
-
addAllocationRecords
public AllocatorMemoryUsed.Builder addAllocationRecords(AllocationRecord.Builder builderForValue)
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
public AllocatorMemoryUsed.Builder clearAllocationRecords()
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
-
removeAllocationRecords
public AllocatorMemoryUsed.Builder removeAllocationRecords(int index)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
-
getAllocationRecordsBuilder
public AllocationRecord.Builder getAllocationRecordsBuilder(int index)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
-
getAllocationRecordsOrBuilder
public AllocationRecordOrBuilder getAllocationRecordsOrBuilder(int index)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
- Specified by:
getAllocationRecordsOrBuilder
in interfaceAllocatorMemoryUsedOrBuilder
-
getAllocationRecordsOrBuilderList
public List<? extends AllocationRecordOrBuilder> getAllocationRecordsOrBuilderList()
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
- Specified by:
getAllocationRecordsOrBuilderList
in interfaceAllocatorMemoryUsedOrBuilder
-
addAllocationRecordsBuilder
public AllocationRecord.Builder addAllocationRecordsBuilder()
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
-
addAllocationRecordsBuilder
public AllocationRecord.Builder addAllocationRecordsBuilder(int index)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
-
getAllocationRecordsBuilderList
public List<AllocationRecord.Builder> 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:
getAllocatorBytesInUse
in interfaceAllocatorMemoryUsedOrBuilder
- Returns:
- The allocatorBytesInUse.
-
setAllocatorBytesInUse
public AllocatorMemoryUsed.Builder setAllocatorBytesInUse(long value)
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
public AllocatorMemoryUsed.Builder 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
public final AllocatorMemoryUsed.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
mergeUnknownFields
public final AllocatorMemoryUsed.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
-