All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP Maven / Gradle / Ivy

Go to download

IronPDF Java library offers an extensive compatibility range, making it a go-to solution for a wide array of developers. It fully supports JVM languages like Java, Scala, and Kotlin, making it incredibly versatile. This Java PDF library is also compatible with Java 8 and above, providing optimum performance across multiple platforms. It's been designed with a wide range of users in mind Here's a look at what it supports: JVM Languages: Java, Scala, Kotlin.Platforms: Java 8 and above.Operating Systems: Microsoft Windows, Linux, Docker, Azure, AWS.IDEs: Jetbrains IntelliJ IDEA, Eclipse. You can deploy IronPDF Java across various platforms, including Microsoft Windows, Linux, Docker, Azure, and AWS. It is also fully compatible with popular IDEs like Jetbrains IntelliJ IDEA and Eclipse, facilitating smooth project development and management. Your pom.xml file is essentially the backbone of your project when you're using Maven. It's here where you introduce new dependencies that you wish to include. To make IronPDF Java package a part of your Maven project, you simply need to add the following snippets to your pom.xml: Remember to replace '20xx.xx.xxxx' with the latest version of IronPDF. IronPDF Java simplifies the process of creating PDF files. Convert HTML files, HTML strings, or URLs directly to new PDF documents in a few lines of code. The variety of file formats it handles is vast, as it can even transform images into PDF documents and vice versa. Need to use base 64 encoding, base URLs, or custom file paths? No problem! IronPDF Java has got you coveredFor more detail about installing and using IronPDF Java. When you run your project for the first time post-integration, IronPDF's engine binaries will automatically be downloaded. The engine starts its journey when you call any IronPDF function for the first time and takes a breather when your application is either closed or enters an idle state. It is not an open source java PDF library but here's the best part - IronPDF Java is offering a 30-day free trial. So, why wait? Give it a go and boost your PDF operations today.

There is a newer version: 2024.10.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: pdfium_form.proto

// Protobuf Java Version: 3.25.0
package com.ironsoftware.ironpdf.internal.proto;

/**
 * Protobuf type {@code ironpdfengineproto.PdfiumIFormFieldObjectP}
 */
