Class MemoryLogTensorDeallocation.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder>
      • getDefaultInstanceForType

        public MemoryLogTensorDeallocation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public MemoryLogTensorDeallocation build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public MemoryLogTensorDeallocation buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public MemoryLogTensorDeallocation.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                    int index,
                                                                    java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder>
      • addRepeatedField

        public MemoryLogTensorDeallocation.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                    java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder>
      • mergeFrom

        public MemoryLogTensorDeallocation.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MemoryLogTensorDeallocation.Builder>
        Throws:
        java.io.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​(java.lang.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​(com.google.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.
      • mergeUnknownFields

        public final MemoryLogTensorDeallocation.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder>