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

com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureCollectionP 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_pdf_document.proto

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

/**
 * Protobuf type {@code ironpdfengineproto.PdfiumPdfSignatureCollectionP}
 */
public final class PdfiumPdfSignatureCollectionP extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:ironpdfengineproto.PdfiumPdfSignatureCollectionP)
    PdfiumPdfSignatureCollectionPOrBuilder {
private static final long serialVersionUID = 0L;
  // Use PdfiumPdfSignatureCollectionP.newBuilder() to construct.
  private PdfiumPdfSignatureCollectionP(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private PdfiumPdfSignatureCollectionP() {
    signature_ = java.util.Collections.emptyList();
  }

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

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

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

  public static final int SIGNATURE_FIELD_NUMBER = 1;
  @SuppressWarnings("serial")
  private java.util.List signature_;
  /**
   * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
   */
  @java.lang.Override
  public java.util.List getSignatureList() {
    return signature_;
  }
  /**
   * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
   */
  @java.lang.Override
  public java.util.List 
      getSignatureOrBuilderList() {
    return signature_;
  }
  /**
   * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
   */
  @java.lang.Override
  public int getSignatureCount() {
    return signature_.size();
  }
  /**
   * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
   */
  @java.lang.Override
  public com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP getSignature(int index) {
    return signature_.get(index);
  }
  /**
   * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
   */
  @java.lang.Override
  public com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignaturePOrBuilder getSignatureOrBuilder(
      int index) {
    return signature_.get(index);
  }

  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 {
    for (int i = 0; i < signature_.size(); i++) {
      output.writeMessage(1, signature_.get(i));
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    for (int i = 0; i < signature_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, signature_.get(i));
    }
    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.PdfiumPdfSignatureCollectionP)) {
      return super.equals(obj);
    }
    com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureCollectionP other = (com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureCollectionP) obj;

    if (!getSignatureList()
        .equals(other.getSignatureList())) 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 (getSignatureCount() > 0) {
      hash = (37 * hash) + SIGNATURE_FIELD_NUMBER;
      hash = (53 * hash) + getSignatureList().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureCollectionP parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureCollectionP 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.PdfiumPdfSignatureCollectionP parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureCollectionP 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.PdfiumPdfSignatureCollectionP parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureCollectionP 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.PdfiumPdfSignatureCollectionP parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureCollectionP 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.PdfiumPdfSignatureCollectionP parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }

  public static com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureCollectionP 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.PdfiumPdfSignatureCollectionP 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.PdfiumPdfSignatureCollectionP 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.PdfiumPdfSignatureCollectionP 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.PdfiumPdfSignatureCollectionP}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:ironpdfengineproto.PdfiumPdfSignatureCollectionP)
      com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureCollectionPOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ironsoftware.ironpdf.internal.proto.PdfiumPdfDocument.internal_static_ironpdfengineproto_PdfiumPdfSignatureCollectionP_descriptor;
    }

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

    // Construct using com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureCollectionP.newBuilder()
    private Builder() {

    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      if (signatureBuilder_ == null) {
        signature_ = java.util.Collections.emptyList();
      } else {
        signature_ = null;
        signatureBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000001);
      return this;
    }

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

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

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

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

    private void buildPartialRepeatedFields(com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureCollectionP result) {
      if (signatureBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          signature_ = java.util.Collections.unmodifiableList(signature_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.signature_ = signature_;
      } else {
        result.signature_ = signatureBuilder_.build();
      }
    }

    private void buildPartial0(com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureCollectionP result) {
      int from_bitField0_ = 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.PdfiumPdfSignatureCollectionP) {
        return mergeFrom((com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureCollectionP)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureCollectionP other) {
      if (other == com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureCollectionP.getDefaultInstance()) return this;
      if (signatureBuilder_ == null) {
        if (!other.signature_.isEmpty()) {
          if (signature_.isEmpty()) {
            signature_ = other.signature_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureSignatureIsMutable();
            signature_.addAll(other.signature_);
          }
          onChanged();
        }
      } else {
        if (!other.signature_.isEmpty()) {
          if (signatureBuilder_.isEmpty()) {
            signatureBuilder_.dispose();
            signatureBuilder_ = null;
            signature_ = other.signature_;
            bitField0_ = (bitField0_ & ~0x00000001);
            signatureBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getSignatureFieldBuilder() : null;
          } else {
            signatureBuilder_.addAllMessages(other.signature_);
          }
        }
      }
      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: {
              com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP m =
                  input.readMessage(
                      com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP.parser(),
                      extensionRegistry);
              if (signatureBuilder_ == null) {
                ensureSignatureIsMutable();
                signature_.add(m);
              } else {
                signatureBuilder_.addMessage(m);
              }
              break;
            } // case 10
            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 java.util.List signature_ =
      java.util.Collections.emptyList();
    private void ensureSignatureIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        signature_ = new java.util.ArrayList(signature_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP.Builder, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignaturePOrBuilder> signatureBuilder_;

    /**
     * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
     */
    public java.util.List getSignatureList() {
      if (signatureBuilder_ == null) {
        return java.util.Collections.unmodifiableList(signature_);
      } else {
        return signatureBuilder_.getMessageList();
      }
    }
    /**
     * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
     */
    public int getSignatureCount() {
      if (signatureBuilder_ == null) {
        return signature_.size();
      } else {
        return signatureBuilder_.getCount();
      }
    }
    /**
     * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
     */
    public com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP getSignature(int index) {
      if (signatureBuilder_ == null) {
        return signature_.get(index);
      } else {
        return signatureBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
     */
    public Builder setSignature(
        int index, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP value) {
      if (signatureBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureSignatureIsMutable();
        signature_.set(index, value);
        onChanged();
      } else {
        signatureBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
     */
    public Builder setSignature(
        int index, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP.Builder builderForValue) {
      if (signatureBuilder_ == null) {
        ensureSignatureIsMutable();
        signature_.set(index, builderForValue.build());
        onChanged();
      } else {
        signatureBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
     */
    public Builder addSignature(com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP value) {
      if (signatureBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureSignatureIsMutable();
        signature_.add(value);
        onChanged();
      } else {
        signatureBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
     */
    public Builder addSignature(
        int index, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP value) {
      if (signatureBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureSignatureIsMutable();
        signature_.add(index, value);
        onChanged();
      } else {
        signatureBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
     */
    public Builder addSignature(
        com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP.Builder builderForValue) {
      if (signatureBuilder_ == null) {
        ensureSignatureIsMutable();
        signature_.add(builderForValue.build());
        onChanged();
      } else {
        signatureBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
     */
    public Builder addSignature(
        int index, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP.Builder builderForValue) {
      if (signatureBuilder_ == null) {
        ensureSignatureIsMutable();
        signature_.add(index, builderForValue.build());
        onChanged();
      } else {
        signatureBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
     */
    public Builder addAllSignature(
        java.lang.Iterable values) {
      if (signatureBuilder_ == null) {
        ensureSignatureIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, signature_);
        onChanged();
      } else {
        signatureBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
     */
    public Builder clearSignature() {
      if (signatureBuilder_ == null) {
        signature_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        signatureBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
     */
    public Builder removeSignature(int index) {
      if (signatureBuilder_ == null) {
        ensureSignatureIsMutable();
        signature_.remove(index);
        onChanged();
      } else {
        signatureBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
     */
    public com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP.Builder getSignatureBuilder(
        int index) {
      return getSignatureFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
     */
    public com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignaturePOrBuilder getSignatureOrBuilder(
        int index) {
      if (signatureBuilder_ == null) {
        return signature_.get(index);  } else {
        return signatureBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
     */
    public java.util.List 
         getSignatureOrBuilderList() {
      if (signatureBuilder_ != null) {
        return signatureBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(signature_);
      }
    }
    /**
     * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
     */
    public com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP.Builder addSignatureBuilder() {
      return getSignatureFieldBuilder().addBuilder(
          com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP.getDefaultInstance());
    }
    /**
     * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
     */
    public com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP.Builder addSignatureBuilder(
        int index) {
      return getSignatureFieldBuilder().addBuilder(
          index, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP.getDefaultInstance());
    }
    /**
     * repeated .ironpdfengineproto.PdfiumPdfSignatureP signature = 1;
     */
    public java.util.List 
         getSignatureBuilderList() {
      return getSignatureFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP.Builder, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignaturePOrBuilder> 
        getSignatureFieldBuilder() {
      if (signatureBuilder_ == null) {
        signatureBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignatureP.Builder, com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSignaturePOrBuilder>(
                signature_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        signature_ = null;
      }
      return signatureBuilder_;
    }
    @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.PdfiumPdfSignatureCollectionP)
  }

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

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

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public PdfiumPdfSignatureCollectionP 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.PdfiumPdfSignatureCollectionP getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy