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

package com.google.privacy.dlp.v2;

/**
 *

 * Result of a risk analysis operation request.
 *

 *
 * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails}
 */
public  final class AnalyzeDataSourceRiskDetails extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails)
    AnalyzeDataSourceRiskDetailsOrBuilder {
private static final long serialVersionUID = 0L;
  // Use AnalyzeDataSourceRiskDetails.newBuilder() to construct.
  private AnalyzeDataSourceRiskDetails(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private AnalyzeDataSourceRiskDetails() {
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private AnalyzeDataSourceRiskDetails(
      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 10: {
            com.google.privacy.dlp.v2.PrivacyMetric.Builder subBuilder = null;
            if (requestedPrivacyMetric_ != null) {
              subBuilder = requestedPrivacyMetric_.toBuilder();
            }
            requestedPrivacyMetric_ = input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(requestedPrivacyMetric_);
              requestedPrivacyMetric_ = subBuilder.buildPartial();
            }

            break;
          }
          case 18: {
            com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null;
            if (requestedSourceTable_ != null) {
              subBuilder = requestedSourceTable_.toBuilder();
            }
            requestedSourceTable_ = input.readMessage(com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(requestedSourceTable_);
              requestedSourceTable_ = subBuilder.buildPartial();
            }

            break;
          }
          case 26: {
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder subBuilder = null;
            if (resultCase_ == 3) {
              subBuilder = ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_).toBuilder();
            }
            result_ =
                input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_);
              result_ = subBuilder.buildPartial();
            }
            resultCase_ = 3;
            break;
          }
          case 34: {
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder subBuilder = null;
            if (resultCase_ == 4) {
              subBuilder = ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_).toBuilder();
            }
            result_ =
                input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_);
              result_ = subBuilder.buildPartial();
            }
            resultCase_ = 4;
            break;
          }
          case 42: {
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder subBuilder = null;
            if (resultCase_ == 5) {
              subBuilder = ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_).toBuilder();
            }
            result_ =
                input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_);
              result_ = subBuilder.buildPartial();
            }
            resultCase_ = 5;
            break;
          }
          case 50: {
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder subBuilder = null;
            if (resultCase_ == 6) {
              subBuilder = ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_).toBuilder();
            }
            result_ =
                input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_);
              result_ = subBuilder.buildPartial();
            }
            resultCase_ = 6;
            break;
          }
          case 58: {
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder subBuilder = null;
            if (resultCase_ == 7) {
              subBuilder = ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_).toBuilder();
            }
            result_ =
                input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_);
              result_ = subBuilder.buildPartial();
            }
            resultCase_ = 7;
            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 {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder.class);
  }

  public interface NumericalStatsResultOrBuilder extends
      // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult)
      com.google.protobuf.MessageOrBuilder {

    /**
     *

     * Minimum value appearing in the column.
     *

     *
     * .google.privacy.dlp.v2.Value min_value = 1;
     */
    boolean hasMinValue();
    /**
     *

     * Minimum value appearing in the column.
     *

     *
     * .google.privacy.dlp.v2.Value min_value = 1;
     */
    com.google.privacy.dlp.v2.Value getMinValue();
    /**
     *

     * Minimum value appearing in the column.
     *

     *
     * .google.privacy.dlp.v2.Value min_value = 1;
     */
    com.google.privacy.dlp.v2.ValueOrBuilder getMinValueOrBuilder();

    /**
     *

     * Maximum value appearing in the column.
     *

     *
     * .google.privacy.dlp.v2.Value max_value = 2;
     */
    boolean hasMaxValue();
    /**
     *

     * Maximum value appearing in the column.
     *

     *
     * .google.privacy.dlp.v2.Value max_value = 2;
     */
    com.google.privacy.dlp.v2.Value getMaxValue();
    /**
     *

     * Maximum value appearing in the column.
     *

     *
     * .google.privacy.dlp.v2.Value max_value = 2;
     */
    com.google.privacy.dlp.v2.ValueOrBuilder getMaxValueOrBuilder();

    /**
     *

     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     *

     *
     * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
     */
    java.util.List<com.google.privacy.dlp.v2.Value>
        getQuantileValuesList();
    /**
     *

     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     *

     *
     * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
     */
    com.google.privacy.dlp.v2.Value getQuantileValues(int index);
    /**
     *

     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     *

     *
     * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
     */
    int getQuantileValuesCount();
    /**
     *

     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     *

     *
     * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
     */
    java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
        getQuantileValuesOrBuilderList();
    /**
     *

     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     *

     *
     * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
     */
    com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(
        int index);
  }
  /**
   *

   * Result of the numerical stats computation.
   *

   *
   * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult}
   */
  public  static final class NumericalStatsResult extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult)
      NumericalStatsResultOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use NumericalStatsResult.newBuilder() to construct.
    private NumericalStatsResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private NumericalStatsResult() {
      quantileValues_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private NumericalStatsResult(
        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 10: {
              com.google.privacy.dlp.v2.Value.Builder subBuilder = null;
              if (minValue_ != null) {
                subBuilder = minValue_.toBuilder();
              }
              minValue_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(minValue_);
                minValue_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              com.google.privacy.dlp.v2.Value.Builder subBuilder = null;
              if (maxValue_ != null) {
                subBuilder = maxValue_.toBuilder();
              }
              maxValue_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(maxValue_);
                maxValue_ = subBuilder.buildPartial();
              }

              break;
            }
            case 34: {
              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
                quantileValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2.Value>();
                mutable_bitField0_ |= 0x00000004;
              }
              quantileValues_.add(
                  input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry));
              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)) {
          quantileValues_ = java.util.Collections.unmodifiableList(quantileValues_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder.class);
    }

    private int bitField0_;
    public static final int MIN_VALUE_FIELD_NUMBER = 1;
    private com.google.privacy.dlp.v2.Value minValue_;
    /**
     *

     * Minimum value appearing in the column.
     *

     *
     * .google.privacy.dlp.v2.Value min_value = 1;
     */
    public boolean hasMinValue() {
      return minValue_ != null;
    }
    /**
     *

     * Minimum value appearing in the column.
     *

     *
     * .google.privacy.dlp.v2.Value min_value = 1;
     */
    public com.google.privacy.dlp.v2.Value getMinValue() {
      return minValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : minValue_;
    }
    /**
     *

     * Minimum value appearing in the column.
     *

     *
     * .google.privacy.dlp.v2.Value min_value = 1;
     */
    public com.google.privacy.dlp.v2.ValueOrBuilder getMinValueOrBuilder() {
      return getMinValue();
    }

    public static final int MAX_VALUE_FIELD_NUMBER = 2;
    private com.google.privacy.dlp.v2.Value maxValue_;
    /**
     *

     * Maximum value appearing in the column.
     *

     *
     * .google.privacy.dlp.v2.Value max_value = 2;
     */
    public boolean hasMaxValue() {
      return maxValue_ != null;
    }
    /**
     *

     * Maximum value appearing in the column.
     *

     *
     * .google.privacy.dlp.v2.Value max_value = 2;
     */
    public com.google.privacy.dlp.v2.Value getMaxValue() {
      return maxValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : maxValue_;
    }
    /**
     *

     * Maximum value appearing in the column.
     *

     *
     * .google.privacy.dlp.v2.Value max_value = 2;
     */
    public com.google.privacy.dlp.v2.ValueOrBuilder getMaxValueOrBuilder() {
      return getMaxValue();
    }

    public static final int QUANTILE_VALUES_FIELD_NUMBER = 4;
    private java.util.List<com.google.privacy.dlp.v2.Value> quantileValues_;
    /**
     *

     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     *

     *
     * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
     */
    public java.util.List<com.google.privacy.dlp.v2.Value> getQuantileValuesList() {
      return quantileValues_;
    }
    /**
     *

     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     *

     *
     * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
     */
    public java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
        getQuantileValuesOrBuilderList() {
      return quantileValues_;
    }
    /**
     *

     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     *

     *
     * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
     */
    public int getQuantileValuesCount() {
      return quantileValues_.size();
    }
    /**
     *

     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     *

     *
     * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
     */
    public com.google.privacy.dlp.v2.Value getQuantileValues(int index) {
      return quantileValues_.get(index);
    }
    /**
     *

     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     *

     *
     * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
     */
    public com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(
        int index) {
      return quantileValues_.get(index);
    }

    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 (minValue_ != null) {
        output.writeMessage(1, getMinValue());
      }
      if (maxValue_ != null) {
        output.writeMessage(2, getMaxValue());
      }
      for (int i = 0; i < quantileValues_.size(); i++) {
        output.writeMessage(4, quantileValues_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (minValue_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getMinValue());
      }
      if (maxValue_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getMaxValue());
      }
      for (int i = 0; i < quantileValues_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, quantileValues_.get(i));
      }
      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.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult)) {
        return super.equals(obj);
      }
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) obj;

      boolean result = true;
      result = result && (hasMinValue() == other.hasMinValue());
      if (hasMinValue()) {
        result = result && getMinValue()
            .equals(other.getMinValue());
      }
      result = result && (hasMaxValue() == other.hasMaxValue());
      if (hasMaxValue()) {
        result = result && getMaxValue()
            .equals(other.getMaxValue());
      }
      result = result && getQuantileValuesList()
          .equals(other.getQuantileValuesList());
      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();
      if (hasMinValue()) {
        hash = (37 * hash) + MIN_VALUE_FIELD_NUMBER;
        hash = (53 * hash) + getMinValue().hashCode();
      }
      if (hasMaxValue()) {
        hash = (37 * hash) + MAX_VALUE_FIELD_NUMBER;
        hash = (53 * hash) + getMaxValue().hashCode();
      }
      if (getQuantileValuesCount() > 0) {
        hash = (37 * hash) + QUANTILE_VALUES_FIELD_NUMBER;
        hash = (53 * hash) + getQuantileValuesList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

     * Result of the numerical stats computation.
     *

     *
     * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult)
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder.class);
      }

      // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getQuantileValuesFieldBuilder();
        }
      }
      public Builder clear() {
        super.clear();
        if (minValueBuilder_ == null) {
          minValue_ = null;
        } else {
          minValue_ = null;
          minValueBuilder_ = null;
        }
        if (maxValueBuilder_ == null) {
          maxValue_ = null;
        } else {
          maxValue_ = null;
          maxValueBuilder_ = null;
        }
        if (quantileValuesBuilder_ == null) {
          quantileValues_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          quantileValuesBuilder_.clear();
        }
        return this;
      }

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

      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult getDefaultInstanceForType() {
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance();
      }

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

      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult buildPartial() {
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (minValueBuilder_ == null) {
          result.minValue_ = minValue_;
        } else {
          result.minValue_ = minValueBuilder_.build();
        }
        if (maxValueBuilder_ == null) {
          result.maxValue_ = maxValue_;
        } else {
          result.maxValue_ = maxValueBuilder_.build();
        }
        if (quantileValuesBuilder_ == null) {
          if (((bitField0_ & 0x00000004) == 0x00000004)) {
            quantileValues_ = java.util.Collections.unmodifiableList(quantileValues_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.quantileValues_ = quantileValues_;
        } else {
          result.quantileValues_ = quantileValuesBuilder_.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.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) {
          return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult other) {
        if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance()) return this;
        if (other.hasMinValue()) {
          mergeMinValue(other.getMinValue());
        }
        if (other.hasMaxValue()) {
          mergeMaxValue(other.getMaxValue());
        }
        if (quantileValuesBuilder_ == null) {
          if (!other.quantileValues_.isEmpty()) {
            if (quantileValues_.isEmpty()) {
              quantileValues_ = other.quantileValues_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensureQuantileValuesIsMutable();
              quantileValues_.addAll(other.quantileValues_);
            }
            onChanged();
          }
        } else {
          if (!other.quantileValues_.isEmpty()) {
            if (quantileValuesBuilder_.isEmpty()) {
              quantileValuesBuilder_.dispose();
              quantileValuesBuilder_ = null;
              quantileValues_ = other.quantileValues_;
              bitField0_ = (bitField0_ & ~0x00000004);
              quantileValuesBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getQuantileValuesFieldBuilder() : null;
            } else {
              quantileValuesBuilder_.addAllMessages(other.quantileValues_);
            }
          }
        }
        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.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private com.google.privacy.dlp.v2.Value minValue_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> minValueBuilder_;
      /**
       *

       * Minimum value appearing in the column.
       *

       *
       * .google.privacy.dlp.v2.Value min_value = 1;
       */
      public boolean hasMinValue() {
        return minValueBuilder_ != null || minValue_ != null;
      }
      /**
       *

       * Minimum value appearing in the column.
       *

       *
       * .google.privacy.dlp.v2.Value min_value = 1;
       */
      public com.google.privacy.dlp.v2.Value getMinValue() {
        if (minValueBuilder_ == null) {
          return minValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : minValue_;
        } else {
          return minValueBuilder_.getMessage();
        }
      }
      /**
       *

       * Minimum value appearing in the column.
       *

       *
       * .google.privacy.dlp.v2.Value min_value = 1;
       */
      public Builder setMinValue(com.google.privacy.dlp.v2.Value value) {
        if (minValueBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          minValue_ = value;
          onChanged();
        } else {
          minValueBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       *

       * Minimum value appearing in the column.
       *

       *
       * .google.privacy.dlp.v2.Value min_value = 1;
       */
      public Builder setMinValue(
          com.google.privacy.dlp.v2.Value.Builder builderForValue) {
        if (minValueBuilder_ == null) {
          minValue_ = builderForValue.build();
          onChanged();
        } else {
          minValueBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       *

       * Minimum value appearing in the column.
       *

       *
       * .google.privacy.dlp.v2.Value min_value = 1;
       */
      public Builder mergeMinValue(com.google.privacy.dlp.v2.Value value) {
        if (minValueBuilder_ == null) {
          if (minValue_ != null) {
            minValue_ =
              com.google.privacy.dlp.v2.Value.newBuilder(minValue_).mergeFrom(value).buildPartial();
          } else {
            minValue_ = value;
          }
          onChanged();
        } else {
          minValueBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       *

       * Minimum value appearing in the column.
       *

       *
       * .google.privacy.dlp.v2.Value min_value = 1;
       */
      public Builder clearMinValue() {
        if (minValueBuilder_ == null) {
          minValue_ = null;
          onChanged();
        } else {
          minValue_ = null;
          minValueBuilder_ = null;
        }

        return this;
      }
      /**
       *

       * Minimum value appearing in the column.
       *

       *
       * .google.privacy.dlp.v2.Value min_value = 1;
       */
      public com.google.privacy.dlp.v2.Value.Builder getMinValueBuilder() {

        onChanged();
        return getMinValueFieldBuilder().getBuilder();
      }
      /**
       *

       * Minimum value appearing in the column.
       *

       *
       * .google.privacy.dlp.v2.Value min_value = 1;
       */
      public com.google.privacy.dlp.v2.ValueOrBuilder getMinValueOrBuilder() {
        if (minValueBuilder_ != null) {
          return minValueBuilder_.getMessageOrBuilder();
        } else {
          return minValue_ == null ?
              com.google.privacy.dlp.v2.Value.getDefaultInstance() : minValue_;
        }
      }
      /**
       *

       * Minimum value appearing in the column.
       *

       *
       * .google.privacy.dlp.v2.Value min_value = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>
          getMinValueFieldBuilder() {
        if (minValueBuilder_ == null) {
          minValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>(
                  getMinValue(),
                  getParentForChildren(),
                  isClean());
          minValue_ = null;
        }
        return minValueBuilder_;
      }

      private com.google.privacy.dlp.v2.Value maxValue_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> maxValueBuilder_;
      /**
       *

       * Maximum value appearing in the column.
       *

       *
       * .google.privacy.dlp.v2.Value max_value = 2;
       */
      public boolean hasMaxValue() {
        return maxValueBuilder_ != null || maxValue_ != null;
      }
      /**
       *

       * Maximum value appearing in the column.
       *

       *
       * .google.privacy.dlp.v2.Value max_value = 2;
       */
      public com.google.privacy.dlp.v2.Value getMaxValue() {
        if (maxValueBuilder_ == null) {
          return maxValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : maxValue_;
        } else {
          return maxValueBuilder_.getMessage();
        }
      }
      /**
       *

       * Maximum value appearing in the column.
       *

       *
       * .google.privacy.dlp.v2.Value max_value = 2;
       */
      public Builder setMaxValue(com.google.privacy.dlp.v2.Value value) {
        if (maxValueBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          maxValue_ = value;
          onChanged();
        } else {
          maxValueBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       *

       * Maximum value appearing in the column.
       *

       *
       * .google.privacy.dlp.v2.Value max_value = 2;
       */
      public Builder setMaxValue(
          com.google.privacy.dlp.v2.Value.Builder builderForValue) {
        if (maxValueBuilder_ == null) {
          maxValue_ = builderForValue.build();
          onChanged();
        } else {
          maxValueBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       *

       * Maximum value appearing in the column.
       *

       *
       * .google.privacy.dlp.v2.Value max_value = 2;
       */
      public Builder mergeMaxValue(com.google.privacy.dlp.v2.Value value) {
        if (maxValueBuilder_ == null) {
          if (maxValue_ != null) {
            maxValue_ =
              com.google.privacy.dlp.v2.Value.newBuilder(maxValue_).mergeFrom(value).buildPartial();
          } else {
            maxValue_ = value;
          }
          onChanged();
        } else {
          maxValueBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       *

       * Maximum value appearing in the column.
       *

       *
       * .google.privacy.dlp.v2.Value max_value = 2;
       */
      public Builder clearMaxValue() {
        if (maxValueBuilder_ == null) {
          maxValue_ = null;
          onChanged();
        } else {
          maxValue_ = null;
          maxValueBuilder_ = null;
        }

        return this;
      }
      /**
       *

       * Maximum value appearing in the column.
       *

       *
       * .google.privacy.dlp.v2.Value max_value = 2;
       */
      public com.google.privacy.dlp.v2.Value.Builder getMaxValueBuilder() {

        onChanged();
        return getMaxValueFieldBuilder().getBuilder();
      }
      /**
       *

       * Maximum value appearing in the column.
       *

       *
       * .google.privacy.dlp.v2.Value max_value = 2;
       */
      public com.google.privacy.dlp.v2.ValueOrBuilder getMaxValueOrBuilder() {
        if (maxValueBuilder_ != null) {
          return maxValueBuilder_.getMessageOrBuilder();
        } else {
          return maxValue_ == null ?
              com.google.privacy.dlp.v2.Value.getDefaultInstance() : maxValue_;
        }
      }
      /**
       *

       * Maximum value appearing in the column.
       *

       *
       * .google.privacy.dlp.v2.Value max_value = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>
          getMaxValueFieldBuilder() {
        if (maxValueBuilder_ == null) {
          maxValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>(
                  getMaxValue(),
                  getParentForChildren(),
                  isClean());
          maxValue_ = null;
        }
        return maxValueBuilder_;
      }

      private java.util.List<com.google.privacy.dlp.v2.Value> quantileValues_ =
        java.util.Collections.emptyList();
      private void ensureQuantileValuesIsMutable() {
        if (!((bitField0_ & 0x00000004) == 0x00000004)) {
          quantileValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2.Value>(quantileValues_);
          bitField0_ |= 0x00000004;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> quantileValuesBuilder_;

      /**
       *

       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
       */
      public java.util.List<com.google.privacy.dlp.v2.Value> getQuantileValuesList() {
        if (quantileValuesBuilder_ == null) {
          return java.util.Collections.unmodifiableList(quantileValues_);
        } else {
          return quantileValuesBuilder_.getMessageList();
        }
      }
      /**
       *

       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
       */
      public int getQuantileValuesCount() {
        if (quantileValuesBuilder_ == null) {
          return quantileValues_.size();
        } else {
          return quantileValuesBuilder_.getCount();
        }
      }
      /**
       *

       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
       */
      public com.google.privacy.dlp.v2.Value getQuantileValues(int index) {
        if (quantileValuesBuilder_ == null) {
          return quantileValues_.get(index);
        } else {
          return quantileValuesBuilder_.getMessage(index);
        }
      }
      /**
       *

       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
       */
      public Builder setQuantileValues(
          int index, com.google.privacy.dlp.v2.Value value) {
        if (quantileValuesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureQuantileValuesIsMutable();
          quantileValues_.set(index, value);
          onChanged();
        } else {
          quantileValuesBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       *

       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
       */
      public Builder setQuantileValues(
          int index, com.google.privacy.dlp.v2.Value.Builder builderForValue) {
        if (quantileValuesBuilder_ == null) {
          ensureQuantileValuesIsMutable();
          quantileValues_.set(index, builderForValue.build());
          onChanged();
        } else {
          quantileValuesBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       *

       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
       */
      public Builder addQuantileValues(com.google.privacy.dlp.v2.Value value) {
        if (quantileValuesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureQuantileValuesIsMutable();
          quantileValues_.add(value);
          onChanged();
        } else {
          quantileValuesBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       *

       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
       */
      public Builder addQuantileValues(
          int index, com.google.privacy.dlp.v2.Value value) {
        if (quantileValuesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureQuantileValuesIsMutable();
          quantileValues_.add(index, value);
          onChanged();
        } else {
          quantileValuesBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       *

       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
       */
      public Builder addQuantileValues(
          com.google.privacy.dlp.v2.Value.Builder builderForValue) {
        if (quantileValuesBuilder_ == null) {
          ensureQuantileValuesIsMutable();
          quantileValues_.add(builderForValue.build());
          onChanged();
        } else {
          quantileValuesBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       *

       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
       */
      public Builder addQuantileValues(
          int index, com.google.privacy.dlp.v2.Value.Builder builderForValue) {
        if (quantileValuesBuilder_ == null) {
          ensureQuantileValuesIsMutable();
          quantileValues_.add(index, builderForValue.build());
          onChanged();
        } else {
          quantileValuesBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       *

       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
       */
      public Builder addAllQuantileValues(
          java.lang.Iterable<? extends com.google.privacy.dlp.v2.Value> values) {
        if (quantileValuesBuilder_ == null) {
          ensureQuantileValuesIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, quantileValues_);
          onChanged();
        } else {
          quantileValuesBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       *

       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
       */
      public Builder clearQuantileValues() {
        if (quantileValuesBuilder_ == null) {
          quantileValues_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
        } else {
          quantileValuesBuilder_.clear();
        }
        return this;
      }
      /**
       *

       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
       */
      public Builder removeQuantileValues(int index) {
        if (quantileValuesBuilder_ == null) {
          ensureQuantileValuesIsMutable();
          quantileValues_.remove(index);
          onChanged();
        } else {
          quantileValuesBuilder_.remove(index);
        }
        return this;
      }
      /**
       *

       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
       */
      public com.google.privacy.dlp.v2.Value.Builder getQuantileValuesBuilder(
          int index) {
        return getQuantileValuesFieldBuilder().getBuilder(index);
      }
      /**
       *

       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
       */
      public com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(
          int index) {
        if (quantileValuesBuilder_ == null) {
          return quantileValues_.get(index);  } else {
          return quantileValuesBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       *

       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
       */
      public java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
           getQuantileValuesOrBuilderList() {
        if (quantileValuesBuilder_ != null) {
          return quantileValuesBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(quantileValues_);
        }
      }
      /**
       *

       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
       */
      public com.google.privacy.dlp.v2.Value.Builder addQuantileValuesBuilder() {
        return getQuantileValuesFieldBuilder().addBuilder(
            com.google.privacy.dlp.v2.Value.getDefaultInstance());
      }
      /**
       *

       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
       */
      public com.google.privacy.dlp.v2.Value.Builder addQuantileValuesBuilder(
          int index) {
        return getQuantileValuesFieldBuilder().addBuilder(
            index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
      }
      /**
       *

       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
       */
      public java.util.List<com.google.privacy.dlp.v2.Value.Builder>
           getQuantileValuesBuilderList() {
        return getQuantileValuesFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>
          getQuantileValuesFieldBuilder() {
        if (quantileValuesBuilder_ == null) {
          quantileValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>(
                  quantileValues_,
                  ((bitField0_ & 0x00000004) == 0x00000004),
                  getParentForChildren(),
                  isClean());
          quantileValues_ = null;
        }
        return quantileValuesBuilder_;
      }
      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.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult)
    }

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

    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface CategoricalStatsResultOrBuilder extends
      // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult)
      com.google.protobuf.MessageOrBuilder {

    /**
     *

     * Histogram of value frequencies in the column.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     */
    java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket>
        getValueFrequencyHistogramBucketsList();
    /**
     *

     * Histogram of value frequencies in the column.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     */
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getValueFrequencyHistogramBuckets(int index);
    /**
     *

     * Histogram of value frequencies in the column.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     */
    int getValueFrequencyHistogramBucketsCount();
    /**
     *

     * Histogram of value frequencies in the column.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     */
    java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder>
        getValueFrequencyHistogramBucketsOrBuilderList();
    /**
     *

     * Histogram of value frequencies in the column.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     */
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder getValueFrequencyHistogramBucketsOrBuilder(
        int index);
  }
  /**
   *

   * Result of the categorical stats computation.
   *

   *
   * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult}
   */
  public  static final class CategoricalStatsResult extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult)
      CategoricalStatsResultOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CategoricalStatsResult.newBuilder() to construct.
    private CategoricalStatsResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private CategoricalStatsResult() {
      valueFrequencyHistogramBuckets_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CategoricalStatsResult(
        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 42: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                valueFrequencyHistogramBuckets_ = new java.util.ArrayList<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket>();
                mutable_bitField0_ |= 0x00000001;
              }
              valueFrequencyHistogramBuckets_.add(
                  input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.parser(), extensionRegistry));
              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_ & 0x00000001) == 0x00000001)) {
          valueFrequencyHistogramBuckets_ = java.util.Collections.unmodifiableList(valueFrequencyHistogramBuckets_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder.class);
    }

    public interface CategoricalStatsHistogramBucketOrBuilder extends
        // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket)
        com.google.protobuf.MessageOrBuilder {

      /**
       *

       * Lower bound on the value frequency of the values in this bucket.
       *

       *
       * int64 value_frequency_lower_bound = 1;
       */
      long getValueFrequencyLowerBound();

      /**
       *

       * Upper bound on the value frequency of the values in this bucket.
       *

       *
       * int64 value_frequency_upper_bound = 2;
       */
      long getValueFrequencyUpperBound();

      /**
       *

       * Total number of values in this bucket.
       *

       *
       * int64 bucket_size = 3;
       */
      long getBucketSize();

      /**
       *

       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
       */
      java.util.List<com.google.privacy.dlp.v2.ValueFrequency>
          getBucketValuesList();
      /**
       *

       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
       */
      com.google.privacy.dlp.v2.ValueFrequency getBucketValues(int index);
      /**
       *

       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
       */
      int getBucketValuesCount();
      /**
       *

       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
       */
      java.util.List<? extends com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>
          getBucketValuesOrBuilderList();
      /**
       *

       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
       */
      com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilder(
          int index);

      /**
       *

       * Total number of distinct values in this bucket.
       *

       *
       * int64 bucket_value_count = 5;
       */
      long getBucketValueCount();
    }
    /**
     * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket}
     */
    public  static final class CategoricalStatsHistogramBucket extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket)
        CategoricalStatsHistogramBucketOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use CategoricalStatsHistogramBucket.newBuilder() to construct.
      private CategoricalStatsHistogramBucket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private CategoricalStatsHistogramBucket() {
        valueFrequencyLowerBound_ = 0L;
        valueFrequencyUpperBound_ = 0L;
        bucketSize_ = 0L;
        bucketValues_ = java.util.Collections.emptyList();
        bucketValueCount_ = 0L;
      }

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private CategoricalStatsHistogramBucket(
          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: {

                valueFrequencyLowerBound_ = input.readInt64();
                break;
              }
              case 16: {

                valueFrequencyUpperBound_ = input.readInt64();
                break;
              }
              case 24: {

                bucketSize_ = input.readInt64();
                break;
              }
              case 34: {
                if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                  bucketValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2.ValueFrequency>();
                  mutable_bitField0_ |= 0x00000008;
                }
                bucketValues_.add(
                    input.readMessage(com.google.privacy.dlp.v2.ValueFrequency.parser(), extensionRegistry));
                break;
              }
              case 40: {

                bucketValueCount_ = input.readInt64();
                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_ & 0x00000008) == 0x00000008)) {
            bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder.class);
      }

      private int bitField0_;
      public static final int VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER = 1;
      private long valueFrequencyLowerBound_;
      /**
       *

       * Lower bound on the value frequency of the values in this bucket.
       *

       *
       * int64 value_frequency_lower_bound = 1;
       */
      public long getValueFrequencyLowerBound() {
        return valueFrequencyLowerBound_;
      }

      public static final int VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER = 2;
      private long valueFrequencyUpperBound_;
      /**
       *

       * Upper bound on the value frequency of the values in this bucket.
       *

       *
       * int64 value_frequency_upper_bound = 2;
       */
      public long getValueFrequencyUpperBound() {
        return valueFrequencyUpperBound_;
      }

      public static final int BUCKET_SIZE_FIELD_NUMBER = 3;
      private long bucketSize_;
      /**
       *

       * Total number of values in this bucket.
       *

       *
       * int64 bucket_size = 3;
       */
      public long getBucketSize() {
        return bucketSize_;
      }

      public static final int BUCKET_VALUES_FIELD_NUMBER = 4;
      private java.util.List<com.google.privacy.dlp.v2.ValueFrequency> bucketValues_;
      /**
       *

       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
       */
      public java.util.List<com.google.privacy.dlp.v2.ValueFrequency> getBucketValuesList() {
        return bucketValues_;
      }
      /**
       *

       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
       */
      public java.util.List<? extends com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>
          getBucketValuesOrBuilderList() {
        return bucketValues_;
      }
      /**
       *

       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
       */
      public int getBucketValuesCount() {
        return bucketValues_.size();
      }
      /**
       *

       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
       */
      public com.google.privacy.dlp.v2.ValueFrequency getBucketValues(int index) {
        return bucketValues_.get(index);
      }
      /**
       *

       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
       */
      public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilder(
          int index) {
        return bucketValues_.get(index);
      }

      public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER = 5;
      private long bucketValueCount_;
      /**
       *

       * Total number of distinct values in this bucket.
       *

       *
       * int64 bucket_value_count = 5;
       */
      public long getBucketValueCount() {
        return bucketValueCount_;
      }

      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 (valueFrequencyLowerBound_ != 0L) {
          output.writeInt64(1, valueFrequencyLowerBound_);
        }
        if (valueFrequencyUpperBound_ != 0L) {
          output.writeInt64(2, valueFrequencyUpperBound_);
        }
        if (bucketSize_ != 0L) {
          output.writeInt64(3, bucketSize_);
        }
        for (int i = 0; i < bucketValues_.size(); i++) {
          output.writeMessage(4, bucketValues_.get(i));
        }
        if (bucketValueCount_ != 0L) {
          output.writeInt64(5, bucketValueCount_);
        }
        unknownFields.writeTo(output);
      }

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

        size = 0;
        if (valueFrequencyLowerBound_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(1, valueFrequencyLowerBound_);
        }
        if (valueFrequencyUpperBound_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(2, valueFrequencyUpperBound_);
        }
        if (bucketSize_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(3, bucketSize_);
        }
        for (int i = 0; i < bucketValues_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(4, bucketValues_.get(i));
        }
        if (bucketValueCount_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(5, bucketValueCount_);
        }
        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.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket)) {
          return super.equals(obj);
        }
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket) obj;

        boolean result = true;
        result = result && (getValueFrequencyLowerBound()
            == other.getValueFrequencyLowerBound());
        result = result && (getValueFrequencyUpperBound()
            == other.getValueFrequencyUpperBound());
        result = result && (getBucketSize()
            == other.getBucketSize());
        result = result && getBucketValuesList()
            .equals(other.getBucketValuesList());
        result = result && (getBucketValueCount()
            == other.getBucketValueCount());
        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) + VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getValueFrequencyLowerBound());
        hash = (37 * hash) + VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getValueFrequencyUpperBound());
        hash = (37 * hash) + BUCKET_SIZE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getBucketSize());
        if (getBucketValuesCount() > 0) {
          hash = (37 * hash) + BUCKET_VALUES_FIELD_NUMBER;
          hash = (53 * hash) + getBucketValuesList().hashCode();
        }
        hash = (37 * hash) + BUCKET_VALUE_COUNT_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getBucketValueCount());
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }

      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket 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.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket 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.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket 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.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket 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.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket 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.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket 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;
      }
      /**
       * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket)
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor;
        }

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder.class);
        }

        // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }

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

          valueFrequencyUpperBound_ = 0L;

          bucketSize_ = 0L;

          if (bucketValuesBuilder_ == null) {
            bucketValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            bucketValuesBuilder_.clear();
          }
          bucketValueCount_ = 0L;

          return this;
        }

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

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getDefaultInstanceForType() {
          return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.getDefaultInstance();
        }

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket build() {
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket buildPartial() {
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          result.valueFrequencyLowerBound_ = valueFrequencyLowerBound_;
          result.valueFrequencyUpperBound_ = valueFrequencyUpperBound_;
          result.bucketSize_ = bucketSize_;
          if (bucketValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000008) == 0x00000008)) {
              bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
              bitField0_ = (bitField0_ & ~0x00000008);
            }
            result.bucketValues_ = bucketValues_;
          } else {
            result.bucketValues_ = bucketValuesBuilder_.build();
          }
          result.bucketValueCount_ = bucketValueCount_;
          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.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket) {
            return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket other) {
          if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.getDefaultInstance()) return this;
          if (other.getValueFrequencyLowerBound() != 0L) {
            setValueFrequencyLowerBound(other.getValueFrequencyLowerBound());
          }
          if (other.getValueFrequencyUpperBound() != 0L) {
            setValueFrequencyUpperBound(other.getValueFrequencyUpperBound());
          }
          if (other.getBucketSize() != 0L) {
            setBucketSize(other.getBucketSize());
          }
          if (bucketValuesBuilder_ == null) {
            if (!other.bucketValues_.isEmpty()) {
              if (bucketValues_.isEmpty()) {
                bucketValues_ = other.bucketValues_;
                bitField0_ = (bitField0_ & ~0x00000008);
              } else {
                ensureBucketValuesIsMutable();
                bucketValues_.addAll(other.bucketValues_);
              }
              onChanged();
            }
          } else {
            if (!other.bucketValues_.isEmpty()) {
              if (bucketValuesBuilder_.isEmpty()) {
                bucketValuesBuilder_.dispose();
                bucketValuesBuilder_ = null;
                bucketValues_ = other.bucketValues_;
                bitField0_ = (bitField0_ & ~0x00000008);
                bucketValuesBuilder_ =
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getBucketValuesFieldBuilder() : null;
              } else {
                bucketValuesBuilder_.addAllMessages(other.bucketValues_);
              }
            }
          }
          if (other.getBucketValueCount() != 0L) {
            setBucketValueCount(other.getBucketValueCount());
          }
          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.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;

        private long valueFrequencyLowerBound_ ;
        /**
         *

         * Lower bound on the value frequency of the values in this bucket.
         *

         *
         * int64 value_frequency_lower_bound = 1;
         */
        public long getValueFrequencyLowerBound() {
          return valueFrequencyLowerBound_;
        }
        /**
         *

         * Lower bound on the value frequency of the values in this bucket.
         *

         *
         * int64 value_frequency_lower_bound = 1;
         */
        public Builder setValueFrequencyLowerBound(long value) {

          valueFrequencyLowerBound_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * Lower bound on the value frequency of the values in this bucket.
         *

         *
         * int64 value_frequency_lower_bound = 1;
         */
        public Builder clearValueFrequencyLowerBound() {

          valueFrequencyLowerBound_ = 0L;
          onChanged();
          return this;
        }

        private long valueFrequencyUpperBound_ ;
        /**
         *

         * Upper bound on the value frequency of the values in this bucket.
         *

         *
         * int64 value_frequency_upper_bound = 2;
         */
        public long getValueFrequencyUpperBound() {
          return valueFrequencyUpperBound_;
        }
        /**
         *

         * Upper bound on the value frequency of the values in this bucket.
         *

         *
         * int64 value_frequency_upper_bound = 2;
         */
        public Builder setValueFrequencyUpperBound(long value) {

          valueFrequencyUpperBound_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * Upper bound on the value frequency of the values in this bucket.
         *

         *
         * int64 value_frequency_upper_bound = 2;
         */
        public Builder clearValueFrequencyUpperBound() {

          valueFrequencyUpperBound_ = 0L;
          onChanged();
          return this;
        }

        private long bucketSize_ ;
        /**
         *

         * Total number of values in this bucket.
         *

         *
         * int64 bucket_size = 3;
         */
        public long getBucketSize() {
          return bucketSize_;
        }
        /**
         *

         * Total number of values in this bucket.
         *

         *
         * int64 bucket_size = 3;
         */
        public Builder setBucketSize(long value) {

          bucketSize_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * Total number of values in this bucket.
         *

         *
         * int64 bucket_size = 3;
         */
        public Builder clearBucketSize() {

          bucketSize_ = 0L;
          onChanged();
          return this;
        }

        private java.util.List<com.google.privacy.dlp.v2.ValueFrequency> bucketValues_ =
          java.util.Collections.emptyList();
        private void ensureBucketValuesIsMutable() {
          if (!((bitField0_ & 0x00000008) == 0x00000008)) {
            bucketValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2.ValueFrequency>(bucketValues_);
            bitField0_ |= 0x00000008;
           }
        }

        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2.ValueFrequency, com.google.privacy.dlp.v2.ValueFrequency.Builder, com.google.privacy.dlp.v2.ValueFrequencyOrBuilder> bucketValuesBuilder_;

        /**
         *

         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
         */
        public java.util.List<com.google.privacy.dlp.v2.ValueFrequency> getBucketValuesList() {
          if (bucketValuesBuilder_ == null) {
            return java.util.Collections.unmodifiableList(bucketValues_);
          } else {
            return bucketValuesBuilder_.getMessageList();
          }
        }
        /**
         *

         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
         */
        public int getBucketValuesCount() {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.size();
          } else {
            return bucketValuesBuilder_.getCount();
          }
        }
        /**
         *

         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
         */
        public com.google.privacy.dlp.v2.ValueFrequency getBucketValues(int index) {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.get(index);
          } else {
            return bucketValuesBuilder_.getMessage(index);
          }
        }
        /**
         *

         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
         */
        public Builder setBucketValues(
            int index, com.google.privacy.dlp.v2.ValueFrequency value) {
          if (bucketValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureBucketValuesIsMutable();
            bucketValues_.set(index, value);
            onChanged();
          } else {
            bucketValuesBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         *

         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
         */
        public Builder setBucketValues(
            int index, com.google.privacy.dlp.v2.ValueFrequency.Builder builderForValue) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.set(index, builderForValue.build());
            onChanged();
          } else {
            bucketValuesBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
         */
        public Builder addBucketValues(com.google.privacy.dlp.v2.ValueFrequency value) {
          if (bucketValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureBucketValuesIsMutable();
            bucketValues_.add(value);
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         *

         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
         */
        public Builder addBucketValues(
            int index, com.google.privacy.dlp.v2.ValueFrequency value) {
          if (bucketValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureBucketValuesIsMutable();
            bucketValues_.add(index, value);
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         *

         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
         */
        public Builder addBucketValues(
            com.google.privacy.dlp.v2.ValueFrequency.Builder builderForValue) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.add(builderForValue.build());
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
         */
        public Builder addBucketValues(
            int index, com.google.privacy.dlp.v2.ValueFrequency.Builder builderForValue) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.add(index, builderForValue.build());
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
         */
        public Builder addAllBucketValues(
            java.lang.Iterable<? extends com.google.privacy.dlp.v2.ValueFrequency> values) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, bucketValues_);
            onChanged();
          } else {
            bucketValuesBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         *

         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
         */
        public Builder clearBucketValues() {
          if (bucketValuesBuilder_ == null) {
            bucketValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000008);
            onChanged();
          } else {
            bucketValuesBuilder_.clear();
          }
          return this;
        }
        /**
         *

         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
         */
        public Builder removeBucketValues(int index) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.remove(index);
            onChanged();
          } else {
            bucketValuesBuilder_.remove(index);
          }
          return this;
        }
        /**
         *

         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
         */
        public com.google.privacy.dlp.v2.ValueFrequency.Builder getBucketValuesBuilder(
            int index) {
          return getBucketValuesFieldBuilder().getBuilder(index);
        }
        /**
         *

         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
         */
        public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilder(
            int index) {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.get(index);  } else {
            return bucketValuesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         *

         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
         */
        public java.util.List<? extends com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>
             getBucketValuesOrBuilderList() {
          if (bucketValuesBuilder_ != null) {
            return bucketValuesBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(bucketValues_);
          }
        }
        /**
         *

         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
         */
        public com.google.privacy.dlp.v2.ValueFrequency.Builder addBucketValuesBuilder() {
          return getBucketValuesFieldBuilder().addBuilder(
              com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance());
        }
        /**
         *

         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
         */
        public com.google.privacy.dlp.v2.ValueFrequency.Builder addBucketValuesBuilder(
            int index) {
          return getBucketValuesFieldBuilder().addBuilder(
              index, com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance());
        }
        /**
         *

         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
         */
        public java.util.List<com.google.privacy.dlp.v2.ValueFrequency.Builder>
             getBucketValuesBuilderList() {
          return getBucketValuesFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2.ValueFrequency, com.google.privacy.dlp.v2.ValueFrequency.Builder, com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>
            getBucketValuesFieldBuilder() {
          if (bucketValuesBuilder_ == null) {
            bucketValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.privacy.dlp.v2.ValueFrequency, com.google.privacy.dlp.v2.ValueFrequency.Builder, com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>(
                    bucketValues_,
                    ((bitField0_ & 0x00000008) == 0x00000008),
                    getParentForChildren(),
                    isClean());
            bucketValues_ = null;
          }
          return bucketValuesBuilder_;
        }

        private long bucketValueCount_ ;
        /**
         *

         * Total number of distinct values in this bucket.
         *

         *
         * int64 bucket_value_count = 5;
         */
        public long getBucketValueCount() {
          return bucketValueCount_;
        }
        /**
         *

         * Total number of distinct values in this bucket.
         *

         *
         * int64 bucket_value_count = 5;
         */
        public Builder setBucketValueCount(long value) {

          bucketValueCount_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * Total number of distinct values in this bucket.
         *

         *
         * int64 bucket_value_count = 5;
         */
        public Builder clearBucketValueCount() {

          bucketValueCount_ = 0L;
          onChanged();
          return this;
        }
        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.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket)
      }

      // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket)
      private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket();
      }

      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

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

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

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

      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }

    }

    public static final int VALUE_FREQUENCY_HISTOGRAM_BUCKETS_FIELD_NUMBER = 5;
    private java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket> valueFrequencyHistogramBuckets_;
    /**
     *

     * Histogram of value frequencies in the column.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     */
    public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket> getValueFrequencyHistogramBucketsList() {
      return valueFrequencyHistogramBuckets_;
    }
    /**
     *

     * Histogram of value frequencies in the column.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     */
    public java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder>
        getValueFrequencyHistogramBucketsOrBuilderList() {
      return valueFrequencyHistogramBuckets_;
    }
    /**
     *

     * Histogram of value frequencies in the column.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     */
    public int getValueFrequencyHistogramBucketsCount() {
      return valueFrequencyHistogramBuckets_.size();
    }
    /**
     *

     * Histogram of value frequencies in the column.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getValueFrequencyHistogramBuckets(int index) {
      return valueFrequencyHistogramBuckets_.get(index);
    }
    /**
     *

     * Histogram of value frequencies in the column.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder getValueFrequencyHistogramBucketsOrBuilder(
        int index) {
      return valueFrequencyHistogramBuckets_.get(index);
    }

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

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

      size = 0;
      for (int i = 0; i < valueFrequencyHistogramBuckets_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, valueFrequencyHistogramBuckets_.get(i));
      }
      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.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult)) {
        return super.equals(obj);
      }
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) obj;

      boolean result = true;
      result = result && getValueFrequencyHistogramBucketsList()
          .equals(other.getValueFrequencyHistogramBucketsList());
      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();
      if (getValueFrequencyHistogramBucketsCount() > 0) {
        hash = (37 * hash) + VALUE_FREQUENCY_HISTOGRAM_BUCKETS_FIELD_NUMBER;
        hash = (53 * hash) + getValueFrequencyHistogramBucketsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

     * Result of the categorical stats computation.
     *

     *
     * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult)
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder.class);
      }

      // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getValueFrequencyHistogramBucketsFieldBuilder();
        }
      }
      public Builder clear() {
        super.clear();
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          valueFrequencyHistogramBuckets_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          valueFrequencyHistogramBucketsBuilder_.clear();
        }
        return this;
      }

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

      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult getDefaultInstanceForType() {
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance();
      }

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

      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult buildPartial() {
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult(this);
        int from_bitField0_ = bitField0_;
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            valueFrequencyHistogramBuckets_ = java.util.Collections.unmodifiableList(valueFrequencyHistogramBuckets_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.valueFrequencyHistogramBuckets_ = valueFrequencyHistogramBuckets_;
        } else {
          result.valueFrequencyHistogramBuckets_ = valueFrequencyHistogramBucketsBuilder_.build();
        }
        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.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) {
          return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult other) {
        if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance()) return this;
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          if (!other.valueFrequencyHistogramBuckets_.isEmpty()) {
            if (valueFrequencyHistogramBuckets_.isEmpty()) {
              valueFrequencyHistogramBuckets_ = other.valueFrequencyHistogramBuckets_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureValueFrequencyHistogramBucketsIsMutable();
              valueFrequencyHistogramBuckets_.addAll(other.valueFrequencyHistogramBuckets_);
            }
            onChanged();
          }
        } else {
          if (!other.valueFrequencyHistogramBuckets_.isEmpty()) {
            if (valueFrequencyHistogramBucketsBuilder_.isEmpty()) {
              valueFrequencyHistogramBucketsBuilder_.dispose();
              valueFrequencyHistogramBucketsBuilder_ = null;
              valueFrequencyHistogramBuckets_ = other.valueFrequencyHistogramBuckets_;
              bitField0_ = (bitField0_ & ~0x00000001);
              valueFrequencyHistogramBucketsBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getValueFrequencyHistogramBucketsFieldBuilder() : null;
            } else {
              valueFrequencyHistogramBucketsBuilder_.addAllMessages(other.valueFrequencyHistogramBuckets_);
            }
          }
        }
        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.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket> valueFrequencyHistogramBuckets_ =
        java.util.Collections.emptyList();
      private void ensureValueFrequencyHistogramBucketsIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          valueFrequencyHistogramBuckets_ = new java.util.ArrayList<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket>(valueFrequencyHistogramBuckets_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder> valueFrequencyHistogramBucketsBuilder_;

      /**
       *

       * Histogram of value frequencies in the column.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       */
      public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket> getValueFrequencyHistogramBucketsList() {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(valueFrequencyHistogramBuckets_);
        } else {
          return valueFrequencyHistogramBucketsBuilder_.getMessageList();
        }
      }
      /**
       *

       * Histogram of value frequencies in the column.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       */
      public int getValueFrequencyHistogramBucketsCount() {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          return valueFrequencyHistogramBuckets_.size();
        } else {
          return valueFrequencyHistogramBucketsBuilder_.getCount();
        }
      }
      /**
       *

       * Histogram of value frequencies in the column.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getValueFrequencyHistogramBuckets(int index) {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          return valueFrequencyHistogramBuckets_.get(index);
        } else {
          return valueFrequencyHistogramBucketsBuilder_.getMessage(index);
        }
      }
      /**
       *

       * Histogram of value frequencies in the column.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       */
      public Builder setValueFrequencyHistogramBuckets(
          int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value) {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureValueFrequencyHistogramBucketsIsMutable();
          valueFrequencyHistogramBuckets_.set(index, value);
          onChanged();
        } else {
          valueFrequencyHistogramBucketsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       *

       * Histogram of value frequencies in the column.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       */
      public Builder setValueFrequencyHistogramBuckets(
          int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder builderForValue) {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          ensureValueFrequencyHistogramBucketsIsMutable();
          valueFrequencyHistogramBuckets_.set(index, builderForValue.build());
          onChanged();
        } else {
          valueFrequencyHistogramBucketsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       *

       * Histogram of value frequencies in the column.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       */
      public Builder addValueFrequencyHistogramBuckets(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value) {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureValueFrequencyHistogramBucketsIsMutable();
          valueFrequencyHistogramBuckets_.add(value);
          onChanged();
        } else {
          valueFrequencyHistogramBucketsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       *

       * Histogram of value frequencies in the column.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       */
      public Builder addValueFrequencyHistogramBuckets(
          int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value) {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureValueFrequencyHistogramBucketsIsMutable();
          valueFrequencyHistogramBuckets_.add(index, value);
          onChanged();
        } else {
          valueFrequencyHistogramBucketsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       *

       * Histogram of value frequencies in the column.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       */
      public Builder addValueFrequencyHistogramBuckets(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder builderForValue) {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          ensureValueFrequencyHistogramBucketsIsMutable();
          valueFrequencyHistogramBuckets_.add(builderForValue.build());
          onChanged();
        } else {
          valueFrequencyHistogramBucketsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       *

       * Histogram of value frequencies in the column.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       */
      public Builder addValueFrequencyHistogramBuckets(
          int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder builderForValue) {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          ensureValueFrequencyHistogramBucketsIsMutable();
          valueFrequencyHistogramBuckets_.add(index, builderForValue.build());
          onChanged();
        } else {
          valueFrequencyHistogramBucketsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       *

       * Histogram of value frequencies in the column.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       */
      public Builder addAllValueFrequencyHistogramBuckets(
          java.lang.Iterable<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket> values) {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          ensureValueFrequencyHistogramBucketsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, valueFrequencyHistogramBuckets_);
          onChanged();
        } else {
          valueFrequencyHistogramBucketsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       *

       * Histogram of value frequencies in the column.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       */
      public Builder clearValueFrequencyHistogramBuckets() {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          valueFrequencyHistogramBuckets_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          valueFrequencyHistogramBucketsBuilder_.clear();
        }
        return this;
      }
      /**
       *

       * Histogram of value frequencies in the column.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       */
      public Builder removeValueFrequencyHistogramBuckets(int index) {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          ensureValueFrequencyHistogramBucketsIsMutable();
          valueFrequencyHistogramBuckets_.remove(index);
          onChanged();
        } else {
          valueFrequencyHistogramBucketsBuilder_.remove(index);
        }
        return this;
      }
      /**
       *

       * Histogram of value frequencies in the column.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder getValueFrequencyHistogramBucketsBuilder(
          int index) {
        return getValueFrequencyHistogramBucketsFieldBuilder().getBuilder(index);
      }
      /**
       *

       * Histogram of value frequencies in the column.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder getValueFrequencyHistogramBucketsOrBuilder(
          int index) {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          return valueFrequencyHistogramBuckets_.get(index);  } else {
          return valueFrequencyHistogramBucketsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       *

       * Histogram of value frequencies in the column.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       */
      public java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder>
           getValueFrequencyHistogramBucketsOrBuilderList() {
        if (valueFrequencyHistogramBucketsBuilder_ != null) {
          return valueFrequencyHistogramBucketsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(valueFrequencyHistogramBuckets_);
        }
      }
      /**
       *

       * Histogram of value frequencies in the column.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder addValueFrequencyHistogramBucketsBuilder() {
        return getValueFrequencyHistogramBucketsFieldBuilder().addBuilder(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.getDefaultInstance());
      }
      /**
       *

       * Histogram of value frequencies in the column.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder addValueFrequencyHistogramBucketsBuilder(
          int index) {
        return getValueFrequencyHistogramBucketsFieldBuilder().addBuilder(
            index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.getDefaultInstance());
      }
      /**
       *

       * Histogram of value frequencies in the column.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       */
      public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder>
           getValueFrequencyHistogramBucketsBuilderList() {
        return getValueFrequencyHistogramBucketsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder>
          getValueFrequencyHistogramBucketsFieldBuilder() {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          valueFrequencyHistogramBucketsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder>(
                  valueFrequencyHistogramBuckets_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          valueFrequencyHistogramBuckets_ = null;
        }
        return valueFrequencyHistogramBucketsBuilder_;
      }
      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.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult)
    }

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

    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface KAnonymityResultOrBuilder extends
      // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult)
      com.google.protobuf.MessageOrBuilder {

    /**
     *

     * Histogram of k-anonymity equivalence classes.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     */
    java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket>
        getEquivalenceClassHistogramBucketsList();
    /**
     *

     * Histogram of k-anonymity equivalence classes.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     */
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getEquivalenceClassHistogramBuckets(int index);
    /**
     *

     * Histogram of k-anonymity equivalence classes.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     */
    int getEquivalenceClassHistogramBucketsCount();
    /**
     *

     * Histogram of k-anonymity equivalence classes.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     */
    java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder>
        getEquivalenceClassHistogramBucketsOrBuilderList();
    /**
     *

     * Histogram of k-anonymity equivalence classes.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     */
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder getEquivalenceClassHistogramBucketsOrBuilder(
        int index);
  }
  /**
   *

   * Result of the k-anonymity computation.
   *

   *
   * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult}
   */
  public  static final class KAnonymityResult extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult)
      KAnonymityResultOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use KAnonymityResult.newBuilder() to construct.
    private KAnonymityResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private KAnonymityResult() {
      equivalenceClassHistogramBuckets_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private KAnonymityResult(
        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 42: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                equivalenceClassHistogramBuckets_ = new java.util.ArrayList<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket>();
                mutable_bitField0_ |= 0x00000001;
              }
              equivalenceClassHistogramBuckets_.add(
                  input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.parser(), extensionRegistry));
              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_ & 0x00000001) == 0x00000001)) {
          equivalenceClassHistogramBuckets_ = java.util.Collections.unmodifiableList(equivalenceClassHistogramBuckets_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder.class);
    }

    public interface KAnonymityEquivalenceClassOrBuilder extends
        // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass)
        com.google.protobuf.MessageOrBuilder {

      /**
       *

       * Set of values defining the equivalence class. One value per
       * quasi-identifier column in the original KAnonymity metric message.
       * The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      java.util.List<com.google.privacy.dlp.v2.Value>
          getQuasiIdsValuesList();
      /**
       *

       * Set of values defining the equivalence class. One value per
       * quasi-identifier column in the original KAnonymity metric message.
       * The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index);
      /**
       *

       * Set of values defining the equivalence class. One value per
       * quasi-identifier column in the original KAnonymity metric message.
       * The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      int getQuasiIdsValuesCount();
      /**
       *

       * Set of values defining the equivalence class. One value per
       * quasi-identifier column in the original KAnonymity metric message.
       * The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
          getQuasiIdsValuesOrBuilderList();
      /**
       *

       * Set of values defining the equivalence class. One value per
       * quasi-identifier column in the original KAnonymity metric message.
       * The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
          int index);

      /**
       *

       * Size of the equivalence class, for example number of rows with the
       * above set of values.
       *

       *
       * int64 equivalence_class_size = 2;
       */
      long getEquivalenceClassSize();
    }
    /**
     *

     * The set of columns' values that share the same ldiversity value
     *

     *
     * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass}
     */
    public  static final class KAnonymityEquivalenceClass extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass)
        KAnonymityEquivalenceClassOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use KAnonymityEquivalenceClass.newBuilder() to construct.
      private KAnonymityEquivalenceClass(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private KAnonymityEquivalenceClass() {
        quasiIdsValues_ = java.util.Collections.emptyList();
        equivalenceClassSize_ = 0L;
      }

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private KAnonymityEquivalenceClass(
          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 10: {
                if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                  quasiIdsValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2.Value>();
                  mutable_bitField0_ |= 0x00000001;
                }
                quasiIdsValues_.add(
                    input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry));
                break;
              }
              case 16: {

                equivalenceClassSize_ = input.readInt64();
                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_ & 0x00000001) == 0x00000001)) {
            quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder.class);
      }

      private int bitField0_;
      public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1;
      private java.util.List<com.google.privacy.dlp.v2.Value> quasiIdsValues_;
      /**
       *

       * Set of values defining the equivalence class. One value per
       * quasi-identifier column in the original KAnonymity metric message.
       * The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      public java.util.List<com.google.privacy.dlp.v2.Value> getQuasiIdsValuesList() {
        return quasiIdsValues_;
      }
      /**
       *

       * Set of values defining the equivalence class. One value per
       * quasi-identifier column in the original KAnonymity metric message.
       * The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      public java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
          getQuasiIdsValuesOrBuilderList() {
        return quasiIdsValues_;
      }
      /**
       *

       * Set of values defining the equivalence class. One value per
       * quasi-identifier column in the original KAnonymity metric message.
       * The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      public int getQuasiIdsValuesCount() {
        return quasiIdsValues_.size();
      }
      /**
       *

       * Set of values defining the equivalence class. One value per
       * quasi-identifier column in the original KAnonymity metric message.
       * The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
        return quasiIdsValues_.get(index);
      }
      /**
       *

       * Set of values defining the equivalence class. One value per
       * quasi-identifier column in the original KAnonymity metric message.
       * The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
          int index) {
        return quasiIdsValues_.get(index);
      }

      public static final int EQUIVALENCE_CLASS_SIZE_FIELD_NUMBER = 2;
      private long equivalenceClassSize_;
      /**
       *

       * Size of the equivalence class, for example number of rows with the
       * above set of values.
       *

       *
       * int64 equivalence_class_size = 2;
       */
      public long getEquivalenceClassSize() {
        return equivalenceClassSize_;
      }

      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 {
        for (int i = 0; i < quasiIdsValues_.size(); i++) {
          output.writeMessage(1, quasiIdsValues_.get(i));
        }
        if (equivalenceClassSize_ != 0L) {
          output.writeInt64(2, equivalenceClassSize_);
        }
        unknownFields.writeTo(output);
      }

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

        size = 0;
        for (int i = 0; i < quasiIdsValues_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(1, quasiIdsValues_.get(i));
        }
        if (equivalenceClassSize_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(2, equivalenceClassSize_);
        }
        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.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass)) {
          return super.equals(obj);
        }
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass) obj;

        boolean result = true;
        result = result && getQuasiIdsValuesList()
            .equals(other.getQuasiIdsValuesList());
        result = result && (getEquivalenceClassSize()
            == other.getEquivalenceClassSize());
        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();
        if (getQuasiIdsValuesCount() > 0) {
          hash = (37 * hash) + QUASI_IDS_VALUES_FIELD_NUMBER;
          hash = (53 * hash) + getQuasiIdsValuesList().hashCode();
        }
        hash = (37 * hash) + EQUIVALENCE_CLASS_SIZE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getEquivalenceClassSize());
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }

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

       * The set of columns' values that share the same ldiversity value
       *

       *
       * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass)
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor;
        }

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder.class);
        }

        // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }

        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessageV3
                  .alwaysUseFieldBuilders) {
            getQuasiIdsValuesFieldBuilder();
          }
        }
        public Builder clear() {
          super.clear();
          if (quasiIdsValuesBuilder_ == null) {
            quasiIdsValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            quasiIdsValuesBuilder_.clear();
          }
          equivalenceClassSize_ = 0L;

          return this;
        }

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

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getDefaultInstanceForType() {
          return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.getDefaultInstance();
        }

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass build() {
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass buildPartial() {
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (quasiIdsValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000001) == 0x00000001)) {
              quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_);
              bitField0_ = (bitField0_ & ~0x00000001);
            }
            result.quasiIdsValues_ = quasiIdsValues_;
          } else {
            result.quasiIdsValues_ = quasiIdsValuesBuilder_.build();
          }
          result.equivalenceClassSize_ = equivalenceClassSize_;
          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.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass) {
            return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass other) {
          if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.getDefaultInstance()) return this;
          if (quasiIdsValuesBuilder_ == null) {
            if (!other.quasiIdsValues_.isEmpty()) {
              if (quasiIdsValues_.isEmpty()) {
                quasiIdsValues_ = other.quasiIdsValues_;
                bitField0_ = (bitField0_ & ~0x00000001);
              } else {
                ensureQuasiIdsValuesIsMutable();
                quasiIdsValues_.addAll(other.quasiIdsValues_);
              }
              onChanged();
            }
          } else {
            if (!other.quasiIdsValues_.isEmpty()) {
              if (quasiIdsValuesBuilder_.isEmpty()) {
                quasiIdsValuesBuilder_.dispose();
                quasiIdsValuesBuilder_ = null;
                quasiIdsValues_ = other.quasiIdsValues_;
                bitField0_ = (bitField0_ & ~0x00000001);
                quasiIdsValuesBuilder_ =
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getQuasiIdsValuesFieldBuilder() : null;
              } else {
                quasiIdsValuesBuilder_.addAllMessages(other.quasiIdsValues_);
              }
            }
          }
          if (other.getEquivalenceClassSize() != 0L) {
            setEquivalenceClassSize(other.getEquivalenceClassSize());
          }
          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.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;

        private java.util.List<com.google.privacy.dlp.v2.Value> quasiIdsValues_ =
          java.util.Collections.emptyList();
        private void ensureQuasiIdsValuesIsMutable() {
          if (!((bitField0_ & 0x00000001) == 0x00000001)) {
            quasiIdsValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2.Value>(quasiIdsValues_);
            bitField0_ |= 0x00000001;
           }
        }

        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> quasiIdsValuesBuilder_;

        /**
         *

         * Set of values defining the equivalence class. One value per
         * quasi-identifier column in the original KAnonymity metric message.
         * The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public java.util.List<com.google.privacy.dlp.v2.Value> getQuasiIdsValuesList() {
          if (quasiIdsValuesBuilder_ == null) {
            return java.util.Collections.unmodifiableList(quasiIdsValues_);
          } else {
            return quasiIdsValuesBuilder_.getMessageList();
          }
        }
        /**
         *

         * Set of values defining the equivalence class. One value per
         * quasi-identifier column in the original KAnonymity metric message.
         * The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public int getQuasiIdsValuesCount() {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.size();
          } else {
            return quasiIdsValuesBuilder_.getCount();
          }
        }
        /**
         *

         * Set of values defining the equivalence class. One value per
         * quasi-identifier column in the original KAnonymity metric message.
         * The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.get(index);
          } else {
            return quasiIdsValuesBuilder_.getMessage(index);
          }
        }
        /**
         *

         * Set of values defining the equivalence class. One value per
         * quasi-identifier column in the original KAnonymity metric message.
         * The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder setQuasiIdsValues(
            int index, com.google.privacy.dlp.v2.Value value) {
          if (quasiIdsValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.set(index, value);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         *

         * Set of values defining the equivalence class. One value per
         * quasi-identifier column in the original KAnonymity metric message.
         * The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder setQuasiIdsValues(
            int index, com.google.privacy.dlp.v2.Value.Builder builderForValue) {
          if (quasiIdsValuesBuilder_ == null) {
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.set(index, builderForValue.build());
            onChanged();
          } else {
            quasiIdsValuesBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Set of values defining the equivalence class. One value per
         * quasi-identifier column in the original KAnonymity metric message.
         * The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value value) {
          if (quasiIdsValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.add(value);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         *

         * Set of values defining the equivalence class. One value per
         * quasi-identifier column in the original KAnonymity metric message.
         * The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder addQuasiIdsValues(
            int index, com.google.privacy.dlp.v2.Value value) {
          if (quasiIdsValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.add(index, value);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         *

         * Set of values defining the equivalence class. One value per
         * quasi-identifier column in the original KAnonymity metric message.
         * The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder addQuasiIdsValues(
            com.google.privacy.dlp.v2.Value.Builder builderForValue) {
          if (quasiIdsValuesBuilder_ == null) {
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.add(builderForValue.build());
            onChanged();
          } else {
            quasiIdsValuesBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Set of values defining the equivalence class. One value per
         * quasi-identifier column in the original KAnonymity metric message.
         * The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder addQuasiIdsValues(
            int index, com.google.privacy.dlp.v2.Value.Builder builderForValue) {
          if (quasiIdsValuesBuilder_ == null) {
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.add(index, builderForValue.build());
            onChanged();
          } else {
            quasiIdsValuesBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Set of values defining the equivalence class. One value per
         * quasi-identifier column in the original KAnonymity metric message.
         * The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder addAllQuasiIdsValues(
            java.lang.Iterable<? extends com.google.privacy.dlp.v2.Value> values) {
          if (quasiIdsValuesBuilder_ == null) {
            ensureQuasiIdsValuesIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, quasiIdsValues_);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         *

         * Set of values defining the equivalence class. One value per
         * quasi-identifier column in the original KAnonymity metric message.
         * The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder clearQuasiIdsValues() {
          if (quasiIdsValuesBuilder_ == null) {
            quasiIdsValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.clear();
          }
          return this;
        }
        /**
         *

         * Set of values defining the equivalence class. One value per
         * quasi-identifier column in the original KAnonymity metric message.
         * The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder removeQuasiIdsValues(int index) {
          if (quasiIdsValuesBuilder_ == null) {
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.remove(index);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.remove(index);
          }
          return this;
        }
        /**
         *

         * Set of values defining the equivalence class. One value per
         * quasi-identifier column in the original KAnonymity metric message.
         * The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(
            int index) {
          return getQuasiIdsValuesFieldBuilder().getBuilder(index);
        }
        /**
         *

         * Set of values defining the equivalence class. One value per
         * quasi-identifier column in the original KAnonymity metric message.
         * The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
            int index) {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.get(index);  } else {
            return quasiIdsValuesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         *

         * Set of values defining the equivalence class. One value per
         * quasi-identifier column in the original KAnonymity metric message.
         * The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
             getQuasiIdsValuesOrBuilderList() {
          if (quasiIdsValuesBuilder_ != null) {
            return quasiIdsValuesBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(quasiIdsValues_);
          }
        }
        /**
         *

         * Set of values defining the equivalence class. One value per
         * quasi-identifier column in the original KAnonymity metric message.
         * The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder() {
          return getQuasiIdsValuesFieldBuilder().addBuilder(
              com.google.privacy.dlp.v2.Value.getDefaultInstance());
        }
        /**
         *

         * Set of values defining the equivalence class. One value per
         * quasi-identifier column in the original KAnonymity metric message.
         * The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(
            int index) {
          return getQuasiIdsValuesFieldBuilder().addBuilder(
              index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
        }
        /**
         *

         * Set of values defining the equivalence class. One value per
         * quasi-identifier column in the original KAnonymity metric message.
         * The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public java.util.List<com.google.privacy.dlp.v2.Value.Builder>
             getQuasiIdsValuesBuilderList() {
          return getQuasiIdsValuesFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>
            getQuasiIdsValuesFieldBuilder() {
          if (quasiIdsValuesBuilder_ == null) {
            quasiIdsValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>(
                    quasiIdsValues_,
                    ((bitField0_ & 0x00000001) == 0x00000001),
                    getParentForChildren(),
                    isClean());
            quasiIdsValues_ = null;
          }
          return quasiIdsValuesBuilder_;
        }

        private long equivalenceClassSize_ ;
        /**
         *

         * Size of the equivalence class, for example number of rows with the
         * above set of values.
         *

         *
         * int64 equivalence_class_size = 2;
         */
        public long getEquivalenceClassSize() {
          return equivalenceClassSize_;
        }
        /**
         *

         * Size of the equivalence class, for example number of rows with the
         * above set of values.
         *

         *
         * int64 equivalence_class_size = 2;
         */
        public Builder setEquivalenceClassSize(long value) {

          equivalenceClassSize_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * Size of the equivalence class, for example number of rows with the
         * above set of values.
         *

         *
         * int64 equivalence_class_size = 2;
         */
        public Builder clearEquivalenceClassSize() {

          equivalenceClassSize_ = 0L;
          onChanged();
          return this;
        }
        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.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass)
      }

      // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass)
      private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass();
      }

      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

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

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

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

      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }

    }

    public interface KAnonymityHistogramBucketOrBuilder extends
        // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket)
        com.google.protobuf.MessageOrBuilder {

      /**
       *

       * Lower bound on the size of the equivalence classes in this bucket.
       *

       *
       * int64 equivalence_class_size_lower_bound = 1;
       */
      long getEquivalenceClassSizeLowerBound();

      /**
       *

       * Upper bound on the size of the equivalence classes in this bucket.
       *

       *
       * int64 equivalence_class_size_upper_bound = 2;
       */
      long getEquivalenceClassSizeUpperBound();

      /**
       *

       * Total number of equivalence classes in this bucket.
       *

       *
       * int64 bucket_size = 3;
       */
      long getBucketSize();

      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       */
      java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass>
          getBucketValuesList();
      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       */
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getBucketValues(int index);
      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       */
      int getBucketValuesCount();
      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       */
      java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder>
          getBucketValuesOrBuilderList();
      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       */
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder getBucketValuesOrBuilder(
          int index);

      /**
       *

       * Total number of distinct equivalence classes in this bucket.
       *

       *
       * int64 bucket_value_count = 5;
       */
      long getBucketValueCount();
    }
    /**
     * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket}
     */
    public  static final class KAnonymityHistogramBucket extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket)
        KAnonymityHistogramBucketOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use KAnonymityHistogramBucket.newBuilder() to construct.
      private KAnonymityHistogramBucket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private KAnonymityHistogramBucket() {
        equivalenceClassSizeLowerBound_ = 0L;
        equivalenceClassSizeUpperBound_ = 0L;
        bucketSize_ = 0L;
        bucketValues_ = java.util.Collections.emptyList();
        bucketValueCount_ = 0L;
      }

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private KAnonymityHistogramBucket(
          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: {

                equivalenceClassSizeLowerBound_ = input.readInt64();
                break;
              }
              case 16: {

                equivalenceClassSizeUpperBound_ = input.readInt64();
                break;
              }
              case 24: {

                bucketSize_ = input.readInt64();
                break;
              }
              case 34: {
                if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                  bucketValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass>();
                  mutable_bitField0_ |= 0x00000008;
                }
                bucketValues_.add(
                    input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.parser(), extensionRegistry));
                break;
              }
              case 40: {

                bucketValueCount_ = input.readInt64();
                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_ & 0x00000008) == 0x00000008)) {
            bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder.class);
      }

      private int bitField0_;
      public static final int EQUIVALENCE_CLASS_SIZE_LOWER_BOUND_FIELD_NUMBER = 1;
      private long equivalenceClassSizeLowerBound_;
      /**
       *

       * Lower bound on the size of the equivalence classes in this bucket.
       *

       *
       * int64 equivalence_class_size_lower_bound = 1;
       */
      public long getEquivalenceClassSizeLowerBound() {
        return equivalenceClassSizeLowerBound_;
      }

      public static final int EQUIVALENCE_CLASS_SIZE_UPPER_BOUND_FIELD_NUMBER = 2;
      private long equivalenceClassSizeUpperBound_;
      /**
       *

       * Upper bound on the size of the equivalence classes in this bucket.
       *

       *
       * int64 equivalence_class_size_upper_bound = 2;
       */
      public long getEquivalenceClassSizeUpperBound() {
        return equivalenceClassSizeUpperBound_;
      }

      public static final int BUCKET_SIZE_FIELD_NUMBER = 3;
      private long bucketSize_;
      /**
       *

       * Total number of equivalence classes in this bucket.
       *

       *
       * int64 bucket_size = 3;
       */
      public long getBucketSize() {
        return bucketSize_;
      }

      public static final int BUCKET_VALUES_FIELD_NUMBER = 4;
      private java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass> bucketValues_;
      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       */
      public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass> getBucketValuesList() {
        return bucketValues_;
      }
      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       */
      public java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder>
          getBucketValuesOrBuilderList() {
        return bucketValues_;
      }
      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       */
      public int getBucketValuesCount() {
        return bucketValues_.size();
      }
      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getBucketValues(int index) {
        return bucketValues_.get(index);
      }
      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder getBucketValuesOrBuilder(
          int index) {
        return bucketValues_.get(index);
      }

      public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER = 5;
      private long bucketValueCount_;
      /**
       *

       * Total number of distinct equivalence classes in this bucket.
       *

       *
       * int64 bucket_value_count = 5;
       */
      public long getBucketValueCount() {
        return bucketValueCount_;
      }

      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 (equivalenceClassSizeLowerBound_ != 0L) {
          output.writeInt64(1, equivalenceClassSizeLowerBound_);
        }
        if (equivalenceClassSizeUpperBound_ != 0L) {
          output.writeInt64(2, equivalenceClassSizeUpperBound_);
        }
        if (bucketSize_ != 0L) {
          output.writeInt64(3, bucketSize_);
        }
        for (int i = 0; i < bucketValues_.size(); i++) {
          output.writeMessage(4, bucketValues_.get(i));
        }
        if (bucketValueCount_ != 0L) {
          output.writeInt64(5, bucketValueCount_);
        }
        unknownFields.writeTo(output);
      }

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

        size = 0;
        if (equivalenceClassSizeLowerBound_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(1, equivalenceClassSizeLowerBound_);
        }
        if (equivalenceClassSizeUpperBound_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(2, equivalenceClassSizeUpperBound_);
        }
        if (bucketSize_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(3, bucketSize_);
        }
        for (int i = 0; i < bucketValues_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(4, bucketValues_.get(i));
        }
        if (bucketValueCount_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(5, bucketValueCount_);
        }
        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.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket)) {
          return super.equals(obj);
        }
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket) obj;

        boolean result = true;
        result = result && (getEquivalenceClassSizeLowerBound()
            == other.getEquivalenceClassSizeLowerBound());
        result = result && (getEquivalenceClassSizeUpperBound()
            == other.getEquivalenceClassSizeUpperBound());
        result = result && (getBucketSize()
            == other.getBucketSize());
        result = result && getBucketValuesList()
            .equals(other.getBucketValuesList());
        result = result && (getBucketValueCount()
            == other.getBucketValueCount());
        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) + EQUIVALENCE_CLASS_SIZE_LOWER_BOUND_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getEquivalenceClassSizeLowerBound());
        hash = (37 * hash) + EQUIVALENCE_CLASS_SIZE_UPPER_BOUND_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getEquivalenceClassSizeUpperBound());
        hash = (37 * hash) + BUCKET_SIZE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getBucketSize());
        if (getBucketValuesCount() > 0) {
          hash = (37 * hash) + BUCKET_VALUES_FIELD_NUMBER;
          hash = (53 * hash) + getBucketValuesList().hashCode();
        }
        hash = (37 * hash) + BUCKET_VALUE_COUNT_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getBucketValueCount());
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }

      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket 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.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket 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.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket 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.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket 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.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket 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.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket 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;
      }
      /**
       * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket)
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor;
        }

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder.class);
        }

        // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }

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

          equivalenceClassSizeUpperBound_ = 0L;

          bucketSize_ = 0L;

          if (bucketValuesBuilder_ == null) {
            bucketValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            bucketValuesBuilder_.clear();
          }
          bucketValueCount_ = 0L;

          return this;
        }

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

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getDefaultInstanceForType() {
          return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.getDefaultInstance();
        }

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket build() {
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket buildPartial() {
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          result.equivalenceClassSizeLowerBound_ = equivalenceClassSizeLowerBound_;
          result.equivalenceClassSizeUpperBound_ = equivalenceClassSizeUpperBound_;
          result.bucketSize_ = bucketSize_;
          if (bucketValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000008) == 0x00000008)) {
              bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
              bitField0_ = (bitField0_ & ~0x00000008);
            }
            result.bucketValues_ = bucketValues_;
          } else {
            result.bucketValues_ = bucketValuesBuilder_.build();
          }
          result.bucketValueCount_ = bucketValueCount_;
          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.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket) {
            return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket other) {
          if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.getDefaultInstance()) return this;
          if (other.getEquivalenceClassSizeLowerBound() != 0L) {
            setEquivalenceClassSizeLowerBound(other.getEquivalenceClassSizeLowerBound());
          }
          if (other.getEquivalenceClassSizeUpperBound() != 0L) {
            setEquivalenceClassSizeUpperBound(other.getEquivalenceClassSizeUpperBound());
          }
          if (other.getBucketSize() != 0L) {
            setBucketSize(other.getBucketSize());
          }
          if (bucketValuesBuilder_ == null) {
            if (!other.bucketValues_.isEmpty()) {
              if (bucketValues_.isEmpty()) {
                bucketValues_ = other.bucketValues_;
                bitField0_ = (bitField0_ & ~0x00000008);
              } else {
                ensureBucketValuesIsMutable();
                bucketValues_.addAll(other.bucketValues_);
              }
              onChanged();
            }
          } else {
            if (!other.bucketValues_.isEmpty()) {
              if (bucketValuesBuilder_.isEmpty()) {
                bucketValuesBuilder_.dispose();
                bucketValuesBuilder_ = null;
                bucketValues_ = other.bucketValues_;
                bitField0_ = (bitField0_ & ~0x00000008);
                bucketValuesBuilder_ =
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getBucketValuesFieldBuilder() : null;
              } else {
                bucketValuesBuilder_.addAllMessages(other.bucketValues_);
              }
            }
          }
          if (other.getBucketValueCount() != 0L) {
            setBucketValueCount(other.getBucketValueCount());
          }
          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.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;

        private long equivalenceClassSizeLowerBound_ ;
        /**
         *

         * Lower bound on the size of the equivalence classes in this bucket.
         *

         *
         * int64 equivalence_class_size_lower_bound = 1;
         */
        public long getEquivalenceClassSizeLowerBound() {
          return equivalenceClassSizeLowerBound_;
        }
        /**
         *

         * Lower bound on the size of the equivalence classes in this bucket.
         *

         *
         * int64 equivalence_class_size_lower_bound = 1;
         */
        public Builder setEquivalenceClassSizeLowerBound(long value) {

          equivalenceClassSizeLowerBound_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * Lower bound on the size of the equivalence classes in this bucket.
         *

         *
         * int64 equivalence_class_size_lower_bound = 1;
         */
        public Builder clearEquivalenceClassSizeLowerBound() {

          equivalenceClassSizeLowerBound_ = 0L;
          onChanged();
          return this;
        }

        private long equivalenceClassSizeUpperBound_ ;
        /**
         *

         * Upper bound on the size of the equivalence classes in this bucket.
         *

         *
         * int64 equivalence_class_size_upper_bound = 2;
         */
        public long getEquivalenceClassSizeUpperBound() {
          return equivalenceClassSizeUpperBound_;
        }
        /**
         *

         * Upper bound on the size of the equivalence classes in this bucket.
         *

         *
         * int64 equivalence_class_size_upper_bound = 2;
         */
        public Builder setEquivalenceClassSizeUpperBound(long value) {

          equivalenceClassSizeUpperBound_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * Upper bound on the size of the equivalence classes in this bucket.
         *

         *
         * int64 equivalence_class_size_upper_bound = 2;
         */
        public Builder clearEquivalenceClassSizeUpperBound() {

          equivalenceClassSizeUpperBound_ = 0L;
          onChanged();
          return this;
        }

        private long bucketSize_ ;
        /**
         *

         * Total number of equivalence classes in this bucket.
         *

         *
         * int64 bucket_size = 3;
         */
        public long getBucketSize() {
          return bucketSize_;
        }
        /**
         *

         * Total number of equivalence classes in this bucket.
         *

         *
         * int64 bucket_size = 3;
         */
        public Builder setBucketSize(long value) {

          bucketSize_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * Total number of equivalence classes in this bucket.
         *

         *
         * int64 bucket_size = 3;
         */
        public Builder clearBucketSize() {

          bucketSize_ = 0L;
          onChanged();
          return this;
        }

        private java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass> bucketValues_ =
          java.util.Collections.emptyList();
        private void ensureBucketValuesIsMutable() {
          if (!((bitField0_ & 0x00000008) == 0x00000008)) {
            bucketValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass>(bucketValues_);
            bitField0_ |= 0x00000008;
           }
        }

        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder> bucketValuesBuilder_;

        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         */
        public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass> getBucketValuesList() {
          if (bucketValuesBuilder_ == null) {
            return java.util.Collections.unmodifiableList(bucketValues_);
          } else {
            return bucketValuesBuilder_.getMessageList();
          }
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         */
        public int getBucketValuesCount() {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.size();
          } else {
            return bucketValuesBuilder_.getCount();
          }
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getBucketValues(int index) {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.get(index);
          } else {
            return bucketValuesBuilder_.getMessage(index);
          }
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         */
        public Builder setBucketValues(
            int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass value) {
          if (bucketValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureBucketValuesIsMutable();
            bucketValues_.set(index, value);
            onChanged();
          } else {
            bucketValuesBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         */
        public Builder setBucketValues(
            int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder builderForValue) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.set(index, builderForValue.build());
            onChanged();
          } else {
            bucketValuesBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         */
        public Builder addBucketValues(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass value) {
          if (bucketValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureBucketValuesIsMutable();
            bucketValues_.add(value);
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         */
        public Builder addBucketValues(
            int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass value) {
          if (bucketValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureBucketValuesIsMutable();
            bucketValues_.add(index, value);
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         */
        public Builder addBucketValues(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder builderForValue) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.add(builderForValue.build());
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         */
        public Builder addBucketValues(
            int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder builderForValue) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.add(index, builderForValue.build());
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         */
        public Builder addAllBucketValues(
            java.lang.Iterable<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass> values) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, bucketValues_);
            onChanged();
          } else {
            bucketValuesBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         */
        public Builder clearBucketValues() {
          if (bucketValuesBuilder_ == null) {
            bucketValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000008);
            onChanged();
          } else {
            bucketValuesBuilder_.clear();
          }
          return this;
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         */
        public Builder removeBucketValues(int index) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.remove(index);
            onChanged();
          } else {
            bucketValuesBuilder_.remove(index);
          }
          return this;
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder getBucketValuesBuilder(
            int index) {
          return getBucketValuesFieldBuilder().getBuilder(index);
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder getBucketValuesOrBuilder(
            int index) {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.get(index);  } else {
            return bucketValuesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         */
        public java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder>
             getBucketValuesOrBuilderList() {
          if (bucketValuesBuilder_ != null) {
            return bucketValuesBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(bucketValues_);
          }
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder addBucketValuesBuilder() {
          return getBucketValuesFieldBuilder().addBuilder(
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.getDefaultInstance());
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder addBucketValuesBuilder(
            int index) {
          return getBucketValuesFieldBuilder().addBuilder(
              index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.getDefaultInstance());
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         */
        public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder>
             getBucketValuesBuilderList() {
          return getBucketValuesFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder>
            getBucketValuesFieldBuilder() {
          if (bucketValuesBuilder_ == null) {
            bucketValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder>(
                    bucketValues_,
                    ((bitField0_ & 0x00000008) == 0x00000008),
                    getParentForChildren(),
                    isClean());
            bucketValues_ = null;
          }
          return bucketValuesBuilder_;
        }

        private long bucketValueCount_ ;
        /**
         *

         * Total number of distinct equivalence classes in this bucket.
         *

         *
         * int64 bucket_value_count = 5;
         */
        public long getBucketValueCount() {
          return bucketValueCount_;
        }
        /**
         *

         * Total number of distinct equivalence classes in this bucket.
         *

         *
         * int64 bucket_value_count = 5;
         */
        public Builder setBucketValueCount(long value) {

          bucketValueCount_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * Total number of distinct equivalence classes in this bucket.
         *

         *
         * int64 bucket_value_count = 5;
         */
        public Builder clearBucketValueCount() {

          bucketValueCount_ = 0L;
          onChanged();
          return this;
        }
        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.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket)
      }

      // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket)
      private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket();
      }

      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

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

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

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

      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }

    }

    public static final int EQUIVALENCE_CLASS_HISTOGRAM_BUCKETS_FIELD_NUMBER = 5;
    private java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket> equivalenceClassHistogramBuckets_;
    /**
     *

     * Histogram of k-anonymity equivalence classes.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     */
    public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket> getEquivalenceClassHistogramBucketsList() {
      return equivalenceClassHistogramBuckets_;
    }
    /**
     *

     * Histogram of k-anonymity equivalence classes.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     */
    public java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder>
        getEquivalenceClassHistogramBucketsOrBuilderList() {
      return equivalenceClassHistogramBuckets_;
    }
    /**
     *

     * Histogram of k-anonymity equivalence classes.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     */
    public int getEquivalenceClassHistogramBucketsCount() {
      return equivalenceClassHistogramBuckets_.size();
    }
    /**
     *

     * Histogram of k-anonymity equivalence classes.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getEquivalenceClassHistogramBuckets(int index) {
      return equivalenceClassHistogramBuckets_.get(index);
    }
    /**
     *

     * Histogram of k-anonymity equivalence classes.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder getEquivalenceClassHistogramBucketsOrBuilder(
        int index) {
      return equivalenceClassHistogramBuckets_.get(index);
    }

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

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

      size = 0;
      for (int i = 0; i < equivalenceClassHistogramBuckets_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, equivalenceClassHistogramBuckets_.get(i));
      }
      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.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult)) {
        return super.equals(obj);
      }
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) obj;

      boolean result = true;
      result = result && getEquivalenceClassHistogramBucketsList()
          .equals(other.getEquivalenceClassHistogramBucketsList());
      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();
      if (getEquivalenceClassHistogramBucketsCount() > 0) {
        hash = (37 * hash) + EQUIVALENCE_CLASS_HISTOGRAM_BUCKETS_FIELD_NUMBER;
        hash = (53 * hash) + getEquivalenceClassHistogramBucketsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

     * Result of the k-anonymity computation.
     *

     *
     * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult)
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder.class);
      }

      // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getEquivalenceClassHistogramBucketsFieldBuilder();
        }
      }
      public Builder clear() {
        super.clear();
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          equivalenceClassHistogramBuckets_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          equivalenceClassHistogramBucketsBuilder_.clear();
        }
        return this;
      }

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

      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult getDefaultInstanceForType() {
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance();
      }

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

      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult buildPartial() {
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult(this);
        int from_bitField0_ = bitField0_;
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            equivalenceClassHistogramBuckets_ = java.util.Collections.unmodifiableList(equivalenceClassHistogramBuckets_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.equivalenceClassHistogramBuckets_ = equivalenceClassHistogramBuckets_;
        } else {
          result.equivalenceClassHistogramBuckets_ = equivalenceClassHistogramBucketsBuilder_.build();
        }
        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.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) {
          return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult other) {
        if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance()) return this;
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          if (!other.equivalenceClassHistogramBuckets_.isEmpty()) {
            if (equivalenceClassHistogramBuckets_.isEmpty()) {
              equivalenceClassHistogramBuckets_ = other.equivalenceClassHistogramBuckets_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureEquivalenceClassHistogramBucketsIsMutable();
              equivalenceClassHistogramBuckets_.addAll(other.equivalenceClassHistogramBuckets_);
            }
            onChanged();
          }
        } else {
          if (!other.equivalenceClassHistogramBuckets_.isEmpty()) {
            if (equivalenceClassHistogramBucketsBuilder_.isEmpty()) {
              equivalenceClassHistogramBucketsBuilder_.dispose();
              equivalenceClassHistogramBucketsBuilder_ = null;
              equivalenceClassHistogramBuckets_ = other.equivalenceClassHistogramBuckets_;
              bitField0_ = (bitField0_ & ~0x00000001);
              equivalenceClassHistogramBucketsBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getEquivalenceClassHistogramBucketsFieldBuilder() : null;
            } else {
              equivalenceClassHistogramBucketsBuilder_.addAllMessages(other.equivalenceClassHistogramBuckets_);
            }
          }
        }
        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.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket> equivalenceClassHistogramBuckets_ =
        java.util.Collections.emptyList();
      private void ensureEquivalenceClassHistogramBucketsIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          equivalenceClassHistogramBuckets_ = new java.util.ArrayList<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket>(equivalenceClassHistogramBuckets_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder> equivalenceClassHistogramBucketsBuilder_;

      /**
       *

       * Histogram of k-anonymity equivalence classes.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       */
      public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket> getEquivalenceClassHistogramBucketsList() {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(equivalenceClassHistogramBuckets_);
        } else {
          return equivalenceClassHistogramBucketsBuilder_.getMessageList();
        }
      }
      /**
       *

       * Histogram of k-anonymity equivalence classes.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       */
      public int getEquivalenceClassHistogramBucketsCount() {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          return equivalenceClassHistogramBuckets_.size();
        } else {
          return equivalenceClassHistogramBucketsBuilder_.getCount();
        }
      }
      /**
       *

       * Histogram of k-anonymity equivalence classes.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getEquivalenceClassHistogramBuckets(int index) {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          return equivalenceClassHistogramBuckets_.get(index);
        } else {
          return equivalenceClassHistogramBucketsBuilder_.getMessage(index);
        }
      }
      /**
       *

       * Histogram of k-anonymity equivalence classes.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       */
      public Builder setEquivalenceClassHistogramBuckets(
          int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket value) {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEquivalenceClassHistogramBucketsIsMutable();
          equivalenceClassHistogramBuckets_.set(index, value);
          onChanged();
        } else {
          equivalenceClassHistogramBucketsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       *

       * Histogram of k-anonymity equivalence classes.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       */
      public Builder setEquivalenceClassHistogramBuckets(
          int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder builderForValue) {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          ensureEquivalenceClassHistogramBucketsIsMutable();
          equivalenceClassHistogramBuckets_.set(index, builderForValue.build());
          onChanged();
        } else {
          equivalenceClassHistogramBucketsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       *

       * Histogram of k-anonymity equivalence classes.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       */
      public Builder addEquivalenceClassHistogramBuckets(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket value) {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEquivalenceClassHistogramBucketsIsMutable();
          equivalenceClassHistogramBuckets_.add(value);
          onChanged();
        } else {
          equivalenceClassHistogramBucketsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       *

       * Histogram of k-anonymity equivalence classes.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       */
      public Builder addEquivalenceClassHistogramBuckets(
          int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket value) {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEquivalenceClassHistogramBucketsIsMutable();
          equivalenceClassHistogramBuckets_.add(index, value);
          onChanged();
        } else {
          equivalenceClassHistogramBucketsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       *

       * Histogram of k-anonymity equivalence classes.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       */
      public Builder addEquivalenceClassHistogramBuckets(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder builderForValue) {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          ensureEquivalenceClassHistogramBucketsIsMutable();
          equivalenceClassHistogramBuckets_.add(builderForValue.build());
          onChanged();
        } else {
          equivalenceClassHistogramBucketsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       *

       * Histogram of k-anonymity equivalence classes.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       */
      public Builder addEquivalenceClassHistogramBuckets(
          int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder builderForValue) {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          ensureEquivalenceClassHistogramBucketsIsMutable();
          equivalenceClassHistogramBuckets_.add(index, builderForValue.build());
          onChanged();
        } else {
          equivalenceClassHistogramBucketsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       *

       * Histogram of k-anonymity equivalence classes.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       */
      public Builder addAllEquivalenceClassHistogramBuckets(
          java.lang.Iterable<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket> values) {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          ensureEquivalenceClassHistogramBucketsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, equivalenceClassHistogramBuckets_);
          onChanged();
        } else {
          equivalenceClassHistogramBucketsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       *

       * Histogram of k-anonymity equivalence classes.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       */
      public Builder clearEquivalenceClassHistogramBuckets() {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          equivalenceClassHistogramBuckets_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          equivalenceClassHistogramBucketsBuilder_.clear();
        }
        return this;
      }
      /**
       *

       * Histogram of k-anonymity equivalence classes.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       */
      public Builder removeEquivalenceClassHistogramBuckets(int index) {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          ensureEquivalenceClassHistogramBucketsIsMutable();
          equivalenceClassHistogramBuckets_.remove(index);
          onChanged();
        } else {
          equivalenceClassHistogramBucketsBuilder_.remove(index);
        }
        return this;
      }
      /**
       *

       * Histogram of k-anonymity equivalence classes.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder getEquivalenceClassHistogramBucketsBuilder(
          int index) {
        return getEquivalenceClassHistogramBucketsFieldBuilder().getBuilder(index);
      }
      /**
       *

       * Histogram of k-anonymity equivalence classes.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder getEquivalenceClassHistogramBucketsOrBuilder(
          int index) {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          return equivalenceClassHistogramBuckets_.get(index);  } else {
          return equivalenceClassHistogramBucketsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       *

       * Histogram of k-anonymity equivalence classes.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       */
      public java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder>
           getEquivalenceClassHistogramBucketsOrBuilderList() {
        if (equivalenceClassHistogramBucketsBuilder_ != null) {
          return equivalenceClassHistogramBucketsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(equivalenceClassHistogramBuckets_);
        }
      }
      /**
       *

       * Histogram of k-anonymity equivalence classes.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder addEquivalenceClassHistogramBucketsBuilder() {
        return getEquivalenceClassHistogramBucketsFieldBuilder().addBuilder(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.getDefaultInstance());
      }
      /**
       *

       * Histogram of k-anonymity equivalence classes.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder addEquivalenceClassHistogramBucketsBuilder(
          int index) {
        return getEquivalenceClassHistogramBucketsFieldBuilder().addBuilder(
            index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.getDefaultInstance());
      }
      /**
       *

       * Histogram of k-anonymity equivalence classes.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       */
      public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder>
           getEquivalenceClassHistogramBucketsBuilderList() {
        return getEquivalenceClassHistogramBucketsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder>
          getEquivalenceClassHistogramBucketsFieldBuilder() {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          equivalenceClassHistogramBucketsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder>(
                  equivalenceClassHistogramBuckets_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          equivalenceClassHistogramBuckets_ = null;
        }
        return equivalenceClassHistogramBucketsBuilder_;
      }
      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.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult)
    }

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

    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface LDiversityResultOrBuilder extends
      // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult)
      com.google.protobuf.MessageOrBuilder {

    /**
     *

     * Histogram of l-diversity equivalence class sensitive value frequencies.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     */
    java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket>
        getSensitiveValueFrequencyHistogramBucketsList();
    /**
     *

     * Histogram of l-diversity equivalence class sensitive value frequencies.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     */
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getSensitiveValueFrequencyHistogramBuckets(int index);
    /**
     *

     * Histogram of l-diversity equivalence class sensitive value frequencies.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     */
    int getSensitiveValueFrequencyHistogramBucketsCount();
    /**
     *

     * Histogram of l-diversity equivalence class sensitive value frequencies.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     */
    java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder>
        getSensitiveValueFrequencyHistogramBucketsOrBuilderList();
    /**
     *

     * Histogram of l-diversity equivalence class sensitive value frequencies.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     */
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder getSensitiveValueFrequencyHistogramBucketsOrBuilder(
        int index);
  }
  /**
   *

   * Result of the l-diversity computation.
   *

   *
   * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult}
   */
  public  static final class LDiversityResult extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult)
      LDiversityResultOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use LDiversityResult.newBuilder() to construct.
    private LDiversityResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private LDiversityResult() {
      sensitiveValueFrequencyHistogramBuckets_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private LDiversityResult(
        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 42: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                sensitiveValueFrequencyHistogramBuckets_ = new java.util.ArrayList<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket>();
                mutable_bitField0_ |= 0x00000001;
              }
              sensitiveValueFrequencyHistogramBuckets_.add(
                  input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.parser(), extensionRegistry));
              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_ & 0x00000001) == 0x00000001)) {
          sensitiveValueFrequencyHistogramBuckets_ = java.util.Collections.unmodifiableList(sensitiveValueFrequencyHistogramBuckets_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder.class);
    }

    public interface LDiversityEquivalenceClassOrBuilder extends
        // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass)
        com.google.protobuf.MessageOrBuilder {

      /**
       *

       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      java.util.List<com.google.privacy.dlp.v2.Value>
          getQuasiIdsValuesList();
      /**
       *

       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index);
      /**
       *

       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      int getQuasiIdsValuesCount();
      /**
       *

       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
          getQuasiIdsValuesOrBuilderList();
      /**
       *

       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
          int index);

      /**
       *

       * Size of the k-anonymity equivalence class.
       *

       *
       * int64 equivalence_class_size = 2;
       */
      long getEquivalenceClassSize();

      /**
       *

       * Number of distinct sensitive values in this equivalence class.
       *

       *
       * int64 num_distinct_sensitive_values = 3;
       */
      long getNumDistinctSensitiveValues();

      /**
       *

       * Estimated frequencies of top sensitive values.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
       */
      java.util.List<com.google.privacy.dlp.v2.ValueFrequency>
          getTopSensitiveValuesList();
      /**
       *

       * Estimated frequencies of top sensitive values.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
       */
      com.google.privacy.dlp.v2.ValueFrequency getTopSensitiveValues(int index);
      /**
       *

       * Estimated frequencies of top sensitive values.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
       */
      int getTopSensitiveValuesCount();
      /**
       *

       * Estimated frequencies of top sensitive values.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
       */
      java.util.List<? extends com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>
          getTopSensitiveValuesOrBuilderList();
      /**
       *

       * Estimated frequencies of top sensitive values.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
       */
      com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOrBuilder(
          int index);
    }
    /**
     *

     * The set of columns' values that share the same ldiversity value.
     *

     *
     * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass}
     */
    public  static final class LDiversityEquivalenceClass extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass)
        LDiversityEquivalenceClassOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use LDiversityEquivalenceClass.newBuilder() to construct.
      private LDiversityEquivalenceClass(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private LDiversityEquivalenceClass() {
        quasiIdsValues_ = java.util.Collections.emptyList();
        equivalenceClassSize_ = 0L;
        numDistinctSensitiveValues_ = 0L;
        topSensitiveValues_ = java.util.Collections.emptyList();
      }

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private LDiversityEquivalenceClass(
          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 10: {
                if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                  quasiIdsValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2.Value>();
                  mutable_bitField0_ |= 0x00000001;
                }
                quasiIdsValues_.add(
                    input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry));
                break;
              }
              case 16: {

                equivalenceClassSize_ = input.readInt64();
                break;
              }
              case 24: {

                numDistinctSensitiveValues_ = input.readInt64();
                break;
              }
              case 34: {
                if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                  topSensitiveValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2.ValueFrequency>();
                  mutable_bitField0_ |= 0x00000008;
                }
                topSensitiveValues_.add(
                    input.readMessage(com.google.privacy.dlp.v2.ValueFrequency.parser(), extensionRegistry));
                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_ & 0x00000001) == 0x00000001)) {
            quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_);
          }
          if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
            topSensitiveValues_ = java.util.Collections.unmodifiableList(topSensitiveValues_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder.class);
      }

      private int bitField0_;
      public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1;
      private java.util.List<com.google.privacy.dlp.v2.Value> quasiIdsValues_;
      /**
       *

       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      public java.util.List<com.google.privacy.dlp.v2.Value> getQuasiIdsValuesList() {
        return quasiIdsValues_;
      }
      /**
       *

       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      public java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
          getQuasiIdsValuesOrBuilderList() {
        return quasiIdsValues_;
      }
      /**
       *

       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      public int getQuasiIdsValuesCount() {
        return quasiIdsValues_.size();
      }
      /**
       *

       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
        return quasiIdsValues_.get(index);
      }
      /**
       *

       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
          int index) {
        return quasiIdsValues_.get(index);
      }

      public static final int EQUIVALENCE_CLASS_SIZE_FIELD_NUMBER = 2;
      private long equivalenceClassSize_;
      /**
       *

       * Size of the k-anonymity equivalence class.
       *

       *
       * int64 equivalence_class_size = 2;
       */
      public long getEquivalenceClassSize() {
        return equivalenceClassSize_;
      }

      public static final int NUM_DISTINCT_SENSITIVE_VALUES_FIELD_NUMBER = 3;
      private long numDistinctSensitiveValues_;
      /**
       *

       * Number of distinct sensitive values in this equivalence class.
       *

       *
       * int64 num_distinct_sensitive_values = 3;
       */
      public long getNumDistinctSensitiveValues() {
        return numDistinctSensitiveValues_;
      }

      public static final int TOP_SENSITIVE_VALUES_FIELD_NUMBER = 4;
      private java.util.List<com.google.privacy.dlp.v2.ValueFrequency> topSensitiveValues_;
      /**
       *

       * Estimated frequencies of top sensitive values.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
       */
      public java.util.List<com.google.privacy.dlp.v2.ValueFrequency> getTopSensitiveValuesList() {
        return topSensitiveValues_;
      }
      /**
       *

       * Estimated frequencies of top sensitive values.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
       */
      public java.util.List<? extends com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>
          getTopSensitiveValuesOrBuilderList() {
        return topSensitiveValues_;
      }
      /**
       *

       * Estimated frequencies of top sensitive values.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
       */
      public int getTopSensitiveValuesCount() {
        return topSensitiveValues_.size();
      }
      /**
       *

       * Estimated frequencies of top sensitive values.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
       */
      public com.google.privacy.dlp.v2.ValueFrequency getTopSensitiveValues(int index) {
        return topSensitiveValues_.get(index);
      }
      /**
       *

       * Estimated frequencies of top sensitive values.
       *

       *
       * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
       */
      public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOrBuilder(
          int index) {
        return topSensitiveValues_.get(index);
      }

      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 {
        for (int i = 0; i < quasiIdsValues_.size(); i++) {
          output.writeMessage(1, quasiIdsValues_.get(i));
        }
        if (equivalenceClassSize_ != 0L) {
          output.writeInt64(2, equivalenceClassSize_);
        }
        if (numDistinctSensitiveValues_ != 0L) {
          output.writeInt64(3, numDistinctSensitiveValues_);
        }
        for (int i = 0; i < topSensitiveValues_.size(); i++) {
          output.writeMessage(4, topSensitiveValues_.get(i));
        }
        unknownFields.writeTo(output);
      }

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

        size = 0;
        for (int i = 0; i < quasiIdsValues_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(1, quasiIdsValues_.get(i));
        }
        if (equivalenceClassSize_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(2, equivalenceClassSize_);
        }
        if (numDistinctSensitiveValues_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(3, numDistinctSensitiveValues_);
        }
        for (int i = 0; i < topSensitiveValues_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(4, topSensitiveValues_.get(i));
        }
        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.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass)) {
          return super.equals(obj);
        }
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass) obj;

        boolean result = true;
        result = result && getQuasiIdsValuesList()
            .equals(other.getQuasiIdsValuesList());
        result = result && (getEquivalenceClassSize()
            == other.getEquivalenceClassSize());
        result = result && (getNumDistinctSensitiveValues()
            == other.getNumDistinctSensitiveValues());
        result = result && getTopSensitiveValuesList()
            .equals(other.getTopSensitiveValuesList());
        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();
        if (getQuasiIdsValuesCount() > 0) {
          hash = (37 * hash) + QUASI_IDS_VALUES_FIELD_NUMBER;
          hash = (53 * hash) + getQuasiIdsValuesList().hashCode();
        }
        hash = (37 * hash) + EQUIVALENCE_CLASS_SIZE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getEquivalenceClassSize());
        hash = (37 * hash) + NUM_DISTINCT_SENSITIVE_VALUES_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getNumDistinctSensitiveValues());
        if (getTopSensitiveValuesCount() > 0) {
          hash = (37 * hash) + TOP_SENSITIVE_VALUES_FIELD_NUMBER;
          hash = (53 * hash) + getTopSensitiveValuesList().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }

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

       * The set of columns' values that share the same ldiversity value.
       *

       *
       * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass)
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor;
        }

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder.class);
        }

        // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }

        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessageV3
                  .alwaysUseFieldBuilders) {
            getQuasiIdsValuesFieldBuilder();
            getTopSensitiveValuesFieldBuilder();
          }
        }
        public Builder clear() {
          super.clear();
          if (quasiIdsValuesBuilder_ == null) {
            quasiIdsValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            quasiIdsValuesBuilder_.clear();
          }
          equivalenceClassSize_ = 0L;

          numDistinctSensitiveValues_ = 0L;

          if (topSensitiveValuesBuilder_ == null) {
            topSensitiveValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            topSensitiveValuesBuilder_.clear();
          }
          return this;
        }

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

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass getDefaultInstanceForType() {
          return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.getDefaultInstance();
        }

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass build() {
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass buildPartial() {
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (quasiIdsValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000001) == 0x00000001)) {
              quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_);
              bitField0_ = (bitField0_ & ~0x00000001);
            }
            result.quasiIdsValues_ = quasiIdsValues_;
          } else {
            result.quasiIdsValues_ = quasiIdsValuesBuilder_.build();
          }
          result.equivalenceClassSize_ = equivalenceClassSize_;
          result.numDistinctSensitiveValues_ = numDistinctSensitiveValues_;
          if (topSensitiveValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000008) == 0x00000008)) {
              topSensitiveValues_ = java.util.Collections.unmodifiableList(topSensitiveValues_);
              bitField0_ = (bitField0_ & ~0x00000008);
            }
            result.topSensitiveValues_ = topSensitiveValues_;
          } else {
            result.topSensitiveValues_ = topSensitiveValuesBuilder_.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.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass) {
            return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass other) {
          if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.getDefaultInstance()) return this;
          if (quasiIdsValuesBuilder_ == null) {
            if (!other.quasiIdsValues_.isEmpty()) {
              if (quasiIdsValues_.isEmpty()) {
                quasiIdsValues_ = other.quasiIdsValues_;
                bitField0_ = (bitField0_ & ~0x00000001);
              } else {
                ensureQuasiIdsValuesIsMutable();
                quasiIdsValues_.addAll(other.quasiIdsValues_);
              }
              onChanged();
            }
          } else {
            if (!other.quasiIdsValues_.isEmpty()) {
              if (quasiIdsValuesBuilder_.isEmpty()) {
                quasiIdsValuesBuilder_.dispose();
                quasiIdsValuesBuilder_ = null;
                quasiIdsValues_ = other.quasiIdsValues_;
                bitField0_ = (bitField0_ & ~0x00000001);
                quasiIdsValuesBuilder_ =
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getQuasiIdsValuesFieldBuilder() : null;
              } else {
                quasiIdsValuesBuilder_.addAllMessages(other.quasiIdsValues_);
              }
            }
          }
          if (other.getEquivalenceClassSize() != 0L) {
            setEquivalenceClassSize(other.getEquivalenceClassSize());
          }
          if (other.getNumDistinctSensitiveValues() != 0L) {
            setNumDistinctSensitiveValues(other.getNumDistinctSensitiveValues());
          }
          if (topSensitiveValuesBuilder_ == null) {
            if (!other.topSensitiveValues_.isEmpty()) {
              if (topSensitiveValues_.isEmpty()) {
                topSensitiveValues_ = other.topSensitiveValues_;
                bitField0_ = (bitField0_ & ~0x00000008);
              } else {
                ensureTopSensitiveValuesIsMutable();
                topSensitiveValues_.addAll(other.topSensitiveValues_);
              }
              onChanged();
            }
          } else {
            if (!other.topSensitiveValues_.isEmpty()) {
              if (topSensitiveValuesBuilder_.isEmpty()) {
                topSensitiveValuesBuilder_.dispose();
                topSensitiveValuesBuilder_ = null;
                topSensitiveValues_ = other.topSensitiveValues_;
                bitField0_ = (bitField0_ & ~0x00000008);
                topSensitiveValuesBuilder_ =
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getTopSensitiveValuesFieldBuilder() : null;
              } else {
                topSensitiveValuesBuilder_.addAllMessages(other.topSensitiveValues_);
              }
            }
          }
          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.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;

        private java.util.List<com.google.privacy.dlp.v2.Value> quasiIdsValues_ =
          java.util.Collections.emptyList();
        private void ensureQuasiIdsValuesIsMutable() {
          if (!((bitField0_ & 0x00000001) == 0x00000001)) {
            quasiIdsValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2.Value>(quasiIdsValues_);
            bitField0_ |= 0x00000001;
           }
        }

        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> quasiIdsValuesBuilder_;

        /**
         *

         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public java.util.List<com.google.privacy.dlp.v2.Value> getQuasiIdsValuesList() {
          if (quasiIdsValuesBuilder_ == null) {
            return java.util.Collections.unmodifiableList(quasiIdsValues_);
          } else {
            return quasiIdsValuesBuilder_.getMessageList();
          }
        }
        /**
         *

         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public int getQuasiIdsValuesCount() {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.size();
          } else {
            return quasiIdsValuesBuilder_.getCount();
          }
        }
        /**
         *

         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.get(index);
          } else {
            return quasiIdsValuesBuilder_.getMessage(index);
          }
        }
        /**
         *

         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder setQuasiIdsValues(
            int index, com.google.privacy.dlp.v2.Value value) {
          if (quasiIdsValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.set(index, value);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         *

         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder setQuasiIdsValues(
            int index, com.google.privacy.dlp.v2.Value.Builder builderForValue) {
          if (quasiIdsValuesBuilder_ == null) {
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.set(index, builderForValue.build());
            onChanged();
          } else {
            quasiIdsValuesBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value value) {
          if (quasiIdsValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.add(value);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         *

         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder addQuasiIdsValues(
            int index, com.google.privacy.dlp.v2.Value value) {
          if (quasiIdsValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.add(index, value);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         *

         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder addQuasiIdsValues(
            com.google.privacy.dlp.v2.Value.Builder builderForValue) {
          if (quasiIdsValuesBuilder_ == null) {
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.add(builderForValue.build());
            onChanged();
          } else {
            quasiIdsValuesBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder addQuasiIdsValues(
            int index, com.google.privacy.dlp.v2.Value.Builder builderForValue) {
          if (quasiIdsValuesBuilder_ == null) {
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.add(index, builderForValue.build());
            onChanged();
          } else {
            quasiIdsValuesBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder addAllQuasiIdsValues(
            java.lang.Iterable<? extends com.google.privacy.dlp.v2.Value> values) {
          if (quasiIdsValuesBuilder_ == null) {
            ensureQuasiIdsValuesIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, quasiIdsValues_);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         *

         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder clearQuasiIdsValues() {
          if (quasiIdsValuesBuilder_ == null) {
            quasiIdsValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.clear();
          }
          return this;
        }
        /**
         *

         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder removeQuasiIdsValues(int index) {
          if (quasiIdsValuesBuilder_ == null) {
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.remove(index);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.remove(index);
          }
          return this;
        }
        /**
         *

         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(
            int index) {
          return getQuasiIdsValuesFieldBuilder().getBuilder(index);
        }
        /**
         *

         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
            int index) {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.get(index);  } else {
            return quasiIdsValuesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         *

         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
             getQuasiIdsValuesOrBuilderList() {
          if (quasiIdsValuesBuilder_ != null) {
            return quasiIdsValuesBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(quasiIdsValues_);
          }
        }
        /**
         *

         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder() {
          return getQuasiIdsValuesFieldBuilder().addBuilder(
              com.google.privacy.dlp.v2.Value.getDefaultInstance());
        }
        /**
         *

         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(
            int index) {
          return getQuasiIdsValuesFieldBuilder().addBuilder(
              index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
        }
        /**
         *

         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public java.util.List<com.google.privacy.dlp.v2.Value.Builder>
             getQuasiIdsValuesBuilderList() {
          return getQuasiIdsValuesFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>
            getQuasiIdsValuesFieldBuilder() {
          if (quasiIdsValuesBuilder_ == null) {
            quasiIdsValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>(
                    quasiIdsValues_,
                    ((bitField0_ & 0x00000001) == 0x00000001),
                    getParentForChildren(),
                    isClean());
            quasiIdsValues_ = null;
          }
          return quasiIdsValuesBuilder_;
        }

        private long equivalenceClassSize_ ;
        /**
         *

         * Size of the k-anonymity equivalence class.
         *

         *
         * int64 equivalence_class_size = 2;
         */
        public long getEquivalenceClassSize() {
          return equivalenceClassSize_;
        }
        /**
         *

         * Size of the k-anonymity equivalence class.
         *

         *
         * int64 equivalence_class_size = 2;
         */
        public Builder setEquivalenceClassSize(long value) {

          equivalenceClassSize_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * Size of the k-anonymity equivalence class.
         *

         *
         * int64 equivalence_class_size = 2;
         */
        public Builder clearEquivalenceClassSize() {

          equivalenceClassSize_ = 0L;
          onChanged();
          return this;
        }

        private long numDistinctSensitiveValues_ ;
        /**
         *

         * Number of distinct sensitive values in this equivalence class.
         *

         *
         * int64 num_distinct_sensitive_values = 3;
         */
        public long getNumDistinctSensitiveValues() {
          return numDistinctSensitiveValues_;
        }
        /**
         *

         * Number of distinct sensitive values in this equivalence class.
         *

         *
         * int64 num_distinct_sensitive_values = 3;
         */
        public Builder setNumDistinctSensitiveValues(long value) {

          numDistinctSensitiveValues_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * Number of distinct sensitive values in this equivalence class.
         *

         *
         * int64 num_distinct_sensitive_values = 3;
         */
        public Builder clearNumDistinctSensitiveValues() {

          numDistinctSensitiveValues_ = 0L;
          onChanged();
          return this;
        }

        private java.util.List<com.google.privacy.dlp.v2.ValueFrequency> topSensitiveValues_ =
          java.util.Collections.emptyList();
        private void ensureTopSensitiveValuesIsMutable() {
          if (!((bitField0_ & 0x00000008) == 0x00000008)) {
            topSensitiveValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2.ValueFrequency>(topSensitiveValues_);
            bitField0_ |= 0x00000008;
           }
        }

        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2.ValueFrequency, com.google.privacy.dlp.v2.ValueFrequency.Builder, com.google.privacy.dlp.v2.ValueFrequencyOrBuilder> topSensitiveValuesBuilder_;

        /**
         *

         * Estimated frequencies of top sensitive values.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
         */
        public java.util.List<com.google.privacy.dlp.v2.ValueFrequency> getTopSensitiveValuesList() {
          if (topSensitiveValuesBuilder_ == null) {
            return java.util.Collections.unmodifiableList(topSensitiveValues_);
          } else {
            return topSensitiveValuesBuilder_.getMessageList();
          }
        }
        /**
         *

         * Estimated frequencies of top sensitive values.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
         */
        public int getTopSensitiveValuesCount() {
          if (topSensitiveValuesBuilder_ == null) {
            return topSensitiveValues_.size();
          } else {
            return topSensitiveValuesBuilder_.getCount();
          }
        }
        /**
         *

         * Estimated frequencies of top sensitive values.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
         */
        public com.google.privacy.dlp.v2.ValueFrequency getTopSensitiveValues(int index) {
          if (topSensitiveValuesBuilder_ == null) {
            return topSensitiveValues_.get(index);
          } else {
            return topSensitiveValuesBuilder_.getMessage(index);
          }
        }
        /**
         *

         * Estimated frequencies of top sensitive values.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
         */
        public Builder setTopSensitiveValues(
            int index, com.google.privacy.dlp.v2.ValueFrequency value) {
          if (topSensitiveValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureTopSensitiveValuesIsMutable();
            topSensitiveValues_.set(index, value);
            onChanged();
          } else {
            topSensitiveValuesBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         *

         * Estimated frequencies of top sensitive values.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
         */
        public Builder setTopSensitiveValues(
            int index, com.google.privacy.dlp.v2.ValueFrequency.Builder builderForValue) {
          if (topSensitiveValuesBuilder_ == null) {
            ensureTopSensitiveValuesIsMutable();
            topSensitiveValues_.set(index, builderForValue.build());
            onChanged();
          } else {
            topSensitiveValuesBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Estimated frequencies of top sensitive values.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
         */
        public Builder addTopSensitiveValues(com.google.privacy.dlp.v2.ValueFrequency value) {
          if (topSensitiveValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureTopSensitiveValuesIsMutable();
            topSensitiveValues_.add(value);
            onChanged();
          } else {
            topSensitiveValuesBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         *

         * Estimated frequencies of top sensitive values.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
         */
        public Builder addTopSensitiveValues(
            int index, com.google.privacy.dlp.v2.ValueFrequency value) {
          if (topSensitiveValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureTopSensitiveValuesIsMutable();
            topSensitiveValues_.add(index, value);
            onChanged();
          } else {
            topSensitiveValuesBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         *

         * Estimated frequencies of top sensitive values.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
         */
        public Builder addTopSensitiveValues(
            com.google.privacy.dlp.v2.ValueFrequency.Builder builderForValue) {
          if (topSensitiveValuesBuilder_ == null) {
            ensureTopSensitiveValuesIsMutable();
            topSensitiveValues_.add(builderForValue.build());
            onChanged();
          } else {
            topSensitiveValuesBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Estimated frequencies of top sensitive values.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
         */
        public Builder addTopSensitiveValues(
            int index, com.google.privacy.dlp.v2.ValueFrequency.Builder builderForValue) {
          if (topSensitiveValuesBuilder_ == null) {
            ensureTopSensitiveValuesIsMutable();
            topSensitiveValues_.add(index, builderForValue.build());
            onChanged();
          } else {
            topSensitiveValuesBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Estimated frequencies of top sensitive values.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
         */
        public Builder addAllTopSensitiveValues(
            java.lang.Iterable<? extends com.google.privacy.dlp.v2.ValueFrequency> values) {
          if (topSensitiveValuesBuilder_ == null) {
            ensureTopSensitiveValuesIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, topSensitiveValues_);
            onChanged();
          } else {
            topSensitiveValuesBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         *

         * Estimated frequencies of top sensitive values.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
         */
        public Builder clearTopSensitiveValues() {
          if (topSensitiveValuesBuilder_ == null) {
            topSensitiveValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000008);
            onChanged();
          } else {
            topSensitiveValuesBuilder_.clear();
          }
          return this;
        }
        /**
         *

         * Estimated frequencies of top sensitive values.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
         */
        public Builder removeTopSensitiveValues(int index) {
          if (topSensitiveValuesBuilder_ == null) {
            ensureTopSensitiveValuesIsMutable();
            topSensitiveValues_.remove(index);
            onChanged();
          } else {
            topSensitiveValuesBuilder_.remove(index);
          }
          return this;
        }
        /**
         *

         * Estimated frequencies of top sensitive values.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
         */
        public com.google.privacy.dlp.v2.ValueFrequency.Builder getTopSensitiveValuesBuilder(
            int index) {
          return getTopSensitiveValuesFieldBuilder().getBuilder(index);
        }
        /**
         *

         * Estimated frequencies of top sensitive values.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
         */
        public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOrBuilder(
            int index) {
          if (topSensitiveValuesBuilder_ == null) {
            return topSensitiveValues_.get(index);  } else {
            return topSensitiveValuesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         *

         * Estimated frequencies of top sensitive values.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
         */
        public java.util.List<? extends com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>
             getTopSensitiveValuesOrBuilderList() {
          if (topSensitiveValuesBuilder_ != null) {
            return topSensitiveValuesBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(topSensitiveValues_);
          }
        }
        /**
         *

         * Estimated frequencies of top sensitive values.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
         */
        public com.google.privacy.dlp.v2.ValueFrequency.Builder addTopSensitiveValuesBuilder() {
          return getTopSensitiveValuesFieldBuilder().addBuilder(
              com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance());
        }
        /**
         *

         * Estimated frequencies of top sensitive values.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
         */
        public com.google.privacy.dlp.v2.ValueFrequency.Builder addTopSensitiveValuesBuilder(
            int index) {
          return getTopSensitiveValuesFieldBuilder().addBuilder(
              index, com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance());
        }
        /**
         *

         * Estimated frequencies of top sensitive values.
         *

         *
         * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
         */
        public java.util.List<com.google.privacy.dlp.v2.ValueFrequency.Builder>
             getTopSensitiveValuesBuilderList() {
          return getTopSensitiveValuesFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2.ValueFrequency, com.google.privacy.dlp.v2.ValueFrequency.Builder, com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>
            getTopSensitiveValuesFieldBuilder() {
          if (topSensitiveValuesBuilder_ == null) {
            topSensitiveValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.privacy.dlp.v2.ValueFrequency, com.google.privacy.dlp.v2.ValueFrequency.Builder, com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>(
                    topSensitiveValues_,
                    ((bitField0_ & 0x00000008) == 0x00000008),
                    getParentForChildren(),
                    isClean());
            topSensitiveValues_ = null;
          }
          return topSensitiveValuesBuilder_;
        }
        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.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass)
      }

      // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass)
      private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass();
      }

      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

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

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

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

      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }

    }

    public interface LDiversityHistogramBucketOrBuilder extends
        // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket)
        com.google.protobuf.MessageOrBuilder {

      /**
       *

       * Lower bound on the sensitive value frequencies of the equivalence
       * classes in this bucket.
       *

       *
       * int64 sensitive_value_frequency_lower_bound = 1;
       */
      long getSensitiveValueFrequencyLowerBound();

      /**
       *

       * Upper bound on the sensitive value frequencies of the equivalence
       * classes in this bucket.
       *

       *
       * int64 sensitive_value_frequency_upper_bound = 2;
       */
      long getSensitiveValueFrequencyUpperBound();

      /**
       *

       * Total number of equivalence classes in this bucket.
       *

       *
       * int64 bucket_size = 3;
       */
      long getBucketSize();

      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       */
      java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass>
          getBucketValuesList();
      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       */
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass getBucketValues(int index);
      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       */
      int getBucketValuesCount();
      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       */
      java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder>
          getBucketValuesOrBuilderList();
      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       */
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder getBucketValuesOrBuilder(
          int index);

      /**
       *

       * Total number of distinct equivalence classes in this bucket.
       *

       *
       * int64 bucket_value_count = 5;
       */
      long getBucketValueCount();
    }
    /**
     * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket}
     */
    public  static final class LDiversityHistogramBucket extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket)
        LDiversityHistogramBucketOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use LDiversityHistogramBucket.newBuilder() to construct.
      private LDiversityHistogramBucket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private LDiversityHistogramBucket() {
        sensitiveValueFrequencyLowerBound_ = 0L;
        sensitiveValueFrequencyUpperBound_ = 0L;
        bucketSize_ = 0L;
        bucketValues_ = java.util.Collections.emptyList();
        bucketValueCount_ = 0L;
      }

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private LDiversityHistogramBucket(
          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: {

                sensitiveValueFrequencyLowerBound_ = input.readInt64();
                break;
              }
              case 16: {

                sensitiveValueFrequencyUpperBound_ = input.readInt64();
                break;
              }
              case 24: {

                bucketSize_ = input.readInt64();
                break;
              }
              case 34: {
                if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                  bucketValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass>();
                  mutable_bitField0_ |= 0x00000008;
                }
                bucketValues_.add(
                    input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.parser(), extensionRegistry));
                break;
              }
              case 40: {

                bucketValueCount_ = input.readInt64();
                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_ & 0x00000008) == 0x00000008)) {
            bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder.class);
      }

      private int bitField0_;
      public static final int SENSITIVE_VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER = 1;
      private long sensitiveValueFrequencyLowerBound_;
      /**
       *

       * Lower bound on the sensitive value frequencies of the equivalence
       * classes in this bucket.
       *

       *
       * int64 sensitive_value_frequency_lower_bound = 1;
       */
      public long getSensitiveValueFrequencyLowerBound() {
        return sensitiveValueFrequencyLowerBound_;
      }

      public static final int SENSITIVE_VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER = 2;
      private long sensitiveValueFrequencyUpperBound_;
      /**
       *

       * Upper bound on the sensitive value frequencies of the equivalence
       * classes in this bucket.
       *

       *
       * int64 sensitive_value_frequency_upper_bound = 2;
       */
      public long getSensitiveValueFrequencyUpperBound() {
        return sensitiveValueFrequencyUpperBound_;
      }

      public static final int BUCKET_SIZE_FIELD_NUMBER = 3;
      private long bucketSize_;
      /**
       *

       * Total number of equivalence classes in this bucket.
       *

       *
       * int64 bucket_size = 3;
       */
      public long getBucketSize() {
        return bucketSize_;
      }

      public static final int BUCKET_VALUES_FIELD_NUMBER = 4;
      private java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass> bucketValues_;
      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       */
      public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass> getBucketValuesList() {
        return bucketValues_;
      }
      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       */
      public java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder>
          getBucketValuesOrBuilderList() {
        return bucketValues_;
      }
      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       */
      public int getBucketValuesCount() {
        return bucketValues_.size();
      }
      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass getBucketValues(int index) {
        return bucketValues_.get(index);
      }
      /**
       *

       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder getBucketValuesOrBuilder(
          int index) {
        return bucketValues_.get(index);
      }

      public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER = 5;
      private long bucketValueCount_;
      /**
       *

       * Total number of distinct equivalence classes in this bucket.
       *

       *
       * int64 bucket_value_count = 5;
       */
      public long getBucketValueCount() {
        return bucketValueCount_;
      }

      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 (sensitiveValueFrequencyLowerBound_ != 0L) {
          output.writeInt64(1, sensitiveValueFrequencyLowerBound_);
        }
        if (sensitiveValueFrequencyUpperBound_ != 0L) {
          output.writeInt64(2, sensitiveValueFrequencyUpperBound_);
        }
        if (bucketSize_ != 0L) {
          output.writeInt64(3, bucketSize_);
        }
        for (int i = 0; i < bucketValues_.size(); i++) {
          output.writeMessage(4, bucketValues_.get(i));
        }
        if (bucketValueCount_ != 0L) {
          output.writeInt64(5, bucketValueCount_);
        }
        unknownFields.writeTo(output);
      }

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

        size = 0;
        if (sensitiveValueFrequencyLowerBound_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(1, sensitiveValueFrequencyLowerBound_);
        }
        if (sensitiveValueFrequencyUpperBound_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(2, sensitiveValueFrequencyUpperBound_);
        }
        if (bucketSize_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(3, bucketSize_);
        }
        for (int i = 0; i < bucketValues_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(4, bucketValues_.get(i));
        }
        if (bucketValueCount_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(5, bucketValueCount_);
        }
        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.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket)) {
          return super.equals(obj);
        }
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket) obj;

        boolean result = true;
        result = result && (getSensitiveValueFrequencyLowerBound()
            == other.getSensitiveValueFrequencyLowerBound());
        result = result && (getSensitiveValueFrequencyUpperBound()
            == other.getSensitiveValueFrequencyUpperBound());
        result = result && (getBucketSize()
            == other.getBucketSize());
        result = result && getBucketValuesList()
            .equals(other.getBucketValuesList());
        result = result && (getBucketValueCount()
            == other.getBucketValueCount());
        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) + SENSITIVE_VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getSensitiveValueFrequencyLowerBound());
        hash = (37 * hash) + SENSITIVE_VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getSensitiveValueFrequencyUpperBound());
        hash = (37 * hash) + BUCKET_SIZE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getBucketSize());
        if (getBucketValuesCount() > 0) {
          hash = (37 * hash) + BUCKET_VALUES_FIELD_NUMBER;
          hash = (53 * hash) + getBucketValuesList().hashCode();
        }
        hash = (37 * hash) + BUCKET_VALUE_COUNT_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getBucketValueCount());
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }

      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket 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.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket 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.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket 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.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket 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.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket 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.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket 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;
      }
      /**
       * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket)
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor;
        }

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder.class);
        }

        // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }

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

          sensitiveValueFrequencyUpperBound_ = 0L;

          bucketSize_ = 0L;

          if (bucketValuesBuilder_ == null) {
            bucketValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            bucketValuesBuilder_.clear();
          }
          bucketValueCount_ = 0L;

          return this;
        }

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

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getDefaultInstanceForType() {
          return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.getDefaultInstance();
        }

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket build() {
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket buildPartial() {
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          result.sensitiveValueFrequencyLowerBound_ = sensitiveValueFrequencyLowerBound_;
          result.sensitiveValueFrequencyUpperBound_ = sensitiveValueFrequencyUpperBound_;
          result.bucketSize_ = bucketSize_;
          if (bucketValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000008) == 0x00000008)) {
              bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
              bitField0_ = (bitField0_ & ~0x00000008);
            }
            result.bucketValues_ = bucketValues_;
          } else {
            result.bucketValues_ = bucketValuesBuilder_.build();
          }
          result.bucketValueCount_ = bucketValueCount_;
          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.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket) {
            return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket other) {
          if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.getDefaultInstance()) return this;
          if (other.getSensitiveValueFrequencyLowerBound() != 0L) {
            setSensitiveValueFrequencyLowerBound(other.getSensitiveValueFrequencyLowerBound());
          }
          if (other.getSensitiveValueFrequencyUpperBound() != 0L) {
            setSensitiveValueFrequencyUpperBound(other.getSensitiveValueFrequencyUpperBound());
          }
          if (other.getBucketSize() != 0L) {
            setBucketSize(other.getBucketSize());
          }
          if (bucketValuesBuilder_ == null) {
            if (!other.bucketValues_.isEmpty()) {
              if (bucketValues_.isEmpty()) {
                bucketValues_ = other.bucketValues_;
                bitField0_ = (bitField0_ & ~0x00000008);
              } else {
                ensureBucketValuesIsMutable();
                bucketValues_.addAll(other.bucketValues_);
              }
              onChanged();
            }
          } else {
            if (!other.bucketValues_.isEmpty()) {
              if (bucketValuesBuilder_.isEmpty()) {
                bucketValuesBuilder_.dispose();
                bucketValuesBuilder_ = null;
                bucketValues_ = other.bucketValues_;
                bitField0_ = (bitField0_ & ~0x00000008);
                bucketValuesBuilder_ =
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getBucketValuesFieldBuilder() : null;
              } else {
                bucketValuesBuilder_.addAllMessages(other.bucketValues_);
              }
            }
          }
          if (other.getBucketValueCount() != 0L) {
            setBucketValueCount(other.getBucketValueCount());
          }
          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.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;

        private long sensitiveValueFrequencyLowerBound_ ;
        /**
         *

         * Lower bound on the sensitive value frequencies of the equivalence
         * classes in this bucket.
         *

         *
         * int64 sensitive_value_frequency_lower_bound = 1;
         */
        public long getSensitiveValueFrequencyLowerBound() {
          return sensitiveValueFrequencyLowerBound_;
        }
        /**
         *

         * Lower bound on the sensitive value frequencies of the equivalence
         * classes in this bucket.
         *

         *
         * int64 sensitive_value_frequency_lower_bound = 1;
         */
        public Builder setSensitiveValueFrequencyLowerBound(long value) {

          sensitiveValueFrequencyLowerBound_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * Lower bound on the sensitive value frequencies of the equivalence
         * classes in this bucket.
         *

         *
         * int64 sensitive_value_frequency_lower_bound = 1;
         */
        public Builder clearSensitiveValueFrequencyLowerBound() {

          sensitiveValueFrequencyLowerBound_ = 0L;
          onChanged();
          return this;
        }

        private long sensitiveValueFrequencyUpperBound_ ;
        /**
         *

         * Upper bound on the sensitive value frequencies of the equivalence
         * classes in this bucket.
         *

         *
         * int64 sensitive_value_frequency_upper_bound = 2;
         */
        public long getSensitiveValueFrequencyUpperBound() {
          return sensitiveValueFrequencyUpperBound_;
        }
        /**
         *

         * Upper bound on the sensitive value frequencies of the equivalence
         * classes in this bucket.
         *

         *
         * int64 sensitive_value_frequency_upper_bound = 2;
         */
        public Builder setSensitiveValueFrequencyUpperBound(long value) {

          sensitiveValueFrequencyUpperBound_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * Upper bound on the sensitive value frequencies of the equivalence
         * classes in this bucket.
         *

         *
         * int64 sensitive_value_frequency_upper_bound = 2;
         */
        public Builder clearSensitiveValueFrequencyUpperBound() {

          sensitiveValueFrequencyUpperBound_ = 0L;
          onChanged();
          return this;
        }

        private long bucketSize_ ;
        /**
         *

         * Total number of equivalence classes in this bucket.
         *

         *
         * int64 bucket_size = 3;
         */
        public long getBucketSize() {
          return bucketSize_;
        }
        /**
         *

         * Total number of equivalence classes in this bucket.
         *

         *
         * int64 bucket_size = 3;
         */
        public Builder setBucketSize(long value) {

          bucketSize_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * Total number of equivalence classes in this bucket.
         *

         *
         * int64 bucket_size = 3;
         */
        public Builder clearBucketSize() {

          bucketSize_ = 0L;
          onChanged();
          return this;
        }

        private java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass> bucketValues_ =
          java.util.Collections.emptyList();
        private void ensureBucketValuesIsMutable() {
          if (!((bitField0_ & 0x00000008) == 0x00000008)) {
            bucketValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass>(bucketValues_);
            bitField0_ |= 0x00000008;
           }
        }

        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder> bucketValuesBuilder_;

        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         */
        public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass> getBucketValuesList() {
          if (bucketValuesBuilder_ == null) {
            return java.util.Collections.unmodifiableList(bucketValues_);
          } else {
            return bucketValuesBuilder_.getMessageList();
          }
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         */
        public int getBucketValuesCount() {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.size();
          } else {
            return bucketValuesBuilder_.getCount();
          }
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass getBucketValues(int index) {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.get(index);
          } else {
            return bucketValuesBuilder_.getMessage(index);
          }
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         */
        public Builder setBucketValues(
            int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass value) {
          if (bucketValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureBucketValuesIsMutable();
            bucketValues_.set(index, value);
            onChanged();
          } else {
            bucketValuesBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         */
        public Builder setBucketValues(
            int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder builderForValue) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.set(index, builderForValue.build());
            onChanged();
          } else {
            bucketValuesBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         */
        public Builder addBucketValues(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass value) {
          if (bucketValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureBucketValuesIsMutable();
            bucketValues_.add(value);
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         */
        public Builder addBucketValues(
            int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass value) {
          if (bucketValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureBucketValuesIsMutable();
            bucketValues_.add(index, value);
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         */
        public Builder addBucketValues(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder builderForValue) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.add(builderForValue.build());
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         */
        public Builder addBucketValues(
            int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder builderForValue) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.add(index, builderForValue.build());
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         */
        public Builder addAllBucketValues(
            java.lang.Iterable<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass> values) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, bucketValues_);
            onChanged();
          } else {
            bucketValuesBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         */
        public Builder clearBucketValues() {
          if (bucketValuesBuilder_ == null) {
            bucketValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000008);
            onChanged();
          } else {
            bucketValuesBuilder_.clear();
          }
          return this;
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         */
        public Builder removeBucketValues(int index) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.remove(index);
            onChanged();
          } else {
            bucketValuesBuilder_.remove(index);
          }
          return this;
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder getBucketValuesBuilder(
            int index) {
          return getBucketValuesFieldBuilder().getBuilder(index);
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder getBucketValuesOrBuilder(
            int index) {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.get(index);  } else {
            return bucketValuesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         */
        public java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder>
             getBucketValuesOrBuilderList() {
          if (bucketValuesBuilder_ != null) {
            return bucketValuesBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(bucketValues_);
          }
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder addBucketValuesBuilder() {
          return getBucketValuesFieldBuilder().addBuilder(
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.getDefaultInstance());
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder addBucketValuesBuilder(
            int index) {
          return getBucketValuesFieldBuilder().addBuilder(
              index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.getDefaultInstance());
        }
        /**
         *

         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         */
        public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder>
             getBucketValuesBuilderList() {
          return getBucketValuesFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder>
            getBucketValuesFieldBuilder() {
          if (bucketValuesBuilder_ == null) {
            bucketValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder>(
                    bucketValues_,
                    ((bitField0_ & 0x00000008) == 0x00000008),
                    getParentForChildren(),
                    isClean());
            bucketValues_ = null;
          }
          return bucketValuesBuilder_;
        }

        private long bucketValueCount_ ;
        /**
         *

         * Total number of distinct equivalence classes in this bucket.
         *

         *
         * int64 bucket_value_count = 5;
         */
        public long getBucketValueCount() {
          return bucketValueCount_;
        }
        /**
         *

         * Total number of distinct equivalence classes in this bucket.
         *

         *
         * int64 bucket_value_count = 5;
         */
        public Builder setBucketValueCount(long value) {

          bucketValueCount_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * Total number of distinct equivalence classes in this bucket.
         *

         *
         * int64 bucket_value_count = 5;
         */
        public Builder clearBucketValueCount() {

          bucketValueCount_ = 0L;
          onChanged();
          return this;
        }
        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.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket)
      }

      // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket)
      private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket();
      }

      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

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

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

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

      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }

    }

    public static final int SENSITIVE_VALUE_FREQUENCY_HISTOGRAM_BUCKETS_FIELD_NUMBER = 5;
    private java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket> sensitiveValueFrequencyHistogramBuckets_;
    /**
     *

     * Histogram of l-diversity equivalence class sensitive value frequencies.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     */
    public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket> getSensitiveValueFrequencyHistogramBucketsList() {
      return sensitiveValueFrequencyHistogramBuckets_;
    }
    /**
     *

     * Histogram of l-diversity equivalence class sensitive value frequencies.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     */
    public java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder>
        getSensitiveValueFrequencyHistogramBucketsOrBuilderList() {
      return sensitiveValueFrequencyHistogramBuckets_;
    }
    /**
     *

     * Histogram of l-diversity equivalence class sensitive value frequencies.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     */
    public int getSensitiveValueFrequencyHistogramBucketsCount() {
      return sensitiveValueFrequencyHistogramBuckets_.size();
    }
    /**
     *

     * Histogram of l-diversity equivalence class sensitive value frequencies.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getSensitiveValueFrequencyHistogramBuckets(int index) {
      return sensitiveValueFrequencyHistogramBuckets_.get(index);
    }
    /**
     *

     * Histogram of l-diversity equivalence class sensitive value frequencies.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder getSensitiveValueFrequencyHistogramBucketsOrBuilder(
        int index) {
      return sensitiveValueFrequencyHistogramBuckets_.get(index);
    }

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

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

      size = 0;
      for (int i = 0; i < sensitiveValueFrequencyHistogramBuckets_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, sensitiveValueFrequencyHistogramBuckets_.get(i));
      }
      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.v2.AnalyzeDataSourceRiskDetails.LDiversityResult)) {
        return super.equals(obj);
      }
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) obj;

      boolean result = true;
      result = result && getSensitiveValueFrequencyHistogramBucketsList()
          .equals(other.getSensitiveValueFrequencyHistogramBucketsList());
      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();
      if (getSensitiveValueFrequencyHistogramBucketsCount() > 0) {
        hash = (37 * hash) + SENSITIVE_VALUE_FREQUENCY_HISTOGRAM_BUCKETS_FIELD_NUMBER;
        hash = (53 * hash) + getSensitiveValueFrequencyHistogramBucketsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

     * Result of the l-diversity computation.
     *

     *
     * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult)
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder.class);
      }

      // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getSensitiveValueFrequencyHistogramBucketsFieldBuilder();
        }
      }
      public Builder clear() {
        super.clear();
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          sensitiveValueFrequencyHistogramBuckets_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          sensitiveValueFrequencyHistogramBucketsBuilder_.clear();
        }
        return this;
      }

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

      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult getDefaultInstanceForType() {
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance();
      }

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

      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult buildPartial() {
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult(this);
        int from_bitField0_ = bitField0_;
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            sensitiveValueFrequencyHistogramBuckets_ = java.util.Collections.unmodifiableList(sensitiveValueFrequencyHistogramBuckets_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.sensitiveValueFrequencyHistogramBuckets_ = sensitiveValueFrequencyHistogramBuckets_;
        } else {
          result.sensitiveValueFrequencyHistogramBuckets_ = sensitiveValueFrequencyHistogramBucketsBuilder_.build();
        }
        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.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) {
          return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult other) {
        if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance()) return this;
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          if (!other.sensitiveValueFrequencyHistogramBuckets_.isEmpty()) {
            if (sensitiveValueFrequencyHistogramBuckets_.isEmpty()) {
              sensitiveValueFrequencyHistogramBuckets_ = other.sensitiveValueFrequencyHistogramBuckets_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureSensitiveValueFrequencyHistogramBucketsIsMutable();
              sensitiveValueFrequencyHistogramBuckets_.addAll(other.sensitiveValueFrequencyHistogramBuckets_);
            }
            onChanged();
          }
        } else {
          if (!other.sensitiveValueFrequencyHistogramBuckets_.isEmpty()) {
            if (sensitiveValueFrequencyHistogramBucketsBuilder_.isEmpty()) {
              sensitiveValueFrequencyHistogramBucketsBuilder_.dispose();
              sensitiveValueFrequencyHistogramBucketsBuilder_ = null;
              sensitiveValueFrequencyHistogramBuckets_ = other.sensitiveValueFrequencyHistogramBuckets_;
              bitField0_ = (bitField0_ & ~0x00000001);
              sensitiveValueFrequencyHistogramBucketsBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getSensitiveValueFrequencyHistogramBucketsFieldBuilder() : null;
            } else {
              sensitiveValueFrequencyHistogramBucketsBuilder_.addAllMessages(other.sensitiveValueFrequencyHistogramBuckets_);
            }
          }
        }
        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.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket> sensitiveValueFrequencyHistogramBuckets_ =
        java.util.Collections.emptyList();
      private void ensureSensitiveValueFrequencyHistogramBucketsIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          sensitiveValueFrequencyHistogramBuckets_ = new java.util.ArrayList<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket>(sensitiveValueFrequencyHistogramBuckets_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder> sensitiveValueFrequencyHistogramBucketsBuilder_;

      /**
       *

       * Histogram of l-diversity equivalence class sensitive value frequencies.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       */
      public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket> getSensitiveValueFrequencyHistogramBucketsList() {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(sensitiveValueFrequencyHistogramBuckets_);
        } else {
          return sensitiveValueFrequencyHistogramBucketsBuilder_.getMessageList();
        }
      }
      /**
       *

       * Histogram of l-diversity equivalence class sensitive value frequencies.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       */
      public int getSensitiveValueFrequencyHistogramBucketsCount() {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          return sensitiveValueFrequencyHistogramBuckets_.size();
        } else {
          return sensitiveValueFrequencyHistogramBucketsBuilder_.getCount();
        }
      }
      /**
       *

       * Histogram of l-diversity equivalence class sensitive value frequencies.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getSensitiveValueFrequencyHistogramBuckets(int index) {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          return sensitiveValueFrequencyHistogramBuckets_.get(index);
        } else {
          return sensitiveValueFrequencyHistogramBucketsBuilder_.getMessage(index);
        }
      }
      /**
       *

       * Histogram of l-diversity equivalence class sensitive value frequencies.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       */
      public Builder setSensitiveValueFrequencyHistogramBuckets(
          int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket value) {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSensitiveValueFrequencyHistogramBucketsIsMutable();
          sensitiveValueFrequencyHistogramBuckets_.set(index, value);
          onChanged();
        } else {
          sensitiveValueFrequencyHistogramBucketsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       *

       * Histogram of l-diversity equivalence class sensitive value frequencies.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       */
      public Builder setSensitiveValueFrequencyHistogramBuckets(
          int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder builderForValue) {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          ensureSensitiveValueFrequencyHistogramBucketsIsMutable();
          sensitiveValueFrequencyHistogramBuckets_.set(index, builderForValue.build());
          onChanged();
        } else {
          sensitiveValueFrequencyHistogramBucketsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       *

       * Histogram of l-diversity equivalence class sensitive value frequencies.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       */
      public Builder addSensitiveValueFrequencyHistogramBuckets(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket value) {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSensitiveValueFrequencyHistogramBucketsIsMutable();
          sensitiveValueFrequencyHistogramBuckets_.add(value);
          onChanged();
        } else {
          sensitiveValueFrequencyHistogramBucketsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       *

       * Histogram of l-diversity equivalence class sensitive value frequencies.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       */
      public Builder addSensitiveValueFrequencyHistogramBuckets(
          int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket value) {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSensitiveValueFrequencyHistogramBucketsIsMutable();
          sensitiveValueFrequencyHistogramBuckets_.add(index, value);
          onChanged();
        } else {
          sensitiveValueFrequencyHistogramBucketsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       *

       * Histogram of l-diversity equivalence class sensitive value frequencies.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       */
      public Builder addSensitiveValueFrequencyHistogramBuckets(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder builderForValue) {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          ensureSensitiveValueFrequencyHistogramBucketsIsMutable();
          sensitiveValueFrequencyHistogramBuckets_.add(builderForValue.build());
          onChanged();
        } else {
          sensitiveValueFrequencyHistogramBucketsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       *

       * Histogram of l-diversity equivalence class sensitive value frequencies.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       */
      public Builder addSensitiveValueFrequencyHistogramBuckets(
          int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder builderForValue) {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          ensureSensitiveValueFrequencyHistogramBucketsIsMutable();
          sensitiveValueFrequencyHistogramBuckets_.add(index, builderForValue.build());
          onChanged();
        } else {
          sensitiveValueFrequencyHistogramBucketsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       *

       * Histogram of l-diversity equivalence class sensitive value frequencies.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       */
      public Builder addAllSensitiveValueFrequencyHistogramBuckets(
          java.lang.Iterable<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket> values) {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          ensureSensitiveValueFrequencyHistogramBucketsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, sensitiveValueFrequencyHistogramBuckets_);
          onChanged();
        } else {
          sensitiveValueFrequencyHistogramBucketsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       *

       * Histogram of l-diversity equivalence class sensitive value frequencies.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       */
      public Builder clearSensitiveValueFrequencyHistogramBuckets() {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          sensitiveValueFrequencyHistogramBuckets_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          sensitiveValueFrequencyHistogramBucketsBuilder_.clear();
        }
        return this;
      }
      /**
       *

       * Histogram of l-diversity equivalence class sensitive value frequencies.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       */
      public Builder removeSensitiveValueFrequencyHistogramBuckets(int index) {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          ensureSensitiveValueFrequencyHistogramBucketsIsMutable();
          sensitiveValueFrequencyHistogramBuckets_.remove(index);
          onChanged();
        } else {
          sensitiveValueFrequencyHistogramBucketsBuilder_.remove(index);
        }
        return this;
      }
      /**
       *

       * Histogram of l-diversity equivalence class sensitive value frequencies.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder getSensitiveValueFrequencyHistogramBucketsBuilder(
          int index) {
        return getSensitiveValueFrequencyHistogramBucketsFieldBuilder().getBuilder(index);
      }
      /**
       *

       * Histogram of l-diversity equivalence class sensitive value frequencies.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder getSensitiveValueFrequencyHistogramBucketsOrBuilder(
          int index) {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          return sensitiveValueFrequencyHistogramBuckets_.get(index);  } else {
          return sensitiveValueFrequencyHistogramBucketsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       *

       * Histogram of l-diversity equivalence class sensitive value frequencies.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       */
      public java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder>
           getSensitiveValueFrequencyHistogramBucketsOrBuilderList() {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ != null) {
          return sensitiveValueFrequencyHistogramBucketsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(sensitiveValueFrequencyHistogramBuckets_);
        }
      }
      /**
       *

       * Histogram of l-diversity equivalence class sensitive value frequencies.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder addSensitiveValueFrequencyHistogramBucketsBuilder() {
        return getSensitiveValueFrequencyHistogramBucketsFieldBuilder().addBuilder(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.getDefaultInstance());
      }
      /**
       *

       * Histogram of l-diversity equivalence class sensitive value frequencies.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder addSensitiveValueFrequencyHistogramBucketsBuilder(
          int index) {
        return getSensitiveValueFrequencyHistogramBucketsFieldBuilder().addBuilder(
            index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.getDefaultInstance());
      }
      /**
       *

       * Histogram of l-diversity equivalence class sensitive value frequencies.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       */
      public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder>
           getSensitiveValueFrequencyHistogramBucketsBuilderList() {
        return getSensitiveValueFrequencyHistogramBucketsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder>
          getSensitiveValueFrequencyHistogramBucketsFieldBuilder() {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          sensitiveValueFrequencyHistogramBucketsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder>(
                  sensitiveValueFrequencyHistogramBuckets_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          sensitiveValueFrequencyHistogramBuckets_ = null;
        }
        return sensitiveValueFrequencyHistogramBucketsBuilder_;
      }
      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.v2.AnalyzeDataSourceRiskDetails.LDiversityResult)
    }

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

    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface KMapEstimationResultOrBuilder extends
      // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult)
      com.google.protobuf.MessageOrBuilder {

    /**
     *

     * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
     * doesn't correspond to any such interval, the associated frequency is
     * zero. For example, the following records:
     *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
     *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
     *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
     * mean that there are no record with an estimated anonymity of 4, 5, or
     * larger than 10.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     */
    java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket>
        getKMapEstimationHistogramList();
    /**
     *

     * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
     * doesn't correspond to any such interval, the associated frequency is
     * zero. For example, the following records:
     *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
     *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
     *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
     * mean that there are no record with an estimated anonymity of 4, 5, or
     * larger than 10.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     */
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getKMapEstimationHistogram(int index);
    /**
     *

     * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
     * doesn't correspond to any such interval, the associated frequency is
     * zero. For example, the following records:
     *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
     *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
     *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
     * mean that there are no record with an estimated anonymity of 4, 5, or
     * larger than 10.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     */
    int getKMapEstimationHistogramCount();
    /**
     *

     * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
     * doesn't correspond to any such interval, the associated frequency is
     * zero. For example, the following records:
     *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
     *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
     *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
     * mean that there are no record with an estimated anonymity of 4, 5, or
     * larger than 10.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     */
    java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder>
        getKMapEstimationHistogramOrBuilderList();
    /**
     *

     * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
     * doesn't correspond to any such interval, the associated frequency is
     * zero. For example, the following records:
     *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
     *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
     *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
     * mean that there are no record with an estimated anonymity of 4, 5, or
     * larger than 10.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     */
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder getKMapEstimationHistogramOrBuilder(
        int index);
  }
  /**
   *

   * Result of the reidentifiability analysis. Note that these results are an
   * estimation, not exact values.
   *

   *
   * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult}
   */
  public  static final class KMapEstimationResult extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult)
      KMapEstimationResultOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use KMapEstimationResult.newBuilder() to construct.
    private KMapEstimationResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private KMapEstimationResult() {
      kMapEstimationHistogram_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private KMapEstimationResult(
        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 10: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                kMapEstimationHistogram_ = new java.util.ArrayList<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket>();
                mutable_bitField0_ |= 0x00000001;
              }
              kMapEstimationHistogram_.add(
                  input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.parser(), extensionRegistry));
              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_ & 0x00000001) == 0x00000001)) {
          kMapEstimationHistogram_ = java.util.Collections.unmodifiableList(kMapEstimationHistogram_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder.class);
    }

    public interface KMapEstimationQuasiIdValuesOrBuilder extends
        // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues)
        com.google.protobuf.MessageOrBuilder {

      /**
       *

       * The quasi-identifier values.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      java.util.List<com.google.privacy.dlp.v2.Value>
          getQuasiIdsValuesList();
      /**
       *

       * The quasi-identifier values.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index);
      /**
       *

       * The quasi-identifier values.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      int getQuasiIdsValuesCount();
      /**
       *

       * The quasi-identifier values.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
          getQuasiIdsValuesOrBuilderList();
      /**
       *

       * The quasi-identifier values.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
          int index);

      /**
       *

       * The estimated anonymity for these quasi-identifier values.
       *

       *
       * int64 estimated_anonymity = 2;
       */
      long getEstimatedAnonymity();
    }
    /**
     *

     * A tuple of values for the quasi-identifier columns.
     *

     *
     * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues}
     */
    public  static final class KMapEstimationQuasiIdValues extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues)
        KMapEstimationQuasiIdValuesOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use KMapEstimationQuasiIdValues.newBuilder() to construct.
      private KMapEstimationQuasiIdValues(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private KMapEstimationQuasiIdValues() {
        quasiIdsValues_ = java.util.Collections.emptyList();
        estimatedAnonymity_ = 0L;
      }

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private KMapEstimationQuasiIdValues(
          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 10: {
                if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                  quasiIdsValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2.Value>();
                  mutable_bitField0_ |= 0x00000001;
                }
                quasiIdsValues_.add(
                    input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry));
                break;
              }
              case 16: {

                estimatedAnonymity_ = input.readInt64();
                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_ & 0x00000001) == 0x00000001)) {
            quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder.class);
      }

      private int bitField0_;
      public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1;
      private java.util.List<com.google.privacy.dlp.v2.Value> quasiIdsValues_;
      /**
       *

       * The quasi-identifier values.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      public java.util.List<com.google.privacy.dlp.v2.Value> getQuasiIdsValuesList() {
        return quasiIdsValues_;
      }
      /**
       *

       * The quasi-identifier values.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      public java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
          getQuasiIdsValuesOrBuilderList() {
        return quasiIdsValues_;
      }
      /**
       *

       * The quasi-identifier values.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      public int getQuasiIdsValuesCount() {
        return quasiIdsValues_.size();
      }
      /**
       *

       * The quasi-identifier values.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
        return quasiIdsValues_.get(index);
      }
      /**
       *

       * The quasi-identifier values.
       *

       *
       * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
       */
      public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
          int index) {
        return quasiIdsValues_.get(index);
      }

      public static final int ESTIMATED_ANONYMITY_FIELD_NUMBER = 2;
      private long estimatedAnonymity_;
      /**
       *

       * The estimated anonymity for these quasi-identifier values.
       *

       *
       * int64 estimated_anonymity = 2;
       */
      public long getEstimatedAnonymity() {
        return estimatedAnonymity_;
      }

      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 {
        for (int i = 0; i < quasiIdsValues_.size(); i++) {
          output.writeMessage(1, quasiIdsValues_.get(i));
        }
        if (estimatedAnonymity_ != 0L) {
          output.writeInt64(2, estimatedAnonymity_);
        }
        unknownFields.writeTo(output);
      }

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

        size = 0;
        for (int i = 0; i < quasiIdsValues_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(1, quasiIdsValues_.get(i));
        }
        if (estimatedAnonymity_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(2, estimatedAnonymity_);
        }
        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.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues)) {
          return super.equals(obj);
        }
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues) obj;

        boolean result = true;
        result = result && getQuasiIdsValuesList()
            .equals(other.getQuasiIdsValuesList());
        result = result && (getEstimatedAnonymity()
            == other.getEstimatedAnonymity());
        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();
        if (getQuasiIdsValuesCount() > 0) {
          hash = (37 * hash) + QUASI_IDS_VALUES_FIELD_NUMBER;
          hash = (53 * hash) + getQuasiIdsValuesList().hashCode();
        }
        hash = (37 * hash) + ESTIMATED_ANONYMITY_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getEstimatedAnonymity());
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }

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

       * A tuple of values for the quasi-identifier columns.
       *

       *
       * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues)
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor;
        }

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder.class);
        }

        // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }

        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessageV3
                  .alwaysUseFieldBuilders) {
            getQuasiIdsValuesFieldBuilder();
          }
        }
        public Builder clear() {
          super.clear();
          if (quasiIdsValuesBuilder_ == null) {
            quasiIdsValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            quasiIdsValuesBuilder_.clear();
          }
          estimatedAnonymity_ = 0L;

          return this;
        }

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

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues getDefaultInstanceForType() {
          return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.getDefaultInstance();
        }

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues build() {
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues buildPartial() {
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (quasiIdsValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000001) == 0x00000001)) {
              quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_);
              bitField0_ = (bitField0_ & ~0x00000001);
            }
            result.quasiIdsValues_ = quasiIdsValues_;
          } else {
            result.quasiIdsValues_ = quasiIdsValuesBuilder_.build();
          }
          result.estimatedAnonymity_ = estimatedAnonymity_;
          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.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues) {
            return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues other) {
          if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.getDefaultInstance()) return this;
          if (quasiIdsValuesBuilder_ == null) {
            if (!other.quasiIdsValues_.isEmpty()) {
              if (quasiIdsValues_.isEmpty()) {
                quasiIdsValues_ = other.quasiIdsValues_;
                bitField0_ = (bitField0_ & ~0x00000001);
              } else {
                ensureQuasiIdsValuesIsMutable();
                quasiIdsValues_.addAll(other.quasiIdsValues_);
              }
              onChanged();
            }
          } else {
            if (!other.quasiIdsValues_.isEmpty()) {
              if (quasiIdsValuesBuilder_.isEmpty()) {
                quasiIdsValuesBuilder_.dispose();
                quasiIdsValuesBuilder_ = null;
                quasiIdsValues_ = other.quasiIdsValues_;
                bitField0_ = (bitField0_ & ~0x00000001);
                quasiIdsValuesBuilder_ =
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getQuasiIdsValuesFieldBuilder() : null;
              } else {
                quasiIdsValuesBuilder_.addAllMessages(other.quasiIdsValues_);
              }
            }
          }
          if (other.getEstimatedAnonymity() != 0L) {
            setEstimatedAnonymity(other.getEstimatedAnonymity());
          }
          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.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;

        private java.util.List<com.google.privacy.dlp.v2.Value> quasiIdsValues_ =
          java.util.Collections.emptyList();
        private void ensureQuasiIdsValuesIsMutable() {
          if (!((bitField0_ & 0x00000001) == 0x00000001)) {
            quasiIdsValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2.Value>(quasiIdsValues_);
            bitField0_ |= 0x00000001;
           }
        }

        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> quasiIdsValuesBuilder_;

        /**
         *

         * The quasi-identifier values.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public java.util.List<com.google.privacy.dlp.v2.Value> getQuasiIdsValuesList() {
          if (quasiIdsValuesBuilder_ == null) {
            return java.util.Collections.unmodifiableList(quasiIdsValues_);
          } else {
            return quasiIdsValuesBuilder_.getMessageList();
          }
        }
        /**
         *

         * The quasi-identifier values.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public int getQuasiIdsValuesCount() {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.size();
          } else {
            return quasiIdsValuesBuilder_.getCount();
          }
        }
        /**
         *

         * The quasi-identifier values.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.get(index);
          } else {
            return quasiIdsValuesBuilder_.getMessage(index);
          }
        }
        /**
         *

         * The quasi-identifier values.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder setQuasiIdsValues(
            int index, com.google.privacy.dlp.v2.Value value) {
          if (quasiIdsValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.set(index, value);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         *

         * The quasi-identifier values.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder setQuasiIdsValues(
            int index, com.google.privacy.dlp.v2.Value.Builder builderForValue) {
          if (quasiIdsValuesBuilder_ == null) {
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.set(index, builderForValue.build());
            onChanged();
          } else {
            quasiIdsValuesBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         *

         * The quasi-identifier values.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value value) {
          if (quasiIdsValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.add(value);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         *

         * The quasi-identifier values.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder addQuasiIdsValues(
            int index, com.google.privacy.dlp.v2.Value value) {
          if (quasiIdsValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.add(index, value);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         *

         * The quasi-identifier values.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder addQuasiIdsValues(
            com.google.privacy.dlp.v2.Value.Builder builderForValue) {
          if (quasiIdsValuesBuilder_ == null) {
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.add(builderForValue.build());
            onChanged();
          } else {
            quasiIdsValuesBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         *

         * The quasi-identifier values.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder addQuasiIdsValues(
            int index, com.google.privacy.dlp.v2.Value.Builder builderForValue) {
          if (quasiIdsValuesBuilder_ == null) {
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.add(index, builderForValue.build());
            onChanged();
          } else {
            quasiIdsValuesBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         *

         * The quasi-identifier values.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder addAllQuasiIdsValues(
            java.lang.Iterable<? extends com.google.privacy.dlp.v2.Value> values) {
          if (quasiIdsValuesBuilder_ == null) {
            ensureQuasiIdsValuesIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, quasiIdsValues_);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         *

         * The quasi-identifier values.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder clearQuasiIdsValues() {
          if (quasiIdsValuesBuilder_ == null) {
            quasiIdsValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.clear();
          }
          return this;
        }
        /**
         *

         * The quasi-identifier values.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public Builder removeQuasiIdsValues(int index) {
          if (quasiIdsValuesBuilder_ == null) {
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.remove(index);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.remove(index);
          }
          return this;
        }
        /**
         *

         * The quasi-identifier values.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(
            int index) {
          return getQuasiIdsValuesFieldBuilder().getBuilder(index);
        }
        /**
         *

         * The quasi-identifier values.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
            int index) {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.get(index);  } else {
            return quasiIdsValuesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         *

         * The quasi-identifier values.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
             getQuasiIdsValuesOrBuilderList() {
          if (quasiIdsValuesBuilder_ != null) {
            return quasiIdsValuesBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(quasiIdsValues_);
          }
        }
        /**
         *

         * The quasi-identifier values.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder() {
          return getQuasiIdsValuesFieldBuilder().addBuilder(
              com.google.privacy.dlp.v2.Value.getDefaultInstance());
        }
        /**
         *

         * The quasi-identifier values.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(
            int index) {
          return getQuasiIdsValuesFieldBuilder().addBuilder(
              index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
        }
        /**
         *

         * The quasi-identifier values.
         *

         *
         * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
         */
        public java.util.List<com.google.privacy.dlp.v2.Value.Builder>
             getQuasiIdsValuesBuilderList() {
          return getQuasiIdsValuesFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>
            getQuasiIdsValuesFieldBuilder() {
          if (quasiIdsValuesBuilder_ == null) {
            quasiIdsValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>(
                    quasiIdsValues_,
                    ((bitField0_ & 0x00000001) == 0x00000001),
                    getParentForChildren(),
                    isClean());
            quasiIdsValues_ = null;
          }
          return quasiIdsValuesBuilder_;
        }

        private long estimatedAnonymity_ ;
        /**
         *

         * The estimated anonymity for these quasi-identifier values.
         *

         *
         * int64 estimated_anonymity = 2;
         */
        public long getEstimatedAnonymity() {
          return estimatedAnonymity_;
        }
        /**
         *

         * The estimated anonymity for these quasi-identifier values.
         *

         *
         * int64 estimated_anonymity = 2;
         */
        public Builder setEstimatedAnonymity(long value) {

          estimatedAnonymity_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * The estimated anonymity for these quasi-identifier values.
         *

         *
         * int64 estimated_anonymity = 2;
         */
        public Builder clearEstimatedAnonymity() {

          estimatedAnonymity_ = 0L;
          onChanged();
          return this;
        }
        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.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues)
      }

      // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues)
      private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues();
      }

      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

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

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

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

      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }

    }

    public interface KMapEstimationHistogramBucketOrBuilder extends
        // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket)
        com.google.protobuf.MessageOrBuilder {

      /**
       *

       * Always positive.
       *

       *
       * int64 min_anonymity = 1;
       */
      long getMinAnonymity();

      /**
       *

       * Always greater than or equal to min_anonymity.
       *

       *
       * int64 max_anonymity = 2;
       */
      long getMaxAnonymity();

      /**
       *

       * Number of records within these anonymity bounds.
       *

       *
       * int64 bucket_size = 5;
       */
      long getBucketSize();

      /**
       *

       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       */
      java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues>
          getBucketValuesList();
      /**
       *

       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       */
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues getBucketValues(int index);
      /**
       *

       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       */
      int getBucketValuesCount();
      /**
       *

       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       */
      java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder>
          getBucketValuesOrBuilderList();
      /**
       *

       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       */
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder getBucketValuesOrBuilder(
          int index);

      /**
       *

       * Total number of distinct quasi-identifier tuple values in this bucket.
       *

       *
       * int64 bucket_value_count = 7;
       */
      long getBucketValueCount();
    }
    /**
     *

     * A KMapEstimationHistogramBucket message with the following values:
     *   min_anonymity: 3
     *   max_anonymity: 5
     *   frequency: 42
     * means that there are 42 records whose quasi-identifier values correspond
     * to 3, 4 or 5 people in the overlying population. An important particular
     * case is when min_anonymity = max_anonymity = 1: the frequency field then
     * corresponds to the number of uniquely identifiable records.
     *

     *
     * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket}
     */
    public  static final class KMapEstimationHistogramBucket extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket)
        KMapEstimationHistogramBucketOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use KMapEstimationHistogramBucket.newBuilder() to construct.
      private KMapEstimationHistogramBucket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private KMapEstimationHistogramBucket() {
        minAnonymity_ = 0L;
        maxAnonymity_ = 0L;
        bucketSize_ = 0L;
        bucketValues_ = java.util.Collections.emptyList();
        bucketValueCount_ = 0L;
      }

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private KMapEstimationHistogramBucket(
          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: {

                minAnonymity_ = input.readInt64();
                break;
              }
              case 16: {

                maxAnonymity_ = input.readInt64();
                break;
              }
              case 40: {

                bucketSize_ = input.readInt64();
                break;
              }
              case 50: {
                if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                  bucketValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues>();
                  mutable_bitField0_ |= 0x00000008;
                }
                bucketValues_.add(
                    input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.parser(), extensionRegistry));
                break;
              }
              case 56: {

                bucketValueCount_ = input.readInt64();
                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_ & 0x00000008) == 0x00000008)) {
            bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder.class);
      }

      private int bitField0_;
      public static final int MIN_ANONYMITY_FIELD_NUMBER = 1;
      private long minAnonymity_;
      /**
       *

       * Always positive.
       *

       *
       * int64 min_anonymity = 1;
       */
      public long getMinAnonymity() {
        return minAnonymity_;
      }

      public static final int MAX_ANONYMITY_FIELD_NUMBER = 2;
      private long maxAnonymity_;
      /**
       *

       * Always greater than or equal to min_anonymity.
       *

       *
       * int64 max_anonymity = 2;
       */
      public long getMaxAnonymity() {
        return maxAnonymity_;
      }

      public static final int BUCKET_SIZE_FIELD_NUMBER = 5;
      private long bucketSize_;
      /**
       *

       * Number of records within these anonymity bounds.
       *

       *
       * int64 bucket_size = 5;
       */
      public long getBucketSize() {
        return bucketSize_;
      }

      public static final int BUCKET_VALUES_FIELD_NUMBER = 6;
      private java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues> bucketValues_;
      /**
       *

       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       */
      public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues> getBucketValuesList() {
        return bucketValues_;
      }
      /**
       *

       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       */
      public java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder>
          getBucketValuesOrBuilderList() {
        return bucketValues_;
      }
      /**
       *

       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       */
      public int getBucketValuesCount() {
        return bucketValues_.size();
      }
      /**
       *

       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues getBucketValues(int index) {
        return bucketValues_.get(index);
      }
      /**
       *

       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder getBucketValuesOrBuilder(
          int index) {
        return bucketValues_.get(index);
      }

      public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER = 7;
      private long bucketValueCount_;
      /**
       *

       * Total number of distinct quasi-identifier tuple values in this bucket.
       *

       *
       * int64 bucket_value_count = 7;
       */
      public long getBucketValueCount() {
        return bucketValueCount_;
      }

      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 (minAnonymity_ != 0L) {
          output.writeInt64(1, minAnonymity_);
        }
        if (maxAnonymity_ != 0L) {
          output.writeInt64(2, maxAnonymity_);
        }
        if (bucketSize_ != 0L) {
          output.writeInt64(5, bucketSize_);
        }
        for (int i = 0; i < bucketValues_.size(); i++) {
          output.writeMessage(6, bucketValues_.get(i));
        }
        if (bucketValueCount_ != 0L) {
          output.writeInt64(7, bucketValueCount_);
        }
        unknownFields.writeTo(output);
      }

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

        size = 0;
        if (minAnonymity_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(1, minAnonymity_);
        }
        if (maxAnonymity_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(2, maxAnonymity_);
        }
        if (bucketSize_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(5, bucketSize_);
        }
        for (int i = 0; i < bucketValues_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(6, bucketValues_.get(i));
        }
        if (bucketValueCount_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(7, bucketValueCount_);
        }
        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.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket)) {
          return super.equals(obj);
        }
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket) obj;

        boolean result = true;
        result = result && (getMinAnonymity()
            == other.getMinAnonymity());
        result = result && (getMaxAnonymity()
            == other.getMaxAnonymity());
        result = result && (getBucketSize()
            == other.getBucketSize());
        result = result && getBucketValuesList()
            .equals(other.getBucketValuesList());
        result = result && (getBucketValueCount()
            == other.getBucketValueCount());
        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) + MIN_ANONYMITY_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getMinAnonymity());
        hash = (37 * hash) + MAX_ANONYMITY_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getMaxAnonymity());
        hash = (37 * hash) + BUCKET_SIZE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getBucketSize());
        if (getBucketValuesCount() > 0) {
          hash = (37 * hash) + BUCKET_VALUES_FIELD_NUMBER;
          hash = (53 * hash) + getBucketValuesList().hashCode();
        }
        hash = (37 * hash) + BUCKET_VALUE_COUNT_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getBucketValueCount());
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }

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

       * A KMapEstimationHistogramBucket message with the following values:
       *   min_anonymity: 3
       *   max_anonymity: 5
       *   frequency: 42
       * means that there are 42 records whose quasi-identifier values correspond
       * to 3, 4 or 5 people in the overlying population. An important particular
       * case is when min_anonymity = max_anonymity = 1: the frequency field then
       * corresponds to the number of uniquely identifiable records.
       *

       *
       * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket)
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor;
        }

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder.class);
        }

        // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }

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

          maxAnonymity_ = 0L;

          bucketSize_ = 0L;

          if (bucketValuesBuilder_ == null) {
            bucketValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            bucketValuesBuilder_.clear();
          }
          bucketValueCount_ = 0L;

          return this;
        }

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

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getDefaultInstanceForType() {
          return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.getDefaultInstance();
        }

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket build() {
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket buildPartial() {
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          result.minAnonymity_ = minAnonymity_;
          result.maxAnonymity_ = maxAnonymity_;
          result.bucketSize_ = bucketSize_;
          if (bucketValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000008) == 0x00000008)) {
              bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
              bitField0_ = (bitField0_ & ~0x00000008);
            }
            result.bucketValues_ = bucketValues_;
          } else {
            result.bucketValues_ = bucketValuesBuilder_.build();
          }
          result.bucketValueCount_ = bucketValueCount_;
          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.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket) {
            return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket other) {
          if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.getDefaultInstance()) return this;
          if (other.getMinAnonymity() != 0L) {
            setMinAnonymity(other.getMinAnonymity());
          }
          if (other.getMaxAnonymity() != 0L) {
            setMaxAnonymity(other.getMaxAnonymity());
          }
          if (other.getBucketSize() != 0L) {
            setBucketSize(other.getBucketSize());
          }
          if (bucketValuesBuilder_ == null) {
            if (!other.bucketValues_.isEmpty()) {
              if (bucketValues_.isEmpty()) {
                bucketValues_ = other.bucketValues_;
                bitField0_ = (bitField0_ & ~0x00000008);
              } else {
                ensureBucketValuesIsMutable();
                bucketValues_.addAll(other.bucketValues_);
              }
              onChanged();
            }
          } else {
            if (!other.bucketValues_.isEmpty()) {
              if (bucketValuesBuilder_.isEmpty()) {
                bucketValuesBuilder_.dispose();
                bucketValuesBuilder_ = null;
                bucketValues_ = other.bucketValues_;
                bitField0_ = (bitField0_ & ~0x00000008);
                bucketValuesBuilder_ =
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getBucketValuesFieldBuilder() : null;
              } else {
                bucketValuesBuilder_.addAllMessages(other.bucketValues_);
              }
            }
          }
          if (other.getBucketValueCount() != 0L) {
            setBucketValueCount(other.getBucketValueCount());
          }
          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.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;

        private long minAnonymity_ ;
        /**
         *

         * Always positive.
         *

         *
         * int64 min_anonymity = 1;
         */
        public long getMinAnonymity() {
          return minAnonymity_;
        }
        /**
         *

         * Always positive.
         *

         *
         * int64 min_anonymity = 1;
         */
        public Builder setMinAnonymity(long value) {

          minAnonymity_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * Always positive.
         *

         *
         * int64 min_anonymity = 1;
         */
        public Builder clearMinAnonymity() {

          minAnonymity_ = 0L;
          onChanged();
          return this;
        }

        private long maxAnonymity_ ;
        /**
         *

         * Always greater than or equal to min_anonymity.
         *

         *
         * int64 max_anonymity = 2;
         */
        public long getMaxAnonymity() {
          return maxAnonymity_;
        }
        /**
         *

         * Always greater than or equal to min_anonymity.
         *

         *
         * int64 max_anonymity = 2;
         */
        public Builder setMaxAnonymity(long value) {

          maxAnonymity_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * Always greater than or equal to min_anonymity.
         *

         *
         * int64 max_anonymity = 2;
         */
        public Builder clearMaxAnonymity() {

          maxAnonymity_ = 0L;
          onChanged();
          return this;
        }

        private long bucketSize_ ;
        /**
         *

         * Number of records within these anonymity bounds.
         *

         *
         * int64 bucket_size = 5;
         */
        public long getBucketSize() {
          return bucketSize_;
        }
        /**
         *

         * Number of records within these anonymity bounds.
         *

         *
         * int64 bucket_size = 5;
         */
        public Builder setBucketSize(long value) {

          bucketSize_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * Number of records within these anonymity bounds.
         *

         *
         * int64 bucket_size = 5;
         */
        public Builder clearBucketSize() {

          bucketSize_ = 0L;
          onChanged();
          return this;
        }

        private java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues> bucketValues_ =
          java.util.Collections.emptyList();
        private void ensureBucketValuesIsMutable() {
          if (!((bitField0_ & 0x00000008) == 0x00000008)) {
            bucketValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues>(bucketValues_);
            bitField0_ |= 0x00000008;
           }
        }

        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder> bucketValuesBuilder_;

        /**
         *

         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         */
        public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues> getBucketValuesList() {
          if (bucketValuesBuilder_ == null) {
            return java.util.Collections.unmodifiableList(bucketValues_);
          } else {
            return bucketValuesBuilder_.getMessageList();
          }
        }
        /**
         *

         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         */
        public int getBucketValuesCount() {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.size();
          } else {
            return bucketValuesBuilder_.getCount();
          }
        }
        /**
         *

         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues getBucketValues(int index) {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.get(index);
          } else {
            return bucketValuesBuilder_.getMessage(index);
          }
        }
        /**
         *

         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         */
        public Builder setBucketValues(
            int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues value) {
          if (bucketValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureBucketValuesIsMutable();
            bucketValues_.set(index, value);
            onChanged();
          } else {
            bucketValuesBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         *

         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         */
        public Builder setBucketValues(
            int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder builderForValue) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.set(index, builderForValue.build());
            onChanged();
          } else {
            bucketValuesBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         */
        public Builder addBucketValues(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues value) {
          if (bucketValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureBucketValuesIsMutable();
            bucketValues_.add(value);
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         *

         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         */
        public Builder addBucketValues(
            int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues value) {
          if (bucketValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureBucketValuesIsMutable();
            bucketValues_.add(index, value);
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         *

         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         */
        public Builder addBucketValues(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder builderForValue) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.add(builderForValue.build());
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         */
        public Builder addBucketValues(
            int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder builderForValue) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.add(index, builderForValue.build());
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         *

         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         */
        public Builder addAllBucketValues(
            java.lang.Iterable<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues> values) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, bucketValues_);
            onChanged();
          } else {
            bucketValuesBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         *

         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         */
        public Builder clearBucketValues() {
          if (bucketValuesBuilder_ == null) {
            bucketValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000008);
            onChanged();
          } else {
            bucketValuesBuilder_.clear();
          }
          return this;
        }
        /**
         *

         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         */
        public Builder removeBucketValues(int index) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.remove(index);
            onChanged();
          } else {
            bucketValuesBuilder_.remove(index);
          }
          return this;
        }
        /**
         *

         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder getBucketValuesBuilder(
            int index) {
          return getBucketValuesFieldBuilder().getBuilder(index);
        }
        /**
         *

         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder getBucketValuesOrBuilder(
            int index) {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.get(index);  } else {
            return bucketValuesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         *

         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         */
        public java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder>
             getBucketValuesOrBuilderList() {
          if (bucketValuesBuilder_ != null) {
            return bucketValuesBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(bucketValues_);
          }
        }
        /**
         *

         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder addBucketValuesBuilder() {
          return getBucketValuesFieldBuilder().addBuilder(
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.getDefaultInstance());
        }
        /**
         *

         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder addBucketValuesBuilder(
            int index) {
          return getBucketValuesFieldBuilder().addBuilder(
              index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.getDefaultInstance());
        }
        /**
         *

         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         *

         *
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         */
        public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder>
             getBucketValuesBuilderList() {
          return getBucketValuesFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder>
            getBucketValuesFieldBuilder() {
          if (bucketValuesBuilder_ == null) {
            bucketValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder>(
                    bucketValues_,
                    ((bitField0_ & 0x00000008) == 0x00000008),
                    getParentForChildren(),
                    isClean());
            bucketValues_ = null;
          }
          return bucketValuesBuilder_;
        }

        private long bucketValueCount_ ;
        /**
         *

         * Total number of distinct quasi-identifier tuple values in this bucket.
         *

         *
         * int64 bucket_value_count = 7;
         */
        public long getBucketValueCount() {
          return bucketValueCount_;
        }
        /**
         *

         * Total number of distinct quasi-identifier tuple values in this bucket.
         *

         *
         * int64 bucket_value_count = 7;
         */
        public Builder setBucketValueCount(long value) {

          bucketValueCount_ = value;
          onChanged();
          return this;
        }
        /**
         *

         * Total number of distinct quasi-identifier tuple values in this bucket.
         *

         *
         * int64 bucket_value_count = 7;
         */
        public Builder clearBucketValueCount() {

          bucketValueCount_ = 0L;
          onChanged();
          return this;
        }
        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.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket)
      }

      // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket)
      private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket();
      }

      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

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

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

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

      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }

    }

    public static final int K_MAP_ESTIMATION_HISTOGRAM_FIELD_NUMBER = 1;
    private java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket> kMapEstimationHistogram_;
    /**
     *

     * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
     * doesn't correspond to any such interval, the associated frequency is
     * zero. For example, the following records:
     *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
     *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
     *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
     * mean that there are no record with an estimated anonymity of 4, 5, or
     * larger than 10.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     */
    public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket> getKMapEstimationHistogramList() {
      return kMapEstimationHistogram_;
    }
    /**
     *

     * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
     * doesn't correspond to any such interval, the associated frequency is
     * zero. For example, the following records:
     *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
     *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
     *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
     * mean that there are no record with an estimated anonymity of 4, 5, or
     * larger than 10.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     */
    public java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder>
        getKMapEstimationHistogramOrBuilderList() {
      return kMapEstimationHistogram_;
    }
    /**
     *

     * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
     * doesn't correspond to any such interval, the associated frequency is
     * zero. For example, the following records:
     *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
     *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
     *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
     * mean that there are no record with an estimated anonymity of 4, 5, or
     * larger than 10.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     */
    public int getKMapEstimationHistogramCount() {
      return kMapEstimationHistogram_.size();
    }
    /**
     *

     * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
     * doesn't correspond to any such interval, the associated frequency is
     * zero. For example, the following records:
     *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
     *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
     *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
     * mean that there are no record with an estimated anonymity of 4, 5, or
     * larger than 10.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getKMapEstimationHistogram(int index) {
      return kMapEstimationHistogram_.get(index);
    }
    /**
     *

     * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
     * doesn't correspond to any such interval, the associated frequency is
     * zero. For example, the following records:
     *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
     *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
     *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
     * mean that there are no record with an estimated anonymity of 4, 5, or
     * larger than 10.
     *

     *
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder getKMapEstimationHistogramOrBuilder(
        int index) {
      return kMapEstimationHistogram_.get(index);
    }

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

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

      size = 0;
      for (int i = 0; i < kMapEstimationHistogram_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, kMapEstimationHistogram_.get(i));
      }
      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.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult)) {
        return super.equals(obj);
      }
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) obj;

      boolean result = true;
      result = result && getKMapEstimationHistogramList()
          .equals(other.getKMapEstimationHistogramList());
      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();
      if (getKMapEstimationHistogramCount() > 0) {
        hash = (37 * hash) + K_MAP_ESTIMATION_HISTOGRAM_FIELD_NUMBER;
        hash = (53 * hash) + getKMapEstimationHistogramList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

     * Result of the reidentifiability analysis. Note that these results are an
     * estimation, not exact values.
     *

     *
     * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult)
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder.class);
      }

      // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getKMapEstimationHistogramFieldBuilder();
        }
      }
      public Builder clear() {
        super.clear();
        if (kMapEstimationHistogramBuilder_ == null) {
          kMapEstimationHistogram_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          kMapEstimationHistogramBuilder_.clear();
        }
        return this;
      }

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

      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult getDefaultInstanceForType() {
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance();
      }

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

      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult buildPartial() {
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult(this);
        int from_bitField0_ = bitField0_;
        if (kMapEstimationHistogramBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            kMapEstimationHistogram_ = java.util.Collections.unmodifiableList(kMapEstimationHistogram_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.kMapEstimationHistogram_ = kMapEstimationHistogram_;
        } else {
          result.kMapEstimationHistogram_ = kMapEstimationHistogramBuilder_.build();
        }
        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.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) {
          return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult other) {
        if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance()) return this;
        if (kMapEstimationHistogramBuilder_ == null) {
          if (!other.kMapEstimationHistogram_.isEmpty()) {
            if (kMapEstimationHistogram_.isEmpty()) {
              kMapEstimationHistogram_ = other.kMapEstimationHistogram_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureKMapEstimationHistogramIsMutable();
              kMapEstimationHistogram_.addAll(other.kMapEstimationHistogram_);
            }
            onChanged();
          }
        } else {
          if (!other.kMapEstimationHistogram_.isEmpty()) {
            if (kMapEstimationHistogramBuilder_.isEmpty()) {
              kMapEstimationHistogramBuilder_.dispose();
              kMapEstimationHistogramBuilder_ = null;
              kMapEstimationHistogram_ = other.kMapEstimationHistogram_;
              bitField0_ = (bitField0_ & ~0x00000001);
              kMapEstimationHistogramBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getKMapEstimationHistogramFieldBuilder() : null;
            } else {
              kMapEstimationHistogramBuilder_.addAllMessages(other.kMapEstimationHistogram_);
            }
          }
        }
        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.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket> kMapEstimationHistogram_ =
        java.util.Collections.emptyList();
      private void ensureKMapEstimationHistogramIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          kMapEstimationHistogram_ = new java.util.ArrayList<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket>(kMapEstimationHistogram_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder> kMapEstimationHistogramBuilder_;

      /**
       *

       * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
       * doesn't correspond to any such interval, the associated frequency is
       * zero. For example, the following records:
       *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
       *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
       *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
       * mean that there are no record with an estimated anonymity of 4, 5, or
       * larger than 10.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       */
      public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket> getKMapEstimationHistogramList() {
        if (kMapEstimationHistogramBuilder_ == null) {
          return java.util.Collections.unmodifiableList(kMapEstimationHistogram_);
        } else {
          return kMapEstimationHistogramBuilder_.getMessageList();
        }
      }
      /**
       *

       * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
       * doesn't correspond to any such interval, the associated frequency is
       * zero. For example, the following records:
       *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
       *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
       *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
       * mean that there are no record with an estimated anonymity of 4, 5, or
       * larger than 10.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       */
      public int getKMapEstimationHistogramCount() {
        if (kMapEstimationHistogramBuilder_ == null) {
          return kMapEstimationHistogram_.size();
        } else {
          return kMapEstimationHistogramBuilder_.getCount();
        }
      }
      /**
       *

       * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
       * doesn't correspond to any such interval, the associated frequency is
       * zero. For example, the following records:
       *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
       *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
       *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
       * mean that there are no record with an estimated anonymity of 4, 5, or
       * larger than 10.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getKMapEstimationHistogram(int index) {
        if (kMapEstimationHistogramBuilder_ == null) {
          return kMapEstimationHistogram_.get(index);
        } else {
          return kMapEstimationHistogramBuilder_.getMessage(index);
        }
      }
      /**
       *

       * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
       * doesn't correspond to any such interval, the associated frequency is
       * zero. For example, the following records:
       *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
       *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
       *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
       * mean that there are no record with an estimated anonymity of 4, 5, or
       * larger than 10.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       */
      public Builder setKMapEstimationHistogram(
          int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket value) {
        if (kMapEstimationHistogramBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureKMapEstimationHistogramIsMutable();
          kMapEstimationHistogram_.set(index, value);
          onChanged();
        } else {
          kMapEstimationHistogramBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       *

       * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
       * doesn't correspond to any such interval, the associated frequency is
       * zero. For example, the following records:
       *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
       *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
       *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
       * mean that there are no record with an estimated anonymity of 4, 5, or
       * larger than 10.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       */
      public Builder setKMapEstimationHistogram(
          int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder builderForValue) {
        if (kMapEstimationHistogramBuilder_ == null) {
          ensureKMapEstimationHistogramIsMutable();
          kMapEstimationHistogram_.set(index, builderForValue.build());
          onChanged();
        } else {
          kMapEstimationHistogramBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       *

       * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
       * doesn't correspond to any such interval, the associated frequency is
       * zero. For example, the following records:
       *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
       *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
       *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
       * mean that there are no record with an estimated anonymity of 4, 5, or
       * larger than 10.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       */
      public Builder addKMapEstimationHistogram(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket value) {
        if (kMapEstimationHistogramBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureKMapEstimationHistogramIsMutable();
          kMapEstimationHistogram_.add(value);
          onChanged();
        } else {
          kMapEstimationHistogramBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       *

       * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
       * doesn't correspond to any such interval, the associated frequency is
       * zero. For example, the following records:
       *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
       *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
       *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
       * mean that there are no record with an estimated anonymity of 4, 5, or
       * larger than 10.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       */
      public Builder addKMapEstimationHistogram(
          int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket value) {
        if (kMapEstimationHistogramBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureKMapEstimationHistogramIsMutable();
          kMapEstimationHistogram_.add(index, value);
          onChanged();
        } else {
          kMapEstimationHistogramBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       *

       * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
       * doesn't correspond to any such interval, the associated frequency is
       * zero. For example, the following records:
       *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
       *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
       *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
       * mean that there are no record with an estimated anonymity of 4, 5, or
       * larger than 10.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       */
      public Builder addKMapEstimationHistogram(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder builderForValue) {
        if (kMapEstimationHistogramBuilder_ == null) {
          ensureKMapEstimationHistogramIsMutable();
          kMapEstimationHistogram_.add(builderForValue.build());
          onChanged();
        } else {
          kMapEstimationHistogramBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       *

       * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
       * doesn't correspond to any such interval, the associated frequency is
       * zero. For example, the following records:
       *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
       *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
       *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
       * mean that there are no record with an estimated anonymity of 4, 5, or
       * larger than 10.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       */
      public Builder addKMapEstimationHistogram(
          int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder builderForValue) {
        if (kMapEstimationHistogramBuilder_ == null) {
          ensureKMapEstimationHistogramIsMutable();
          kMapEstimationHistogram_.add(index, builderForValue.build());
          onChanged();
        } else {
          kMapEstimationHistogramBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       *

       * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
       * doesn't correspond to any such interval, the associated frequency is
       * zero. For example, the following records:
       *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
       *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
       *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
       * mean that there are no record with an estimated anonymity of 4, 5, or
       * larger than 10.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       */
      public Builder addAllKMapEstimationHistogram(
          java.lang.Iterable<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket> values) {
        if (kMapEstimationHistogramBuilder_ == null) {
          ensureKMapEstimationHistogramIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, kMapEstimationHistogram_);
          onChanged();
        } else {
          kMapEstimationHistogramBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       *

       * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
       * doesn't correspond to any such interval, the associated frequency is
       * zero. For example, the following records:
       *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
       *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
       *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
       * mean that there are no record with an estimated anonymity of 4, 5, or
       * larger than 10.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       */
      public Builder clearKMapEstimationHistogram() {
        if (kMapEstimationHistogramBuilder_ == null) {
          kMapEstimationHistogram_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          kMapEstimationHistogramBuilder_.clear();
        }
        return this;
      }
      /**
       *

       * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
       * doesn't correspond to any such interval, the associated frequency is
       * zero. For example, the following records:
       *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
       *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
       *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
       * mean that there are no record with an estimated anonymity of 4, 5, or
       * larger than 10.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       */
      public Builder removeKMapEstimationHistogram(int index) {
        if (kMapEstimationHistogramBuilder_ == null) {
          ensureKMapEstimationHistogramIsMutable();
          kMapEstimationHistogram_.remove(index);
          onChanged();
        } else {
          kMapEstimationHistogramBuilder_.remove(index);
        }
        return this;
      }
      /**
       *

       * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
       * doesn't correspond to any such interval, the associated frequency is
       * zero. For example, the following records:
       *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
       *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
       *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
       * mean that there are no record with an estimated anonymity of 4, 5, or
       * larger than 10.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder getKMapEstimationHistogramBuilder(
          int index) {
        return getKMapEstimationHistogramFieldBuilder().getBuilder(index);
      }
      /**
       *

       * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
       * doesn't correspond to any such interval, the associated frequency is
       * zero. For example, the following records:
       *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
       *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
       *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
       * mean that there are no record with an estimated anonymity of 4, 5, or
       * larger than 10.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder getKMapEstimationHistogramOrBuilder(
          int index) {
        if (kMapEstimationHistogramBuilder_ == null) {
          return kMapEstimationHistogram_.get(index);  } else {
          return kMapEstimationHistogramBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       *

       * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
       * doesn't correspond to any such interval, the associated frequency is
       * zero. For example, the following records:
       *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
       *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
       *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
       * mean that there are no record with an estimated anonymity of 4, 5, or
       * larger than 10.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       */
      public java.util.List<? extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder>
           getKMapEstimationHistogramOrBuilderList() {
        if (kMapEstimationHistogramBuilder_ != null) {
          return kMapEstimationHistogramBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(kMapEstimationHistogram_);
        }
      }
      /**
       *

       * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
       * doesn't correspond to any such interval, the associated frequency is
       * zero. For example, the following records:
       *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
       *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
       *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
       * mean that there are no record with an estimated anonymity of 4, 5, or
       * larger than 10.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder addKMapEstimationHistogramBuilder() {
        return getKMapEstimationHistogramFieldBuilder().addBuilder(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.getDefaultInstance());
      }
      /**
       *

       * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
       * doesn't correspond to any such interval, the associated frequency is
       * zero. For example, the following records:
       *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
       *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
       *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
       * mean that there are no record with an estimated anonymity of 4, 5, or
       * larger than 10.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder addKMapEstimationHistogramBuilder(
          int index) {
        return getKMapEstimationHistogramFieldBuilder().addBuilder(
            index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.getDefaultInstance());
      }
      /**
       *

       * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
       * doesn't correspond to any such interval, the associated frequency is
       * zero. For example, the following records:
       *   {min_anonymity: 1, max_anonymity: 1, frequency: 17}
       *   {min_anonymity: 2, max_anonymity: 3, frequency: 42}
       *   {min_anonymity: 5, max_anonymity: 10, frequency: 99}
       * mean that there are no record with an estimated anonymity of 4, 5, or
       * larger than 10.
       *

       *
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       */
      public java.util.List<com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder>
           getKMapEstimationHistogramBuilderList() {
        return getKMapEstimationHistogramFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder>
          getKMapEstimationHistogramFieldBuilder() {
        if (kMapEstimationHistogramBuilder_ == null) {
          kMapEstimationHistogramBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder>(
                  kMapEstimationHistogram_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          kMapEstimationHistogram_ = null;
        }
        return kMapEstimationHistogramBuilder_;
      }
      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.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult)
    }

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

    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private int resultCase_ = 0;
  private java.lang.Object result_;
  public enum ResultCase
      implements com.google.protobuf.Internal.EnumLite {
    NUMERICAL_STATS_RESULT(3),
    CATEGORICAL_STATS_RESULT(4),
    K_ANONYMITY_RESULT(5),
    L_DIVERSITY_RESULT(6),
    K_MAP_ESTIMATION_RESULT(7),
    RESULT_NOT_SET(0);
    private final int value;
    private ResultCase(int value) {
      this.value = value;
    }
    /**
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static ResultCase valueOf(int value) {
      return forNumber(value);
    }

    public static ResultCase forNumber(int value) {
      switch (value) {
        case 3: return NUMERICAL_STATS_RESULT;
        case 4: return CATEGORICAL_STATS_RESULT;
        case 5: return K_ANONYMITY_RESULT;
        case 6: return L_DIVERSITY_RESULT;
        case 7: return K_MAP_ESTIMATION_RESULT;
        case 0: return RESULT_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public ResultCase
  getResultCase() {
    return ResultCase.forNumber(
        resultCase_);
  }

  public static final int REQUESTED_PRIVACY_METRIC_FIELD_NUMBER = 1;
  private com.google.privacy.dlp.v2.PrivacyMetric requestedPrivacyMetric_;
  /**
   *

   * Privacy metric to compute.
   *

   *
   * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;
   */
  public boolean hasRequestedPrivacyMetric() {
    return requestedPrivacyMetric_ != null;
  }
  /**
   *

   * Privacy metric to compute.
   *

   *
   * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;
   */
  public com.google.privacy.dlp.v2.PrivacyMetric getRequestedPrivacyMetric() {
    return requestedPrivacyMetric_ == null ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() : requestedPrivacyMetric_;
  }
  /**
   *

   * Privacy metric to compute.
   *

   *
   * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;
   */
  public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getRequestedPrivacyMetricOrBuilder() {
    return getRequestedPrivacyMetric();
  }

  public static final int REQUESTED_SOURCE_TABLE_FIELD_NUMBER = 2;
  private com.google.privacy.dlp.v2.BigQueryTable requestedSourceTable_;
  /**
   *

   * Input dataset to compute metrics over.
   *

   *
   * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;
   */
  public boolean hasRequestedSourceTable() {
    return requestedSourceTable_ != null;
  }
  /**
   *

   * Input dataset to compute metrics over.
   *

   *
   * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;
   */
  public com.google.privacy.dlp.v2.BigQueryTable getRequestedSourceTable() {
    return requestedSourceTable_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : requestedSourceTable_;
  }
  /**
   *

   * Input dataset to compute metrics over.
   *

   *
   * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;
   */
  public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getRequestedSourceTableOrBuilder() {
    return getRequestedSourceTable();
  }

  public static final int NUMERICAL_STATS_RESULT_FIELD_NUMBER = 3;
  /**
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
   */
  public boolean hasNumericalStatsResult() {
    return resultCase_ == 3;
  }
  /**
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
   */
  public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult getNumericalStatsResult() {
    if (resultCase_ == 3) {
       return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_;
    }
    return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance();
  }
  /**
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
   */
  public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder getNumericalStatsResultOrBuilder() {
    if (resultCase_ == 3) {
       return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_;
    }
    return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance();
  }

  public static final int CATEGORICAL_STATS_RESULT_FIELD_NUMBER = 4;
  /**
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
   */
  public boolean hasCategoricalStatsResult() {
    return resultCase_ == 4;
  }
  /**
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
   */
  public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult getCategoricalStatsResult() {
    if (resultCase_ == 4) {
       return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_;
    }
    return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance();
  }
  /**
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
   */
  public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder getCategoricalStatsResultOrBuilder() {
    if (resultCase_ == 4) {
       return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_;
    }
    return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance();
  }

  public static final int K_ANONYMITY_RESULT_FIELD_NUMBER = 5;
  /**
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
   */
  public boolean hasKAnonymityResult() {
    return resultCase_ == 5;
  }
  /**
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
   */
  public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult getKAnonymityResult() {
    if (resultCase_ == 5) {
       return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_;
    }
    return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance();
  }
  /**
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
   */
  public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder getKAnonymityResultOrBuilder() {
    if (resultCase_ == 5) {
       return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_;
    }
    return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance();
  }

  public static final int L_DIVERSITY_RESULT_FIELD_NUMBER = 6;
  /**
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
   */
  public boolean hasLDiversityResult() {
    return resultCase_ == 6;
  }
  /**
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
   */
  public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult getLDiversityResult() {
    if (resultCase_ == 6) {
       return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_;
    }
    return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance();
  }
  /**
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
   */
  public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder getLDiversityResultOrBuilder() {
    if (resultCase_ == 6) {
       return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_;
    }
    return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance();
  }

  public static final int K_MAP_ESTIMATION_RESULT_FIELD_NUMBER = 7;
  /**
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
   */
  public boolean hasKMapEstimationResult() {
    return resultCase_ == 7;
  }
  /**
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
   */
  public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult getKMapEstimationResult() {
    if (resultCase_ == 7) {
       return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_;
    }
    return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance();
  }
  /**
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
   */
  public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder getKMapEstimationResultOrBuilder() {
    if (resultCase_ == 7) {
       return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_;
    }
    return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance();
  }

  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 (requestedPrivacyMetric_ != null) {
      output.writeMessage(1, getRequestedPrivacyMetric());
    }
    if (requestedSourceTable_ != null) {
      output.writeMessage(2, getRequestedSourceTable());
    }
    if (resultCase_ == 3) {
      output.writeMessage(3, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_);
    }
    if (resultCase_ == 4) {
      output.writeMessage(4, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_);
    }
    if (resultCase_ == 5) {
      output.writeMessage(5, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_);
    }
    if (resultCase_ == 6) {
      output.writeMessage(6, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_);
    }
    if (resultCase_ == 7) {
      output.writeMessage(7, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (requestedPrivacyMetric_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, getRequestedPrivacyMetric());
    }
    if (requestedSourceTable_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, getRequestedSourceTable());
    }
    if (resultCase_ == 3) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_);
    }
    if (resultCase_ == 4) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(4, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_);
    }
    if (resultCase_ == 5) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_);
    }
    if (resultCase_ == 6) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(6, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_);
    }
    if (resultCase_ == 7) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(7, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_);
    }
    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.v2.AnalyzeDataSourceRiskDetails)) {
      return super.equals(obj);
    }
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) obj;

    boolean result = true;
    result = result && (hasRequestedPrivacyMetric() == other.hasRequestedPrivacyMetric());
    if (hasRequestedPrivacyMetric()) {
      result = result && getRequestedPrivacyMetric()
          .equals(other.getRequestedPrivacyMetric());
    }
    result = result && (hasRequestedSourceTable() == other.hasRequestedSourceTable());
    if (hasRequestedSourceTable()) {
      result = result && getRequestedSourceTable()
          .equals(other.getRequestedSourceTable());
    }
    result = result && getResultCase().equals(
        other.getResultCase());
    if (!result) return false;
    switch (resultCase_) {
      case 3:
        result = result && getNumericalStatsResult()
            .equals(other.getNumericalStatsResult());
        break;
      case 4:
        result = result && getCategoricalStatsResult()
            .equals(other.getCategoricalStatsResult());
        break;
      case 5:
        result = result && getKAnonymityResult()
            .equals(other.getKAnonymityResult());
        break;
      case 6:
        result = result && getLDiversityResult()
            .equals(other.getLDiversityResult());
        break;
      case 7:
        result = result && getKMapEstimationResult()
            .equals(other.getKMapEstimationResult());
        break;
      case 0:
      default:
    }
    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();
    if (hasRequestedPrivacyMetric()) {
      hash = (37 * hash) + REQUESTED_PRIVACY_METRIC_FIELD_NUMBER;
      hash = (53 * hash) + getRequestedPrivacyMetric().hashCode();
    }
    if (hasRequestedSourceTable()) {
      hash = (37 * hash) + REQUESTED_SOURCE_TABLE_FIELD_NUMBER;
      hash = (53 * hash) + getRequestedSourceTable().hashCode();
    }
    switch (resultCase_) {
      case 3:
        hash = (37 * hash) + NUMERICAL_STATS_RESULT_FIELD_NUMBER;
        hash = (53 * hash) + getNumericalStatsResult().hashCode();
        break;
      case 4:
        hash = (37 * hash) + CATEGORICAL_STATS_RESULT_FIELD_NUMBER;
        hash = (53 * hash) + getCategoricalStatsResult().hashCode();
        break;
      case 5:
        hash = (37 * hash) + K_ANONYMITY_RESULT_FIELD_NUMBER;
        hash = (53 * hash) + getKAnonymityResult().hashCode();
        break;
      case 6:
        hash = (37 * hash) + L_DIVERSITY_RESULT_FIELD_NUMBER;
        hash = (53 * hash) + getLDiversityResult().hashCode();
        break;
      case 7:
        hash = (37 * hash) + K_MAP_ESTIMATION_RESULT_FIELD_NUMBER;
        hash = (53 * hash) + getKMapEstimationResult().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

   * Result of a risk analysis operation request.
   *

   *
   * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails)
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder.class);
    }

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

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    public Builder clear() {
      super.clear();
      if (requestedPrivacyMetricBuilder_ == null) {
        requestedPrivacyMetric_ = null;
      } else {
        requestedPrivacyMetric_ = null;
        requestedPrivacyMetricBuilder_ = null;
      }
      if (requestedSourceTableBuilder_ == null) {
        requestedSourceTable_ = null;
      } else {
        requestedSourceTable_ = null;
        requestedSourceTableBuilder_ = null;
      }
      resultCase_ = 0;
      result_ = null;
      return this;
    }

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

    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getDefaultInstanceForType() {
      return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.getDefaultInstance();
    }

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

    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails buildPartial() {
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails(this);
      if (requestedPrivacyMetricBuilder_ == null) {
        result.requestedPrivacyMetric_ = requestedPrivacyMetric_;
      } else {
        result.requestedPrivacyMetric_ = requestedPrivacyMetricBuilder_.build();
      }
      if (requestedSourceTableBuilder_ == null) {
        result.requestedSourceTable_ = requestedSourceTable_;
      } else {
        result.requestedSourceTable_ = requestedSourceTableBuilder_.build();
      }
      if (resultCase_ == 3) {
        if (numericalStatsResultBuilder_ == null) {
          result.result_ = result_;
        } else {
          result.result_ = numericalStatsResultBuilder_.build();
        }
      }
      if (resultCase_ == 4) {
        if (categoricalStatsResultBuilder_ == null) {
          result.result_ = result_;
        } else {
          result.result_ = categoricalStatsResultBuilder_.build();
        }
      }
      if (resultCase_ == 5) {
        if (kAnonymityResultBuilder_ == null) {
          result.result_ = result_;
        } else {
          result.result_ = kAnonymityResultBuilder_.build();
        }
      }
      if (resultCase_ == 6) {
        if (lDiversityResultBuilder_ == null) {
          result.result_ = result_;
        } else {
          result.result_ = lDiversityResultBuilder_.build();
        }
      }
      if (resultCase_ == 7) {
        if (kMapEstimationResultBuilder_ == null) {
          result.result_ = result_;
        } else {
          result.result_ = kMapEstimationResultBuilder_.build();
        }
      }
      result.resultCase_ = resultCase_;
      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.v2.AnalyzeDataSourceRiskDetails) {
        return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails other) {
      if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.getDefaultInstance()) return this;
      if (other.hasRequestedPrivacyMetric()) {
        mergeRequestedPrivacyMetric(other.getRequestedPrivacyMetric());
      }
      if (other.hasRequestedSourceTable()) {
        mergeRequestedSourceTable(other.getRequestedSourceTable());
      }
      switch (other.getResultCase()) {
        case NUMERICAL_STATS_RESULT: {
          mergeNumericalStatsResult(other.getNumericalStatsResult());
          break;
        }
        case CATEGORICAL_STATS_RESULT: {
          mergeCategoricalStatsResult(other.getCategoricalStatsResult());
          break;
        }
        case K_ANONYMITY_RESULT: {
          mergeKAnonymityResult(other.getKAnonymityResult());
          break;
        }
        case L_DIVERSITY_RESULT: {
          mergeLDiversityResult(other.getLDiversityResult());
          break;
        }
        case K_MAP_ESTIMATION_RESULT: {
          mergeKMapEstimationResult(other.getKMapEstimationResult());
          break;
        }
        case RESULT_NOT_SET: {
          break;
        }
      }
      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.v2.AnalyzeDataSourceRiskDetails parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int resultCase_ = 0;
    private java.lang.Object result_;
    public ResultCase
        getResultCase() {
      return ResultCase.forNumber(
          resultCase_);
    }

    public Builder clearResult() {
      resultCase_ = 0;
      result_ = null;
      onChanged();
      return this;
    }

    private com.google.privacy.dlp.v2.PrivacyMetric requestedPrivacyMetric_ = null;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2.PrivacyMetric, com.google.privacy.dlp.v2.PrivacyMetric.Builder, com.google.privacy.dlp.v2.PrivacyMetricOrBuilder> requestedPrivacyMetricBuilder_;
    /**
     *

     * Privacy metric to compute.
     *

     *
     * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;
     */
    public boolean hasRequestedPrivacyMetric() {
      return requestedPrivacyMetricBuilder_ != null || requestedPrivacyMetric_ != null;
    }
    /**
     *

     * Privacy metric to compute.
     *

     *
     * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;
     */
    public com.google.privacy.dlp.v2.PrivacyMetric getRequestedPrivacyMetric() {
      if (requestedPrivacyMetricBuilder_ == null) {
        return requestedPrivacyMetric_ == null ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() : requestedPrivacyMetric_;
      } else {
        return requestedPrivacyMetricBuilder_.getMessage();
      }
    }
    /**
     *

     * Privacy metric to compute.
     *

     *
     * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;
     */
    public Builder setRequestedPrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetric value) {
      if (requestedPrivacyMetricBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        requestedPrivacyMetric_ = value;
        onChanged();
      } else {
        requestedPrivacyMetricBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     *

     * Privacy metric to compute.
     *

     *
     * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;
     */
    public Builder setRequestedPrivacyMetric(
        com.google.privacy.dlp.v2.PrivacyMetric.Builder builderForValue) {
      if (requestedPrivacyMetricBuilder_ == null) {
        requestedPrivacyMetric_ = builderForValue.build();
        onChanged();
      } else {
        requestedPrivacyMetricBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     *

     * Privacy metric to compute.
     *

     *
     * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;
     */
    public Builder mergeRequestedPrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetric value) {
      if (requestedPrivacyMetricBuilder_ == null) {
        if (requestedPrivacyMetric_ != null) {
          requestedPrivacyMetric_ =
            com.google.privacy.dlp.v2.PrivacyMetric.newBuilder(requestedPrivacyMetric_).mergeFrom(value).buildPartial();
        } else {
          requestedPrivacyMetric_ = value;
        }
        onChanged();
      } else {
        requestedPrivacyMetricBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     *

     * Privacy metric to compute.
     *

     *
     * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;
     */
    public Builder clearRequestedPrivacyMetric() {
      if (requestedPrivacyMetricBuilder_ == null) {
        requestedPrivacyMetric_ = null;
        onChanged();
      } else {
        requestedPrivacyMetric_ = null;
        requestedPrivacyMetricBuilder_ = null;
      }

      return this;
    }
    /**
     *

     * Privacy metric to compute.
     *

     *
     * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;
     */
    public com.google.privacy.dlp.v2.PrivacyMetric.Builder getRequestedPrivacyMetricBuilder() {

      onChanged();
      return getRequestedPrivacyMetricFieldBuilder().getBuilder();
    }
    /**
     *

     * Privacy metric to compute.
     *

     *
     * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;
     */
    public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getRequestedPrivacyMetricOrBuilder() {
      if (requestedPrivacyMetricBuilder_ != null) {
        return requestedPrivacyMetricBuilder_.getMessageOrBuilder();
      } else {
        return requestedPrivacyMetric_ == null ?
            com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() : requestedPrivacyMetric_;
      }
    }
    /**
     *

     * Privacy metric to compute.
     *

     *
     * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2.PrivacyMetric, com.google.privacy.dlp.v2.PrivacyMetric.Builder, com.google.privacy.dlp.v2.PrivacyMetricOrBuilder>
        getRequestedPrivacyMetricFieldBuilder() {
      if (requestedPrivacyMetricBuilder_ == null) {
        requestedPrivacyMetricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.privacy.dlp.v2.PrivacyMetric, com.google.privacy.dlp.v2.PrivacyMetric.Builder, com.google.privacy.dlp.v2.PrivacyMetricOrBuilder>(
                getRequestedPrivacyMetric(),
                getParentForChildren(),
                isClean());
        requestedPrivacyMetric_ = null;
      }
      return requestedPrivacyMetricBuilder_;
    }

    private com.google.privacy.dlp.v2.BigQueryTable requestedSourceTable_ = null;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> requestedSourceTableBuilder_;
    /**
     *

     * Input dataset to compute metrics over.
     *

     *
     * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;
     */
    public boolean hasRequestedSourceTable() {
      return requestedSourceTableBuilder_ != null || requestedSourceTable_ != null;
    }
    /**
     *

     * Input dataset to compute metrics over.
     *

     *
     * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;
     */
    public com.google.privacy.dlp.v2.BigQueryTable getRequestedSourceTable() {
      if (requestedSourceTableBuilder_ == null) {
        return requestedSourceTable_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : requestedSourceTable_;
      } else {
        return requestedSourceTableBuilder_.getMessage();
      }
    }
    /**
     *

     * Input dataset to compute metrics over.
     *

     *
     * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;
     */
    public Builder setRequestedSourceTable(com.google.privacy.dlp.v2.BigQueryTable value) {
      if (requestedSourceTableBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        requestedSourceTable_ = value;
        onChanged();
      } else {
        requestedSourceTableBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     *

     * Input dataset to compute metrics over.
     *

     *
     * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;
     */
    public Builder setRequestedSourceTable(
        com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) {
      if (requestedSourceTableBuilder_ == null) {
        requestedSourceTable_ = builderForValue.build();
        onChanged();
      } else {
        requestedSourceTableBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     *

     * Input dataset to compute metrics over.
     *

     *
     * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;
     */
    public Builder mergeRequestedSourceTable(com.google.privacy.dlp.v2.BigQueryTable value) {
      if (requestedSourceTableBuilder_ == null) {
        if (requestedSourceTable_ != null) {
          requestedSourceTable_ =
            com.google.privacy.dlp.v2.BigQueryTable.newBuilder(requestedSourceTable_).mergeFrom(value).buildPartial();
        } else {
          requestedSourceTable_ = value;
        }
        onChanged();
      } else {
        requestedSourceTableBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     *

     * Input dataset to compute metrics over.
     *

     *
     * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;
     */
    public Builder clearRequestedSourceTable() {
      if (requestedSourceTableBuilder_ == null) {
        requestedSourceTable_ = null;
        onChanged();
      } else {
        requestedSourceTable_ = null;
        requestedSourceTableBuilder_ = null;
      }

      return this;
    }
    /**
     *

     * Input dataset to compute metrics over.
     *

     *
     * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;
     */
    public com.google.privacy.dlp.v2.BigQueryTable.Builder getRequestedSourceTableBuilder() {

      onChanged();
      return getRequestedSourceTableFieldBuilder().getBuilder();
    }
    /**
     *

     * Input dataset to compute metrics over.
     *

     *
     * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;
     */
    public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getRequestedSourceTableOrBuilder() {
      if (requestedSourceTableBuilder_ != null) {
        return requestedSourceTableBuilder_.getMessageOrBuilder();
      } else {
        return requestedSourceTable_ == null ?
            com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : requestedSourceTable_;
      }
    }
    /**
     *

     * Input dataset to compute metrics over.
     *

     *
     * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>
        getRequestedSourceTableFieldBuilder() {
      if (requestedSourceTableBuilder_ == null) {
        requestedSourceTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>(
                getRequestedSourceTable(),
                getParentForChildren(),
                isClean());
        requestedSourceTable_ = null;
      }
      return requestedSourceTableBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder> numericalStatsResultBuilder_;
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
     */
    public boolean hasNumericalStatsResult() {
      return resultCase_ == 3;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult getNumericalStatsResult() {
      if (numericalStatsResultBuilder_ == null) {
        if (resultCase_ == 3) {
          return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_;
        }
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance();
      } else {
        if (resultCase_ == 3) {
          return numericalStatsResultBuilder_.getMessage();
        }
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance();
      }
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
     */
    public Builder setNumericalStatsResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult value) {
      if (numericalStatsResultBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        result_ = value;
        onChanged();
      } else {
        numericalStatsResultBuilder_.setMessage(value);
      }
      resultCase_ = 3;
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
     */
    public Builder setNumericalStatsResult(
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder builderForValue) {
      if (numericalStatsResultBuilder_ == null) {
        result_ = builderForValue.build();
        onChanged();
      } else {
        numericalStatsResultBuilder_.setMessage(builderForValue.build());
      }
      resultCase_ = 3;
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
     */
    public Builder mergeNumericalStatsResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult value) {
      if (numericalStatsResultBuilder_ == null) {
        if (resultCase_ == 3 &&
            result_ != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance()) {
          result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.newBuilder((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_)
              .mergeFrom(value).buildPartial();
        } else {
          result_ = value;
        }
        onChanged();
      } else {
        if (resultCase_ == 3) {
          numericalStatsResultBuilder_.mergeFrom(value);
        }
        numericalStatsResultBuilder_.setMessage(value);
      }
      resultCase_ = 3;
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
     */
    public Builder clearNumericalStatsResult() {
      if (numericalStatsResultBuilder_ == null) {
        if (resultCase_ == 3) {
          resultCase_ = 0;
          result_ = null;
          onChanged();
        }
      } else {
        if (resultCase_ == 3) {
          resultCase_ = 0;
          result_ = null;
        }
        numericalStatsResultBuilder_.clear();
      }
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder getNumericalStatsResultBuilder() {
      return getNumericalStatsResultFieldBuilder().getBuilder();
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder getNumericalStatsResultOrBuilder() {
      if ((resultCase_ == 3) && (numericalStatsResultBuilder_ != null)) {
        return numericalStatsResultBuilder_.getMessageOrBuilder();
      } else {
        if (resultCase_ == 3) {
          return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_;
        }
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance();
      }
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder>
        getNumericalStatsResultFieldBuilder() {
      if (numericalStatsResultBuilder_ == null) {
        if (!(resultCase_ == 3)) {
          result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance();
        }
        numericalStatsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder>(
                (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_,
                getParentForChildren(),
                isClean());
        result_ = null;
      }
      resultCase_ = 3;
      onChanged();;
      return numericalStatsResultBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder> categoricalStatsResultBuilder_;
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
     */
    public boolean hasCategoricalStatsResult() {
      return resultCase_ == 4;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult getCategoricalStatsResult() {
      if (categoricalStatsResultBuilder_ == null) {
        if (resultCase_ == 4) {
          return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_;
        }
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance();
      } else {
        if (resultCase_ == 4) {
          return categoricalStatsResultBuilder_.getMessage();
        }
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance();
      }
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
     */
    public Builder setCategoricalStatsResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult value) {
      if (categoricalStatsResultBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        result_ = value;
        onChanged();
      } else {
        categoricalStatsResultBuilder_.setMessage(value);
      }
      resultCase_ = 4;
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
     */
    public Builder setCategoricalStatsResult(
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder builderForValue) {
      if (categoricalStatsResultBuilder_ == null) {
        result_ = builderForValue.build();
        onChanged();
      } else {
        categoricalStatsResultBuilder_.setMessage(builderForValue.build());
      }
      resultCase_ = 4;
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
     */
    public Builder mergeCategoricalStatsResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult value) {
      if (categoricalStatsResultBuilder_ == null) {
        if (resultCase_ == 4 &&
            result_ != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance()) {
          result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.newBuilder((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_)
              .mergeFrom(value).buildPartial();
        } else {
          result_ = value;
        }
        onChanged();
      } else {
        if (resultCase_ == 4) {
          categoricalStatsResultBuilder_.mergeFrom(value);
        }
        categoricalStatsResultBuilder_.setMessage(value);
      }
      resultCase_ = 4;
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
     */
    public Builder clearCategoricalStatsResult() {
      if (categoricalStatsResultBuilder_ == null) {
        if (resultCase_ == 4) {
          resultCase_ = 0;
          result_ = null;
          onChanged();
        }
      } else {
        if (resultCase_ == 4) {
          resultCase_ = 0;
          result_ = null;
        }
        categoricalStatsResultBuilder_.clear();
      }
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder getCategoricalStatsResultBuilder() {
      return getCategoricalStatsResultFieldBuilder().getBuilder();
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder getCategoricalStatsResultOrBuilder() {
      if ((resultCase_ == 4) && (categoricalStatsResultBuilder_ != null)) {
        return categoricalStatsResultBuilder_.getMessageOrBuilder();
      } else {
        if (resultCase_ == 4) {
          return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_;
        }
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance();
      }
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder>
        getCategoricalStatsResultFieldBuilder() {
      if (categoricalStatsResultBuilder_ == null) {
        if (!(resultCase_ == 4)) {
          result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance();
        }
        categoricalStatsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder>(
                (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_,
                getParentForChildren(),
                isClean());
        result_ = null;
      }
      resultCase_ = 4;
      onChanged();;
      return categoricalStatsResultBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder> kAnonymityResultBuilder_;
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
     */
    public boolean hasKAnonymityResult() {
      return resultCase_ == 5;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult getKAnonymityResult() {
      if (kAnonymityResultBuilder_ == null) {
        if (resultCase_ == 5) {
          return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_;
        }
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance();
      } else {
        if (resultCase_ == 5) {
          return kAnonymityResultBuilder_.getMessage();
        }
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance();
      }
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
     */
    public Builder setKAnonymityResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult value) {
      if (kAnonymityResultBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        result_ = value;
        onChanged();
      } else {
        kAnonymityResultBuilder_.setMessage(value);
      }
      resultCase_ = 5;
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
     */
    public Builder setKAnonymityResult(
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder builderForValue) {
      if (kAnonymityResultBuilder_ == null) {
        result_ = builderForValue.build();
        onChanged();
      } else {
        kAnonymityResultBuilder_.setMessage(builderForValue.build());
      }
      resultCase_ = 5;
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
     */
    public Builder mergeKAnonymityResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult value) {
      if (kAnonymityResultBuilder_ == null) {
        if (resultCase_ == 5 &&
            result_ != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance()) {
          result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.newBuilder((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_)
              .mergeFrom(value).buildPartial();
        } else {
          result_ = value;
        }
        onChanged();
      } else {
        if (resultCase_ == 5) {
          kAnonymityResultBuilder_.mergeFrom(value);
        }
        kAnonymityResultBuilder_.setMessage(value);
      }
      resultCase_ = 5;
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
     */
    public Builder clearKAnonymityResult() {
      if (kAnonymityResultBuilder_ == null) {
        if (resultCase_ == 5) {
          resultCase_ = 0;
          result_ = null;
          onChanged();
        }
      } else {
        if (resultCase_ == 5) {
          resultCase_ = 0;
          result_ = null;
        }
        kAnonymityResultBuilder_.clear();
      }
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder getKAnonymityResultBuilder() {
      return getKAnonymityResultFieldBuilder().getBuilder();
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder getKAnonymityResultOrBuilder() {
      if ((resultCase_ == 5) && (kAnonymityResultBuilder_ != null)) {
        return kAnonymityResultBuilder_.getMessageOrBuilder();
      } else {
        if (resultCase_ == 5) {
          return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_;
        }
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance();
      }
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder>
        getKAnonymityResultFieldBuilder() {
      if (kAnonymityResultBuilder_ == null) {
        if (!(resultCase_ == 5)) {
          result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance();
        }
        kAnonymityResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder>(
                (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_,
                getParentForChildren(),
                isClean());
        result_ = null;
      }
      resultCase_ = 5;
      onChanged();;
      return kAnonymityResultBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder> lDiversityResultBuilder_;
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
     */
    public boolean hasLDiversityResult() {
      return resultCase_ == 6;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult getLDiversityResult() {
      if (lDiversityResultBuilder_ == null) {
        if (resultCase_ == 6) {
          return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_;
        }
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance();
      } else {
        if (resultCase_ == 6) {
          return lDiversityResultBuilder_.getMessage();
        }
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance();
      }
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
     */
    public Builder setLDiversityResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult value) {
      if (lDiversityResultBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        result_ = value;
        onChanged();
      } else {
        lDiversityResultBuilder_.setMessage(value);
      }
      resultCase_ = 6;
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
     */
    public Builder setLDiversityResult(
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder builderForValue) {
      if (lDiversityResultBuilder_ == null) {
        result_ = builderForValue.build();
        onChanged();
      } else {
        lDiversityResultBuilder_.setMessage(builderForValue.build());
      }
      resultCase_ = 6;
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
     */
    public Builder mergeLDiversityResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult value) {
      if (lDiversityResultBuilder_ == null) {
        if (resultCase_ == 6 &&
            result_ != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance()) {
          result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.newBuilder((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_)
              .mergeFrom(value).buildPartial();
        } else {
          result_ = value;
        }
        onChanged();
      } else {
        if (resultCase_ == 6) {
          lDiversityResultBuilder_.mergeFrom(value);
        }
        lDiversityResultBuilder_.setMessage(value);
      }
      resultCase_ = 6;
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
     */
    public Builder clearLDiversityResult() {
      if (lDiversityResultBuilder_ == null) {
        if (resultCase_ == 6) {
          resultCase_ = 0;
          result_ = null;
          onChanged();
        }
      } else {
        if (resultCase_ == 6) {
          resultCase_ = 0;
          result_ = null;
        }
        lDiversityResultBuilder_.clear();
      }
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder getLDiversityResultBuilder() {
      return getLDiversityResultFieldBuilder().getBuilder();
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder getLDiversityResultOrBuilder() {
      if ((resultCase_ == 6) && (lDiversityResultBuilder_ != null)) {
        return lDiversityResultBuilder_.getMessageOrBuilder();
      } else {
        if (resultCase_ == 6) {
          return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_;
        }
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance();
      }
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder>
        getLDiversityResultFieldBuilder() {
      if (lDiversityResultBuilder_ == null) {
        if (!(resultCase_ == 6)) {
          result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance();
        }
        lDiversityResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder>(
                (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_,
                getParentForChildren(),
                isClean());
        result_ = null;
      }
      resultCase_ = 6;
      onChanged();;
      return lDiversityResultBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder> kMapEstimationResultBuilder_;
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
     */
    public boolean hasKMapEstimationResult() {
      return resultCase_ == 7;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult getKMapEstimationResult() {
      if (kMapEstimationResultBuilder_ == null) {
        if (resultCase_ == 7) {
          return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_;
        }
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance();
      } else {
        if (resultCase_ == 7) {
          return kMapEstimationResultBuilder_.getMessage();
        }
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance();
      }
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
     */
    public Builder setKMapEstimationResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult value) {
      if (kMapEstimationResultBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        result_ = value;
        onChanged();
      } else {
        kMapEstimationResultBuilder_.setMessage(value);
      }
      resultCase_ = 7;
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
     */
    public Builder setKMapEstimationResult(
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder builderForValue) {
      if (kMapEstimationResultBuilder_ == null) {
        result_ = builderForValue.build();
        onChanged();
      } else {
        kMapEstimationResultBuilder_.setMessage(builderForValue.build());
      }
      resultCase_ = 7;
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
     */
    public Builder mergeKMapEstimationResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult value) {
      if (kMapEstimationResultBuilder_ == null) {
        if (resultCase_ == 7 &&
            result_ != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance()) {
          result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.newBuilder((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_)
              .mergeFrom(value).buildPartial();
        } else {
          result_ = value;
        }
        onChanged();
      } else {
        if (resultCase_ == 7) {
          kMapEstimationResultBuilder_.mergeFrom(value);
        }
        kMapEstimationResultBuilder_.setMessage(value);
      }
      resultCase_ = 7;
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
     */
    public Builder clearKMapEstimationResult() {
      if (kMapEstimationResultBuilder_ == null) {
        if (resultCase_ == 7) {
          resultCase_ = 0;
          result_ = null;
          onChanged();
        }
      } else {
        if (resultCase_ == 7) {
          resultCase_ = 0;
          result_ = null;
        }
        kMapEstimationResultBuilder_.clear();
      }
      return this;
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder getKMapEstimationResultBuilder() {
      return getKMapEstimationResultFieldBuilder().getBuilder();
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder getKMapEstimationResultOrBuilder() {
      if ((resultCase_ == 7) && (kMapEstimationResultBuilder_ != null)) {
        return kMapEstimationResultBuilder_.getMessageOrBuilder();
      } else {
        if (resultCase_ == 7) {
          return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_;
        }
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance();
      }
    }
    /**
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder>
        getKMapEstimationResultFieldBuilder() {
      if (kMapEstimationResultBuilder_ == null) {
        if (!(resultCase_ == 7)) {
          result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance();
        }
        kMapEstimationResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder>(
                (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_,
                getParentForChildren(),
                isClean());
        result_ = null;
      }
      resultCase_ = 7;
      onChanged();;
      return kMapEstimationResultBuilder_;
    }
    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.v2.AnalyzeDataSourceRiskDetails)
  }

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

  public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}