Class MemoryLogRawAllocation.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<MemoryLogRawAllocation.Builder>
      • clear

        public MemoryLogRawAllocation.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<MemoryLogRawAllocation.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<MemoryLogRawAllocation.Builder>
      • getDefaultInstanceForType

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

        public MemoryLogRawAllocation 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 MemoryLogRawAllocation 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 MemoryLogRawAllocation.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<MemoryLogRawAllocation.Builder>
      • clearField

        public MemoryLogRawAllocation.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<MemoryLogRawAllocation.Builder>
      • clearOneof

        public MemoryLogRawAllocation.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<MemoryLogRawAllocation.Builder>
      • setRepeatedField

        public MemoryLogRawAllocation.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<MemoryLogRawAllocation.Builder>
      • addRepeatedField

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

        public MemoryLogRawAllocation.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<MemoryLogRawAllocation.Builder>
        Throws:
        IOException
      • setStepId

        public MemoryLogRawAllocation.Builder setStepId​(long value)
         Process-unique step id.
         
        int64 step_id = 1;
        Parameters:
        value - The stepId to set.
        Returns:
        This builder for chaining.
      • getOperationBytes

        public org.nd4j.shade.protobuf.ByteString getOperationBytes()
         Name of the operation making the allocation.
         
        string operation = 2;
        Specified by:
        getOperationBytes in interface MemoryLogRawAllocationOrBuilder
        Returns:
        The bytes for operation.
      • setOperation

        public MemoryLogRawAllocation.Builder setOperation​(String value)
         Name of the operation making the allocation.
         
        string operation = 2;
        Parameters:
        value - The operation to set.
        Returns:
        This builder for chaining.
      • clearOperation

        public MemoryLogRawAllocation.Builder clearOperation()
         Name of the operation making the allocation.
         
        string operation = 2;
        Returns:
        This builder for chaining.
      • setOperationBytes

        public MemoryLogRawAllocation.Builder setOperationBytes​(org.nd4j.shade.protobuf.ByteString value)
         Name of the operation making the allocation.
         
        string operation = 2;
        Parameters:
        value - The bytes for operation to set.
        Returns:
        This builder for chaining.
      • setNumBytes

        public MemoryLogRawAllocation.Builder setNumBytes​(long value)
         Number of bytes in the allocation.
         
        int64 num_bytes = 3;
        Parameters:
        value - The numBytes to set.
        Returns:
        This builder for chaining.
      • clearNumBytes

        public MemoryLogRawAllocation.Builder clearNumBytes()
         Number of bytes in the allocation.
         
        int64 num_bytes = 3;
        Returns:
        This builder for chaining.
      • setPtr

        public MemoryLogRawAllocation.Builder setPtr​(long value)
         Address of the allocation.
         
        uint64 ptr = 4;
        Parameters:
        value - The ptr to set.
        Returns:
        This builder for chaining.
      • getAllocationId

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

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

        public MemoryLogRawAllocation.Builder clearAllocationId()
         Id of the tensor buffer being allocated, used to match to a
         corresponding deallocation.
         
        int64 allocation_id = 5;
        Returns:
        This builder for chaining.
      • getAllocatorNameBytes

        public org.nd4j.shade.protobuf.ByteString getAllocatorNameBytes()
         Name of the allocator used.
         
        string allocator_name = 6;
        Specified by:
        getAllocatorNameBytes in interface MemoryLogRawAllocationOrBuilder
        Returns:
        The bytes for allocatorName.
      • setAllocatorName

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

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

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

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

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