Class FormField.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, FormFieldOrBuilder, Cloneable
    Enclosing class:
    FormField

    public static final class FormField.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<FormField.Builder>
    implements FormFieldOrBuilder
    Protobuf type IronPdfEngine.Proto.FormField
    • 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<FormField.Builder>
      • clear

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

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

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

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

        public FormField.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<FormField.Builder>
      • setField

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

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

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

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

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

        public FormField.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FormField.Builder>
      • isInitialized

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

        public FormField.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws 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<FormField.Builder>
        Throws:
        IOException
      • setAnnotationIndex

        public FormField.Builder setAnnotationIndex​(int value)
        int32 annotation_index = 1;
        Parameters:
        value - The annotationIndex to set.
        Returns:
        This builder for chaining.
      • clearAnnotationIndex

        public FormField.Builder clearAnnotationIndex()
        int32 annotation_index = 1;
        Returns:
        This builder for chaining.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
        string name = 2;
        Specified by:
        getNameBytes in interface FormFieldOrBuilder
        Returns:
        The bytes for name.
      • setName

        public FormField.Builder setName​(String value)
        string name = 2;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public FormField.Builder clearName()
        string name = 2;
        Returns:
        This builder for chaining.
      • setNameBytes

        public FormField.Builder setNameBytes​(com.google.protobuf.ByteString value)
        string name = 2;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • setPageIndex

        public FormField.Builder setPageIndex​(int value)
        int32 page_index = 3;
        Parameters:
        value - The pageIndex to set.
        Returns:
        This builder for chaining.
      • clearPageIndex

        public FormField.Builder clearPageIndex()
        int32 page_index = 3;
        Returns:
        This builder for chaining.
      • getReadOnly

        public boolean getReadOnly()
        in c# we need to call GetFormFieldIsReadOnly but in protobuf server must call this value when form field object was created
         
        bool read_only = 4;
        Specified by:
        getReadOnly in interface FormFieldOrBuilder
        Returns:
        The readOnly.
      • setReadOnly

        public FormField.Builder setReadOnly​(boolean value)
        in c# we need to call GetFormFieldIsReadOnly but in protobuf server must call this value when form field object was created
         
        bool read_only = 4;
        Parameters:
        value - The readOnly to set.
        Returns:
        This builder for chaining.
      • clearReadOnly

        public FormField.Builder clearReadOnly()
        in c# we need to call GetFormFieldIsReadOnly but in protobuf server must call this value when form field object was created
         
        bool read_only = 4;
        Returns:
        This builder for chaining.
      • hasType

        public boolean hasType()
        .IronPdfEngine.Proto.FormFieldTypes type = 5;
        Specified by:
        hasType in interface FormFieldOrBuilder
        Returns:
        Whether the type field is set.
      • clearType

        public FormField.Builder clearType()
        .IronPdfEngine.Proto.FormFieldTypes type = 5;
      • getTypeBuilder

        public FormFieldTypes.Builder getTypeBuilder()
        .IronPdfEngine.Proto.FormFieldTypes type = 5;
      • getValueBytes

        public com.google.protobuf.ByteString getValueBytes()
        string value = 6;
        Specified by:
        getValueBytes in interface FormFieldOrBuilder
        Returns:
        The bytes for value.
      • setValue

        public FormField.Builder setValue​(String value)
        string value = 6;
        Parameters:
        value - The value to set.
        Returns:
        This builder for chaining.
      • clearValue

        public FormField.Builder clearValue()
        string value = 6;
        Returns:
        This builder for chaining.
      • setValueBytes

        public FormField.Builder setValueBytes​(com.google.protobuf.ByteString value)
        string value = 6;
        Parameters:
        value - The bytes for value to set.
        Returns:
        This builder for chaining.
      • getWidth

        public double getWidth()
        double width = 7;
        Specified by:
        getWidth in interface FormFieldOrBuilder
        Returns:
        The width.
      • setWidth

        public FormField.Builder setWidth​(double value)
        double width = 7;
        Parameters:
        value - The width to set.
        Returns:
        This builder for chaining.
      • clearWidth

        public FormField.Builder clearWidth()
        double width = 7;
        Returns:
        This builder for chaining.
      • getHeight

        public double getHeight()
        double height = 8;
        Specified by:
        getHeight in interface FormFieldOrBuilder
        Returns:
        The height.
      • setHeight

        public FormField.Builder setHeight​(double value)
        double height = 8;
        Parameters:
        value - The height to set.
        Returns:
        This builder for chaining.
      • clearHeight

        public FormField.Builder clearHeight()
        double height = 8;
        Returns:
        This builder for chaining.
      • getX

        public double getX()
        double x = 9;
        Specified by:
        getX in interface FormFieldOrBuilder
        Returns:
        The x.
      • setX

        public FormField.Builder setX​(double value)
        double x = 9;
        Parameters:
        value - The x to set.
        Returns:
        This builder for chaining.
      • clearX

        public FormField.Builder clearX()
        double x = 9;
        Returns:
        This builder for chaining.
      • getY

        public double getY()
        double y = 10;
        Specified by:
        getY in interface FormFieldOrBuilder
        Returns:
        The y.
      • setY

        public FormField.Builder setY​(double value)
        double y = 10;
        Parameters:
        value - The y to set.
        Returns:
        This builder for chaining.
      • clearY

        public FormField.Builder clearY()
        double y = 10;
        Returns:
        This builder for chaining.
      • hasComboBoxField

        public boolean hasComboBoxField()
        .IronPdfEngine.Proto.ComboBoxField combo_box_field = 11;
        Specified by:
        hasComboBoxField in interface FormFieldOrBuilder
        Returns:
        Whether the comboBoxField field is set.
      • clearComboBoxField

        public FormField.Builder clearComboBoxField()
        .IronPdfEngine.Proto.ComboBoxField combo_box_field = 11;
      • getComboBoxFieldBuilder

        public ComboBoxField.Builder getComboBoxFieldBuilder()
        .IronPdfEngine.Proto.ComboBoxField combo_box_field = 11;
      • hasCheckBoxField

        public boolean hasCheckBoxField()
        .IronPdfEngine.Proto.CheckBoxField check_box_field = 12;
        Specified by:
        hasCheckBoxField in interface FormFieldOrBuilder
        Returns:
        Whether the checkBoxField field is set.
      • clearCheckBoxField

        public FormField.Builder clearCheckBoxField()
        .IronPdfEngine.Proto.CheckBoxField check_box_field = 12;
      • getCheckBoxFieldBuilder

        public CheckBoxField.Builder getCheckBoxFieldBuilder()
        .IronPdfEngine.Proto.CheckBoxField check_box_field = 12;
      • hasTextField

        public boolean hasTextField()
        .IronPdfEngine.Proto.TextField text_field = 13;
        Specified by:
        hasTextField in interface FormFieldOrBuilder
        Returns:
        Whether the textField field is set.
      • clearTextField

        public FormField.Builder clearTextField()
        .IronPdfEngine.Proto.TextField text_field = 13;
      • getTextFieldBuilder

        public TextField.Builder getTextFieldBuilder()
        .IronPdfEngine.Proto.TextField text_field = 13;
      • hasUnknownField

        public boolean hasUnknownField()
        .IronPdfEngine.Proto.UnknownField unknown_field = 14;
        Specified by:
        hasUnknownField in interface FormFieldOrBuilder
        Returns:
        Whether the unknownField field is set.
      • clearUnknownField

        public FormField.Builder clearUnknownField()
        .IronPdfEngine.Proto.UnknownField unknown_field = 14;
      • getUnknownFieldBuilder

        public UnknownField.Builder getUnknownFieldBuilder()
        .IronPdfEngine.Proto.UnknownField unknown_field = 14;
      • setUnknownFields

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

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