public final class PdfiumIFormFieldObjectP extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:ironpdfengineproto.PdfiumIFormFieldObjectP)
    PdfiumIFormFieldObjectPOrBuilder {
private static final long serialVersionUID = 0L;
  // Use PdfiumIFormFieldObjectP.newBuilder() to construct.
  private PdfiumIFormFieldObjectP(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private PdfiumIFormFieldObjectP() {
    annotations_ = java.util.Collections.emptyList();
    choices_ =
        com.google.protobuf.LazyStringArrayList.emptyList();
    defaultAppearance_ = "";
    formType_ = "";
    fullName_ = "";
    name_ = "";
    objType_ = "";
    richText_ = "";
    value_ = "";
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new PdfiumIFormFieldObjectP();
  }

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ironsoftware.ironpdf.internal.proto.PdfiumForm.internal_static_ironpdfengineproto_PdfiumIFormFieldObjectP_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ironsoftware.ironpdf.internal.proto.PdfiumForm.internal_static_ironpdfengineproto_PdfiumIFormFieldObjectP_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP.class, com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP.Builder.class);
  }

  private int bitField0_;
  public static final int DOCUMENT_OBJECT_FIELD_NUMBER = 1;
  private com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectP documentObject_;
  /**
   * .ironpdfengineproto.PdfiumIDocumentObjectP document_object = 1;
   * @return Whether the documentObject field is set.
   */
  @java.lang.Override
  public boolean hasDocumentObject() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * .ironpdfengineproto.PdfiumIDocumentObjectP document_object = 1;
   * @return The documentObject.
   */
  @java.lang.Override
  public com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectP getDocumentObject() {
    return documentObject_ == null ? com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectP.getDefaultInstance() : documentObject_;
  }
  /**
   * .ironpdfengineproto.PdfiumIDocumentObjectP document_object = 1;
   */
  @java.lang.Override
  public com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectPOrBuilder getDocumentObjectOrBuilder() {
    return documentObject_ == null ? com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectP.getDefaultInstance() : documentObject_;
  }

  public static final int ANNOTATIONS_FIELD_NUMBER = 2;
  @SuppressWarnings("serial")
  private java.util.List annotations_;
  /**
   * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
   */
  @java.lang.Override
  public java.util.List getAnnotationsList() {
    return annotations_;
  }
  /**
   * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
   */
  @java.lang.Override
  public java.util.List 
      getAnnotationsOrBuilderList() {
    return annotations_;
  }
  /**
   * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
   */
  @java.lang.Override
  public int getAnnotationsCount() {
    return annotations_.size();
  }
  /**
   * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
   */
  @java.lang.Override
  public com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP getAnnotations(int index) {
    return annotations_.get(index);
  }
  /**
   * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
   */
  @java.lang.Override
  public com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationPOrBuilder getAnnotationsOrBuilder(
      int index) {
    return annotations_.get(index);
  }

  public static final int CHOICES_FIELD_NUMBER = 3;
  @SuppressWarnings("serial")
  private com.google.protobuf.LazyStringArrayList choices_ =
      com.google.protobuf.LazyStringArrayList.emptyList();
  /**
   * repeated string choices = 3;
   * @return A list containing the choices.
   */
  public com.google.protobuf.ProtocolStringList
      getChoicesList() {
    return choices_;
  }
  /**
   * repeated string choices = 3;
   * @return The count of choices.
   */
  public int getChoicesCount() {
    return choices_.size();
  }
  /**
   * repeated string choices = 3;
   * @param index The index of the element to return.
   * @return The choices at the given index.
   */
  public java.lang.String getChoices(int index) {
    return choices_.get(index);
  }
  /**
   * repeated string choices = 3;
   * @param index The index of the value to return.
   * @return The bytes of the choices at the given index.
   */
  public com.google.protobuf.ByteString
      getChoicesBytes(int index) {
    return choices_.getByteString(index);
  }

  public static final int DEFAULT_APPEARANCE_FIELD_NUMBER = 4;
  @SuppressWarnings("serial")
  private volatile java.lang.Object defaultAppearance_ = "";
  /**
   * string default_appearance = 4;
   * @return The defaultAppearance.
   */
  @java.lang.Override
  public java.lang.String getDefaultAppearance() {
    java.lang.Object ref = defaultAppearance_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      defaultAppearance_ = s;
      return s;
    }
  }
  /**
   * string default_appearance = 4;
   * @return The bytes for defaultAppearance.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDefaultAppearanceBytes() {
    java.lang.Object ref = defaultAppearance_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      defaultAppearance_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int FORM_FLAGS_FIELD_NUMBER = 5;
  private com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsP formFlags_;
  /**
   * .ironpdfengineproto.PdfiumPdfFormFieldFlagsP form_flags = 5;
   * @return Whether the formFlags field is set.
   */
  @java.lang.Override
  public boolean hasFormFlags() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * .ironpdfengineproto.PdfiumPdfFormFieldFlagsP form_flags = 5;
   * @return The formFlags.
   */
  @java.lang.Override
  public com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsP getFormFlags() {
    return formFlags_ == null ? com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsP.getDefaultInstance() : formFlags_;
  }
  /**
   * .ironpdfengineproto.PdfiumPdfFormFieldFlagsP form_flags = 5;
   */
  @java.lang.Override
  public com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsPOrBuilder getFormFlagsOrBuilder() {
    return formFlags_ == null ? com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsP.getDefaultInstance() : formFlags_;
  }

  public static final int FORM_TYPE_FIELD_NUMBER = 6;
  @SuppressWarnings("serial")
  private volatile java.lang.Object formType_ = "";
  /**
   * string form_type = 6;
   * @return The formType.
   */
  @java.lang.Override
  public java.lang.String getFormType() {
    java.lang.Object ref = formType_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      formType_ = s;
      return s;
    }
  }
  /**
   * string form_type = 6;
   * @return The bytes for formType.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getFormTypeBytes() {
    java.lang.Object ref = formType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      formType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int FULL_NAME_FIELD_NUMBER = 7;
  @SuppressWarnings("serial")
  private volatile java.lang.Object fullName_ = "";
  /**
   * string full_name = 7;
   * @return The fullName.
   */
  @java.lang.Override
  public java.lang.String getFullName() {
    java.lang.Object ref = fullName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      fullName_ = s;
      return s;
    }
  }
  /**
   * string full_name = 7;
   * @return The bytes for fullName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getFullNameBytes() {
    java.lang.Object ref = fullName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      fullName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int MAX_LENGTH_FIELD_NUMBER = 8;
  private int maxLength_ = 0;
  /**
   * int32 max_length = 8;
   * @return The maxLength.
   */
  @java.lang.Override
  public int getMaxLength() {
    return maxLength_;
  }

  public static final int NAME_FIELD_NUMBER = 9;
  @SuppressWarnings("serial")
  private volatile java.lang.Object name_ = "";
  /**
   * string name = 9;
   * @return The name.
   */
  @java.lang.Override
  public java.lang.String getName() {
    java.lang.Object ref = name_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      name_ = s;
      return s;
    }
  }
  /**
   * string name = 9;
   * @return The bytes for name.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getNameBytes() {
    java.lang.Object ref = name_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      name_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int OBJ_TYPE_FIELD_NUMBER = 10;
  @SuppressWarnings("serial")
  private volatile java.lang.Object objType_ = "";
  /**
   * string obj_type = 10;
   * @return The objType.
   */
  @java.lang.Override
  public java.lang.String getObjType() {
    java.lang.Object ref = objType_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      objType_ = s;
      return s;
    }
  }
  /**
   * string obj_type = 10;
   * @return The bytes for objType.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getObjTypeBytes() {
    java.lang.Object ref = objType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      objType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int READ_ONLY_FIELD_NUMBER = 11;
  private boolean readOnly_ = false;
  /**
   * bool read_only = 11;
   * @return The readOnly.
   */
  @java.lang.Override
  public boolean getReadOnly() {
    return readOnly_;
  }

  public static final int RICH_TEXT_FIELD_NUMBER = 12;
  @SuppressWarnings("serial")
  private volatile java.lang.Object richText_ = "";
  /**
   * string rich_text = 12;
   * @return The richText.
   */
  @java.lang.Override
  public java.lang.String getRichText() {
    java.lang.Object ref = richText_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      richText_ = s;
      return s;
    }
  }
  /**
   * string rich_text = 12;
   * @return The bytes for richText.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getRichTextBytes() {
    java.lang.Object ref = richText_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      richText_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TYPE_FIELD_NUMBER = 13;
  private com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypeP type_;
  /**
   * .ironpdfengineproto.PdfiumPdfFormFieldTypeP type = 13;
   * @return Whether the type field is set.
   */
  @java.lang.Override
  public boolean hasType() {
    return ((bitField0_ & 0x00000004) != 0);
  }
  /**
   * .ironpdfengineproto.PdfiumPdfFormFieldTypeP type = 13;
   * @return The type.
   */
  @java.lang.Override
  public com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypeP getType() {
    return type_ == null ? com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypeP.getDefaultInstance() : type_;
  }
  /**
   * .ironpdfengineproto.PdfiumPdfFormFieldTypeP type = 13;
   */
  @java.lang.Override
  public com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypePOrBuilder getTypeOrBuilder() {
    return type_ == null ? com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypeP.getDefaultInstance() : type_;
  }

  public static final int VALUE_FIELD_NUMBER = 14;
  @SuppressWarnings("serial")
  private volatile java.lang.Object value_ = "";
  /**
   * string value = 14;
   * @return The value.
   */
  @java.lang.Override
  public java.lang.String getValue() {
    java.lang.Object ref = value_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      value_ = s;
      return s;
    }
  }
  /**
   * string value = 14;
   * @return The bytes for value.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getValueBytes() {
    java.lang.Object ref = value_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      value_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  private byte memoizedIsInitialized = -1;
  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(1, getDocumentObject());
    }
    for (int i = 0; i < annotations_.size(); i++) {
      output.writeMessage(2, annotations_.get(i));
    }
    for (int i = 0; i < choices_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, choices_.getRaw(i));
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultAppearance_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, defaultAppearance_);
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(5, getFormFlags());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, formType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, fullName_);
    }
    if (maxLength_ != 0) {
      output.writeInt32(8, maxLength_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, name_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(objType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, objType_);
    }
    if (readOnly_ != false) {
      output.writeBool(11, readOnly_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(richText_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, richText_);
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      output.writeMessage(13, getType());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 14, value_);
    }
    getUnknownFields().writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (((bitField0_ & 0x00000001) != 0)) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, getDocumentObject());
    }
    for (int i = 0; i < annotations_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, annotations_.get(i));
    }
    {
      int dataSize = 0;
      for (int i = 0; i < choices_.size(); i++) {
        dataSize += computeStringSizeNoTag(choices_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getChoicesList().size();
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultAppearance_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, defaultAppearance_);
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, getFormFlags());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formType_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, formType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, fullName_);
    }
    if (maxLength_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(8, maxLength_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, name_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(objType_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, objType_);
    }
    if (readOnly_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(11, readOnly_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(richText_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, richText_);
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(13, getType());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, value_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP)) {
      return super.equals(obj);
    }
    com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP other = (com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP) obj;

    if (hasDocumentObject() != other.hasDocumentObject()) return false;
    if (hasDocumentObject()) {
      if (!getDocumentObject()
          .equals(other.getDocumentObject())) return false;
    }
    if (!getAnnotationsList()
        .equals(other.getAnnotationsList())) return false;
    if (!getChoicesList()
        .equals(other.getChoicesList())) return false;
    if (!getDefaultAppearance()
        .equals(other.getDefaultAppearance())) return false;
    if (hasFormFlags() != other.hasFormFlags()) return false;
    if (hasFormFlags()) {
      if (!getFormFlags()
          .equals(other.getFormFlags())) return false;
    }
    if (!getFormType()
        .equals(other.getFormType())) return false;
    if (!getFullName()
        .equals(other.getFullName())) return false;
    if (getMaxLength()
        != other.getMaxLength()) return false;
    if (!getName()
        .equals(other.getName())) return false;
    if (!getObjType()
        .equals(other.getObjType())) return false;
    if (getReadOnly()
        != other.getReadOnly()) return false;
    if (!getRichText()
        .equals(other.getRichText())) return false;
    if (hasType() != other.hasType()) return false;
    if (hasType()) {
      if (!getType()
          .equals(other.getType())) return false;
    }
    if (!getValue()
        .equals(other.getValue())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (hasDocumentObject()) {
      hash = (37 * hash) + DOCUMENT_OBJECT_FIELD_NUMBER;
      hash = (53 * hash) + getDocumentObject().hashCode();
    }
    if (getAnnotationsCount() > 0) {
      hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER;
      hash = (53 * hash) + getAnnotationsList().hashCode();
    }
    if (getChoicesCount() > 0) {
      hash = (37 * hash) + CHOICES_FIELD_NUMBER;
      hash = (53 * hash) + getChoicesList().hashCode();
    }
    hash = (37 * hash) + DEFAULT_APPEARANCE_FIELD_NUMBER;
    hash = (53 * hash) + getDefaultAppearance().hashCode();
    if (hasFormFlags()) {
      hash = (37 * hash) + FORM_FLAGS_FIELD_NUMBER;
      hash = (53 * hash) + getFormFlags().hashCode();
    }
    hash = (37 * hash) + FORM_TYPE_FIELD_NUMBER;
    hash = (53 * hash) + getFormType().hashCode();
    hash = (37 * hash) + FULL_NAME_FIELD_NUMBER;
    hash = (53 * hash) + getFullName().hashCode();
    hash = (37 * hash) + MAX_LENGTH_FIELD_NUMBER;
    hash = (53 * hash) + getMaxLength();
    hash = (37 * hash) + NAME_FIELD_NUMBER;
    hash = (53 * hash) + getName().hashCode();
    hash = (37 * hash) + OBJ_TYPE_FIELD_NUMBER;
    hash = (53 * hash) + getObjType().hashCode();
    hash = (37 * hash) + READ_ONLY_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getReadOnly());
    hash = (37 * hash) + RICH_TEXT_FIELD_NUMBER;
    hash = (53 * hash) + getRichText().hashCode();
    if (hasType()) {
      hash = (37 * hash) + TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getType().hashCode();
    }
    hash = (37 * hash) + VALUE_FIELD_NUMBER;
    hash = (53 * hash) + getValue().hashCode();
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  public static com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }

  public static com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * Protobuf type {@code ironpdfengineproto.PdfiumIFormFieldObjectP}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:ironpdfengineproto.PdfiumIFormFieldObjectP)
      com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectPOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ironsoftware.ironpdf.internal.proto.PdfiumForm.internal_static_ironpdfengineproto_PdfiumIFormFieldObjectP_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ironsoftware.ironpdf.internal.proto.PdfiumForm.internal_static_ironpdfengineproto_PdfiumIFormFieldObjectP_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP.class, com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP.Builder.class);
    }

    // Construct using com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getDocumentObjectFieldBuilder();
        getAnnotationsFieldBuilder();
        getFormFlagsFieldBuilder();
        getTypeFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      documentObject_ = null;
      if (documentObjectBuilder_ != null) {
        documentObjectBuilder_.dispose();
        documentObjectBuilder_ = null;
      }
      if (annotationsBuilder_ == null) {
        annotations_ = java.util.Collections.emptyList();
      } else {
        annotations_ = null;
        annotationsBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000002);
      choices_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
      defaultAppearance_ = "";
      formFlags_ = null;
      if (formFlagsBuilder_ != null) {
        formFlagsBuilder_.dispose();
        formFlagsBuilder_ = null;
      }
      formType_ = "";
      fullName_ = "";
      maxLength_ = 0;
      name_ = "";
      objType_ = "";
      readOnly_ = false;
      richText_ = "";
      type_ = null;
      if (typeBuilder_ != null) {
        typeBuilder_.dispose();
        typeBuilder_ = null;
      }
      value_ = "";
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ironsoftware.ironpdf.internal.proto.PdfiumForm.internal_static_ironpdfengineproto_PdfiumIFormFieldObjectP_descriptor;
    }

    @java.lang.Override
    public com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP getDefaultInstanceForType() {
      return com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP.getDefaultInstance();
    }

    @java.lang.Override
    public com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP build() {
      com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP buildPartial() {
      com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP result = new com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP(this);
      buildPartialRepeatedFields(result);
      if (bitField0_ != 0) { buildPartial0(result); }
      onBuilt();
      return result;
    }

    private void buildPartialRepeatedFields(com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP result) {
      if (annotationsBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0)) {
          annotations_ = java.util.Collections.unmodifiableList(annotations_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.annotations_ = annotations_;
      } else {
        result.annotations_ = annotationsBuilder_.build();
      }
    }

    private void buildPartial0(com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP result) {
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.documentObject_ = documentObjectBuilder_ == null
            ? documentObject_
            : documentObjectBuilder_.build();
        to_bitField0_ |= 0x00000001;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        choices_.makeImmutable();
        result.choices_ = choices_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.defaultAppearance_ = defaultAppearance_;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.formFlags_ = formFlagsBuilder_ == null
            ? formFlags_
            : formFlagsBuilder_.build();
        to_bitField0_ |= 0x00000002;
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.formType_ = formType_;
      }
      if (((from_bitField0_ & 0x00000040) != 0)) {
        result.fullName_ = fullName_;
      }
      if (((from_bitField0_ & 0x00000080) != 0)) {
        result.maxLength_ = maxLength_;
      }
      if (((from_bitField0_ & 0x00000100) != 0)) {
        result.name_ = name_;
      }
      if (((from_bitField0_ & 0x00000200) != 0)) {
        result.objType_ = objType_;
      }
      if (((from_bitField0_ & 0x00000400) != 0)) {
        result.readOnly_ = readOnly_;
      }
      if (((from_bitField0_ & 0x00000800) != 0)) {
        result.richText_ = richText_;
      }
      if (((from_bitField0_ & 0x00001000) != 0)) {
        result.type_ = typeBuilder_ == null
            ? type_
            : typeBuilder_.build();
        to_bitField0_ |= 0x00000004;
      }
      if (((from_bitField0_ & 0x00002000) != 0)) {
        result.value_ = value_;
      }
      result.bitField0_ |= to_bitField0_;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP) {
        return mergeFrom((com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP other) {
      if (other == com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP.getDefaultInstance()) return this;
      if (other.hasDocumentObject()) {
        mergeDocumentObject(other.getDocumentObject());
      }
      if (annotationsBuilder_ == null) {
        if (!other.annotations_.isEmpty()) {
          if (annotations_.isEmpty()) {
            annotations_ = other.annotations_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureAnnotationsIsMutable();
            annotations_.addAll(other.annotations_);
          }
          onChanged();
        }
      } else {
        if (!other.annotations_.isEmpty()) {
          if (annotationsBuilder_.isEmpty()) {
            annotationsBuilder_.dispose();
            annotationsBuilder_ = null;
            annotations_ = other.annotations_;
            bitField0_ = (bitField0_ & ~0x00000002);
            annotationsBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getAnnotationsFieldBuilder() : null;
          } else {
            annotationsBuilder_.addAllMessages(other.annotations_);
          }
        }
      }
      if (!other.choices_.isEmpty()) {
        if (choices_.isEmpty()) {
          choices_ = other.choices_;
          bitField0_ |= 0x00000004;
        } else {
          ensureChoicesIsMutable();
          choices_.addAll(other.choices_);
        }
        onChanged();
      }
      if (!other.getDefaultAppearance().isEmpty()) {
        defaultAppearance_ = other.defaultAppearance_;
        bitField0_ |= 0x00000008;
        onChanged();
      }
      if (other.hasFormFlags()) {
        mergeFormFlags(other.getFormFlags());
      }
      if (!other.getFormType().isEmpty()) {
        formType_ = other.formType_;
        bitField0_ |= 0x00000020;
        onChanged();
      }
      if (!other.getFullName().isEmpty()) {
        fullName_ = other.fullName_;
        bitField0_ |= 0x00000040;
        onChanged();
      }
      if (other.getMaxLength() != 0) {
        setMaxLength(other.getMaxLength());
      }
      if (!other.getName().isEmpty()) {
        name_ = other.name_;
        bitField0_ |= 0x00000100;
        onChanged();
      }
      if (!other.getObjType().isEmpty()) {
        objType_ = other.objType_;
        bitField0_ |= 0x00000200;
        onChanged();
      }
      if (other.getReadOnly() != false) {
        setReadOnly(other.getReadOnly());
      }
      if (!other.getRichText().isEmpty()) {
        richText_ = other.richText_;
        bitField0_ |= 0x00000800;
        onChanged();
      }
      if (other.hasType()) {
        mergeType(other.getType());
      }
      if (!other.getValue().isEmpty()) {
        value_ = other.value_;
        bitField0_ |= 0x00002000;
        onChanged();
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }

    @java.lang.Override
    public final boolean isInitialized() {
      return true;
    }

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              input.readMessage(
                  getDocumentObjectFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 18: {
              com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP m =
                  input.readMessage(
                      com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP.parser(),
                      extensionRegistry);
              if (annotationsBuilder_ == null) {
                ensureAnnotationsIsMutable();
                annotations_.add(m);
              } else {
                annotationsBuilder_.addMessage(m);
              }
              break;
            } // case 18
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();
              ensureChoicesIsMutable();
              choices_.add(s);
              break;
            } // case 26
            case 34: {
              defaultAppearance_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000008;
              break;
            } // case 34
            case 42: {
              input.readMessage(
                  getFormFlagsFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000010;
              break;
            } // case 42
            case 50: {
              formType_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000020;
              break;
            } // case 50
            case 58: {
              fullName_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000040;
              break;
            } // case 58
            case 64: {
              maxLength_ = input.readInt32();
              bitField0_ |= 0x00000080;
              break;
            } // case 64
            case 74: {
              name_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000100;
              break;
            } // case 74
            case 82: {
              objType_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000200;
              break;
            } // case 82
            case 88: {
              readOnly_ = input.readBool();
              bitField0_ |= 0x00000400;
              break;
            } // case 88
            case 98: {
              richText_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000800;
              break;
            } // case 98
            case 106: {
              input.readMessage(
                  getTypeFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00001000;
              break;
            } // case 106
            case 114: {
              value_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00002000;
              break;
            } // case 114
            default: {
              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                done = true; // was an endgroup tag
              }
              break;
            } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
    private int bitField0_;

    private com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectP documentObject_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectP, com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectP.Builder, com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectPOrBuilder> documentObjectBuilder_;
    /**
     * .ironpdfengineproto.PdfiumIDocumentObjectP document_object = 1;
     * @return Whether the documentObject field is set.
     */
    public boolean hasDocumentObject() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * .ironpdfengineproto.PdfiumIDocumentObjectP document_object = 1;
     * @return The documentObject.
     */
    public com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectP getDocumentObject() {
      if (documentObjectBuilder_ == null) {
        return documentObject_ == null ? com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectP.getDefaultInstance() : documentObject_;
      } else {
        return documentObjectBuilder_.getMessage();
      }
    }
    /**
     * .ironpdfengineproto.PdfiumIDocumentObjectP document_object = 1;
     */
    public Builder setDocumentObject(com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectP value) {
      if (documentObjectBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        documentObject_ = value;
      } else {
        documentObjectBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * .ironpdfengineproto.PdfiumIDocumentObjectP document_object = 1;
     */
    public Builder setDocumentObject(
        com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectP.Builder builderForValue) {
      if (documentObjectBuilder_ == null) {
        documentObject_ = builderForValue.build();
      } else {
        documentObjectBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * .ironpdfengineproto.PdfiumIDocumentObjectP document_object = 1;
     */
    public Builder mergeDocumentObject(com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectP value) {
      if (documentObjectBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0) &&
          documentObject_ != null &&
          documentObject_ != com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectP.getDefaultInstance()) {
          getDocumentObjectBuilder().mergeFrom(value);
        } else {
          documentObject_ = value;
        }
      } else {
        documentObjectBuilder_.mergeFrom(value);
      }
      if (documentObject_ != null) {
        bitField0_ |= 0x00000001;
        onChanged();
      }
      return this;
    }
    /**
     * .ironpdfengineproto.PdfiumIDocumentObjectP document_object = 1;
     */
    public Builder clearDocumentObject() {
      bitField0_ = (bitField0_ & ~0x00000001);
      documentObject_ = null;
      if (documentObjectBuilder_ != null) {
        documentObjectBuilder_.dispose();
        documentObjectBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * .ironpdfengineproto.PdfiumIDocumentObjectP document_object = 1;
     */
    public com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectP.Builder getDocumentObjectBuilder() {
      bitField0_ |= 0x00000001;
      onChanged();
      return getDocumentObjectFieldBuilder().getBuilder();
    }
    /**
     * .ironpdfengineproto.PdfiumIDocumentObjectP document_object = 1;
     */
    public com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectPOrBuilder getDocumentObjectOrBuilder() {
      if (documentObjectBuilder_ != null) {
        return documentObjectBuilder_.getMessageOrBuilder();
      } else {
        return documentObject_ == null ?
            com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectP.getDefaultInstance() : documentObject_;
      }
    }
    /**
     * .ironpdfengineproto.PdfiumIDocumentObjectP document_object = 1;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectP, com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectP.Builder, com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectPOrBuilder> 
        getDocumentObjectFieldBuilder() {
      if (documentObjectBuilder_ == null) {
        documentObjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectP, com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectP.Builder, com.ironsoftware.ironpdf.internal.proto.PdfiumIDocumentObjectPOrBuilder>(
                getDocumentObject(),
                getParentForChildren(),
                isClean());
        documentObject_ = null;
      }
      return documentObjectBuilder_;
    }

    private java.util.List annotations_ =
      java.util.Collections.emptyList();
    private void ensureAnnotationsIsMutable() {
      if (!((bitField0_ & 0x00000002) != 0)) {
        annotations_ = new java.util.ArrayList(annotations_);
        bitField0_ |= 0x00000002;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP, com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP.Builder, com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationPOrBuilder> annotationsBuilder_;

    /**
     * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
     */
    public java.util.List getAnnotationsList() {
      if (annotationsBuilder_ == null) {
        return java.util.Collections.unmodifiableList(annotations_);
      } else {
        return annotationsBuilder_.getMessageList();
      }
    }
    /**
     * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
     */
    public int getAnnotationsCount() {
      if (annotationsBuilder_ == null) {
        return annotations_.size();
      } else {
        return annotationsBuilder_.getCount();
      }
    }
    /**
     * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
     */
    public com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP getAnnotations(int index) {
      if (annotationsBuilder_ == null) {
        return annotations_.get(index);
      } else {
        return annotationsBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
     */
    public Builder setAnnotations(
        int index, com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP value) {
      if (annotationsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureAnnotationsIsMutable();
        annotations_.set(index, value);
        onChanged();
      } else {
        annotationsBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
     */
    public Builder setAnnotations(
        int index, com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP.Builder builderForValue) {
      if (annotationsBuilder_ == null) {
        ensureAnnotationsIsMutable();
        annotations_.set(index, builderForValue.build());
        onChanged();
      } else {
        annotationsBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
     */
    public Builder addAnnotations(com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP value) {
      if (annotationsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureAnnotationsIsMutable();
        annotations_.add(value);
        onChanged();
      } else {
        annotationsBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
     */
    public Builder addAnnotations(
        int index, com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP value) {
      if (annotationsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureAnnotationsIsMutable();
        annotations_.add(index, value);
        onChanged();
      } else {
        annotationsBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
     */
    public Builder addAnnotations(
        com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP.Builder builderForValue) {
      if (annotationsBuilder_ == null) {
        ensureAnnotationsIsMutable();
        annotations_.add(builderForValue.build());
        onChanged();
      } else {
        annotationsBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
     */
    public Builder addAnnotations(
        int index, com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP.Builder builderForValue) {
      if (annotationsBuilder_ == null) {
        ensureAnnotationsIsMutable();
        annotations_.add(index, builderForValue.build());
        onChanged();
      } else {
        annotationsBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
     */
    public Builder addAllAnnotations(
        java.lang.Iterable values) {
      if (annotationsBuilder_ == null) {
        ensureAnnotationsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, annotations_);
        onChanged();
      } else {
        annotationsBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
     */
    public Builder clearAnnotations() {
      if (annotationsBuilder_ == null) {
        annotations_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
      } else {
        annotationsBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
     */
    public Builder removeAnnotations(int index) {
      if (annotationsBuilder_ == null) {
        ensureAnnotationsIsMutable();
        annotations_.remove(index);
        onChanged();
      } else {
        annotationsBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
     */
    public com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP.Builder getAnnotationsBuilder(
        int index) {
      return getAnnotationsFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
     */
    public com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationPOrBuilder getAnnotationsOrBuilder(
        int index) {
      if (annotationsBuilder_ == null) {
        return annotations_.get(index);  } else {
        return annotationsBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
     */
    public java.util.List 
         getAnnotationsOrBuilderList() {
      if (annotationsBuilder_ != null) {
        return annotationsBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(annotations_);
      }
    }
    /**
     * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
     */
    public com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP.Builder addAnnotationsBuilder() {
      return getAnnotationsFieldBuilder().addBuilder(
          com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP.getDefaultInstance());
    }
    /**
     * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
     */
    public com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP.Builder addAnnotationsBuilder(
        int index) {
      return getAnnotationsFieldBuilder().addBuilder(
          index, com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP.getDefaultInstance());
    }
    /**
     * repeated .ironpdfengineproto.PdfiumIFormFieldAnnotationP annotations = 2;
     */
    public java.util.List 
         getAnnotationsBuilderList() {
      return getAnnotationsFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP, com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP.Builder, com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationPOrBuilder> 
        getAnnotationsFieldBuilder() {
      if (annotationsBuilder_ == null) {
        annotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP, com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationP.Builder, com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldAnnotationPOrBuilder>(
                annotations_,
                ((bitField0_ & 0x00000002) != 0),
                getParentForChildren(),
                isClean());
        annotations_ = null;
      }
      return annotationsBuilder_;
    }

    private com.google.protobuf.LazyStringArrayList choices_ =
        com.google.protobuf.LazyStringArrayList.emptyList();
    private void ensureChoicesIsMutable() {
      if (!choices_.isModifiable()) {
        choices_ = new com.google.protobuf.LazyStringArrayList(choices_);
      }
      bitField0_ |= 0x00000004;
    }
    /**
     * repeated string choices = 3;
     * @return A list containing the choices.
     */
    public com.google.protobuf.ProtocolStringList
        getChoicesList() {
      choices_.makeImmutable();
      return choices_;
    }
    /**
     * repeated string choices = 3;
     * @return The count of choices.
     */
    public int getChoicesCount() {
      return choices_.size();
    }
    /**
     * repeated string choices = 3;
     * @param index The index of the element to return.
     * @return The choices at the given index.
     */
    public java.lang.String getChoices(int index) {
      return choices_.get(index);
    }
    /**
     * repeated string choices = 3;
     * @param index The index of the value to return.
     * @return The bytes of the choices at the given index.
     */
    public com.google.protobuf.ByteString
        getChoicesBytes(int index) {
      return choices_.getByteString(index);
    }
    /**
     * repeated string choices = 3;
     * @param index The index to set the value at.
     * @param value The choices to set.
     * @return This builder for chaining.
     */
    public Builder setChoices(
        int index, java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      ensureChoicesIsMutable();
      choices_.set(index, value);
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * repeated string choices = 3;
     * @param value The choices to add.
     * @return This builder for chaining.
     */
    public Builder addChoices(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      ensureChoicesIsMutable();
      choices_.add(value);
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * repeated string choices = 3;
     * @param values The choices to add.
     * @return This builder for chaining.
     */
    public Builder addAllChoices(
        java.lang.Iterable values) {
      ensureChoicesIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, choices_);
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * repeated string choices = 3;
     * @return This builder for chaining.
     */
    public Builder clearChoices() {
      choices_ =
        com.google.protobuf.LazyStringArrayList.emptyList();
      bitField0_ = (bitField0_ & ~0x00000004);;
      onChanged();
      return this;
    }
    /**
     * repeated string choices = 3;
     * @param value The bytes of the choices to add.
     * @return This builder for chaining.
     */
    public Builder addChoicesBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      ensureChoicesIsMutable();
      choices_.add(value);
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }

    private java.lang.Object defaultAppearance_ = "";
    /**
     * string default_appearance = 4;
     * @return The defaultAppearance.
     */
    public java.lang.String getDefaultAppearance() {
      java.lang.Object ref = defaultAppearance_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        defaultAppearance_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string default_appearance = 4;
     * @return The bytes for defaultAppearance.
     */
    public com.google.protobuf.ByteString
        getDefaultAppearanceBytes() {
      java.lang.Object ref = defaultAppearance_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        defaultAppearance_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string default_appearance = 4;
     * @param value The defaultAppearance to set.
     * @return This builder for chaining.
     */
    public Builder setDefaultAppearance(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      defaultAppearance_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * string default_appearance = 4;
     * @return This builder for chaining.
     */
    public Builder clearDefaultAppearance() {
      defaultAppearance_ = getDefaultInstance().getDefaultAppearance();
      bitField0_ = (bitField0_ & ~0x00000008);
      onChanged();
      return this;
    }
    /**
     * string default_appearance = 4;
     * @param value The bytes for defaultAppearance to set.
     * @return This builder for chaining.
     */
    public Builder setDefaultAppearanceBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      defaultAppearance_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }

    private com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsP formFlags_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsP, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsP.Builder, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsPOrBuilder> formFlagsBuilder_;
    /**
     * .ironpdfengineproto.PdfiumPdfFormFieldFlagsP form_flags = 5;
     * @return Whether the formFlags field is set.
     */
    public boolean hasFormFlags() {
      return ((bitField0_ & 0x00000010) != 0);
    }
    /**
     * .ironpdfengineproto.PdfiumPdfFormFieldFlagsP form_flags = 5;
     * @return The formFlags.
     */
    public com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsP getFormFlags() {
      if (formFlagsBuilder_ == null) {
        return formFlags_ == null ? com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsP.getDefaultInstance() : formFlags_;
      } else {
        return formFlagsBuilder_.getMessage();
      }
    }
    /**
     * .ironpdfengineproto.PdfiumPdfFormFieldFlagsP form_flags = 5;
     */
    public Builder setFormFlags(com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsP value) {
      if (formFlagsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        formFlags_ = value;
      } else {
        formFlagsBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * .ironpdfengineproto.PdfiumPdfFormFieldFlagsP form_flags = 5;
     */
    public Builder setFormFlags(
        com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsP.Builder builderForValue) {
      if (formFlagsBuilder_ == null) {
        formFlags_ = builderForValue.build();
      } else {
        formFlagsBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * .ironpdfengineproto.PdfiumPdfFormFieldFlagsP form_flags = 5;
     */
    public Builder mergeFormFlags(com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsP value) {
      if (formFlagsBuilder_ == null) {
        if (((bitField0_ & 0x00000010) != 0) &&
          formFlags_ != null &&
          formFlags_ != com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsP.getDefaultInstance()) {
          getFormFlagsBuilder().mergeFrom(value);
        } else {
          formFlags_ = value;
        }
      } else {
        formFlagsBuilder_.mergeFrom(value);
      }
      if (formFlags_ != null) {
        bitField0_ |= 0x00000010;
        onChanged();
      }
      return this;
    }
    /**
     * .ironpdfengineproto.PdfiumPdfFormFieldFlagsP form_flags = 5;
     */
    public Builder clearFormFlags() {
      bitField0_ = (bitField0_ & ~0x00000010);
      formFlags_ = null;
      if (formFlagsBuilder_ != null) {
        formFlagsBuilder_.dispose();
        formFlagsBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * .ironpdfengineproto.PdfiumPdfFormFieldFlagsP form_flags = 5;
     */
    public com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsP.Builder getFormFlagsBuilder() {
      bitField0_ |= 0x00000010;
      onChanged();
      return getFormFlagsFieldBuilder().getBuilder();
    }
    /**
     * .ironpdfengineproto.PdfiumPdfFormFieldFlagsP form_flags = 5;
     */
    public com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsPOrBuilder getFormFlagsOrBuilder() {
      if (formFlagsBuilder_ != null) {
        return formFlagsBuilder_.getMessageOrBuilder();
      } else {
        return formFlags_ == null ?
            com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsP.getDefaultInstance() : formFlags_;
      }
    }
    /**
     * .ironpdfengineproto.PdfiumPdfFormFieldFlagsP form_flags = 5;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsP, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsP.Builder, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsPOrBuilder> 
        getFormFlagsFieldBuilder() {
      if (formFlagsBuilder_ == null) {
        formFlagsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsP, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsP.Builder, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldFlagsPOrBuilder>(
                getFormFlags(),
                getParentForChildren(),
                isClean());
        formFlags_ = null;
      }
      return formFlagsBuilder_;
    }

    private java.lang.Object formType_ = "";
    /**
     * string form_type = 6;
     * @return The formType.
     */
    public java.lang.String getFormType() {
      java.lang.Object ref = formType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        formType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string form_type = 6;
     * @return The bytes for formType.
     */
    public com.google.protobuf.ByteString
        getFormTypeBytes() {
      java.lang.Object ref = formType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        formType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string form_type = 6;
     * @param value The formType to set.
     * @return This builder for chaining.
     */
    public Builder setFormType(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      formType_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     * string form_type = 6;
     * @return This builder for chaining.
     */
    public Builder clearFormType() {
      formType_ = getDefaultInstance().getFormType();
      bitField0_ = (bitField0_ & ~0x00000020);
      onChanged();
      return this;
    }
    /**
     * string form_type = 6;
     * @param value The bytes for formType to set.
     * @return This builder for chaining.
     */
    public Builder setFormTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      formType_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }

    private java.lang.Object fullName_ = "";
    /**
     * string full_name = 7;
     * @return The fullName.
     */
    public java.lang.String getFullName() {
      java.lang.Object ref = fullName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        fullName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string full_name = 7;
     * @return The bytes for fullName.
     */
    public com.google.protobuf.ByteString
        getFullNameBytes() {
      java.lang.Object ref = fullName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        fullName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string full_name = 7;
     * @param value The fullName to set.
     * @return This builder for chaining.
     */
    public Builder setFullName(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      fullName_ = value;
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     * string full_name = 7;
     * @return This builder for chaining.
     */
    public Builder clearFullName() {
      fullName_ = getDefaultInstance().getFullName();
      bitField0_ = (bitField0_ & ~0x00000040);
      onChanged();
      return this;
    }
    /**
     * string full_name = 7;
     * @param value The bytes for fullName to set.
     * @return This builder for chaining.
     */
    public Builder setFullNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      fullName_ = value;
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }

    private int maxLength_ ;
    /**
     * int32 max_length = 8;
     * @return The maxLength.
     */
    @java.lang.Override
    public int getMaxLength() {
      return maxLength_;
    }
    /**
     * int32 max_length = 8;
     * @param value The maxLength to set.
     * @return This builder for chaining.
     */
    public Builder setMaxLength(int value) {

      maxLength_ = value;
      bitField0_ |= 0x00000080;
      onChanged();
      return this;
    }
    /**
     * int32 max_length = 8;
     * @return This builder for chaining.
     */
    public Builder clearMaxLength() {
      bitField0_ = (bitField0_ & ~0x00000080);
      maxLength_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object name_ = "";
    /**
     * string name = 9;
     * @return The name.
     */
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        name_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string name = 9;
     * @return The bytes for name.
     */
    public com.google.protobuf.ByteString
        getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string name = 9;
     * @param value The name to set.
     * @return This builder for chaining.
     */
    public Builder setName(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      name_ = value;
      bitField0_ |= 0x00000100;
      onChanged();
      return this;
    }
    /**
     * string name = 9;
     * @return This builder for chaining.
     */
    public Builder clearName() {
      name_ = getDefaultInstance().getName();
      bitField0_ = (bitField0_ & ~0x00000100);
      onChanged();
      return this;
    }
    /**
     * string name = 9;
     * @param value The bytes for name to set.
     * @return This builder for chaining.
     */
    public Builder setNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      name_ = value;
      bitField0_ |= 0x00000100;
      onChanged();
      return this;
    }

    private java.lang.Object objType_ = "";
    /**
     * string obj_type = 10;
     * @return The objType.
     */
    public java.lang.String getObjType() {
      java.lang.Object ref = objType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        objType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string obj_type = 10;
     * @return The bytes for objType.
     */
    public com.google.protobuf.ByteString
        getObjTypeBytes() {
      java.lang.Object ref = objType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        objType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string obj_type = 10;
     * @param value The objType to set.
     * @return This builder for chaining.
     */
    public Builder setObjType(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      objType_ = value;
      bitField0_ |= 0x00000200;
      onChanged();
      return this;
    }
    /**
     * string obj_type = 10;
     * @return This builder for chaining.
     */
    public Builder clearObjType() {
      objType_ = getDefaultInstance().getObjType();
      bitField0_ = (bitField0_ & ~0x00000200);
      onChanged();
      return this;
    }
    /**
     * string obj_type = 10;
     * @param value The bytes for objType to set.
     * @return This builder for chaining.
     */
    public Builder setObjTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      objType_ = value;
      bitField0_ |= 0x00000200;
      onChanged();
      return this;
    }

    private boolean readOnly_ ;
    /**
     * bool read_only = 11;
     * @return The readOnly.
     */
    @java.lang.Override
    public boolean getReadOnly() {
      return readOnly_;
    }
    /**
     * bool read_only = 11;
     * @param value The readOnly to set.
     * @return This builder for chaining.
     */
    public Builder setReadOnly(boolean value) {

      readOnly_ = value;
      bitField0_ |= 0x00000400;
      onChanged();
      return this;
    }
    /**
     * bool read_only = 11;
     * @return This builder for chaining.
     */
    public Builder clearReadOnly() {
      bitField0_ = (bitField0_ & ~0x00000400);
      readOnly_ = false;
      onChanged();
      return this;
    }

    private java.lang.Object richText_ = "";
    /**
     * string rich_text = 12;
     * @return The richText.
     */
    public java.lang.String getRichText() {
      java.lang.Object ref = richText_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        richText_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string rich_text = 12;
     * @return The bytes for richText.
     */
    public com.google.protobuf.ByteString
        getRichTextBytes() {
      java.lang.Object ref = richText_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        richText_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string rich_text = 12;
     * @param value The richText to set.
     * @return This builder for chaining.
     */
    public Builder setRichText(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      richText_ = value;
      bitField0_ |= 0x00000800;
      onChanged();
      return this;
    }
    /**
     * string rich_text = 12;
     * @return This builder for chaining.
     */
    public Builder clearRichText() {
      richText_ = getDefaultInstance().getRichText();
      bitField0_ = (bitField0_ & ~0x00000800);
      onChanged();
      return this;
    }
    /**
     * string rich_text = 12;
     * @param value The bytes for richText to set.
     * @return This builder for chaining.
     */
    public Builder setRichTextBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      richText_ = value;
      bitField0_ |= 0x00000800;
      onChanged();
      return this;
    }

    private com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypeP type_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypeP, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypeP.Builder, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypePOrBuilder> typeBuilder_;
    /**
     * .ironpdfengineproto.PdfiumPdfFormFieldTypeP type = 13;
     * @return Whether the type field is set.
     */
    public boolean hasType() {
      return ((bitField0_ & 0x00001000) != 0);
    }
    /**
     * .ironpdfengineproto.PdfiumPdfFormFieldTypeP type = 13;
     * @return The type.
     */
    public com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypeP getType() {
      if (typeBuilder_ == null) {
        return type_ == null ? com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypeP.getDefaultInstance() : type_;
      } else {
        return typeBuilder_.getMessage();
      }
    }
    /**
     * .ironpdfengineproto.PdfiumPdfFormFieldTypeP type = 13;
     */
    public Builder setType(com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypeP value) {
      if (typeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        type_ = value;
      } else {
        typeBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00001000;
      onChanged();
      return this;
    }
    /**
     * .ironpdfengineproto.PdfiumPdfFormFieldTypeP type = 13;
     */
    public Builder setType(
        com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypeP.Builder builderForValue) {
      if (typeBuilder_ == null) {
        type_ = builderForValue.build();
      } else {
        typeBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00001000;
      onChanged();
      return this;
    }
    /**
     * .ironpdfengineproto.PdfiumPdfFormFieldTypeP type = 13;
     */
    public Builder mergeType(com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypeP value) {
      if (typeBuilder_ == null) {
        if (((bitField0_ & 0x00001000) != 0) &&
          type_ != null &&
          type_ != com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypeP.getDefaultInstance()) {
          getTypeBuilder().mergeFrom(value);
        } else {
          type_ = value;
        }
      } else {
        typeBuilder_.mergeFrom(value);
      }
      if (type_ != null) {
        bitField0_ |= 0x00001000;
        onChanged();
      }
      return this;
    }
    /**
     * .ironpdfengineproto.PdfiumPdfFormFieldTypeP type = 13;
     */
    public Builder clearType() {
      bitField0_ = (bitField0_ & ~0x00001000);
      type_ = null;
      if (typeBuilder_ != null) {
        typeBuilder_.dispose();
        typeBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * .ironpdfengineproto.PdfiumPdfFormFieldTypeP type = 13;
     */
    public com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypeP.Builder getTypeBuilder() {
      bitField0_ |= 0x00001000;
      onChanged();
      return getTypeFieldBuilder().getBuilder();
    }
    /**
     * .ironpdfengineproto.PdfiumPdfFormFieldTypeP type = 13;
     */
    public com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypePOrBuilder getTypeOrBuilder() {
      if (typeBuilder_ != null) {
        return typeBuilder_.getMessageOrBuilder();
      } else {
        return type_ == null ?
            com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypeP.getDefaultInstance() : type_;
      }
    }
    /**
     * .ironpdfengineproto.PdfiumPdfFormFieldTypeP type = 13;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypeP, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypeP.Builder, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypePOrBuilder> 
        getTypeFieldBuilder() {
      if (typeBuilder_ == null) {
        typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypeP, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypeP.Builder, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfFormFieldTypePOrBuilder>(
                getType(),
                getParentForChildren(),
                isClean());
        type_ = null;
      }
      return typeBuilder_;
    }

    private java.lang.Object value_ = "";
    /**
     * string value = 14;
     * @return The value.
     */
    public java.lang.String getValue() {
      java.lang.Object ref = value_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        value_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string value = 14;
     * @return The bytes for value.
     */
    public com.google.protobuf.ByteString
        getValueBytes() {
      java.lang.Object ref = value_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        value_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string value = 14;
     * @param value The value to set.
     * @return This builder for chaining.
     */
    public Builder setValue(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      value_ = value;
      bitField0_ |= 0x00002000;
      onChanged();
      return this;
    }
    /**
     * string value = 14;
     * @return This builder for chaining.
     */
    public Builder clearValue() {
      value_ = getDefaultInstance().getValue();
      bitField0_ = (bitField0_ & ~0x00002000);
      onChanged();
      return this;
    }
    /**
     * string value = 14;
     * @param value The bytes for value to set.
     * @return This builder for chaining.
     */
    public Builder setValueBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      value_ = value;
      bitField0_ |= 0x00002000;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }


    // @@protoc_insertion_point(builder_scope:ironpdfengineproto.PdfiumIFormFieldObjectP)
  }

  // @@protoc_insertion_point(class_scope:ironpdfengineproto.PdfiumIFormFieldObjectP)
  private static final com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP();
  }

  public static com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public PdfiumIFormFieldObjectP parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      Builder builder = newBuilder();
      try {
        builder.mergeFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(builder.buildPartial());
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(e)
            .setUnfinishedMessage(builder.buildPartial());
      }
      return builder.buildPartial();
    }
  };

  public static com.google.protobuf.Parser parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public com.ironsoftware.ironpdf.internal.proto.PdfiumIFormFieldObjectP getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy