Class MemoryLogTensorDeallocation.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<MemoryLogTensorDeallocation.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<MemoryLogTensorDeallocation.Builder>
      • getDefaultInstanceForType

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

        public MemoryLogTensorDeallocation 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 MemoryLogTensorDeallocation buildPartial()
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • setRepeatedField

        public MemoryLogTensorDeallocation.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<MemoryLogTensorDeallocation.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<MemoryLogTensorDeallocation.Builder>
      • mergeFrom

        public MemoryLogTensorDeallocation.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<MemoryLogTensorDeallocation.Builder>
        Throws:
        IOException
      • getAllocationId

        public long getAllocationId()
         Id of the tensor buffer being deallocated, used to match to a
         corresponding allocation.
         
        int64 allocation_id = 1;
        Specified by:
        getAllocationId in interface MemoryLogTensorDeallocationOrBuilder
        Returns:
        The allocationId.
      • setAllocationId

        public MemoryLogTensorDeallocation.Builder setAllocationId​(long value)
         Id of the tensor buffer being deallocated, used to match to a
         corresponding allocation.
         
        int64 allocation_id = 1;
        Parameters:
        value - The allocationId to set.
        Returns:
        This builder for chaining.
      • clearAllocationId

        public MemoryLogTensorDeallocation.Builder clearAllocationId()
         Id of the tensor buffer being deallocated, used to match to a
         corresponding allocation.
         
        int64 allocation_id = 1;
        Returns:
        This builder for chaining.
      • setAllocatorName

        public MemoryLogTensorDeallocation.Builder setAllocatorName​(String value)
         Name of the allocator used.
         
        string allocator_name = 2;
        Parameters:
        value - The allocatorName to set.
        Returns:
        This builder for chaining.
      • clearAllocatorName

        public MemoryLogTensorDeallocation.Builder clearAllocatorName()
         Name of the allocator used.
         
        string allocator_name = 2;
        Returns:
        This builder for chaining.
      • setAllocatorNameBytes

        public MemoryLogTensorDeallocation.Builder setAllocatorNameBytes​(org.nd4j.shade.protobuf.ByteString value)
         Name of the allocator used.
         
        string allocator_name = 2;
        Parameters:
        value - The bytes for allocatorName to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final MemoryLogTensorDeallocation.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<MemoryLogTensorDeallocation.Builder>
      • mergeUnknownFields

        public final MemoryLogTensorDeallocation.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<MemoryLogTensorDeallocation.Builder>