// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/privacy/dlp/v2beta1/dlp.proto

package com.google.privacy.dlp.v2beta1;

/**
 * <pre>
 * Metadata returned within GetOperation for an inspect request.
 * </pre>
 *
 * Protobuf type {@code google.privacy.dlp.v2beta1.InspectOperationMetadata}
 */
public  final class InspectOperationMetadata extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2beta1.InspectOperationMetadata)
    InspectOperationMetadataOrBuilder {
private static final long serialVersionUID = 0L;
  // Use InspectOperationMetadata.newBuilder() to construct.
  private InspectOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private InspectOperationMetadata() {
    processedBytes_ = 0L;
    totalEstimatedBytes_ = 0L;
    infoTypeStats_ = java.util.Collections.emptyList();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private InspectOperationMetadata(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          default: {
            if (!parseUnknownFieldProto3(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
          case 8: {

            processedBytes_ = input.readInt64();
            break;
          }
          case 18: {
            if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
              infoTypeStats_ = new java.util.ArrayList<com.google.privacy.dlp.v2beta1.InfoTypeStatistics>();
              mutable_bitField0_ |= 0x00000004;
            }
            infoTypeStats_.add(
                input.readMessage(com.google.privacy.dlp.v2beta1.InfoTypeStatistics.parser(), extensionRegistry));
            break;
          }
          case 26: {
            com.google.protobuf.Timestamp.Builder subBuilder = null;
            if (createTime_ != null) {
              subBuilder = createTime_.toBuilder();
            }
            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(createTime_);
              createTime_ = subBuilder.buildPartial();
            }

            break;
          }
          case 32: {

            totalEstimatedBytes_ = input.readInt64();
            break;
          }
          case 42: {
            com.google.privacy.dlp.v2beta1.InspectConfig.Builder subBuilder = null;
            if (requestInspectConfig_ != null) {
              subBuilder = requestInspectConfig_.toBuilder();
            }
            requestInspectConfig_ = input.readMessage(com.google.privacy.dlp.v2beta1.InspectConfig.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(requestInspectConfig_);
              requestInspectConfig_ = subBuilder.buildPartial();
            }

            break;
          }
          case 50: {
            com.google.privacy.dlp.v2beta1.StorageConfig.Builder subBuilder = null;
            if (requestStorageConfig_ != null) {
              subBuilder = requestStorageConfig_.toBuilder();
            }
            requestStorageConfig_ = input.readMessage(com.google.privacy.dlp.v2beta1.StorageConfig.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(requestStorageConfig_);
              requestStorageConfig_ = subBuilder.buildPartial();
            }

            break;
          }
          case 58: {
            com.google.privacy.dlp.v2beta1.OutputStorageConfig.Builder subBuilder = null;
            if (requestOutputConfig_ != null) {
              subBuilder = requestOutputConfig_.toBuilder();
            }
            requestOutputConfig_ = input.readMessage(com.google.privacy.dlp.v2beta1.OutputStorageConfig.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(requestOutputConfig_);
              requestOutputConfig_ = subBuilder.buildPartial();
            }

            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
        infoTypeStats_ = java.util.Collections.unmodifiableList(infoTypeStats_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_InspectOperationMetadata_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_InspectOperationMetadata_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.google.privacy.dlp.v2beta1.InspectOperationMetadata.class, com.google.privacy.dlp.v2beta1.InspectOperationMetadata.Builder.class);
  }

  private int bitField0_;
  public static final int PROCESSED_BYTES_FIELD_NUMBER = 1;
  private long processedBytes_;
  /**
   * <pre>
   * Total size in bytes that were processed.
   * </pre>
   *
   * <code>int64 processed_bytes = 1;</code>
   */
  public long getProcessedBytes() {
    return processedBytes_;
  }

  public static final int TOTAL_ESTIMATED_BYTES_FIELD_NUMBER = 4;
  private long totalEstimatedBytes_;
  /**
   * <pre>
   * Estimate of the number of bytes to process.
   * </pre>
   *
   * <code>int64 total_estimated_bytes = 4;</code>
   */
  public long getTotalEstimatedBytes() {
    return totalEstimatedBytes_;
  }

  public static final int INFO_TYPE_STATS_FIELD_NUMBER = 2;
  private java.util.List<com.google.privacy.dlp.v2beta1.InfoTypeStatistics> infoTypeStats_;
  /**
   * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
   */
  public java.util.List<com.google.privacy.dlp.v2beta1.InfoTypeStatistics> getInfoTypeStatsList() {
    return infoTypeStats_;
  }
  /**
   * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
   */
  public java.util.List<? extends com.google.privacy.dlp.v2beta1.InfoTypeStatisticsOrBuilder> 
      getInfoTypeStatsOrBuilderList() {
    return infoTypeStats_;
  }
  /**
   * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
   */
  public int getInfoTypeStatsCount() {
    return infoTypeStats_.size();
  }
  /**
   * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
   */
  public com.google.privacy.dlp.v2beta1.InfoTypeStatistics getInfoTypeStats(int index) {
    return infoTypeStats_.get(index);
  }
  /**
   * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
   */
  public com.google.privacy.dlp.v2beta1.InfoTypeStatisticsOrBuilder getInfoTypeStatsOrBuilder(
      int index) {
    return infoTypeStats_.get(index);
  }

  public static final int CREATE_TIME_FIELD_NUMBER = 3;
  private com.google.protobuf.Timestamp createTime_;
  /**
   * <pre>
   * The time which this request was started.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 3;</code>
   */
  public boolean hasCreateTime() {
    return createTime_ != null;
  }
  /**
   * <pre>
   * The time which this request was started.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 3;</code>
   */
  public com.google.protobuf.Timestamp getCreateTime() {
    return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
  }
  /**
   * <pre>
   * The time which this request was started.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 3;</code>
   */
  public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    return getCreateTime();
  }

  public static final int REQUEST_INSPECT_CONFIG_FIELD_NUMBER = 5;
  private com.google.privacy.dlp.v2beta1.InspectConfig requestInspectConfig_;
  /**
   * <pre>
   * The inspect config used to create the Operation.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2beta1.InspectConfig request_inspect_config = 5;</code>
   */
  public boolean hasRequestInspectConfig() {
    return requestInspectConfig_ != null;
  }
  /**
   * <pre>
   * The inspect config used to create the Operation.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2beta1.InspectConfig request_inspect_config = 5;</code>
   */
  public com.google.privacy.dlp.v2beta1.InspectConfig getRequestInspectConfig() {
    return requestInspectConfig_ == null ? com.google.privacy.dlp.v2beta1.InspectConfig.getDefaultInstance() : requestInspectConfig_;
  }
  /**
   * <pre>
   * The inspect config used to create the Operation.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2beta1.InspectConfig request_inspect_config = 5;</code>
   */
  public com.google.privacy.dlp.v2beta1.InspectConfigOrBuilder getRequestInspectConfigOrBuilder() {
    return getRequestInspectConfig();
  }

  public static final int REQUEST_STORAGE_CONFIG_FIELD_NUMBER = 6;
  private com.google.privacy.dlp.v2beta1.StorageConfig requestStorageConfig_;
  /**
   * <pre>
   * The storage config used to create the Operation.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2beta1.StorageConfig request_storage_config = 6;</code>
   */
  public boolean hasRequestStorageConfig() {
    return requestStorageConfig_ != null;
  }
  /**
   * <pre>
   * The storage config used to create the Operation.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2beta1.StorageConfig request_storage_config = 6;</code>
   */
  public com.google.privacy.dlp.v2beta1.StorageConfig getRequestStorageConfig() {
    return requestStorageConfig_ == null ? com.google.privacy.dlp.v2beta1.StorageConfig.getDefaultInstance() : requestStorageConfig_;
  }
  /**
   * <pre>
   * The storage config used to create the Operation.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2beta1.StorageConfig request_storage_config = 6;</code>
   */
  public com.google.privacy.dlp.v2beta1.StorageConfigOrBuilder getRequestStorageConfigOrBuilder() {
    return getRequestStorageConfig();
  }

  public static final int REQUEST_OUTPUT_CONFIG_FIELD_NUMBER = 7;
  private com.google.privacy.dlp.v2beta1.OutputStorageConfig requestOutputConfig_;
  /**
   * <pre>
   * Optional location to store findings.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2beta1.OutputStorageConfig request_output_config = 7;</code>
   */
  public boolean hasRequestOutputConfig() {
    return requestOutputConfig_ != null;
  }
  /**
   * <pre>
   * Optional location to store findings.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2beta1.OutputStorageConfig request_output_config = 7;</code>
   */
  public com.google.privacy.dlp.v2beta1.OutputStorageConfig getRequestOutputConfig() {
    return requestOutputConfig_ == null ? com.google.privacy.dlp.v2beta1.OutputStorageConfig.getDefaultInstance() : requestOutputConfig_;
  }
  /**
   * <pre>
   * Optional location to store findings.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2beta1.OutputStorageConfig request_output_config = 7;</code>
   */
  public com.google.privacy.dlp.v2beta1.OutputStorageConfigOrBuilder getRequestOutputConfigOrBuilder() {
    return getRequestOutputConfig();
  }

  private byte memoizedIsInitialized = -1;
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (processedBytes_ != 0L) {
      output.writeInt64(1, processedBytes_);
    }
    for (int i = 0; i < infoTypeStats_.size(); i++) {
      output.writeMessage(2, infoTypeStats_.get(i));
    }
    if (createTime_ != null) {
      output.writeMessage(3, getCreateTime());
    }
    if (totalEstimatedBytes_ != 0L) {
      output.writeInt64(4, totalEstimatedBytes_);
    }
    if (requestInspectConfig_ != null) {
      output.writeMessage(5, getRequestInspectConfig());
    }
    if (requestStorageConfig_ != null) {
      output.writeMessage(6, getRequestStorageConfig());
    }
    if (requestOutputConfig_ != null) {
      output.writeMessage(7, getRequestOutputConfig());
    }
    unknownFields.writeTo(output);
  }

  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (processedBytes_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(1, processedBytes_);
    }
    for (int i = 0; i < infoTypeStats_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, infoTypeStats_.get(i));
    }
    if (createTime_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, getCreateTime());
    }
    if (totalEstimatedBytes_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(4, totalEstimatedBytes_);
    }
    if (requestInspectConfig_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, getRequestInspectConfig());
    }
    if (requestStorageConfig_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(6, getRequestStorageConfig());
    }
    if (requestOutputConfig_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(7, getRequestOutputConfig());
    }
    size += unknownFields.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.google.privacy.dlp.v2beta1.InspectOperationMetadata)) {
      return super.equals(obj);
    }
    com.google.privacy.dlp.v2beta1.InspectOperationMetadata other = (com.google.privacy.dlp.v2beta1.InspectOperationMetadata) obj;

    boolean result = true;
    result = result && (getProcessedBytes()
        == other.getProcessedBytes());
    result = result && (getTotalEstimatedBytes()
        == other.getTotalEstimatedBytes());
    result = result && getInfoTypeStatsList()
        .equals(other.getInfoTypeStatsList());
    result = result && (hasCreateTime() == other.hasCreateTime());
    if (hasCreateTime()) {
      result = result && getCreateTime()
          .equals(other.getCreateTime());
    }
    result = result && (hasRequestInspectConfig() == other.hasRequestInspectConfig());
    if (hasRequestInspectConfig()) {
      result = result && getRequestInspectConfig()
          .equals(other.getRequestInspectConfig());
    }
    result = result && (hasRequestStorageConfig() == other.hasRequestStorageConfig());
    if (hasRequestStorageConfig()) {
      result = result && getRequestStorageConfig()
          .equals(other.getRequestStorageConfig());
    }
    result = result && (hasRequestOutputConfig() == other.hasRequestOutputConfig());
    if (hasRequestOutputConfig()) {
      result = result && getRequestOutputConfig()
          .equals(other.getRequestOutputConfig());
    }
    result = result && unknownFields.equals(other.unknownFields);
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + PROCESSED_BYTES_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getProcessedBytes());
    hash = (37 * hash) + TOTAL_ESTIMATED_BYTES_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getTotalEstimatedBytes());
    if (getInfoTypeStatsCount() > 0) {
      hash = (37 * hash) + INFO_TYPE_STATS_FIELD_NUMBER;
      hash = (53 * hash) + getInfoTypeStatsList().hashCode();
    }
    if (hasCreateTime()) {
      hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getCreateTime().hashCode();
    }
    if (hasRequestInspectConfig()) {
      hash = (37 * hash) + REQUEST_INSPECT_CONFIG_FIELD_NUMBER;
      hash = (53 * hash) + getRequestInspectConfig().hashCode();
    }
    if (hasRequestStorageConfig()) {
      hash = (37 * hash) + REQUEST_STORAGE_CONFIG_FIELD_NUMBER;
      hash = (53 * hash) + getRequestStorageConfig().hashCode();
    }
    if (hasRequestOutputConfig()) {
      hash = (37 * hash) + REQUEST_OUTPUT_CONFIG_FIELD_NUMBER;
      hash = (53 * hash) + getRequestOutputConfig().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.google.privacy.dlp.v2beta1.InspectOperationMetadata parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.google.privacy.dlp.v2beta1.InspectOperationMetadata parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.google.privacy.dlp.v2beta1.InspectOperationMetadata parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.google.privacy.dlp.v2beta1.InspectOperationMetadata parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.google.privacy.dlp.v2beta1.InspectOperationMetadata parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.google.privacy.dlp.v2beta1.InspectOperationMetadata parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.google.privacy.dlp.v2beta1.InspectOperationMetadata parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.google.privacy.dlp.v2beta1.InspectOperationMetadata 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.google.privacy.dlp.v2beta1.InspectOperationMetadata parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.google.privacy.dlp.v2beta1.InspectOperationMetadata 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.google.privacy.dlp.v2beta1.InspectOperationMetadata parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.google.privacy.dlp.v2beta1.InspectOperationMetadata parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.google.privacy.dlp.v2beta1.InspectOperationMetadata prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  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;
  }
  /**
   * <pre>
   * Metadata returned within GetOperation for an inspect request.
   * </pre>
   *
   * Protobuf type {@code google.privacy.dlp.v2beta1.InspectOperationMetadata}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2beta1.InspectOperationMetadata)
      com.google.privacy.dlp.v2beta1.InspectOperationMetadataOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_InspectOperationMetadata_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_InspectOperationMetadata_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.privacy.dlp.v2beta1.InspectOperationMetadata.class, com.google.privacy.dlp.v2beta1.InspectOperationMetadata.Builder.class);
    }

    // Construct using com.google.privacy.dlp.v2beta1.InspectOperationMetadata.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getInfoTypeStatsFieldBuilder();
      }
    }
    public Builder clear() {
      super.clear();
      processedBytes_ = 0L;

      totalEstimatedBytes_ = 0L;

      if (infoTypeStatsBuilder_ == null) {
        infoTypeStats_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
      } else {
        infoTypeStatsBuilder_.clear();
      }
      if (createTimeBuilder_ == null) {
        createTime_ = null;
      } else {
        createTime_ = null;
        createTimeBuilder_ = null;
      }
      if (requestInspectConfigBuilder_ == null) {
        requestInspectConfig_ = null;
      } else {
        requestInspectConfig_ = null;
        requestInspectConfigBuilder_ = null;
      }
      if (requestStorageConfigBuilder_ == null) {
        requestStorageConfig_ = null;
      } else {
        requestStorageConfig_ = null;
        requestStorageConfigBuilder_ = null;
      }
      if (requestOutputConfigBuilder_ == null) {
        requestOutputConfig_ = null;
      } else {
        requestOutputConfig_ = null;
        requestOutputConfigBuilder_ = null;
      }
      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_InspectOperationMetadata_descriptor;
    }

    public com.google.privacy.dlp.v2beta1.InspectOperationMetadata getDefaultInstanceForType() {
      return com.google.privacy.dlp.v2beta1.InspectOperationMetadata.getDefaultInstance();
    }

    public com.google.privacy.dlp.v2beta1.InspectOperationMetadata build() {
      com.google.privacy.dlp.v2beta1.InspectOperationMetadata result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    public com.google.privacy.dlp.v2beta1.InspectOperationMetadata buildPartial() {
      com.google.privacy.dlp.v2beta1.InspectOperationMetadata result = new com.google.privacy.dlp.v2beta1.InspectOperationMetadata(this);
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      result.processedBytes_ = processedBytes_;
      result.totalEstimatedBytes_ = totalEstimatedBytes_;
      if (infoTypeStatsBuilder_ == null) {
        if (((bitField0_ & 0x00000004) == 0x00000004)) {
          infoTypeStats_ = java.util.Collections.unmodifiableList(infoTypeStats_);
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.infoTypeStats_ = infoTypeStats_;
      } else {
        result.infoTypeStats_ = infoTypeStatsBuilder_.build();
      }
      if (createTimeBuilder_ == null) {
        result.createTime_ = createTime_;
      } else {
        result.createTime_ = createTimeBuilder_.build();
      }
      if (requestInspectConfigBuilder_ == null) {
        result.requestInspectConfig_ = requestInspectConfig_;
      } else {
        result.requestInspectConfig_ = requestInspectConfigBuilder_.build();
      }
      if (requestStorageConfigBuilder_ == null) {
        result.requestStorageConfig_ = requestStorageConfig_;
      } else {
        result.requestStorageConfig_ = requestStorageConfigBuilder_.build();
      }
      if (requestOutputConfigBuilder_ == null) {
        result.requestOutputConfig_ = requestOutputConfig_;
      } else {
        result.requestOutputConfig_ = requestOutputConfigBuilder_.build();
      }
      result.bitField0_ = to_bitField0_;
      onBuilt();
      return result;
    }

    public Builder clone() {
      return (Builder) super.clone();
    }
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return (Builder) super.setField(field, value);
    }
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return (Builder) super.clearField(field);
    }
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return (Builder) super.clearOneof(oneof);
    }
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return (Builder) super.setRepeatedField(field, index, value);
    }
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return (Builder) super.addRepeatedField(field, value);
    }
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.google.privacy.dlp.v2beta1.InspectOperationMetadata) {
        return mergeFrom((com.google.privacy.dlp.v2beta1.InspectOperationMetadata)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.google.privacy.dlp.v2beta1.InspectOperationMetadata other) {
      if (other == com.google.privacy.dlp.v2beta1.InspectOperationMetadata.getDefaultInstance()) return this;
      if (other.getProcessedBytes() != 0L) {
        setProcessedBytes(other.getProcessedBytes());
      }
      if (other.getTotalEstimatedBytes() != 0L) {
        setTotalEstimatedBytes(other.getTotalEstimatedBytes());
      }
      if (infoTypeStatsBuilder_ == null) {
        if (!other.infoTypeStats_.isEmpty()) {
          if (infoTypeStats_.isEmpty()) {
            infoTypeStats_ = other.infoTypeStats_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureInfoTypeStatsIsMutable();
            infoTypeStats_.addAll(other.infoTypeStats_);
          }
          onChanged();
        }
      } else {
        if (!other.infoTypeStats_.isEmpty()) {
          if (infoTypeStatsBuilder_.isEmpty()) {
            infoTypeStatsBuilder_.dispose();
            infoTypeStatsBuilder_ = null;
            infoTypeStats_ = other.infoTypeStats_;
            bitField0_ = (bitField0_ & ~0x00000004);
            infoTypeStatsBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getInfoTypeStatsFieldBuilder() : null;
          } else {
            infoTypeStatsBuilder_.addAllMessages(other.infoTypeStats_);
          }
        }
      }
      if (other.hasCreateTime()) {
        mergeCreateTime(other.getCreateTime());
      }
      if (other.hasRequestInspectConfig()) {
        mergeRequestInspectConfig(other.getRequestInspectConfig());
      }
      if (other.hasRequestStorageConfig()) {
        mergeRequestStorageConfig(other.getRequestStorageConfig());
      }
      if (other.hasRequestOutputConfig()) {
        mergeRequestOutputConfig(other.getRequestOutputConfig());
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

    public final boolean isInitialized() {
      return true;
    }

    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      com.google.privacy.dlp.v2beta1.InspectOperationMetadata parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.google.privacy.dlp.v2beta1.InspectOperationMetadata) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private long processedBytes_ ;
    /**
     * <pre>
     * Total size in bytes that were processed.
     * </pre>
     *
     * <code>int64 processed_bytes = 1;</code>
     */
    public long getProcessedBytes() {
      return processedBytes_;
    }
    /**
     * <pre>
     * Total size in bytes that were processed.
     * </pre>
     *
     * <code>int64 processed_bytes = 1;</code>
     */
    public Builder setProcessedBytes(long value) {
      
      processedBytes_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * Total size in bytes that were processed.
     * </pre>
     *
     * <code>int64 processed_bytes = 1;</code>
     */
    public Builder clearProcessedBytes() {
      
      processedBytes_ = 0L;
      onChanged();
      return this;
    }

    private long totalEstimatedBytes_ ;
    /**
     * <pre>
     * Estimate of the number of bytes to process.
     * </pre>
     *
     * <code>int64 total_estimated_bytes = 4;</code>
     */
    public long getTotalEstimatedBytes() {
      return totalEstimatedBytes_;
    }
    /**
     * <pre>
     * Estimate of the number of bytes to process.
     * </pre>
     *
     * <code>int64 total_estimated_bytes = 4;</code>
     */
    public Builder setTotalEstimatedBytes(long value) {
      
      totalEstimatedBytes_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * Estimate of the number of bytes to process.
     * </pre>
     *
     * <code>int64 total_estimated_bytes = 4;</code>
     */
    public Builder clearTotalEstimatedBytes() {
      
      totalEstimatedBytes_ = 0L;
      onChanged();
      return this;
    }

    private java.util.List<com.google.privacy.dlp.v2beta1.InfoTypeStatistics> infoTypeStats_ =
      java.util.Collections.emptyList();
    private void ensureInfoTypeStatsIsMutable() {
      if (!((bitField0_ & 0x00000004) == 0x00000004)) {
        infoTypeStats_ = new java.util.ArrayList<com.google.privacy.dlp.v2beta1.InfoTypeStatistics>(infoTypeStats_);
        bitField0_ |= 0x00000004;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.google.privacy.dlp.v2beta1.InfoTypeStatistics, com.google.privacy.dlp.v2beta1.InfoTypeStatistics.Builder, com.google.privacy.dlp.v2beta1.InfoTypeStatisticsOrBuilder> infoTypeStatsBuilder_;

    /**
     * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
     */
    public java.util.List<com.google.privacy.dlp.v2beta1.InfoTypeStatistics> getInfoTypeStatsList() {
      if (infoTypeStatsBuilder_ == null) {
        return java.util.Collections.unmodifiableList(infoTypeStats_);
      } else {
        return infoTypeStatsBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
     */
    public int getInfoTypeStatsCount() {
      if (infoTypeStatsBuilder_ == null) {
        return infoTypeStats_.size();
      } else {
        return infoTypeStatsBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
     */
    public com.google.privacy.dlp.v2beta1.InfoTypeStatistics getInfoTypeStats(int index) {
      if (infoTypeStatsBuilder_ == null) {
        return infoTypeStats_.get(index);
      } else {
        return infoTypeStatsBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
     */
    public Builder setInfoTypeStats(
        int index, com.google.privacy.dlp.v2beta1.InfoTypeStatistics value) {
      if (infoTypeStatsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureInfoTypeStatsIsMutable();
        infoTypeStats_.set(index, value);
        onChanged();
      } else {
        infoTypeStatsBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
     */
    public Builder setInfoTypeStats(
        int index, com.google.privacy.dlp.v2beta1.InfoTypeStatistics.Builder builderForValue) {
      if (infoTypeStatsBuilder_ == null) {
        ensureInfoTypeStatsIsMutable();
        infoTypeStats_.set(index, builderForValue.build());
        onChanged();
      } else {
        infoTypeStatsBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
     */
    public Builder addInfoTypeStats(com.google.privacy.dlp.v2beta1.InfoTypeStatistics value) {
      if (infoTypeStatsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureInfoTypeStatsIsMutable();
        infoTypeStats_.add(value);
        onChanged();
      } else {
        infoTypeStatsBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
     */
    public Builder addInfoTypeStats(
        int index, com.google.privacy.dlp.v2beta1.InfoTypeStatistics value) {
      if (infoTypeStatsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureInfoTypeStatsIsMutable();
        infoTypeStats_.add(index, value);
        onChanged();
      } else {
        infoTypeStatsBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
     */
    public Builder addInfoTypeStats(
        com.google.privacy.dlp.v2beta1.InfoTypeStatistics.Builder builderForValue) {
      if (infoTypeStatsBuilder_ == null) {
        ensureInfoTypeStatsIsMutable();
        infoTypeStats_.add(builderForValue.build());
        onChanged();
      } else {
        infoTypeStatsBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
     */
    public Builder addInfoTypeStats(
        int index, com.google.privacy.dlp.v2beta1.InfoTypeStatistics.Builder builderForValue) {
      if (infoTypeStatsBuilder_ == null) {
        ensureInfoTypeStatsIsMutable();
        infoTypeStats_.add(index, builderForValue.build());
        onChanged();
      } else {
        infoTypeStatsBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
     */
    public Builder addAllInfoTypeStats(
        java.lang.Iterable<? extends com.google.privacy.dlp.v2beta1.InfoTypeStatistics> values) {
      if (infoTypeStatsBuilder_ == null) {
        ensureInfoTypeStatsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, infoTypeStats_);
        onChanged();
      } else {
        infoTypeStatsBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
     */
    public Builder clearInfoTypeStats() {
      if (infoTypeStatsBuilder_ == null) {
        infoTypeStats_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
      } else {
        infoTypeStatsBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
     */
    public Builder removeInfoTypeStats(int index) {
      if (infoTypeStatsBuilder_ == null) {
        ensureInfoTypeStatsIsMutable();
        infoTypeStats_.remove(index);
        onChanged();
      } else {
        infoTypeStatsBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
     */
    public com.google.privacy.dlp.v2beta1.InfoTypeStatistics.Builder getInfoTypeStatsBuilder(
        int index) {
      return getInfoTypeStatsFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
     */
    public com.google.privacy.dlp.v2beta1.InfoTypeStatisticsOrBuilder getInfoTypeStatsOrBuilder(
        int index) {
      if (infoTypeStatsBuilder_ == null) {
        return infoTypeStats_.get(index);  } else {
        return infoTypeStatsBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
     */
    public java.util.List<? extends com.google.privacy.dlp.v2beta1.InfoTypeStatisticsOrBuilder> 
         getInfoTypeStatsOrBuilderList() {
      if (infoTypeStatsBuilder_ != null) {
        return infoTypeStatsBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(infoTypeStats_);
      }
    }
    /**
     * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
     */
    public com.google.privacy.dlp.v2beta1.InfoTypeStatistics.Builder addInfoTypeStatsBuilder() {
      return getInfoTypeStatsFieldBuilder().addBuilder(
          com.google.privacy.dlp.v2beta1.InfoTypeStatistics.getDefaultInstance());
    }
    /**
     * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
     */
    public com.google.privacy.dlp.v2beta1.InfoTypeStatistics.Builder addInfoTypeStatsBuilder(
        int index) {
      return getInfoTypeStatsFieldBuilder().addBuilder(
          index, com.google.privacy.dlp.v2beta1.InfoTypeStatistics.getDefaultInstance());
    }
    /**
     * <code>repeated .google.privacy.dlp.v2beta1.InfoTypeStatistics info_type_stats = 2;</code>
     */
    public java.util.List<com.google.privacy.dlp.v2beta1.InfoTypeStatistics.Builder> 
         getInfoTypeStatsBuilderList() {
      return getInfoTypeStatsFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.google.privacy.dlp.v2beta1.InfoTypeStatistics, com.google.privacy.dlp.v2beta1.InfoTypeStatistics.Builder, com.google.privacy.dlp.v2beta1.InfoTypeStatisticsOrBuilder> 
        getInfoTypeStatsFieldBuilder() {
      if (infoTypeStatsBuilder_ == null) {
        infoTypeStatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2beta1.InfoTypeStatistics, com.google.privacy.dlp.v2beta1.InfoTypeStatistics.Builder, com.google.privacy.dlp.v2beta1.InfoTypeStatisticsOrBuilder>(
                infoTypeStats_,
                ((bitField0_ & 0x00000004) == 0x00000004),
                getParentForChildren(),
                isClean());
        infoTypeStats_ = null;
      }
      return infoTypeStatsBuilder_;
    }

    private com.google.protobuf.Timestamp createTime_ = null;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
    /**
     * <pre>
     * The time which this request was started.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp create_time = 3;</code>
     */
    public boolean hasCreateTime() {
      return createTimeBuilder_ != null || createTime_ != null;
    }
    /**
     * <pre>
     * The time which this request was started.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp create_time = 3;</code>
     */
    public com.google.protobuf.Timestamp getCreateTime() {
      if (createTimeBuilder_ == null) {
        return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
      } else {
        return createTimeBuilder_.getMessage();
      }
    }
    /**
     * <pre>
     * The time which this request was started.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp create_time = 3;</code>
     */
    public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      if (createTimeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        createTime_ = value;
        onChanged();
      } else {
        createTimeBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <pre>
     * The time which this request was started.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp create_time = 3;</code>
     */
    public Builder setCreateTime(
        com.google.protobuf.Timestamp.Builder builderForValue) {
      if (createTimeBuilder_ == null) {
        createTime_ = builderForValue.build();
        onChanged();
      } else {
        createTimeBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <pre>
     * The time which this request was started.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp create_time = 3;</code>
     */
    public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
      if (createTimeBuilder_ == null) {
        if (createTime_ != null) {
          createTime_ =
            com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
        } else {
          createTime_ = value;
        }
        onChanged();
      } else {
        createTimeBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <pre>
     * The time which this request was started.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp create_time = 3;</code>
     */
    public Builder clearCreateTime() {
      if (createTimeBuilder_ == null) {
        createTime_ = null;
        onChanged();
      } else {
        createTime_ = null;
        createTimeBuilder_ = null;
      }

      return this;
    }
    /**
     * <pre>
     * The time which this request was started.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp create_time = 3;</code>
     */
    public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
      
      onChanged();
      return getCreateTimeFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * The time which this request was started.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp create_time = 3;</code>
     */
    public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      if (createTimeBuilder_ != null) {
        return createTimeBuilder_.getMessageOrBuilder();
      } else {
        return createTime_ == null ?
            com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
      }
    }
    /**
     * <pre>
     * The time which this request was started.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp create_time = 3;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
        getCreateTimeFieldBuilder() {
      if (createTimeBuilder_ == null) {
        createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                getCreateTime(),
                getParentForChildren(),
                isClean());
        createTime_ = null;
      }
      return createTimeBuilder_;
    }

    private com.google.privacy.dlp.v2beta1.InspectConfig requestInspectConfig_ = null;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2beta1.InspectConfig, com.google.privacy.dlp.v2beta1.InspectConfig.Builder, com.google.privacy.dlp.v2beta1.InspectConfigOrBuilder> requestInspectConfigBuilder_;
    /**
     * <pre>
     * The inspect config used to create the Operation.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.InspectConfig request_inspect_config = 5;</code>
     */
    public boolean hasRequestInspectConfig() {
      return requestInspectConfigBuilder_ != null || requestInspectConfig_ != null;
    }
    /**
     * <pre>
     * The inspect config used to create the Operation.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.InspectConfig request_inspect_config = 5;</code>
     */
    public com.google.privacy.dlp.v2beta1.InspectConfig getRequestInspectConfig() {
      if (requestInspectConfigBuilder_ == null) {
        return requestInspectConfig_ == null ? com.google.privacy.dlp.v2beta1.InspectConfig.getDefaultInstance() : requestInspectConfig_;
      } else {
        return requestInspectConfigBuilder_.getMessage();
      }
    }
    /**
     * <pre>
     * The inspect config used to create the Operation.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.InspectConfig request_inspect_config = 5;</code>
     */
    public Builder setRequestInspectConfig(com.google.privacy.dlp.v2beta1.InspectConfig value) {
      if (requestInspectConfigBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        requestInspectConfig_ = value;
        onChanged();
      } else {
        requestInspectConfigBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <pre>
     * The inspect config used to create the Operation.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.InspectConfig request_inspect_config = 5;</code>
     */
    public Builder setRequestInspectConfig(
        com.google.privacy.dlp.v2beta1.InspectConfig.Builder builderForValue) {
      if (requestInspectConfigBuilder_ == null) {
        requestInspectConfig_ = builderForValue.build();
        onChanged();
      } else {
        requestInspectConfigBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <pre>
     * The inspect config used to create the Operation.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.InspectConfig request_inspect_config = 5;</code>
     */
    public Builder mergeRequestInspectConfig(com.google.privacy.dlp.v2beta1.InspectConfig value) {
      if (requestInspectConfigBuilder_ == null) {
        if (requestInspectConfig_ != null) {
          requestInspectConfig_ =
            com.google.privacy.dlp.v2beta1.InspectConfig.newBuilder(requestInspectConfig_).mergeFrom(value).buildPartial();
        } else {
          requestInspectConfig_ = value;
        }
        onChanged();
      } else {
        requestInspectConfigBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <pre>
     * The inspect config used to create the Operation.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.InspectConfig request_inspect_config = 5;</code>
     */
    public Builder clearRequestInspectConfig() {
      if (requestInspectConfigBuilder_ == null) {
        requestInspectConfig_ = null;
        onChanged();
      } else {
        requestInspectConfig_ = null;
        requestInspectConfigBuilder_ = null;
      }

      return this;
    }
    /**
     * <pre>
     * The inspect config used to create the Operation.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.InspectConfig request_inspect_config = 5;</code>
     */
    public com.google.privacy.dlp.v2beta1.InspectConfig.Builder getRequestInspectConfigBuilder() {
      
      onChanged();
      return getRequestInspectConfigFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * The inspect config used to create the Operation.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.InspectConfig request_inspect_config = 5;</code>
     */
    public com.google.privacy.dlp.v2beta1.InspectConfigOrBuilder getRequestInspectConfigOrBuilder() {
      if (requestInspectConfigBuilder_ != null) {
        return requestInspectConfigBuilder_.getMessageOrBuilder();
      } else {
        return requestInspectConfig_ == null ?
            com.google.privacy.dlp.v2beta1.InspectConfig.getDefaultInstance() : requestInspectConfig_;
      }
    }
    /**
     * <pre>
     * The inspect config used to create the Operation.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.InspectConfig request_inspect_config = 5;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2beta1.InspectConfig, com.google.privacy.dlp.v2beta1.InspectConfig.Builder, com.google.privacy.dlp.v2beta1.InspectConfigOrBuilder> 
        getRequestInspectConfigFieldBuilder() {
      if (requestInspectConfigBuilder_ == null) {
        requestInspectConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.privacy.dlp.v2beta1.InspectConfig, com.google.privacy.dlp.v2beta1.InspectConfig.Builder, com.google.privacy.dlp.v2beta1.InspectConfigOrBuilder>(
                getRequestInspectConfig(),
                getParentForChildren(),
                isClean());
        requestInspectConfig_ = null;
      }
      return requestInspectConfigBuilder_;
    }

    private com.google.privacy.dlp.v2beta1.StorageConfig requestStorageConfig_ = null;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2beta1.StorageConfig, com.google.privacy.dlp.v2beta1.StorageConfig.Builder, com.google.privacy.dlp.v2beta1.StorageConfigOrBuilder> requestStorageConfigBuilder_;
    /**
     * <pre>
     * The storage config used to create the Operation.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.StorageConfig request_storage_config = 6;</code>
     */
    public boolean hasRequestStorageConfig() {
      return requestStorageConfigBuilder_ != null || requestStorageConfig_ != null;
    }
    /**
     * <pre>
     * The storage config used to create the Operation.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.StorageConfig request_storage_config = 6;</code>
     */
    public com.google.privacy.dlp.v2beta1.StorageConfig getRequestStorageConfig() {
      if (requestStorageConfigBuilder_ == null) {
        return requestStorageConfig_ == null ? com.google.privacy.dlp.v2beta1.StorageConfig.getDefaultInstance() : requestStorageConfig_;
      } else {
        return requestStorageConfigBuilder_.getMessage();
      }
    }
    /**
     * <pre>
     * The storage config used to create the Operation.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.StorageConfig request_storage_config = 6;</code>
     */
    public Builder setRequestStorageConfig(com.google.privacy.dlp.v2beta1.StorageConfig value) {
      if (requestStorageConfigBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        requestStorageConfig_ = value;
        onChanged();
      } else {
        requestStorageConfigBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <pre>
     * The storage config used to create the Operation.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.StorageConfig request_storage_config = 6;</code>
     */
    public Builder setRequestStorageConfig(
        com.google.privacy.dlp.v2beta1.StorageConfig.Builder builderForValue) {
      if (requestStorageConfigBuilder_ == null) {
        requestStorageConfig_ = builderForValue.build();
        onChanged();
      } else {
        requestStorageConfigBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <pre>
     * The storage config used to create the Operation.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.StorageConfig request_storage_config = 6;</code>
     */
    public Builder mergeRequestStorageConfig(com.google.privacy.dlp.v2beta1.StorageConfig value) {
      if (requestStorageConfigBuilder_ == null) {
        if (requestStorageConfig_ != null) {
          requestStorageConfig_ =
            com.google.privacy.dlp.v2beta1.StorageConfig.newBuilder(requestStorageConfig_).mergeFrom(value).buildPartial();
        } else {
          requestStorageConfig_ = value;
        }
        onChanged();
      } else {
        requestStorageConfigBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <pre>
     * The storage config used to create the Operation.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.StorageConfig request_storage_config = 6;</code>
     */
    public Builder clearRequestStorageConfig() {
      if (requestStorageConfigBuilder_ == null) {
        requestStorageConfig_ = null;
        onChanged();
      } else {
        requestStorageConfig_ = null;
        requestStorageConfigBuilder_ = null;
      }

      return this;
    }
    /**
     * <pre>
     * The storage config used to create the Operation.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.StorageConfig request_storage_config = 6;</code>
     */
    public com.google.privacy.dlp.v2beta1.StorageConfig.Builder getRequestStorageConfigBuilder() {
      
      onChanged();
      return getRequestStorageConfigFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * The storage config used to create the Operation.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.StorageConfig request_storage_config = 6;</code>
     */
    public com.google.privacy.dlp.v2beta1.StorageConfigOrBuilder getRequestStorageConfigOrBuilder() {
      if (requestStorageConfigBuilder_ != null) {
        return requestStorageConfigBuilder_.getMessageOrBuilder();
      } else {
        return requestStorageConfig_ == null ?
            com.google.privacy.dlp.v2beta1.StorageConfig.getDefaultInstance() : requestStorageConfig_;
      }
    }
    /**
     * <pre>
     * The storage config used to create the Operation.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.StorageConfig request_storage_config = 6;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2beta1.StorageConfig, com.google.privacy.dlp.v2beta1.StorageConfig.Builder, com.google.privacy.dlp.v2beta1.StorageConfigOrBuilder> 
        getRequestStorageConfigFieldBuilder() {
      if (requestStorageConfigBuilder_ == null) {
        requestStorageConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.privacy.dlp.v2beta1.StorageConfig, com.google.privacy.dlp.v2beta1.StorageConfig.Builder, com.google.privacy.dlp.v2beta1.StorageConfigOrBuilder>(
                getRequestStorageConfig(),
                getParentForChildren(),
                isClean());
        requestStorageConfig_ = null;
      }
      return requestStorageConfigBuilder_;
    }

    private com.google.privacy.dlp.v2beta1.OutputStorageConfig requestOutputConfig_ = null;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2beta1.OutputStorageConfig, com.google.privacy.dlp.v2beta1.OutputStorageConfig.Builder, com.google.privacy.dlp.v2beta1.OutputStorageConfigOrBuilder> requestOutputConfigBuilder_;
    /**
     * <pre>
     * Optional location to store findings.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.OutputStorageConfig request_output_config = 7;</code>
     */
    public boolean hasRequestOutputConfig() {
      return requestOutputConfigBuilder_ != null || requestOutputConfig_ != null;
    }
    /**
     * <pre>
     * Optional location to store findings.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.OutputStorageConfig request_output_config = 7;</code>
     */
    public com.google.privacy.dlp.v2beta1.OutputStorageConfig getRequestOutputConfig() {
      if (requestOutputConfigBuilder_ == null) {
        return requestOutputConfig_ == null ? com.google.privacy.dlp.v2beta1.OutputStorageConfig.getDefaultInstance() : requestOutputConfig_;
      } else {
        return requestOutputConfigBuilder_.getMessage();
      }
    }
    /**
     * <pre>
     * Optional location to store findings.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.OutputStorageConfig request_output_config = 7;</code>
     */
    public Builder setRequestOutputConfig(com.google.privacy.dlp.v2beta1.OutputStorageConfig value) {
      if (requestOutputConfigBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        requestOutputConfig_ = value;
        onChanged();
      } else {
        requestOutputConfigBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <pre>
     * Optional location to store findings.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.OutputStorageConfig request_output_config = 7;</code>
     */
    public Builder setRequestOutputConfig(
        com.google.privacy.dlp.v2beta1.OutputStorageConfig.Builder builderForValue) {
      if (requestOutputConfigBuilder_ == null) {
        requestOutputConfig_ = builderForValue.build();
        onChanged();
      } else {
        requestOutputConfigBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <pre>
     * Optional location to store findings.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.OutputStorageConfig request_output_config = 7;</code>
     */
    public Builder mergeRequestOutputConfig(com.google.privacy.dlp.v2beta1.OutputStorageConfig value) {
      if (requestOutputConfigBuilder_ == null) {
        if (requestOutputConfig_ != null) {
          requestOutputConfig_ =
            com.google.privacy.dlp.v2beta1.OutputStorageConfig.newBuilder(requestOutputConfig_).mergeFrom(value).buildPartial();
        } else {
          requestOutputConfig_ = value;
        }
        onChanged();
      } else {
        requestOutputConfigBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <pre>
     * Optional location to store findings.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.OutputStorageConfig request_output_config = 7;</code>
     */
    public Builder clearRequestOutputConfig() {
      if (requestOutputConfigBuilder_ == null) {
        requestOutputConfig_ = null;
        onChanged();
      } else {
        requestOutputConfig_ = null;
        requestOutputConfigBuilder_ = null;
      }

      return this;
    }
    /**
     * <pre>
     * Optional location to store findings.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.OutputStorageConfig request_output_config = 7;</code>
     */
    public com.google.privacy.dlp.v2beta1.OutputStorageConfig.Builder getRequestOutputConfigBuilder() {
      
      onChanged();
      return getRequestOutputConfigFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * Optional location to store findings.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.OutputStorageConfig request_output_config = 7;</code>
     */
    public com.google.privacy.dlp.v2beta1.OutputStorageConfigOrBuilder getRequestOutputConfigOrBuilder() {
      if (requestOutputConfigBuilder_ != null) {
        return requestOutputConfigBuilder_.getMessageOrBuilder();
      } else {
        return requestOutputConfig_ == null ?
            com.google.privacy.dlp.v2beta1.OutputStorageConfig.getDefaultInstance() : requestOutputConfig_;
      }
    }
    /**
     * <pre>
     * Optional location to store findings.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.OutputStorageConfig request_output_config = 7;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2beta1.OutputStorageConfig, com.google.privacy.dlp.v2beta1.OutputStorageConfig.Builder, com.google.privacy.dlp.v2beta1.OutputStorageConfigOrBuilder> 
        getRequestOutputConfigFieldBuilder() {
      if (requestOutputConfigBuilder_ == null) {
        requestOutputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.privacy.dlp.v2beta1.OutputStorageConfig, com.google.privacy.dlp.v2beta1.OutputStorageConfig.Builder, com.google.privacy.dlp.v2beta1.OutputStorageConfigOrBuilder>(
                getRequestOutputConfig(),
                getParentForChildren(),
                isClean());
        requestOutputConfig_ = null;
      }
      return requestOutputConfigBuilder_;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFieldsProto3(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2beta1.InspectOperationMetadata)
  }

  // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2beta1.InspectOperationMetadata)
  private static final com.google.privacy.dlp.v2beta1.InspectOperationMetadata DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.google.privacy.dlp.v2beta1.InspectOperationMetadata();
  }

  public static com.google.privacy.dlp.v2beta1.InspectOperationMetadata getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<InspectOperationMetadata>
      PARSER = new com.google.protobuf.AbstractParser<InspectOperationMetadata>() {
    public InspectOperationMetadata parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new InspectOperationMetadata(input, extensionRegistry);
    }
  };

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

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

  public com.google.privacy.dlp.v2beta1.InspectOperationMetadata getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

