Class FormField.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<FormField.Builder>
com.ironsoftware.ironpdf.internal.proto.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 Details

    • 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>
    • mergeFrom

      public FormField.Builder mergeFrom(FormField other)
    • 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
    • getSubTypeCase

      public FormField.SubTypeCase getSubTypeCase()
      Specified by:
      getSubTypeCase in interface FormFieldOrBuilder
    • clearSubType

      public FormField.Builder clearSubType()
    • getAnnotationIndex

      public int getAnnotationIndex()
      int32 annotation_index = 1;
      Specified by:
      getAnnotationIndex in interface FormFieldOrBuilder
      Returns:
      The annotationIndex.
    • 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.
    • getName

      public String getName()
      string name = 2;
      Specified by:
      getName in interface FormFieldOrBuilder
      Returns:
      The name.
    • 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.
    • getPageIndex

      public int getPageIndex()
      int32 page_index = 3;
      Specified by:
      getPageIndex in interface FormFieldOrBuilder
      Returns:
      The pageIndex.
    • 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.
    • getType

      public FormFieldTypes getType()
      .IronPdfEngine.Proto.FormFieldTypes type = 5;
      Specified by:
      getType in interface FormFieldOrBuilder
      Returns:
      The type.
    • setType

      public FormField.Builder setType(FormFieldTypes value)
      .IronPdfEngine.Proto.FormFieldTypes type = 5;
    • setType

      public FormField.Builder setType(FormFieldTypes.Builder builderForValue)
      .IronPdfEngine.Proto.FormFieldTypes type = 5;
    • mergeType

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

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

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

      public FormFieldTypesOrBuilder getTypeOrBuilder()
      .IronPdfEngine.Proto.FormFieldTypes type = 5;
      Specified by:
      getTypeOrBuilder in interface FormFieldOrBuilder
    • getValue

      public String getValue()
      string value = 6;
      Specified by:
      getValue in interface FormFieldOrBuilder
      Returns:
      The value.
    • 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.
    • getComboBoxField

      public ComboBoxField getComboBoxField()
      .IronPdfEngine.Proto.ComboBoxField combo_box_field = 11;
      Specified by:
      getComboBoxField in interface FormFieldOrBuilder
      Returns:
      The comboBoxField.
    • setComboBoxField

      public FormField.Builder setComboBoxField(ComboBoxField value)
      .IronPdfEngine.Proto.ComboBoxField combo_box_field = 11;
    • setComboBoxField

      public FormField.Builder setComboBoxField(ComboBoxField.Builder builderForValue)
      .IronPdfEngine.Proto.ComboBoxField combo_box_field = 11;
    • mergeComboBoxField

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

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

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

      public ComboBoxFieldOrBuilder getComboBoxFieldOrBuilder()
      .IronPdfEngine.Proto.ComboBoxField combo_box_field = 11;
      Specified by:
      getComboBoxFieldOrBuilder in interface FormFieldOrBuilder
    • hasCheckBoxField

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

      public CheckBoxField getCheckBoxField()
      .IronPdfEngine.Proto.CheckBoxField check_box_field = 12;
      Specified by:
      getCheckBoxField in interface FormFieldOrBuilder
      Returns:
      The checkBoxField.
    • setCheckBoxField

      public FormField.Builder setCheckBoxField(CheckBoxField value)
      .IronPdfEngine.Proto.CheckBoxField check_box_field = 12;
    • setCheckBoxField

      public FormField.Builder setCheckBoxField(CheckBoxField.Builder builderForValue)
      .IronPdfEngine.Proto.CheckBoxField check_box_field = 12;
    • mergeCheckBoxField

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

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

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

      public CheckBoxFieldOrBuilder getCheckBoxFieldOrBuilder()
      .IronPdfEngine.Proto.CheckBoxField check_box_field = 12;
      Specified by:
      getCheckBoxFieldOrBuilder in interface FormFieldOrBuilder
    • hasTextField

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

      public TextField getTextField()
      .IronPdfEngine.Proto.TextField text_field = 13;
      Specified by:
      getTextField in interface FormFieldOrBuilder
      Returns:
      The textField.
    • setTextField

      public FormField.Builder setTextField(TextField value)
      .IronPdfEngine.Proto.TextField text_field = 13;
    • setTextField

      public FormField.Builder setTextField(TextField.Builder builderForValue)
      .IronPdfEngine.Proto.TextField text_field = 13;
    • mergeTextField

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

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

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

      public TextFieldOrBuilder getTextFieldOrBuilder()
      .IronPdfEngine.Proto.TextField text_field = 13;
      Specified by:
      getTextFieldOrBuilder in interface FormFieldOrBuilder
    • hasUnknownField

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

      public UnknownField getUnknownField()
      .IronPdfEngine.Proto.UnknownField unknown_field = 14;
      Specified by:
      getUnknownField in interface FormFieldOrBuilder
      Returns:
      The unknownField.
    • setUnknownField

      public FormField.Builder setUnknownField(UnknownField value)
      .IronPdfEngine.Proto.UnknownField unknown_field = 14;
    • setUnknownField

      public FormField.Builder setUnknownField(UnknownField.Builder builderForValue)
      .IronPdfEngine.Proto.UnknownField unknown_field = 14;
    • mergeUnknownField

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

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

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

      public UnknownFieldOrBuilder getUnknownFieldOrBuilder()
      .IronPdfEngine.Proto.UnknownField unknown_field = 14;
      Specified by:
      getUnknownFieldOrBuilder in interface FormFieldOrBuilder
    • 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>