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

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

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

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

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

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

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

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

        public ScopedAllocatorOptions.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<ScopedAllocatorOptions.Builder>
        Throws:
        IOException
      • getEnableOpList

        public org.nd4j.shade.protobuf.ProtocolStringList getEnableOpList()
         If present, only perform optimization for these ops.
         
        repeated string enable_op = 1;
        Specified by:
        getEnableOpList in interface ScopedAllocatorOptionsOrBuilder
        Returns:
        A list containing the enableOp.
      • getEnableOpCount

        public int getEnableOpCount()
         If present, only perform optimization for these ops.
         
        repeated string enable_op = 1;
        Specified by:
        getEnableOpCount in interface ScopedAllocatorOptionsOrBuilder
        Returns:
        The count of enableOp.
      • getEnableOp

        public String getEnableOp​(int index)
         If present, only perform optimization for these ops.
         
        repeated string enable_op = 1;
        Specified by:
        getEnableOp in interface ScopedAllocatorOptionsOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The enableOp at the given index.
      • getEnableOpBytes

        public org.nd4j.shade.protobuf.ByteString getEnableOpBytes​(int index)
         If present, only perform optimization for these ops.
         
        repeated string enable_op = 1;
        Specified by:
        getEnableOpBytes in interface ScopedAllocatorOptionsOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the enableOp at the given index.
      • setEnableOp

        public ScopedAllocatorOptions.Builder setEnableOp​(int index,
                                                          String value)
         If present, only perform optimization for these ops.
         
        repeated string enable_op = 1;
        Parameters:
        index - The index to set the value at.
        value - The enableOp to set.
        Returns:
        This builder for chaining.
      • addEnableOp

        public ScopedAllocatorOptions.Builder addEnableOp​(String value)
         If present, only perform optimization for these ops.
         
        repeated string enable_op = 1;
        Parameters:
        value - The enableOp to add.
        Returns:
        This builder for chaining.
      • addAllEnableOp

        public ScopedAllocatorOptions.Builder addAllEnableOp​(Iterable<String> values)
         If present, only perform optimization for these ops.
         
        repeated string enable_op = 1;
        Parameters:
        values - The enableOp to add.
        Returns:
        This builder for chaining.
      • clearEnableOp

        public ScopedAllocatorOptions.Builder clearEnableOp()
         If present, only perform optimization for these ops.
         
        repeated string enable_op = 1;
        Returns:
        This builder for chaining.
      • addEnableOpBytes

        public ScopedAllocatorOptions.Builder addEnableOpBytes​(org.nd4j.shade.protobuf.ByteString value)
         If present, only perform optimization for these ops.
         
        repeated string enable_op = 1;
        Parameters:
        value - The bytes of the enableOp to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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