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

        public ScopedAllocatorOptions.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ScopedAllocatorOptions.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<ScopedAllocatorOptions.Builder>
      • getDefaultInstanceForType

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

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

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

        public ScopedAllocatorOptions.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>
      • setField

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

        public ScopedAllocatorOptions.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>
      • clearOneof

        public ScopedAllocatorOptions.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>
      • setRepeatedField

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

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

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

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

        public com.google.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 java.lang.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 com.google.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,
                                                          java.lang.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​(java.lang.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​(java.lang.Iterable<java.lang.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​(com.google.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​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>
      • mergeUnknownFields

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