Class AllocatorMemoryUsed.Builder

    • 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 class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
      • clear

        public AllocatorMemoryUsed.Builder clear()
        Specified by:
        clear in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clear in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
      • getDescriptorForType

        public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
      • getDefaultInstanceForType

        public AllocatorMemoryUsed getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
      • build

        public AllocatorMemoryUsed build()
        Specified by:
        build in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        build in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • buildPartial

        public AllocatorMemoryUsed buildPartial()
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • clone

        public AllocatorMemoryUsed.Builder clone()
        Specified by:
        clone in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clone in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clone in class org.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 interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
      • clearField

        public AllocatorMemoryUsed.Builder clearField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
      • clearOneof

        public AllocatorMemoryUsed.Builder clearOneof​(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearOneof in class org.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 interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class org.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 interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
      • mergeFrom

        public AllocatorMemoryUsed.Builder mergeFrom​(org.nd4j.shade.protobuf.Message other)
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<AllocatorMemoryUsed.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.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 interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<AllocatorMemoryUsed.Builder>
        Throws:
        IOException
      • 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 interface AllocatorMemoryUsedOrBuilder
        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.
      • setPeakBytes

        public AllocatorMemoryUsed.Builder setPeakBytes​(long value)
        int64 peak_bytes = 3;
        Parameters:
        value - The peakBytes to set.
        Returns:
        This builder for chaining.
      • 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.
      • setAllocationRecords

        public AllocatorMemoryUsed.Builder setAllocationRecords​(int index,
                                                                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;
      • 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;
      • 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 interface AllocatorMemoryUsedOrBuilder
        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 interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
      • mergeUnknownFields

        public final AllocatorMemoryUsed.Builder mergeUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>