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

com.ironsoftware.ironpdf.internal.proto.PdfiumVerifiedSignatureP 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_signature.proto

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

/**
 * Protobuf type {@code ironpdfengineproto.PdfiumVerifiedSignatureP}
 */
public final class PdfiumVerifiedSignatureP extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:ironpdfengineproto.PdfiumVerifiedSignatureP)
    PdfiumVerifiedSignaturePOrBuilder {
private static final long serialVersionUID = 0L;
  // Use PdfiumVerifiedSignatureP.newBuilder() to construct.
  private PdfiumVerifiedSignatureP(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private PdfiumVerifiedSignatureP() {
    signatureName_ = "";
    signingContact_ = "";
    signingReason_ = "";
    signingLocation_ = "";
    filter_ = "";
  }

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

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

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

  private int bitField0_;
  public static final int SIGNATURE_NAME_FIELD_NUMBER = 1;
  @SuppressWarnings("serial")
  private volatile java.lang.Object signatureName_ = "";
  /**
   * string signature_name = 1;
   * @return The signatureName.
   */
  @java.lang.Override
  public java.lang.String getSignatureName() {
    java.lang.Object ref = signatureName_;
    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();
      signatureName_ = s;
      return s;
    }
  }
  /**
   * string signature_name = 1;
   * @return The bytes for signatureName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSignatureNameBytes() {
    java.lang.Object ref = signatureName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      signatureName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SIGNING_CONTACT_FIELD_NUMBER = 2;
  @SuppressWarnings("serial")
  private volatile java.lang.Object signingContact_ = "";
  /**
   * string signing_contact = 2;
   * @return The signingContact.
   */
  @java.lang.Override
  public java.lang.String getSigningContact() {
    java.lang.Object ref = signingContact_;
    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();
      signingContact_ = s;
      return s;
    }
  }
  /**
   * string signing_contact = 2;
   * @return The bytes for signingContact.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSigningContactBytes() {
    java.lang.Object ref = signingContact_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      signingContact_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SIGNING_REASON_FIELD_NUMBER = 3;
  @SuppressWarnings("serial")
  private volatile java.lang.Object signingReason_ = "";
  /**
   * string signing_reason = 3;
   * @return The signingReason.
   */
  @java.lang.Override
  public java.lang.String getSigningReason() {
    java.lang.Object ref = signingReason_;
    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();
      signingReason_ = s;
      return s;
    }
  }
  /**
   * string signing_reason = 3;
   * @return The bytes for signingReason.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSigningReasonBytes() {
    java.lang.Object ref = signingReason_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      signingReason_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SIGNING_LOCATION_FIELD_NUMBER = 4;
  @SuppressWarnings("serial")
  private volatile java.lang.Object signingLocation_ = "";
  /**
   * string signing_location = 4;
   * @return The signingLocation.
   */
  @java.lang.Override
  public java.lang.String getSigningLocation() {
    java.lang.Object ref = signingLocation_;
    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();
      signingLocation_ = s;
      return s;
    }
  }
  /**
   * string signing_location = 4;
   * @return The bytes for signingLocation.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSigningLocationBytes() {
    java.lang.Object ref = signingLocation_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      signingLocation_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SIGNING_DATE_FIELD_NUMBER = 5;
  private com.google.protobuf.Timestamp signingDate_;
  /**
   * .google.protobuf.Timestamp signing_date = 5;
   * @return Whether the signingDate field is set.
   */
  @java.lang.Override
  public boolean hasSigningDate() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * .google.protobuf.Timestamp signing_date = 5;
   * @return The signingDate.
   */
  @java.lang.Override
  public com.google.protobuf.Timestamp getSigningDate() {
    return signingDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : signingDate_;
  }
  /**
   * .google.protobuf.Timestamp signing_date = 5;
   */
  @java.lang.Override
  public com.google.protobuf.TimestampOrBuilder getSigningDateOrBuilder() {
    return signingDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : signingDate_;
  }

  public static final int IS_VALID_FIELD_NUMBER = 6;
  private boolean isValid_ = false;
  /**
   * bool is_valid = 6;
   * @return The isValid.
   */
  @java.lang.Override
  public boolean getIsValid() {
    return isValid_;
  }

  public static final int FILTER_FIELD_NUMBER = 7;
  @SuppressWarnings("serial")
  private volatile java.lang.Object filter_ = "";
  /**
   * string filter = 7;
   * @return The filter.
   */
  @java.lang.Override
  public java.lang.String getFilter() {
    java.lang.Object ref = filter_;
    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();
      filter_ = s;
      return s;
    }
  }
  /**
   * string filter = 7;
   * @return The bytes for filter.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getFilterBytes() {
    java.lang.Object ref = filter_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      filter_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signatureName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, signatureName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signingContact_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, signingContact_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signingReason_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, signingReason_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signingLocation_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, signingLocation_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(5, getSigningDate());
    }
    if (isValid_ != false) {
      output.writeBool(6, isValid_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, filter_);
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signatureName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, signatureName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signingContact_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, signingContact_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signingReason_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, signingReason_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signingLocation_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, signingLocation_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, getSigningDate());
    }
    if (isValid_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(6, isValid_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, filter_);
    }
    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.PdfiumVerifiedSignatureP)) {
      return super.equals(obj);
    }
    com.ironsoftware.ironpdf.internal.proto.PdfiumVerifiedSignatureP other = (com.ironsoftware.ironpdf.internal.proto.PdfiumVerifiedSignatureP) obj;

    if (!getSignatureName()
        .equals(other.getSignatureName())) return false;
    if (!getSigningContact()
        .equals(other.getSigningContact())) return false;
    if (!getSigningReason()
        .equals(other.getSigningReason())) return false;
    if (!getSigningLocation()
        .equals(other.getSigningLocation())) return false;
    if (hasSigningDate() != other.hasSigningDate()) return false;
    if (hasSigningDate()) {
      if (!getSigningDate()
          .equals(other.getSigningDate())) return false;
    }
    if (getIsValid()
        != other.getIsValid()) return false;
    if (!getFilter()
        .equals(other.getFilter())) 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();
    hash = (37 * hash) + SIGNATURE_NAME_FIELD_NUMBER;
    hash = (53 * hash) + getSignatureName().hashCode();
    hash = (37 * hash) + SIGNING_CONTACT_FIELD_NUMBER;
    hash = (53 * hash) + getSigningContact().hashCode();
    hash = (37 * hash) + SIGNING_REASON_FIELD_NUMBER;
    hash = (53 * hash) + getSigningReason().hashCode();
    hash = (37 * hash) + SIGNING_LOCATION_FIELD_NUMBER;
    hash = (53 * hash) + getSigningLocation().hashCode();
    if (hasSigningDate()) {
      hash = (37 * hash) + SIGNING_DATE_FIELD_NUMBER;
      hash = (53 * hash) + getSigningDate().hashCode();
    }
    hash = (37 * hash) + IS_VALID_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsValid());
    hash = (37 * hash) + FILTER_FIELD_NUMBER;
    hash = (53 * hash) + getFilter().hashCode();
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

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

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getSigningDateFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      signatureName_ = "";
      signingContact_ = "";
      signingReason_ = "";
      signingLocation_ = "";
      signingDate_ = null;
      if (signingDateBuilder_ != null) {
        signingDateBuilder_.dispose();
        signingDateBuilder_ = null;
      }
      isValid_ = false;
      filter_ = "";
      return this;
    }

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

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

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

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

    private void buildPartial0(com.ironsoftware.ironpdf.internal.proto.PdfiumVerifiedSignatureP result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.signatureName_ = signatureName_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.signingContact_ = signingContact_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.signingReason_ = signingReason_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.signingLocation_ = signingLocation_;
      }
      int to_bitField0_ = 0;
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.signingDate_ = signingDateBuilder_ == null
            ? signingDate_
            : signingDateBuilder_.build();
        to_bitField0_ |= 0x00000001;
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.isValid_ = isValid_;
      }
      if (((from_bitField0_ & 0x00000040) != 0)) {
        result.filter_ = filter_;
      }
      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.PdfiumVerifiedSignatureP) {
        return mergeFrom((com.ironsoftware.ironpdf.internal.proto.PdfiumVerifiedSignatureP)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ironsoftware.ironpdf.internal.proto.PdfiumVerifiedSignatureP other) {
      if (other == com.ironsoftware.ironpdf.internal.proto.PdfiumVerifiedSignatureP.getDefaultInstance()) return this;
      if (!other.getSignatureName().isEmpty()) {
        signatureName_ = other.signatureName_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (!other.getSigningContact().isEmpty()) {
        signingContact_ = other.signingContact_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (!other.getSigningReason().isEmpty()) {
        signingReason_ = other.signingReason_;
        bitField0_ |= 0x00000004;
        onChanged();
      }
      if (!other.getSigningLocation().isEmpty()) {
        signingLocation_ = other.signingLocation_;
        bitField0_ |= 0x00000008;
        onChanged();
      }
      if (other.hasSigningDate()) {
        mergeSigningDate(other.getSigningDate());
      }
      if (other.getIsValid() != false) {
        setIsValid(other.getIsValid());
      }
      if (!other.getFilter().isEmpty()) {
        filter_ = other.filter_;
        bitField0_ |= 0x00000040;
        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: {
              signatureName_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 18: {
              signingContact_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            case 26: {
              signingReason_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000004;
              break;
            } // case 26
            case 34: {
              signingLocation_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000008;
              break;
            } // case 34
            case 42: {
              input.readMessage(
                  getSigningDateFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000010;
              break;
            } // case 42
            case 48: {
              isValid_ = input.readBool();
              bitField0_ |= 0x00000020;
              break;
            } // case 48
            case 58: {
              filter_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000040;
              break;
            } // case 58
            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.lang.Object signatureName_ = "";
    /**
     * string signature_name = 1;
     * @return The signatureName.
     */
    public java.lang.String getSignatureName() {
      java.lang.Object ref = signatureName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        signatureName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string signature_name = 1;
     * @return The bytes for signatureName.
     */
    public com.google.protobuf.ByteString
        getSignatureNameBytes() {
      java.lang.Object ref = signatureName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        signatureName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string signature_name = 1;
     * @param value The signatureName to set.
     * @return This builder for chaining.
     */
    public Builder setSignatureName(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      signatureName_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * string signature_name = 1;
     * @return This builder for chaining.
     */
    public Builder clearSignatureName() {
      signatureName_ = getDefaultInstance().getSignatureName();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     * string signature_name = 1;
     * @param value The bytes for signatureName to set.
     * @return This builder for chaining.
     */
    public Builder setSignatureNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      signatureName_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }

    private java.lang.Object signingContact_ = "";
    /**
     * string signing_contact = 2;
     * @return The signingContact.
     */
    public java.lang.String getSigningContact() {
      java.lang.Object ref = signingContact_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        signingContact_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string signing_contact = 2;
     * @return The bytes for signingContact.
     */
    public com.google.protobuf.ByteString
        getSigningContactBytes() {
      java.lang.Object ref = signingContact_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        signingContact_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string signing_contact = 2;
     * @param value The signingContact to set.
     * @return This builder for chaining.
     */
    public Builder setSigningContact(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      signingContact_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * string signing_contact = 2;
     * @return This builder for chaining.
     */
    public Builder clearSigningContact() {
      signingContact_ = getDefaultInstance().getSigningContact();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     * string signing_contact = 2;
     * @param value The bytes for signingContact to set.
     * @return This builder for chaining.
     */
    public Builder setSigningContactBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      signingContact_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }

    private java.lang.Object signingReason_ = "";
    /**
     * string signing_reason = 3;
     * @return The signingReason.
     */
    public java.lang.String getSigningReason() {
      java.lang.Object ref = signingReason_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        signingReason_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string signing_reason = 3;
     * @return The bytes for signingReason.
     */
    public com.google.protobuf.ByteString
        getSigningReasonBytes() {
      java.lang.Object ref = signingReason_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        signingReason_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string signing_reason = 3;
     * @param value The signingReason to set.
     * @return This builder for chaining.
     */
    public Builder setSigningReason(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      signingReason_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * string signing_reason = 3;
     * @return This builder for chaining.
     */
    public Builder clearSigningReason() {
      signingReason_ = getDefaultInstance().getSigningReason();
      bitField0_ = (bitField0_ & ~0x00000004);
      onChanged();
      return this;
    }
    /**
     * string signing_reason = 3;
     * @param value The bytes for signingReason to set.
     * @return This builder for chaining.
     */
    public Builder setSigningReasonBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      signingReason_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }

    private java.lang.Object signingLocation_ = "";
    /**
     * string signing_location = 4;
     * @return The signingLocation.
     */
    public java.lang.String getSigningLocation() {
      java.lang.Object ref = signingLocation_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        signingLocation_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string signing_location = 4;
     * @return The bytes for signingLocation.
     */
    public com.google.protobuf.ByteString
        getSigningLocationBytes() {
      java.lang.Object ref = signingLocation_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        signingLocation_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string signing_location = 4;
     * @param value The signingLocation to set.
     * @return This builder for chaining.
     */
    public Builder setSigningLocation(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      signingLocation_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * string signing_location = 4;
     * @return This builder for chaining.
     */
    public Builder clearSigningLocation() {
      signingLocation_ = getDefaultInstance().getSigningLocation();
      bitField0_ = (bitField0_ & ~0x00000008);
      onChanged();
      return this;
    }
    /**
     * string signing_location = 4;
     * @param value The bytes for signingLocation to set.
     * @return This builder for chaining.
     */
    public Builder setSigningLocationBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      signingLocation_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }

    private com.google.protobuf.Timestamp signingDate_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> signingDateBuilder_;
    /**
     * .google.protobuf.Timestamp signing_date = 5;
     * @return Whether the signingDate field is set.
     */
    public boolean hasSigningDate() {
      return ((bitField0_ & 0x00000010) != 0);
    }
    /**
     * .google.protobuf.Timestamp signing_date = 5;
     * @return The signingDate.
     */
    public com.google.protobuf.Timestamp getSigningDate() {
      if (signingDateBuilder_ == null) {
        return signingDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : signingDate_;
      } else {
        return signingDateBuilder_.getMessage();
      }
    }
    /**
     * .google.protobuf.Timestamp signing_date = 5;
     */
    public Builder setSigningDate(com.google.protobuf.Timestamp value) {
      if (signingDateBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        signingDate_ = value;
      } else {
        signingDateBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * .google.protobuf.Timestamp signing_date = 5;
     */
    public Builder setSigningDate(
        com.google.protobuf.Timestamp.Builder builderForValue) {
      if (signingDateBuilder_ == null) {
        signingDate_ = builderForValue.build();
      } else {
        signingDateBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * .google.protobuf.Timestamp signing_date = 5;
     */
    public Builder mergeSigningDate(com.google.protobuf.Timestamp value) {
      if (signingDateBuilder_ == null) {
        if (((bitField0_ & 0x00000010) != 0) &&
          signingDate_ != null &&
          signingDate_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
          getSigningDateBuilder().mergeFrom(value);
        } else {
          signingDate_ = value;
        }
      } else {
        signingDateBuilder_.mergeFrom(value);
      }
      if (signingDate_ != null) {
        bitField0_ |= 0x00000010;
        onChanged();
      }
      return this;
    }
    /**
     * .google.protobuf.Timestamp signing_date = 5;
     */
    public Builder clearSigningDate() {
      bitField0_ = (bitField0_ & ~0x00000010);
      signingDate_ = null;
      if (signingDateBuilder_ != null) {
        signingDateBuilder_.dispose();
        signingDateBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * .google.protobuf.Timestamp signing_date = 5;
     */
    public com.google.protobuf.Timestamp.Builder getSigningDateBuilder() {
      bitField0_ |= 0x00000010;
      onChanged();
      return getSigningDateFieldBuilder().getBuilder();
    }
    /**
     * .google.protobuf.Timestamp signing_date = 5;
     */
    public com.google.protobuf.TimestampOrBuilder getSigningDateOrBuilder() {
      if (signingDateBuilder_ != null) {
        return signingDateBuilder_.getMessageOrBuilder();
      } else {
        return signingDate_ == null ?
            com.google.protobuf.Timestamp.getDefaultInstance() : signingDate_;
      }
    }
    /**
     * .google.protobuf.Timestamp signing_date = 5;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
        getSigningDateFieldBuilder() {
      if (signingDateBuilder_ == null) {
        signingDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                getSigningDate(),
                getParentForChildren(),
                isClean());
        signingDate_ = null;
      }
      return signingDateBuilder_;
    }

    private boolean isValid_ ;
    /**
     * bool is_valid = 6;
     * @return The isValid.
     */
    @java.lang.Override
    public boolean getIsValid() {
      return isValid_;
    }
    /**
     * bool is_valid = 6;
     * @param value The isValid to set.
     * @return This builder for chaining.
     */
    public Builder setIsValid(boolean value) {

      isValid_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     * bool is_valid = 6;
     * @return This builder for chaining.
     */
    public Builder clearIsValid() {
      bitField0_ = (bitField0_ & ~0x00000020);
      isValid_ = false;
      onChanged();
      return this;
    }

    private java.lang.Object filter_ = "";
    /**
     * string filter = 7;
     * @return The filter.
     */
    public java.lang.String getFilter() {
      java.lang.Object ref = filter_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        filter_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string filter = 7;
     * @return The bytes for filter.
     */
    public com.google.protobuf.ByteString
        getFilterBytes() {
      java.lang.Object ref = filter_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        filter_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string filter = 7;
     * @param value The filter to set.
     * @return This builder for chaining.
     */
    public Builder setFilter(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      filter_ = value;
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     * string filter = 7;
     * @return This builder for chaining.
     */
    public Builder clearFilter() {
      filter_ = getDefaultInstance().getFilter();
      bitField0_ = (bitField0_ & ~0x00000040);
      onChanged();
      return this;
    }
    /**
     * string filter = 7;
     * @param value The bytes for filter to set.
     * @return This builder for chaining.
     */
    public Builder setFilterBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      filter_ = value;
      bitField0_ |= 0x00000040;
      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.PdfiumVerifiedSignatureP)
  }

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

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

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

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy