/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/privacy/dlp/v2/dlp.proto

package com.google.privacy.dlp.v2;

/**
 *
 *
 * <pre>
 * Result of a risk analysis operation request.
 * </pre>
 *
 * 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
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    return new AnalyzeDataSourceRiskDetails();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    return this.unknownFields;
  }

  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    return com.google.privacy.dlp.v2.DlpProto
        .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor;
  }

  @java.lang.Override
  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 {

    /**
     *
     *
     * <pre>
     * Minimum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.Value min_value = 1;</code>
     *
     * @return Whether the minValue field is set.
     */
    boolean hasMinValue();
    /**
     *
     *
     * <pre>
     * Minimum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.Value min_value = 1;</code>
     *
     * @return The minValue.
     */
    com.google.privacy.dlp.v2.Value getMinValue();
    /**
     *
     *
     * <pre>
     * Minimum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.Value min_value = 1;</code>
     */
    com.google.privacy.dlp.v2.ValueOrBuilder getMinValueOrBuilder();

    /**
     *
     *
     * <pre>
     * Maximum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.Value max_value = 2;</code>
     *
     * @return Whether the maxValue field is set.
     */
    boolean hasMaxValue();
    /**
     *
     *
     * <pre>
     * Maximum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.Value max_value = 2;</code>
     *
     * @return The maxValue.
     */
    com.google.privacy.dlp.v2.Value getMaxValue();
    /**
     *
     *
     * <pre>
     * Maximum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.Value max_value = 2;</code>
     */
    com.google.privacy.dlp.v2.ValueOrBuilder getMaxValueOrBuilder();

    /**
     *
     *
     * <pre>
     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
     */
    java.util.List<com.google.privacy.dlp.v2.Value> getQuantileValuesList();
    /**
     *
     *
     * <pre>
     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
     */
    com.google.privacy.dlp.v2.Value getQuantileValues(int index);
    /**
     *
     *
     * <pre>
     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
     */
    int getQuantileValuesCount();
    /**
     *
     *
     * <pre>
     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
     */
    java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
        getQuantileValuesOrBuilderList();
    /**
     *
     *
     * <pre>
     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
     */
    com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(int index);
  }
  /**
   *
   *
   * <pre>
   * Result of the numerical stats computation.
   * </pre>
   *
   * 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
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
      return new NumericalStatsResult();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    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;
    }

    @java.lang.Override
    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);
    }

    public static final int MIN_VALUE_FIELD_NUMBER = 1;
    private com.google.privacy.dlp.v2.Value minValue_;
    /**
     *
     *
     * <pre>
     * Minimum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.Value min_value = 1;</code>
     *
     * @return Whether the minValue field is set.
     */
    @java.lang.Override
    public boolean hasMinValue() {
      return minValue_ != null;
    }
    /**
     *
     *
     * <pre>
     * Minimum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.Value min_value = 1;</code>
     *
     * @return The minValue.
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.Value getMinValue() {
      return minValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : minValue_;
    }
    /**
     *
     *
     * <pre>
     * Minimum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.Value min_value = 1;</code>
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.ValueOrBuilder getMinValueOrBuilder() {
      return minValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : minValue_;
    }

    public static final int MAX_VALUE_FIELD_NUMBER = 2;
    private com.google.privacy.dlp.v2.Value maxValue_;
    /**
     *
     *
     * <pre>
     * Maximum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.Value max_value = 2;</code>
     *
     * @return Whether the maxValue field is set.
     */
    @java.lang.Override
    public boolean hasMaxValue() {
      return maxValue_ != null;
    }
    /**
     *
     *
     * <pre>
     * Maximum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.Value max_value = 2;</code>
     *
     * @return The maxValue.
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.Value getMaxValue() {
      return maxValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : maxValue_;
    }
    /**
     *
     *
     * <pre>
     * Maximum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.Value max_value = 2;</code>
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.ValueOrBuilder getMaxValueOrBuilder() {
      return maxValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : maxValue_;
    }

    public static final int QUANTILE_VALUES_FIELD_NUMBER = 4;

    @SuppressWarnings("serial")
    private java.util.List<com.google.privacy.dlp.v2.Value> quantileValues_;
    /**
     *
     *
     * <pre>
     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
     */
    @java.lang.Override
    public java.util.List<com.google.privacy.dlp.v2.Value> getQuantileValuesList() {
      return quantileValues_;
    }
    /**
     *
     *
     * <pre>
     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
     */
    @java.lang.Override
    public java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
        getQuantileValuesOrBuilderList() {
      return quantileValues_;
    }
    /**
     *
     *
     * <pre>
     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
     */
    @java.lang.Override
    public int getQuantileValuesCount() {
      return quantileValues_.size();
    }
    /**
     *
     *
     * <pre>
     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.Value getQuantileValues(int index) {
      return quantileValues_.get(index);
    }
    /**
     *
     *
     * <pre>
     * List of 99 values that partition the set of field values into 100 equal
     * sized buckets.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(int index) {
      return quantileValues_.get(index);
    }

    private byte memoizedIsInitialized = -1;

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      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));
      }
      getUnknownFields().writeTo(output);
    }

    @java.lang.Override
    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 += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj
          instanceof com.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;

      if (hasMinValue() != other.hasMinValue()) return false;
      if (hasMinValue()) {
        if (!getMinValue().equals(other.getMinValue())) return false;
      }
      if (hasMaxValue() != other.hasMaxValue()) return false;
      if (hasMaxValue()) {
        if (!getMaxValue().equals(other.getMaxValue())) return false;
      }
      if (!getQuantileValuesList().equals(other.getQuantileValuesList())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (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) + getUnknownFields().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);
    }

    @java.lang.Override
    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);
    }

    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     *
     *
     * <pre>
     * Result of the numerical stats computation.
     * </pre>
     *
     * 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;
      }

      @java.lang.Override
      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() {}

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

      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        minValue_ = null;
        if (minValueBuilder_ != null) {
          minValueBuilder_.dispose();
          minValueBuilder_ = null;
        }
        maxValue_ = null;
        if (maxValueBuilder_ != null) {
          maxValueBuilder_.dispose();
          maxValueBuilder_ = null;
        }
        if (quantileValuesBuilder_ == null) {
          quantileValues_ = java.util.Collections.emptyList();
        } else {
          quantileValues_ = null;
          quantileValuesBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

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

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

      @java.lang.Override
      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;
      }

      @java.lang.Override
      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);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult result) {
        if (quantileValuesBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0)) {
            quantileValues_ = java.util.Collections.unmodifiableList(quantileValues_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.quantileValues_ = quantileValues_;
        } else {
          result.quantileValues_ = quantileValuesBuilder_.build();
        }
      }

      private void buildPartial0(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.minValue_ = minValueBuilder_ == null ? minValue_ : minValueBuilder_.build();
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.maxValue_ = maxValueBuilder_ == null ? maxValue_ : maxValueBuilder_.build();
        }
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }

      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.setField(field, value);
      }

      @java.lang.Override
      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }

      @java.lang.Override
      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }

      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index,
          java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }

      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other
            instanceof
            com.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.getUnknownFields());
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10:
                {
                  input.readMessage(getMinValueFieldBuilder().getBuilder(), extensionRegistry);
                  bitField0_ |= 0x00000001;
                  break;
                } // case 10
              case 18:
                {
                  input.readMessage(getMaxValueFieldBuilder().getBuilder(), extensionRegistry);
                  bitField0_ |= 0x00000002;
                  break;
                } // case 18
              case 34:
                {
                  com.google.privacy.dlp.v2.Value m =
                      input.readMessage(
                          com.google.privacy.dlp.v2.Value.parser(), extensionRegistry);
                  if (quantileValuesBuilder_ == null) {
                    ensureQuantileValuesIsMutable();
                    quantileValues_.add(m);
                  } else {
                    quantileValuesBuilder_.addMessage(m);
                  }
                  break;
                } // case 34
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private com.google.privacy.dlp.v2.Value minValue_;
      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_;
      /**
       *
       *
       * <pre>
       * Minimum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.Value min_value = 1;</code>
       *
       * @return Whether the minValue field is set.
       */
      public boolean hasMinValue() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       *
       *
       * <pre>
       * Minimum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.Value min_value = 1;</code>
       *
       * @return The minValue.
       */
      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();
        }
      }
      /**
       *
       *
       * <pre>
       * Minimum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.Value min_value = 1;</code>
       */
      public Builder setMinValue(com.google.privacy.dlp.v2.Value value) {
        if (minValueBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          minValue_ = value;
        } else {
          minValueBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Minimum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.Value min_value = 1;</code>
       */
      public Builder setMinValue(com.google.privacy.dlp.v2.Value.Builder builderForValue) {
        if (minValueBuilder_ == null) {
          minValue_ = builderForValue.build();
        } else {
          minValueBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Minimum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.Value min_value = 1;</code>
       */
      public Builder mergeMinValue(com.google.privacy.dlp.v2.Value value) {
        if (minValueBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)
              && minValue_ != null
              && minValue_ != com.google.privacy.dlp.v2.Value.getDefaultInstance()) {
            getMinValueBuilder().mergeFrom(value);
          } else {
            minValue_ = value;
          }
        } else {
          minValueBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Minimum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.Value min_value = 1;</code>
       */
      public Builder clearMinValue() {
        bitField0_ = (bitField0_ & ~0x00000001);
        minValue_ = null;
        if (minValueBuilder_ != null) {
          minValueBuilder_.dispose();
          minValueBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Minimum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.Value min_value = 1;</code>
       */
      public com.google.privacy.dlp.v2.Value.Builder getMinValueBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getMinValueFieldBuilder().getBuilder();
      }
      /**
       *
       *
       * <pre>
       * Minimum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.Value min_value = 1;</code>
       */
      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_;
        }
      }
      /**
       *
       *
       * <pre>
       * Minimum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.Value min_value = 1;</code>
       */
      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_;
      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_;
      /**
       *
       *
       * <pre>
       * Maximum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.Value max_value = 2;</code>
       *
       * @return Whether the maxValue field is set.
       */
      public boolean hasMaxValue() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       *
       *
       * <pre>
       * Maximum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.Value max_value = 2;</code>
       *
       * @return The maxValue.
       */
      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();
        }
      }
      /**
       *
       *
       * <pre>
       * Maximum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.Value max_value = 2;</code>
       */
      public Builder setMaxValue(com.google.privacy.dlp.v2.Value value) {
        if (maxValueBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          maxValue_ = value;
        } else {
          maxValueBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Maximum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.Value max_value = 2;</code>
       */
      public Builder setMaxValue(com.google.privacy.dlp.v2.Value.Builder builderForValue) {
        if (maxValueBuilder_ == null) {
          maxValue_ = builderForValue.build();
        } else {
          maxValueBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Maximum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.Value max_value = 2;</code>
       */
      public Builder mergeMaxValue(com.google.privacy.dlp.v2.Value value) {
        if (maxValueBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)
              && maxValue_ != null
              && maxValue_ != com.google.privacy.dlp.v2.Value.getDefaultInstance()) {
            getMaxValueBuilder().mergeFrom(value);
          } else {
            maxValue_ = value;
          }
        } else {
          maxValueBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Maximum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.Value max_value = 2;</code>
       */
      public Builder clearMaxValue() {
        bitField0_ = (bitField0_ & ~0x00000002);
        maxValue_ = null;
        if (maxValueBuilder_ != null) {
          maxValueBuilder_.dispose();
          maxValueBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Maximum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.Value max_value = 2;</code>
       */
      public com.google.privacy.dlp.v2.Value.Builder getMaxValueBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return getMaxValueFieldBuilder().getBuilder();
      }
      /**
       *
       *
       * <pre>
       * Maximum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.Value max_value = 2;</code>
       */
      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_;
        }
      }
      /**
       *
       *
       * <pre>
       * Maximum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.Value max_value = 2;</code>
       */
      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) != 0)) {
          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_;

      /**
       *
       *
       * <pre>
       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
       */
      public java.util.List<com.google.privacy.dlp.v2.Value> getQuantileValuesList() {
        if (quantileValuesBuilder_ == null) {
          return java.util.Collections.unmodifiableList(quantileValues_);
        } else {
          return quantileValuesBuilder_.getMessageList();
        }
      }
      /**
       *
       *
       * <pre>
       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
       */
      public int getQuantileValuesCount() {
        if (quantileValuesBuilder_ == null) {
          return quantileValues_.size();
        } else {
          return quantileValuesBuilder_.getCount();
        }
      }
      /**
       *
       *
       * <pre>
       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
       */
      public com.google.privacy.dlp.v2.Value getQuantileValues(int index) {
        if (quantileValuesBuilder_ == null) {
          return quantileValues_.get(index);
        } else {
          return quantileValuesBuilder_.getMessage(index);
        }
      }
      /**
       *
       *
       * <pre>
       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
       */
      public Builder clearQuantileValues() {
        if (quantileValuesBuilder_ == null) {
          quantileValues_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
        } else {
          quantileValuesBuilder_.clear();
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
       */
      public Builder removeQuantileValues(int index) {
        if (quantileValuesBuilder_ == null) {
          ensureQuantileValuesIsMutable();
          quantileValues_.remove(index);
          onChanged();
        } else {
          quantileValuesBuilder_.remove(index);
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
       */
      public com.google.privacy.dlp.v2.Value.Builder getQuantileValuesBuilder(int index) {
        return getQuantileValuesFieldBuilder().getBuilder(index);
      }
      /**
       *
       *
       * <pre>
       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
       */
      public com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(int index) {
        if (quantileValuesBuilder_ == null) {
          return quantileValues_.get(index);
        } else {
          return quantileValuesBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       *
       *
       * <pre>
       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
       */
      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_);
        }
      }
      /**
       *
       *
       * <pre>
       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
       */
      public com.google.privacy.dlp.v2.Value.Builder addQuantileValuesBuilder() {
        return getQuantileValuesFieldBuilder()
            .addBuilder(com.google.privacy.dlp.v2.Value.getDefaultInstance());
      }
      /**
       *
       *
       * <pre>
       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
       */
      public com.google.privacy.dlp.v2.Value.Builder addQuantileValuesBuilder(int index) {
        return getQuantileValuesFieldBuilder()
            .addBuilder(index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
      }
      /**
       *
       *
       * <pre>
       * List of 99 values that partition the set of field values into 100 equal
       * sized buckets.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quantile_values = 4;</code>
       */
      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) != 0),
                  getParentForChildren(),
                  isClean());
          quantileValues_ = null;
        }
        return quantileValuesBuilder_;
      }

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

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

      // @@protoc_insertion_point(builder_scope: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>() {
          @java.lang.Override
          public NumericalStatsResult parsePartialFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (com.google.protobuf.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new com.google.protobuf.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

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

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

    @java.lang.Override
    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 {

    /**
     *
     *
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     * </code>
     */
    java.util.List<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
                .CategoricalStatsHistogramBucket>
        getValueFrequencyHistogramBucketsList();
    /**
     *
     *
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     * </code>
     */
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
            .CategoricalStatsHistogramBucket
        getValueFrequencyHistogramBuckets(int index);
    /**
     *
     *
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     * </code>
     */
    int getValueFrequencyHistogramBucketsCount();
    /**
     *
     *
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     * </code>
     */
    java.util.List<
            ? extends
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
                    .CategoricalStatsHistogramBucketOrBuilder>
        getValueFrequencyHistogramBucketsOrBuilderList();
    /**
     *
     *
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     * </code>
     */
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
            .CategoricalStatsHistogramBucketOrBuilder
        getValueFrequencyHistogramBucketsOrBuilder(int index);
  }
  /**
   *
   *
   * <pre>
   * Result of the categorical stats computation.
   * </pre>
   *
   * 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
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
      return new CategoricalStatsResult();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    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;
    }

    @java.lang.Override
    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 {

      /**
       *
       *
       * <pre>
       * Lower bound on the value frequency of the values in this bucket.
       * </pre>
       *
       * <code>int64 value_frequency_lower_bound = 1;</code>
       *
       * @return The valueFrequencyLowerBound.
       */
      long getValueFrequencyLowerBound();

      /**
       *
       *
       * <pre>
       * Upper bound on the value frequency of the values in this bucket.
       * </pre>
       *
       * <code>int64 value_frequency_upper_bound = 2;</code>
       *
       * @return The valueFrequencyUpperBound.
       */
      long getValueFrequencyUpperBound();

      /**
       *
       *
       * <pre>
       * Total number of values in this bucket.
       * </pre>
       *
       * <code>int64 bucket_size = 3;</code>
       *
       * @return The bucketSize.
       */
      long getBucketSize();

      /**
       *
       *
       * <pre>
       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
       */
      java.util.List<com.google.privacy.dlp.v2.ValueFrequency> getBucketValuesList();
      /**
       *
       *
       * <pre>
       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
       */
      com.google.privacy.dlp.v2.ValueFrequency getBucketValues(int index);
      /**
       *
       *
       * <pre>
       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
       */
      int getBucketValuesCount();
      /**
       *
       *
       * <pre>
       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
       */
      java.util.List<? extends com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>
          getBucketValuesOrBuilderList();
      /**
       *
       *
       * <pre>
       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
       */
      com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilder(int index);

      /**
       *
       *
       * <pre>
       * Total number of distinct values in this bucket.
       * </pre>
       *
       * <code>int64 bucket_value_count = 5;</code>
       *
       * @return The bucketValueCount.
       */
      long getBucketValueCount();
    }
    /**
     *
     *
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * 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() {
        bucketValues_ = java.util.Collections.emptyList();
      }

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

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
        return this.unknownFields;
      }

      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;
      }

      @java.lang.Override
      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);
      }

      public static final int VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER = 1;
      private long valueFrequencyLowerBound_ = 0L;
      /**
       *
       *
       * <pre>
       * Lower bound on the value frequency of the values in this bucket.
       * </pre>
       *
       * <code>int64 value_frequency_lower_bound = 1;</code>
       *
       * @return The valueFrequencyLowerBound.
       */
      @java.lang.Override
      public long getValueFrequencyLowerBound() {
        return valueFrequencyLowerBound_;
      }

      public static final int VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER = 2;
      private long valueFrequencyUpperBound_ = 0L;
      /**
       *
       *
       * <pre>
       * Upper bound on the value frequency of the values in this bucket.
       * </pre>
       *
       * <code>int64 value_frequency_upper_bound = 2;</code>
       *
       * @return The valueFrequencyUpperBound.
       */
      @java.lang.Override
      public long getValueFrequencyUpperBound() {
        return valueFrequencyUpperBound_;
      }

      public static final int BUCKET_SIZE_FIELD_NUMBER = 3;
      private long bucketSize_ = 0L;
      /**
       *
       *
       * <pre>
       * Total number of values in this bucket.
       * </pre>
       *
       * <code>int64 bucket_size = 3;</code>
       *
       * @return The bucketSize.
       */
      @java.lang.Override
      public long getBucketSize() {
        return bucketSize_;
      }

      public static final int BUCKET_VALUES_FIELD_NUMBER = 4;

      @SuppressWarnings("serial")
      private java.util.List<com.google.privacy.dlp.v2.ValueFrequency> bucketValues_;
      /**
       *
       *
       * <pre>
       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
       */
      @java.lang.Override
      public java.util.List<com.google.privacy.dlp.v2.ValueFrequency> getBucketValuesList() {
        return bucketValues_;
      }
      /**
       *
       *
       * <pre>
       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
       */
      @java.lang.Override
      public java.util.List<? extends com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>
          getBucketValuesOrBuilderList() {
        return bucketValues_;
      }
      /**
       *
       *
       * <pre>
       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
       */
      @java.lang.Override
      public int getBucketValuesCount() {
        return bucketValues_.size();
      }
      /**
       *
       *
       * <pre>
       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
       */
      @java.lang.Override
      public com.google.privacy.dlp.v2.ValueFrequency getBucketValues(int index) {
        return bucketValues_.get(index);
      }
      /**
       *
       *
       * <pre>
       * Sample of value frequencies in this bucket. The total number of
       * values returned per bucket is capped at 20.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
       */
      @java.lang.Override
      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_ = 0L;
      /**
       *
       *
       * <pre>
       * Total number of distinct values in this bucket.
       * </pre>
       *
       * <code>int64 bucket_value_count = 5;</code>
       *
       * @return The bucketValueCount.
       */
      @java.lang.Override
      public long getBucketValueCount() {
        return bucketValueCount_;
      }

      private byte memoizedIsInitialized = -1;

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

        memoizedIsInitialized = 1;
        return true;
      }

      @java.lang.Override
      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
        if (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_);
        }
        getUnknownFields().writeTo(output);
      }

      @java.lang.Override
      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 += getUnknownFields().getSerializedSize();
        memoizedSize = size;
        return size;
      }

      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj
            instanceof
            com.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;

        if (getValueFrequencyLowerBound() != other.getValueFrequencyLowerBound()) return false;
        if (getValueFrequencyUpperBound() != other.getValueFrequencyUpperBound()) return false;
        if (getBucketSize() != other.getBucketSize()) return false;
        if (!getBucketValuesList().equals(other.getBucketValuesList())) return false;
        if (getBucketValueCount() != other.getBucketValueCount()) return false;
        if (!getUnknownFields().equals(other.getUnknownFields())) return false;
        return true;
      }

      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        hash = (37 * hash) + 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) + getUnknownFields().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);
      }

      @java.lang.Override
      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);
      }

      @java.lang.Override
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
      }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       *
       *
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * 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;
        }

        @java.lang.Override
        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() {}

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

        @java.lang.Override
        public Builder clear() {
          super.clear();
          bitField0_ = 0;
          valueFrequencyLowerBound_ = 0L;
          valueFrequencyUpperBound_ = 0L;
          bucketSize_ = 0L;
          if (bucketValuesBuilder_ == null) {
            bucketValues_ = java.util.Collections.emptyList();
          } else {
            bucketValues_ = null;
            bucketValuesBuilder_.clear();
          }
          bitField0_ = (bitField0_ & ~0x00000008);
          bucketValueCount_ = 0L;
          return this;
        }

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

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

        @java.lang.Override
        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;
        }

        @java.lang.Override
        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);
          buildPartialRepeatedFields(result);
          if (bitField0_ != 0) {
            buildPartial0(result);
          }
          onBuilt();
          return result;
        }

        private void buildPartialRepeatedFields(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
                    .CategoricalStatsHistogramBucket
                result) {
          if (bucketValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000008) != 0)) {
              bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
              bitField0_ = (bitField0_ & ~0x00000008);
            }
            result.bucketValues_ = bucketValues_;
          } else {
            result.bucketValues_ = bucketValuesBuilder_.build();
          }
        }

        private void buildPartial0(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
                    .CategoricalStatsHistogramBucket
                result) {
          int from_bitField0_ = bitField0_;
          if (((from_bitField0_ & 0x00000001) != 0)) {
            result.valueFrequencyLowerBound_ = valueFrequencyLowerBound_;
          }
          if (((from_bitField0_ & 0x00000002) != 0)) {
            result.valueFrequencyUpperBound_ = valueFrequencyUpperBound_;
          }
          if (((from_bitField0_ & 0x00000004) != 0)) {
            result.bucketSize_ = bucketSize_;
          }
          if (((from_bitField0_ & 0x00000010) != 0)) {
            result.bucketValueCount_ = bucketValueCount_;
          }
        }

        @java.lang.Override
        public Builder clone() {
          return super.clone();
        }

        @java.lang.Override
        public Builder setField(
            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
          return super.setField(field, value);
        }

        @java.lang.Override
        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
          return super.clearField(field);
        }

        @java.lang.Override
        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
          return super.clearOneof(oneof);
        }

        @java.lang.Override
        public Builder setRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            int index,
            java.lang.Object value) {
          return super.setRepeatedField(field, index, value);
        }

        @java.lang.Override
        public Builder addRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
          return super.addRepeatedField(field, value);
        }

        @java.lang.Override
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other
              instanceof
              com.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.getUnknownFields());
          onChanged();
          return this;
        }

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

        @java.lang.Override
        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          if (extensionRegistry == null) {
            throw new java.lang.NullPointerException();
          }
          try {
            boolean done = false;
            while (!done) {
              int tag = input.readTag();
              switch (tag) {
                case 0:
                  done = true;
                  break;
                case 8:
                  {
                    valueFrequencyLowerBound_ = input.readInt64();
                    bitField0_ |= 0x00000001;
                    break;
                  } // case 8
                case 16:
                  {
                    valueFrequencyUpperBound_ = input.readInt64();
                    bitField0_ |= 0x00000002;
                    break;
                  } // case 16
                case 24:
                  {
                    bucketSize_ = input.readInt64();
                    bitField0_ |= 0x00000004;
                    break;
                  } // case 24
                case 34:
                  {
                    com.google.privacy.dlp.v2.ValueFrequency m =
                        input.readMessage(
                            com.google.privacy.dlp.v2.ValueFrequency.parser(), extensionRegistry);
                    if (bucketValuesBuilder_ == null) {
                      ensureBucketValuesIsMutable();
                      bucketValues_.add(m);
                    } else {
                      bucketValuesBuilder_.addMessage(m);
                    }
                    break;
                  } // case 34
                case 40:
                  {
                    bucketValueCount_ = input.readInt64();
                    bitField0_ |= 0x00000010;
                    break;
                  } // case 40
                default:
                  {
                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                      done = true; // was an endgroup tag
                    }
                    break;
                  } // default:
              } // switch (tag)
            } // while (!done)
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.unwrapIOException();
          } finally {
            onChanged();
          } // finally
          return this;
        }

        private int bitField0_;

        private long valueFrequencyLowerBound_;
        /**
         *
         *
         * <pre>
         * Lower bound on the value frequency of the values in this bucket.
         * </pre>
         *
         * <code>int64 value_frequency_lower_bound = 1;</code>
         *
         * @return The valueFrequencyLowerBound.
         */
        @java.lang.Override
        public long getValueFrequencyLowerBound() {
          return valueFrequencyLowerBound_;
        }
        /**
         *
         *
         * <pre>
         * Lower bound on the value frequency of the values in this bucket.
         * </pre>
         *
         * <code>int64 value_frequency_lower_bound = 1;</code>
         *
         * @param value The valueFrequencyLowerBound to set.
         * @return This builder for chaining.
         */
        public Builder setValueFrequencyLowerBound(long value) {

          valueFrequencyLowerBound_ = value;
          bitField0_ |= 0x00000001;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Lower bound on the value frequency of the values in this bucket.
         * </pre>
         *
         * <code>int64 value_frequency_lower_bound = 1;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearValueFrequencyLowerBound() {
          bitField0_ = (bitField0_ & ~0x00000001);
          valueFrequencyLowerBound_ = 0L;
          onChanged();
          return this;
        }

        private long valueFrequencyUpperBound_;
        /**
         *
         *
         * <pre>
         * Upper bound on the value frequency of the values in this bucket.
         * </pre>
         *
         * <code>int64 value_frequency_upper_bound = 2;</code>
         *
         * @return The valueFrequencyUpperBound.
         */
        @java.lang.Override
        public long getValueFrequencyUpperBound() {
          return valueFrequencyUpperBound_;
        }
        /**
         *
         *
         * <pre>
         * Upper bound on the value frequency of the values in this bucket.
         * </pre>
         *
         * <code>int64 value_frequency_upper_bound = 2;</code>
         *
         * @param value The valueFrequencyUpperBound to set.
         * @return This builder for chaining.
         */
        public Builder setValueFrequencyUpperBound(long value) {

          valueFrequencyUpperBound_ = value;
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Upper bound on the value frequency of the values in this bucket.
         * </pre>
         *
         * <code>int64 value_frequency_upper_bound = 2;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearValueFrequencyUpperBound() {
          bitField0_ = (bitField0_ & ~0x00000002);
          valueFrequencyUpperBound_ = 0L;
          onChanged();
          return this;
        }

        private long bucketSize_;
        /**
         *
         *
         * <pre>
         * Total number of values in this bucket.
         * </pre>
         *
         * <code>int64 bucket_size = 3;</code>
         *
         * @return The bucketSize.
         */
        @java.lang.Override
        public long getBucketSize() {
          return bucketSize_;
        }
        /**
         *
         *
         * <pre>
         * Total number of values in this bucket.
         * </pre>
         *
         * <code>int64 bucket_size = 3;</code>
         *
         * @param value The bucketSize to set.
         * @return This builder for chaining.
         */
        public Builder setBucketSize(long value) {

          bucketSize_ = value;
          bitField0_ |= 0x00000004;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Total number of values in this bucket.
         * </pre>
         *
         * <code>int64 bucket_size = 3;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearBucketSize() {
          bitField0_ = (bitField0_ & ~0x00000004);
          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) != 0)) {
            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_;

        /**
         *
         *
         * <pre>
         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
         */
        public java.util.List<com.google.privacy.dlp.v2.ValueFrequency> getBucketValuesList() {
          if (bucketValuesBuilder_ == null) {
            return java.util.Collections.unmodifiableList(bucketValues_);
          } else {
            return bucketValuesBuilder_.getMessageList();
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
         */
        public int getBucketValuesCount() {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.size();
          } else {
            return bucketValuesBuilder_.getCount();
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2.ValueFrequency getBucketValues(int index) {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.get(index);
          } else {
            return bucketValuesBuilder_.getMessage(index);
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
         */
        public Builder clearBucketValues() {
          if (bucketValuesBuilder_ == null) {
            bucketValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000008);
            onChanged();
          } else {
            bucketValuesBuilder_.clear();
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
         */
        public Builder removeBucketValues(int index) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.remove(index);
            onChanged();
          } else {
            bucketValuesBuilder_.remove(index);
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2.ValueFrequency.Builder getBucketValuesBuilder(int index) {
          return getBucketValuesFieldBuilder().getBuilder(index);
        }
        /**
         *
         *
         * <pre>
         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilder(
            int index) {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.get(index);
          } else {
            return bucketValuesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
         */
        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_);
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2.ValueFrequency.Builder addBucketValuesBuilder() {
          return getBucketValuesFieldBuilder()
              .addBuilder(com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance());
        }
        /**
         *
         *
         * <pre>
         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2.ValueFrequency.Builder addBucketValuesBuilder(int index) {
          return getBucketValuesFieldBuilder()
              .addBuilder(index, com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance());
        }
        /**
         *
         *
         * <pre>
         * Sample of value frequencies in this bucket. The total number of
         * values returned per bucket is capped at 20.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;</code>
         */
        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) != 0),
                    getParentForChildren(),
                    isClean());
            bucketValues_ = null;
          }
          return bucketValuesBuilder_;
        }

        private long bucketValueCount_;
        /**
         *
         *
         * <pre>
         * Total number of distinct values in this bucket.
         * </pre>
         *
         * <code>int64 bucket_value_count = 5;</code>
         *
         * @return The bucketValueCount.
         */
        @java.lang.Override
        public long getBucketValueCount() {
          return bucketValueCount_;
        }
        /**
         *
         *
         * <pre>
         * Total number of distinct values in this bucket.
         * </pre>
         *
         * <code>int64 bucket_value_count = 5;</code>
         *
         * @param value The bucketValueCount to set.
         * @return This builder for chaining.
         */
        public Builder setBucketValueCount(long value) {

          bucketValueCount_ = value;
          bitField0_ |= 0x00000010;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Total number of distinct values in this bucket.
         * </pre>
         *
         * <code>int64 bucket_value_count = 5;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearBucketValueCount() {
          bitField0_ = (bitField0_ & ~0x00000010);
          bucketValueCount_ = 0L;
          onChanged();
          return this;
        }

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

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

        // @@protoc_insertion_point(builder_scope: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>() {
            @java.lang.Override
            public CategoricalStatsHistogramBucket parsePartialFrom(
                com.google.protobuf.CodedInputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
              Builder builder = newBuilder();
              try {
                builder.mergeFrom(input, extensionRegistry);
              } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                throw e.setUnfinishedMessage(builder.buildPartial());
              } catch (com.google.protobuf.UninitializedMessageException e) {
                throw e.asInvalidProtocolBufferException()
                    .setUnfinishedMessage(builder.buildPartial());
              } catch (java.io.IOException e) {
                throw new com.google.protobuf.InvalidProtocolBufferException(e)
                    .setUnfinishedMessage(builder.buildPartial());
              }
              return builder.buildPartial();
            }
          };

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

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

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

    public static final int VALUE_FREQUENCY_HISTOGRAM_BUCKETS_FIELD_NUMBER = 5;

    @SuppressWarnings("serial")
    private java.util.List<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
                .CategoricalStatsHistogramBucket>
        valueFrequencyHistogramBuckets_;
    /**
     *
     *
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     * </code>
     */
    @java.lang.Override
    public java.util.List<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
                .CategoricalStatsHistogramBucket>
        getValueFrequencyHistogramBucketsList() {
      return valueFrequencyHistogramBuckets_;
    }
    /**
     *
     *
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     * </code>
     */
    @java.lang.Override
    public java.util.List<
            ? extends
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
                    .CategoricalStatsHistogramBucketOrBuilder>
        getValueFrequencyHistogramBucketsOrBuilderList() {
      return valueFrequencyHistogramBuckets_;
    }
    /**
     *
     *
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     * </code>
     */
    @java.lang.Override
    public int getValueFrequencyHistogramBucketsCount() {
      return valueFrequencyHistogramBuckets_.size();
    }
    /**
     *
     *
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     * </code>
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
            .CategoricalStatsHistogramBucket
        getValueFrequencyHistogramBuckets(int index) {
      return valueFrequencyHistogramBuckets_.get(index);
    }
    /**
     *
     *
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
     * </code>
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
            .CategoricalStatsHistogramBucketOrBuilder
        getValueFrequencyHistogramBucketsOrBuilder(int index) {
      return valueFrequencyHistogramBuckets_.get(index);
    }

    private byte memoizedIsInitialized = -1;

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      for (int i = 0; i < valueFrequencyHistogramBuckets_.size(); i++) {
        output.writeMessage(5, valueFrequencyHistogramBuckets_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < valueFrequencyHistogramBuckets_.size(); i++) {
        size +=
            com.google.protobuf.CodedOutputStream.computeMessageSize(
                5, valueFrequencyHistogramBuckets_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj
          instanceof
          com.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;

      if (!getValueFrequencyHistogramBucketsList()
          .equals(other.getValueFrequencyHistogramBucketsList())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getValueFrequencyHistogramBucketsCount() > 0) {
        hash = (37 * hash) + VALUE_FREQUENCY_HISTOGRAM_BUCKETS_FIELD_NUMBER;
        hash = (53 * hash) + getValueFrequencyHistogramBucketsList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().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);
    }

    @java.lang.Override
    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);
    }

    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     *
     *
     * <pre>
     * Result of the categorical stats computation.
     * </pre>
     *
     * 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;
      }

      @java.lang.Override
      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() {}

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

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

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

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

      @java.lang.Override
      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;
      }

      @java.lang.Override
      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);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult result) {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            valueFrequencyHistogramBuckets_ =
                java.util.Collections.unmodifiableList(valueFrequencyHistogramBuckets_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.valueFrequencyHistogramBuckets_ = valueFrequencyHistogramBuckets_;
        } else {
          result.valueFrequencyHistogramBuckets_ = valueFrequencyHistogramBucketsBuilder_.build();
        }
      }

      private void buildPartial0(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult result) {
        int from_bitField0_ = bitField0_;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }

      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.setField(field, value);
      }

      @java.lang.Override
      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }

      @java.lang.Override
      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }

      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index,
          java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }

      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other
            instanceof
            com.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.getUnknownFields());
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 42:
                {
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
                          .CategoricalStatsHistogramBucket
                      m =
                          input.readMessage(
                              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                                  .CategoricalStatsResult.CategoricalStatsHistogramBucket.parser(),
                              extensionRegistry);
                  if (valueFrequencyHistogramBucketsBuilder_ == null) {
                    ensureValueFrequencyHistogramBucketsIsMutable();
                    valueFrequencyHistogramBuckets_.add(m);
                  } else {
                    valueFrequencyHistogramBucketsBuilder_.addMessage(m);
                  }
                  break;
                } // case 42
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private java.util.List<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
                  .CategoricalStatsHistogramBucket>
          valueFrequencyHistogramBuckets_ = java.util.Collections.emptyList();

      private void ensureValueFrequencyHistogramBucketsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          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_;

      /**
       *
       *
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       * </code>
       */
      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();
        }
      }
      /**
       *
       *
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       * </code>
       */
      public int getValueFrequencyHistogramBucketsCount() {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          return valueFrequencyHistogramBuckets_.size();
        } else {
          return valueFrequencyHistogramBucketsBuilder_.getCount();
        }
      }
      /**
       *
       *
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
              .CategoricalStatsHistogramBucket
          getValueFrequencyHistogramBuckets(int index) {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          return valueFrequencyHistogramBuckets_.get(index);
        } else {
          return valueFrequencyHistogramBucketsBuilder_.getMessage(index);
        }
      }
      /**
       *
       *
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       * </code>
       */
      public Builder clearValueFrequencyHistogramBuckets() {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          valueFrequencyHistogramBuckets_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          valueFrequencyHistogramBucketsBuilder_.clear();
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       * </code>
       */
      public Builder removeValueFrequencyHistogramBuckets(int index) {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          ensureValueFrequencyHistogramBucketsIsMutable();
          valueFrequencyHistogramBuckets_.remove(index);
          onChanged();
        } else {
          valueFrequencyHistogramBucketsBuilder_.remove(index);
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
              .CategoricalStatsHistogramBucket.Builder
          getValueFrequencyHistogramBucketsBuilder(int index) {
        return getValueFrequencyHistogramBucketsFieldBuilder().getBuilder(index);
      }
      /**
       *
       *
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
              .CategoricalStatsHistogramBucketOrBuilder
          getValueFrequencyHistogramBucketsOrBuilder(int index) {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          return valueFrequencyHistogramBuckets_.get(index);
        } else {
          return valueFrequencyHistogramBucketsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       *
       *
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       * </code>
       */
      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_);
        }
      }
      /**
       *
       *
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
              .CategoricalStatsHistogramBucket.Builder
          addValueFrequencyHistogramBucketsBuilder() {
        return getValueFrequencyHistogramBucketsFieldBuilder()
            .addBuilder(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
                    .CategoricalStatsHistogramBucket.getDefaultInstance());
      }
      /**
       *
       *
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       * </code>
       */
      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());
      }
      /**
       *
       *
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;
       * </code>
       */
      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) != 0),
                  getParentForChildren(),
                  isClean());
          valueFrequencyHistogramBuckets_ = null;
        }
        return valueFrequencyHistogramBucketsBuilder_;
      }

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

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

      // @@protoc_insertion_point(builder_scope: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>() {
          @java.lang.Override
          public CategoricalStatsResult parsePartialFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (com.google.protobuf.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new com.google.protobuf.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

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

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

    @java.lang.Override
    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 {

    /**
     *
     *
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     * </code>
     */
    java.util.List<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                .KAnonymityHistogramBucket>
        getEquivalenceClassHistogramBucketsList();
    /**
     *
     *
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     * </code>
     */
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
            .KAnonymityHistogramBucket
        getEquivalenceClassHistogramBuckets(int index);
    /**
     *
     *
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     * </code>
     */
    int getEquivalenceClassHistogramBucketsCount();
    /**
     *
     *
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     * </code>
     */
    java.util.List<
            ? extends
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                    .KAnonymityHistogramBucketOrBuilder>
        getEquivalenceClassHistogramBucketsOrBuilderList();
    /**
     *
     *
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     * </code>
     */
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
            .KAnonymityHistogramBucketOrBuilder
        getEquivalenceClassHistogramBucketsOrBuilder(int index);
  }
  /**
   *
   *
   * <pre>
   * Result of the k-anonymity computation.
   * </pre>
   *
   * 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
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
      return new KAnonymityResult();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    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;
    }

    @java.lang.Override
    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 {

      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      java.util.List<com.google.privacy.dlp.v2.Value> getQuasiIdsValuesList();
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index);
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      int getQuasiIdsValuesCount();
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
          getQuasiIdsValuesOrBuilderList();
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index);

      /**
       *
       *
       * <pre>
       * Size of the equivalence class, for example number of rows with the
       * above set of values.
       * </pre>
       *
       * <code>int64 equivalence_class_size = 2;</code>
       *
       * @return The equivalenceClassSize.
       */
      long getEquivalenceClassSize();
    }
    /**
     *
     *
     * <pre>
     * The set of columns' values that share the same ldiversity value
     * </pre>
     *
     * 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();
      }

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

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
        return this.unknownFields;
      }

      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;
      }

      @java.lang.Override
      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);
      }

      public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1;

      @SuppressWarnings("serial")
      private java.util.List<com.google.privacy.dlp.v2.Value> quasiIdsValues_;
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      public java.util.List<com.google.privacy.dlp.v2.Value> getQuasiIdsValuesList() {
        return quasiIdsValues_;
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      public java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
          getQuasiIdsValuesOrBuilderList() {
        return quasiIdsValues_;
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      public int getQuasiIdsValuesCount() {
        return quasiIdsValues_.size();
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
        return quasiIdsValues_.get(index);
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      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_ = 0L;
      /**
       *
       *
       * <pre>
       * Size of the equivalence class, for example number of rows with the
       * above set of values.
       * </pre>
       *
       * <code>int64 equivalence_class_size = 2;</code>
       *
       * @return The equivalenceClassSize.
       */
      @java.lang.Override
      public long getEquivalenceClassSize() {
        return equivalenceClassSize_;
      }

      private byte memoizedIsInitialized = -1;

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

        memoizedIsInitialized = 1;
        return true;
      }

      @java.lang.Override
      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
        for (int i = 0; i < quasiIdsValues_.size(); i++) {
          output.writeMessage(1, quasiIdsValues_.get(i));
        }
        if (equivalenceClassSize_ != 0L) {
          output.writeInt64(2, equivalenceClassSize_);
        }
        getUnknownFields().writeTo(output);
      }

      @java.lang.Override
      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 += getUnknownFields().getSerializedSize();
        memoizedSize = size;
        return size;
      }

      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj
            instanceof
            com.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;

        if (!getQuasiIdsValuesList().equals(other.getQuasiIdsValuesList())) return false;
        if (getEquivalenceClassSize() != other.getEquivalenceClassSize()) return false;
        if (!getUnknownFields().equals(other.getUnknownFields())) return false;
        return true;
      }

      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        if (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) + getUnknownFields().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);
      }

      @java.lang.Override
      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);
      }

      @java.lang.Override
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
      }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       *
       *
       * <pre>
       * The set of columns' values that share the same ldiversity value
       * </pre>
       *
       * 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;
        }

        @java.lang.Override
        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() {}

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

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

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

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

        @java.lang.Override
        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;
        }

        @java.lang.Override
        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);
          buildPartialRepeatedFields(result);
          if (bitField0_ != 0) {
            buildPartial0(result);
          }
          onBuilt();
          return result;
        }

        private void buildPartialRepeatedFields(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                    .KAnonymityEquivalenceClass
                result) {
          if (quasiIdsValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000001) != 0)) {
              quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_);
              bitField0_ = (bitField0_ & ~0x00000001);
            }
            result.quasiIdsValues_ = quasiIdsValues_;
          } else {
            result.quasiIdsValues_ = quasiIdsValuesBuilder_.build();
          }
        }

        private void buildPartial0(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                    .KAnonymityEquivalenceClass
                result) {
          int from_bitField0_ = bitField0_;
          if (((from_bitField0_ & 0x00000002) != 0)) {
            result.equivalenceClassSize_ = equivalenceClassSize_;
          }
        }

        @java.lang.Override
        public Builder clone() {
          return super.clone();
        }

        @java.lang.Override
        public Builder setField(
            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
          return super.setField(field, value);
        }

        @java.lang.Override
        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
          return super.clearField(field);
        }

        @java.lang.Override
        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
          return super.clearOneof(oneof);
        }

        @java.lang.Override
        public Builder setRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            int index,
            java.lang.Object value) {
          return super.setRepeatedField(field, index, value);
        }

        @java.lang.Override
        public Builder addRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
          return super.addRepeatedField(field, value);
        }

        @java.lang.Override
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other
              instanceof
              com.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.getUnknownFields());
          onChanged();
          return this;
        }

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

        @java.lang.Override
        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          if (extensionRegistry == null) {
            throw new java.lang.NullPointerException();
          }
          try {
            boolean done = false;
            while (!done) {
              int tag = input.readTag();
              switch (tag) {
                case 0:
                  done = true;
                  break;
                case 10:
                  {
                    com.google.privacy.dlp.v2.Value m =
                        input.readMessage(
                            com.google.privacy.dlp.v2.Value.parser(), extensionRegistry);
                    if (quasiIdsValuesBuilder_ == null) {
                      ensureQuasiIdsValuesIsMutable();
                      quasiIdsValues_.add(m);
                    } else {
                      quasiIdsValuesBuilder_.addMessage(m);
                    }
                    break;
                  } // case 10
                case 16:
                  {
                    equivalenceClassSize_ = input.readInt64();
                    bitField0_ |= 0x00000002;
                    break;
                  } // case 16
                default:
                  {
                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                      done = true; // was an endgroup tag
                    }
                    break;
                  } // default:
              } // switch (tag)
            } // while (!done)
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.unwrapIOException();
          } finally {
            onChanged();
          } // finally
          return this;
        }

        private int bitField0_;

        private java.util.List<com.google.privacy.dlp.v2.Value> quasiIdsValues_ =
            java.util.Collections.emptyList();

        private void ensureQuasiIdsValuesIsMutable() {
          if (!((bitField0_ & 0x00000001) != 0)) {
            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_;

        /**
         *
         *
         * <pre>
         * 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.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public java.util.List<com.google.privacy.dlp.v2.Value> getQuasiIdsValuesList() {
          if (quasiIdsValuesBuilder_ == null) {
            return java.util.Collections.unmodifiableList(quasiIdsValues_);
          } else {
            return quasiIdsValuesBuilder_.getMessageList();
          }
        }
        /**
         *
         *
         * <pre>
         * 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.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public int getQuasiIdsValuesCount() {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.size();
          } else {
            return quasiIdsValuesBuilder_.getCount();
          }
        }
        /**
         *
         *
         * <pre>
         * 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.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.get(index);
          } else {
            return quasiIdsValuesBuilder_.getMessage(index);
          }
        }
        /**
         *
         *
         * <pre>
         * 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.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * 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.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * 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.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * 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.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * 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.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * 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.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * 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.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * 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.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public Builder clearQuasiIdsValues() {
          if (quasiIdsValuesBuilder_ == null) {
            quasiIdsValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.clear();
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * 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.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public Builder removeQuasiIdsValues(int index) {
          if (quasiIdsValuesBuilder_ == null) {
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.remove(index);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.remove(index);
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * 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.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(int index) {
          return getQuasiIdsValuesFieldBuilder().getBuilder(index);
        }
        /**
         *
         *
         * <pre>
         * 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.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.get(index);
          } else {
            return quasiIdsValuesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         *
         *
         * <pre>
         * 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.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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_);
          }
        }
        /**
         *
         *
         * <pre>
         * 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.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder() {
          return getQuasiIdsValuesFieldBuilder()
              .addBuilder(com.google.privacy.dlp.v2.Value.getDefaultInstance());
        }
        /**
         *
         *
         * <pre>
         * 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.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int index) {
          return getQuasiIdsValuesFieldBuilder()
              .addBuilder(index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
        }
        /**
         *
         *
         * <pre>
         * 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.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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) != 0),
                    getParentForChildren(),
                    isClean());
            quasiIdsValues_ = null;
          }
          return quasiIdsValuesBuilder_;
        }

        private long equivalenceClassSize_;
        /**
         *
         *
         * <pre>
         * Size of the equivalence class, for example number of rows with the
         * above set of values.
         * </pre>
         *
         * <code>int64 equivalence_class_size = 2;</code>
         *
         * @return The equivalenceClassSize.
         */
        @java.lang.Override
        public long getEquivalenceClassSize() {
          return equivalenceClassSize_;
        }
        /**
         *
         *
         * <pre>
         * Size of the equivalence class, for example number of rows with the
         * above set of values.
         * </pre>
         *
         * <code>int64 equivalence_class_size = 2;</code>
         *
         * @param value The equivalenceClassSize to set.
         * @return This builder for chaining.
         */
        public Builder setEquivalenceClassSize(long value) {

          equivalenceClassSize_ = value;
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Size of the equivalence class, for example number of rows with the
         * above set of values.
         * </pre>
         *
         * <code>int64 equivalence_class_size = 2;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearEquivalenceClassSize() {
          bitField0_ = (bitField0_ & ~0x00000002);
          equivalenceClassSize_ = 0L;
          onChanged();
          return this;
        }

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

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

        // @@protoc_insertion_point(builder_scope: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>() {
            @java.lang.Override
            public KAnonymityEquivalenceClass parsePartialFrom(
                com.google.protobuf.CodedInputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
              Builder builder = newBuilder();
              try {
                builder.mergeFrom(input, extensionRegistry);
              } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                throw e.setUnfinishedMessage(builder.buildPartial());
              } catch (com.google.protobuf.UninitializedMessageException e) {
                throw e.asInvalidProtocolBufferException()
                    .setUnfinishedMessage(builder.buildPartial());
              } catch (java.io.IOException e) {
                throw new com.google.protobuf.InvalidProtocolBufferException(e)
                    .setUnfinishedMessage(builder.buildPartial());
              }
              return builder.buildPartial();
            }
          };

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

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

      @java.lang.Override
      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 {

      /**
       *
       *
       * <pre>
       * Lower bound on the size of the equivalence classes in this bucket.
       * </pre>
       *
       * <code>int64 equivalence_class_size_lower_bound = 1;</code>
       *
       * @return The equivalenceClassSizeLowerBound.
       */
      long getEquivalenceClassSizeLowerBound();

      /**
       *
       *
       * <pre>
       * Upper bound on the size of the equivalence classes in this bucket.
       * </pre>
       *
       * <code>int64 equivalence_class_size_upper_bound = 2;</code>
       *
       * @return The equivalenceClassSizeUpperBound.
       */
      long getEquivalenceClassSizeUpperBound();

      /**
       *
       *
       * <pre>
       * Total number of equivalence classes in this bucket.
       * </pre>
       *
       * <code>int64 bucket_size = 3;</code>
       *
       * @return The bucketSize.
       */
      long getBucketSize();

      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       * </code>
       */
      java.util.List<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                  .KAnonymityEquivalenceClass>
          getBucketValuesList();
      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       * </code>
       */
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
              .KAnonymityEquivalenceClass
          getBucketValues(int index);
      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       * </code>
       */
      int getBucketValuesCount();
      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       * </code>
       */
      java.util.List<
              ? extends
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                      .KAnonymityEquivalenceClassOrBuilder>
          getBucketValuesOrBuilderList();
      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       * </code>
       */
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
              .KAnonymityEquivalenceClassOrBuilder
          getBucketValuesOrBuilder(int index);

      /**
       *
       *
       * <pre>
       * Total number of distinct equivalence classes in this bucket.
       * </pre>
       *
       * <code>int64 bucket_value_count = 5;</code>
       *
       * @return The bucketValueCount.
       */
      long getBucketValueCount();
    }
    /**
     *
     *
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * 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() {
        bucketValues_ = java.util.Collections.emptyList();
      }

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

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
        return this.unknownFields;
      }

      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;
      }

      @java.lang.Override
      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);
      }

      public static final int EQUIVALENCE_CLASS_SIZE_LOWER_BOUND_FIELD_NUMBER = 1;
      private long equivalenceClassSizeLowerBound_ = 0L;
      /**
       *
       *
       * <pre>
       * Lower bound on the size of the equivalence classes in this bucket.
       * </pre>
       *
       * <code>int64 equivalence_class_size_lower_bound = 1;</code>
       *
       * @return The equivalenceClassSizeLowerBound.
       */
      @java.lang.Override
      public long getEquivalenceClassSizeLowerBound() {
        return equivalenceClassSizeLowerBound_;
      }

      public static final int EQUIVALENCE_CLASS_SIZE_UPPER_BOUND_FIELD_NUMBER = 2;
      private long equivalenceClassSizeUpperBound_ = 0L;
      /**
       *
       *
       * <pre>
       * Upper bound on the size of the equivalence classes in this bucket.
       * </pre>
       *
       * <code>int64 equivalence_class_size_upper_bound = 2;</code>
       *
       * @return The equivalenceClassSizeUpperBound.
       */
      @java.lang.Override
      public long getEquivalenceClassSizeUpperBound() {
        return equivalenceClassSizeUpperBound_;
      }

      public static final int BUCKET_SIZE_FIELD_NUMBER = 3;
      private long bucketSize_ = 0L;
      /**
       *
       *
       * <pre>
       * Total number of equivalence classes in this bucket.
       * </pre>
       *
       * <code>int64 bucket_size = 3;</code>
       *
       * @return The bucketSize.
       */
      @java.lang.Override
      public long getBucketSize() {
        return bucketSize_;
      }

      public static final int BUCKET_VALUES_FIELD_NUMBER = 4;

      @SuppressWarnings("serial")
      private java.util.List<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                  .KAnonymityEquivalenceClass>
          bucketValues_;
      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       * </code>
       */
      @java.lang.Override
      public java.util.List<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                  .KAnonymityEquivalenceClass>
          getBucketValuesList() {
        return bucketValues_;
      }
      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       * </code>
       */
      @java.lang.Override
      public java.util.List<
              ? extends
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                      .KAnonymityEquivalenceClassOrBuilder>
          getBucketValuesOrBuilderList() {
        return bucketValues_;
      }
      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       * </code>
       */
      @java.lang.Override
      public int getBucketValuesCount() {
        return bucketValues_.size();
      }
      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       * </code>
       */
      @java.lang.Override
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
              .KAnonymityEquivalenceClass
          getBucketValues(int index) {
        return bucketValues_.get(index);
      }
      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
       * </code>
       */
      @java.lang.Override
      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_ = 0L;
      /**
       *
       *
       * <pre>
       * Total number of distinct equivalence classes in this bucket.
       * </pre>
       *
       * <code>int64 bucket_value_count = 5;</code>
       *
       * @return The bucketValueCount.
       */
      @java.lang.Override
      public long getBucketValueCount() {
        return bucketValueCount_;
      }

      private byte memoizedIsInitialized = -1;

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

        memoizedIsInitialized = 1;
        return true;
      }

      @java.lang.Override
      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
        if (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_);
        }
        getUnknownFields().writeTo(output);
      }

      @java.lang.Override
      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 += getUnknownFields().getSerializedSize();
        memoizedSize = size;
        return size;
      }

      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj
            instanceof
            com.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;

        if (getEquivalenceClassSizeLowerBound() != other.getEquivalenceClassSizeLowerBound())
          return false;
        if (getEquivalenceClassSizeUpperBound() != other.getEquivalenceClassSizeUpperBound())
          return false;
        if (getBucketSize() != other.getBucketSize()) return false;
        if (!getBucketValuesList().equals(other.getBucketValuesList())) return false;
        if (getBucketValueCount() != other.getBucketValueCount()) return false;
        if (!getUnknownFields().equals(other.getUnknownFields())) return false;
        return true;
      }

      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        hash = (37 * hash) + 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) + getUnknownFields().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);
      }

      @java.lang.Override
      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);
      }

      @java.lang.Override
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
      }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       *
       *
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * 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;
        }

        @java.lang.Override
        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() {}

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

        @java.lang.Override
        public Builder clear() {
          super.clear();
          bitField0_ = 0;
          equivalenceClassSizeLowerBound_ = 0L;
          equivalenceClassSizeUpperBound_ = 0L;
          bucketSize_ = 0L;
          if (bucketValuesBuilder_ == null) {
            bucketValues_ = java.util.Collections.emptyList();
          } else {
            bucketValues_ = null;
            bucketValuesBuilder_.clear();
          }
          bitField0_ = (bitField0_ & ~0x00000008);
          bucketValueCount_ = 0L;
          return this;
        }

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

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

        @java.lang.Override
        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;
        }

        @java.lang.Override
        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);
          buildPartialRepeatedFields(result);
          if (bitField0_ != 0) {
            buildPartial0(result);
          }
          onBuilt();
          return result;
        }

        private void buildPartialRepeatedFields(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                    .KAnonymityHistogramBucket
                result) {
          if (bucketValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000008) != 0)) {
              bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
              bitField0_ = (bitField0_ & ~0x00000008);
            }
            result.bucketValues_ = bucketValues_;
          } else {
            result.bucketValues_ = bucketValuesBuilder_.build();
          }
        }

        private void buildPartial0(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                    .KAnonymityHistogramBucket
                result) {
          int from_bitField0_ = bitField0_;
          if (((from_bitField0_ & 0x00000001) != 0)) {
            result.equivalenceClassSizeLowerBound_ = equivalenceClassSizeLowerBound_;
          }
          if (((from_bitField0_ & 0x00000002) != 0)) {
            result.equivalenceClassSizeUpperBound_ = equivalenceClassSizeUpperBound_;
          }
          if (((from_bitField0_ & 0x00000004) != 0)) {
            result.bucketSize_ = bucketSize_;
          }
          if (((from_bitField0_ & 0x00000010) != 0)) {
            result.bucketValueCount_ = bucketValueCount_;
          }
        }

        @java.lang.Override
        public Builder clone() {
          return super.clone();
        }

        @java.lang.Override
        public Builder setField(
            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
          return super.setField(field, value);
        }

        @java.lang.Override
        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
          return super.clearField(field);
        }

        @java.lang.Override
        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
          return super.clearOneof(oneof);
        }

        @java.lang.Override
        public Builder setRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            int index,
            java.lang.Object value) {
          return super.setRepeatedField(field, index, value);
        }

        @java.lang.Override
        public Builder addRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
          return super.addRepeatedField(field, value);
        }

        @java.lang.Override
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other
              instanceof
              com.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.getUnknownFields());
          onChanged();
          return this;
        }

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

        @java.lang.Override
        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          if (extensionRegistry == null) {
            throw new java.lang.NullPointerException();
          }
          try {
            boolean done = false;
            while (!done) {
              int tag = input.readTag();
              switch (tag) {
                case 0:
                  done = true;
                  break;
                case 8:
                  {
                    equivalenceClassSizeLowerBound_ = input.readInt64();
                    bitField0_ |= 0x00000001;
                    break;
                  } // case 8
                case 16:
                  {
                    equivalenceClassSizeUpperBound_ = input.readInt64();
                    bitField0_ |= 0x00000002;
                    break;
                  } // case 16
                case 24:
                  {
                    bucketSize_ = input.readInt64();
                    bitField0_ |= 0x00000004;
                    break;
                  } // case 24
                case 34:
                  {
                    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                            .KAnonymityEquivalenceClass
                        m =
                            input.readMessage(
                                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                                    .KAnonymityResult.KAnonymityEquivalenceClass.parser(),
                                extensionRegistry);
                    if (bucketValuesBuilder_ == null) {
                      ensureBucketValuesIsMutable();
                      bucketValues_.add(m);
                    } else {
                      bucketValuesBuilder_.addMessage(m);
                    }
                    break;
                  } // case 34
                case 40:
                  {
                    bucketValueCount_ = input.readInt64();
                    bitField0_ |= 0x00000010;
                    break;
                  } // case 40
                default:
                  {
                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                      done = true; // was an endgroup tag
                    }
                    break;
                  } // default:
              } // switch (tag)
            } // while (!done)
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.unwrapIOException();
          } finally {
            onChanged();
          } // finally
          return this;
        }

        private int bitField0_;

        private long equivalenceClassSizeLowerBound_;
        /**
         *
         *
         * <pre>
         * Lower bound on the size of the equivalence classes in this bucket.
         * </pre>
         *
         * <code>int64 equivalence_class_size_lower_bound = 1;</code>
         *
         * @return The equivalenceClassSizeLowerBound.
         */
        @java.lang.Override
        public long getEquivalenceClassSizeLowerBound() {
          return equivalenceClassSizeLowerBound_;
        }
        /**
         *
         *
         * <pre>
         * Lower bound on the size of the equivalence classes in this bucket.
         * </pre>
         *
         * <code>int64 equivalence_class_size_lower_bound = 1;</code>
         *
         * @param value The equivalenceClassSizeLowerBound to set.
         * @return This builder for chaining.
         */
        public Builder setEquivalenceClassSizeLowerBound(long value) {

          equivalenceClassSizeLowerBound_ = value;
          bitField0_ |= 0x00000001;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Lower bound on the size of the equivalence classes in this bucket.
         * </pre>
         *
         * <code>int64 equivalence_class_size_lower_bound = 1;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearEquivalenceClassSizeLowerBound() {
          bitField0_ = (bitField0_ & ~0x00000001);
          equivalenceClassSizeLowerBound_ = 0L;
          onChanged();
          return this;
        }

        private long equivalenceClassSizeUpperBound_;
        /**
         *
         *
         * <pre>
         * Upper bound on the size of the equivalence classes in this bucket.
         * </pre>
         *
         * <code>int64 equivalence_class_size_upper_bound = 2;</code>
         *
         * @return The equivalenceClassSizeUpperBound.
         */
        @java.lang.Override
        public long getEquivalenceClassSizeUpperBound() {
          return equivalenceClassSizeUpperBound_;
        }
        /**
         *
         *
         * <pre>
         * Upper bound on the size of the equivalence classes in this bucket.
         * </pre>
         *
         * <code>int64 equivalence_class_size_upper_bound = 2;</code>
         *
         * @param value The equivalenceClassSizeUpperBound to set.
         * @return This builder for chaining.
         */
        public Builder setEquivalenceClassSizeUpperBound(long value) {

          equivalenceClassSizeUpperBound_ = value;
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Upper bound on the size of the equivalence classes in this bucket.
         * </pre>
         *
         * <code>int64 equivalence_class_size_upper_bound = 2;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearEquivalenceClassSizeUpperBound() {
          bitField0_ = (bitField0_ & ~0x00000002);
          equivalenceClassSizeUpperBound_ = 0L;
          onChanged();
          return this;
        }

        private long bucketSize_;
        /**
         *
         *
         * <pre>
         * Total number of equivalence classes in this bucket.
         * </pre>
         *
         * <code>int64 bucket_size = 3;</code>
         *
         * @return The bucketSize.
         */
        @java.lang.Override
        public long getBucketSize() {
          return bucketSize_;
        }
        /**
         *
         *
         * <pre>
         * Total number of equivalence classes in this bucket.
         * </pre>
         *
         * <code>int64 bucket_size = 3;</code>
         *
         * @param value The bucketSize to set.
         * @return This builder for chaining.
         */
        public Builder setBucketSize(long value) {

          bucketSize_ = value;
          bitField0_ |= 0x00000004;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Total number of equivalence classes in this bucket.
         * </pre>
         *
         * <code>int64 bucket_size = 3;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearBucketSize() {
          bitField0_ = (bitField0_ & ~0x00000004);
          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) != 0)) {
            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_;

        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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();
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         * </code>
         */
        public int getBucketValuesCount() {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.size();
          } else {
            return bucketValuesBuilder_.getCount();
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         * </code>
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                .KAnonymityEquivalenceClass
            getBucketValues(int index) {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.get(index);
          } else {
            return bucketValuesBuilder_.getMessage(index);
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         * </code>
         */
        public Builder clearBucketValues() {
          if (bucketValuesBuilder_ == null) {
            bucketValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000008);
            onChanged();
          } else {
            bucketValuesBuilder_.clear();
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         * </code>
         */
        public Builder removeBucketValues(int index) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.remove(index);
            onChanged();
          } else {
            bucketValuesBuilder_.remove(index);
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         * </code>
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                .KAnonymityEquivalenceClass.Builder
            getBucketValuesBuilder(int index) {
          return getBucketValuesFieldBuilder().getBuilder(index);
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         * </code>
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                .KAnonymityEquivalenceClassOrBuilder
            getBucketValuesOrBuilder(int index) {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.get(index);
          } else {
            return bucketValuesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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_);
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         * </code>
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                .KAnonymityEquivalenceClass.Builder
            addBucketValuesBuilder() {
          return getBucketValuesFieldBuilder()
              .addBuilder(
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                      .KAnonymityEquivalenceClass.getDefaultInstance());
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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());
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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) != 0),
                    getParentForChildren(),
                    isClean());
            bucketValues_ = null;
          }
          return bucketValuesBuilder_;
        }

        private long bucketValueCount_;
        /**
         *
         *
         * <pre>
         * Total number of distinct equivalence classes in this bucket.
         * </pre>
         *
         * <code>int64 bucket_value_count = 5;</code>
         *
         * @return The bucketValueCount.
         */
        @java.lang.Override
        public long getBucketValueCount() {
          return bucketValueCount_;
        }
        /**
         *
         *
         * <pre>
         * Total number of distinct equivalence classes in this bucket.
         * </pre>
         *
         * <code>int64 bucket_value_count = 5;</code>
         *
         * @param value The bucketValueCount to set.
         * @return This builder for chaining.
         */
        public Builder setBucketValueCount(long value) {

          bucketValueCount_ = value;
          bitField0_ |= 0x00000010;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Total number of distinct equivalence classes in this bucket.
         * </pre>
         *
         * <code>int64 bucket_value_count = 5;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearBucketValueCount() {
          bitField0_ = (bitField0_ & ~0x00000010);
          bucketValueCount_ = 0L;
          onChanged();
          return this;
        }

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

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

        // @@protoc_insertion_point(builder_scope: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>() {
            @java.lang.Override
            public KAnonymityHistogramBucket parsePartialFrom(
                com.google.protobuf.CodedInputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
              Builder builder = newBuilder();
              try {
                builder.mergeFrom(input, extensionRegistry);
              } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                throw e.setUnfinishedMessage(builder.buildPartial());
              } catch (com.google.protobuf.UninitializedMessageException e) {
                throw e.asInvalidProtocolBufferException()
                    .setUnfinishedMessage(builder.buildPartial());
              } catch (java.io.IOException e) {
                throw new com.google.protobuf.InvalidProtocolBufferException(e)
                    .setUnfinishedMessage(builder.buildPartial());
              }
              return builder.buildPartial();
            }
          };

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

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

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

    public static final int EQUIVALENCE_CLASS_HISTOGRAM_BUCKETS_FIELD_NUMBER = 5;

    @SuppressWarnings("serial")
    private java.util.List<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                .KAnonymityHistogramBucket>
        equivalenceClassHistogramBuckets_;
    /**
     *
     *
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     * </code>
     */
    @java.lang.Override
    public java.util.List<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                .KAnonymityHistogramBucket>
        getEquivalenceClassHistogramBucketsList() {
      return equivalenceClassHistogramBuckets_;
    }
    /**
     *
     *
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     * </code>
     */
    @java.lang.Override
    public java.util.List<
            ? extends
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                    .KAnonymityHistogramBucketOrBuilder>
        getEquivalenceClassHistogramBucketsOrBuilderList() {
      return equivalenceClassHistogramBuckets_;
    }
    /**
     *
     *
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     * </code>
     */
    @java.lang.Override
    public int getEquivalenceClassHistogramBucketsCount() {
      return equivalenceClassHistogramBuckets_.size();
    }
    /**
     *
     *
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     * </code>
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
            .KAnonymityHistogramBucket
        getEquivalenceClassHistogramBuckets(int index) {
      return equivalenceClassHistogramBuckets_.get(index);
    }
    /**
     *
     *
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
     * </code>
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
            .KAnonymityHistogramBucketOrBuilder
        getEquivalenceClassHistogramBucketsOrBuilder(int index) {
      return equivalenceClassHistogramBuckets_.get(index);
    }

    private byte memoizedIsInitialized = -1;

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      for (int i = 0; i < equivalenceClassHistogramBuckets_.size(); i++) {
        output.writeMessage(5, equivalenceClassHistogramBuckets_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < equivalenceClassHistogramBuckets_.size(); i++) {
        size +=
            com.google.protobuf.CodedOutputStream.computeMessageSize(
                5, equivalenceClassHistogramBuckets_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj
          instanceof com.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;

      if (!getEquivalenceClassHistogramBucketsList()
          .equals(other.getEquivalenceClassHistogramBucketsList())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getEquivalenceClassHistogramBucketsCount() > 0) {
        hash = (37 * hash) + EQUIVALENCE_CLASS_HISTOGRAM_BUCKETS_FIELD_NUMBER;
        hash = (53 * hash) + getEquivalenceClassHistogramBucketsList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().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);
    }

    @java.lang.Override
    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);
    }

    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     *
     *
     * <pre>
     * Result of the k-anonymity computation.
     * </pre>
     *
     * 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;
      }

      @java.lang.Override
      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() {}

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

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

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

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

      @java.lang.Override
      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;
      }

      @java.lang.Override
      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);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult result) {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            equivalenceClassHistogramBuckets_ =
                java.util.Collections.unmodifiableList(equivalenceClassHistogramBuckets_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.equivalenceClassHistogramBuckets_ = equivalenceClassHistogramBuckets_;
        } else {
          result.equivalenceClassHistogramBuckets_ =
              equivalenceClassHistogramBucketsBuilder_.build();
        }
      }

      private void buildPartial0(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult result) {
        int from_bitField0_ = bitField0_;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }

      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.setField(field, value);
      }

      @java.lang.Override
      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }

      @java.lang.Override
      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }

      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index,
          java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }

      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other
            instanceof com.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.getUnknownFields());
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 42:
                {
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                          .KAnonymityHistogramBucket
                      m =
                          input.readMessage(
                              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                                  .KAnonymityResult.KAnonymityHistogramBucket.parser(),
                              extensionRegistry);
                  if (equivalenceClassHistogramBucketsBuilder_ == null) {
                    ensureEquivalenceClassHistogramBucketsIsMutable();
                    equivalenceClassHistogramBuckets_.add(m);
                  } else {
                    equivalenceClassHistogramBucketsBuilder_.addMessage(m);
                  }
                  break;
                } // case 42
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private java.util.List<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                  .KAnonymityHistogramBucket>
          equivalenceClassHistogramBuckets_ = java.util.Collections.emptyList();

      private void ensureEquivalenceClassHistogramBucketsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          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_;

      /**
       *
       *
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       * </code>
       */
      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();
        }
      }
      /**
       *
       *
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       * </code>
       */
      public int getEquivalenceClassHistogramBucketsCount() {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          return equivalenceClassHistogramBuckets_.size();
        } else {
          return equivalenceClassHistogramBucketsBuilder_.getCount();
        }
      }
      /**
       *
       *
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
              .KAnonymityHistogramBucket
          getEquivalenceClassHistogramBuckets(int index) {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          return equivalenceClassHistogramBuckets_.get(index);
        } else {
          return equivalenceClassHistogramBucketsBuilder_.getMessage(index);
        }
      }
      /**
       *
       *
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       * </code>
       */
      public Builder clearEquivalenceClassHistogramBuckets() {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          equivalenceClassHistogramBuckets_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          equivalenceClassHistogramBucketsBuilder_.clear();
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       * </code>
       */
      public Builder removeEquivalenceClassHistogramBuckets(int index) {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          ensureEquivalenceClassHistogramBucketsIsMutable();
          equivalenceClassHistogramBuckets_.remove(index);
          onChanged();
        } else {
          equivalenceClassHistogramBucketsBuilder_.remove(index);
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
              .KAnonymityHistogramBucket.Builder
          getEquivalenceClassHistogramBucketsBuilder(int index) {
        return getEquivalenceClassHistogramBucketsFieldBuilder().getBuilder(index);
      }
      /**
       *
       *
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
              .KAnonymityHistogramBucketOrBuilder
          getEquivalenceClassHistogramBucketsOrBuilder(int index) {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          return equivalenceClassHistogramBuckets_.get(index);
        } else {
          return equivalenceClassHistogramBucketsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       *
       *
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       * </code>
       */
      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_);
        }
      }
      /**
       *
       *
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
              .KAnonymityHistogramBucket.Builder
          addEquivalenceClassHistogramBucketsBuilder() {
        return getEquivalenceClassHistogramBucketsFieldBuilder()
            .addBuilder(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
                    .KAnonymityHistogramBucket.getDefaultInstance());
      }
      /**
       *
       *
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       * </code>
       */
      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());
      }
      /**
       *
       *
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
       * </code>
       */
      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) != 0),
                  getParentForChildren(),
                  isClean());
          equivalenceClassHistogramBuckets_ = null;
        }
        return equivalenceClassHistogramBucketsBuilder_;
      }

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

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

      // @@protoc_insertion_point(builder_scope: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>() {
          @java.lang.Override
          public KAnonymityResult parsePartialFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (com.google.protobuf.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new com.google.protobuf.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

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

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

    @java.lang.Override
    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 {

    /**
     *
     *
     * <pre>
     * Histogram of l-diversity equivalence class sensitive value frequencies.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     * </code>
     */
    java.util.List<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                .LDiversityHistogramBucket>
        getSensitiveValueFrequencyHistogramBucketsList();
    /**
     *
     *
     * <pre>
     * Histogram of l-diversity equivalence class sensitive value frequencies.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     * </code>
     */
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
            .LDiversityHistogramBucket
        getSensitiveValueFrequencyHistogramBuckets(int index);
    /**
     *
     *
     * <pre>
     * Histogram of l-diversity equivalence class sensitive value frequencies.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     * </code>
     */
    int getSensitiveValueFrequencyHistogramBucketsCount();
    /**
     *
     *
     * <pre>
     * Histogram of l-diversity equivalence class sensitive value frequencies.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     * </code>
     */
    java.util.List<
            ? extends
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                    .LDiversityHistogramBucketOrBuilder>
        getSensitiveValueFrequencyHistogramBucketsOrBuilderList();
    /**
     *
     *
     * <pre>
     * Histogram of l-diversity equivalence class sensitive value frequencies.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     * </code>
     */
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
            .LDiversityHistogramBucketOrBuilder
        getSensitiveValueFrequencyHistogramBucketsOrBuilder(int index);
  }
  /**
   *
   *
   * <pre>
   * Result of the l-diversity computation.
   * </pre>
   *
   * 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
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
      return new LDiversityResult();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    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;
    }

    @java.lang.Override
    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 {

      /**
       *
       *
       * <pre>
       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      java.util.List<com.google.privacy.dlp.v2.Value> getQuasiIdsValuesList();
      /**
       *
       *
       * <pre>
       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index);
      /**
       *
       *
       * <pre>
       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      int getQuasiIdsValuesCount();
      /**
       *
       *
       * <pre>
       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
          getQuasiIdsValuesOrBuilderList();
      /**
       *
       *
       * <pre>
       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index);

      /**
       *
       *
       * <pre>
       * Size of the k-anonymity equivalence class.
       * </pre>
       *
       * <code>int64 equivalence_class_size = 2;</code>
       *
       * @return The equivalenceClassSize.
       */
      long getEquivalenceClassSize();

      /**
       *
       *
       * <pre>
       * Number of distinct sensitive values in this equivalence class.
       * </pre>
       *
       * <code>int64 num_distinct_sensitive_values = 3;</code>
       *
       * @return The numDistinctSensitiveValues.
       */
      long getNumDistinctSensitiveValues();

      /**
       *
       *
       * <pre>
       * Estimated frequencies of top sensitive values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
       */
      java.util.List<com.google.privacy.dlp.v2.ValueFrequency> getTopSensitiveValuesList();
      /**
       *
       *
       * <pre>
       * Estimated frequencies of top sensitive values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
       */
      com.google.privacy.dlp.v2.ValueFrequency getTopSensitiveValues(int index);
      /**
       *
       *
       * <pre>
       * Estimated frequencies of top sensitive values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
       */
      int getTopSensitiveValuesCount();
      /**
       *
       *
       * <pre>
       * Estimated frequencies of top sensitive values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
       */
      java.util.List<? extends com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>
          getTopSensitiveValuesOrBuilderList();
      /**
       *
       *
       * <pre>
       * Estimated frequencies of top sensitive values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
       */
      com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOrBuilder(int index);
    }
    /**
     *
     *
     * <pre>
     * The set of columns' values that share the same ldiversity value.
     * </pre>
     *
     * 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();
        topSensitiveValues_ = java.util.Collections.emptyList();
      }

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

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
        return this.unknownFields;
      }

      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;
      }

      @java.lang.Override
      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);
      }

      public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1;

      @SuppressWarnings("serial")
      private java.util.List<com.google.privacy.dlp.v2.Value> quasiIdsValues_;
      /**
       *
       *
       * <pre>
       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      public java.util.List<com.google.privacy.dlp.v2.Value> getQuasiIdsValuesList() {
        return quasiIdsValues_;
      }
      /**
       *
       *
       * <pre>
       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      public java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
          getQuasiIdsValuesOrBuilderList() {
        return quasiIdsValues_;
      }
      /**
       *
       *
       * <pre>
       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      public int getQuasiIdsValuesCount() {
        return quasiIdsValues_.size();
      }
      /**
       *
       *
       * <pre>
       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
        return quasiIdsValues_.get(index);
      }
      /**
       *
       *
       * <pre>
       * Quasi-identifier values defining the k-anonymity equivalence
       * class. The order is always the same as the original request.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      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_ = 0L;
      /**
       *
       *
       * <pre>
       * Size of the k-anonymity equivalence class.
       * </pre>
       *
       * <code>int64 equivalence_class_size = 2;</code>
       *
       * @return The equivalenceClassSize.
       */
      @java.lang.Override
      public long getEquivalenceClassSize() {
        return equivalenceClassSize_;
      }

      public static final int NUM_DISTINCT_SENSITIVE_VALUES_FIELD_NUMBER = 3;
      private long numDistinctSensitiveValues_ = 0L;
      /**
       *
       *
       * <pre>
       * Number of distinct sensitive values in this equivalence class.
       * </pre>
       *
       * <code>int64 num_distinct_sensitive_values = 3;</code>
       *
       * @return The numDistinctSensitiveValues.
       */
      @java.lang.Override
      public long getNumDistinctSensitiveValues() {
        return numDistinctSensitiveValues_;
      }

      public static final int TOP_SENSITIVE_VALUES_FIELD_NUMBER = 4;

      @SuppressWarnings("serial")
      private java.util.List<com.google.privacy.dlp.v2.ValueFrequency> topSensitiveValues_;
      /**
       *
       *
       * <pre>
       * Estimated frequencies of top sensitive values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
       */
      @java.lang.Override
      public java.util.List<com.google.privacy.dlp.v2.ValueFrequency> getTopSensitiveValuesList() {
        return topSensitiveValues_;
      }
      /**
       *
       *
       * <pre>
       * Estimated frequencies of top sensitive values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
       */
      @java.lang.Override
      public java.util.List<? extends com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>
          getTopSensitiveValuesOrBuilderList() {
        return topSensitiveValues_;
      }
      /**
       *
       *
       * <pre>
       * Estimated frequencies of top sensitive values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
       */
      @java.lang.Override
      public int getTopSensitiveValuesCount() {
        return topSensitiveValues_.size();
      }
      /**
       *
       *
       * <pre>
       * Estimated frequencies of top sensitive values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
       */
      @java.lang.Override
      public com.google.privacy.dlp.v2.ValueFrequency getTopSensitiveValues(int index) {
        return topSensitiveValues_.get(index);
      }
      /**
       *
       *
       * <pre>
       * Estimated frequencies of top sensitive values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
       */
      @java.lang.Override
      public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOrBuilder(
          int index) {
        return topSensitiveValues_.get(index);
      }

      private byte memoizedIsInitialized = -1;

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

        memoizedIsInitialized = 1;
        return true;
      }

      @java.lang.Override
      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
        for (int i = 0; i < 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));
        }
        getUnknownFields().writeTo(output);
      }

      @java.lang.Override
      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 += getUnknownFields().getSerializedSize();
        memoizedSize = size;
        return size;
      }

      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj
            instanceof
            com.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;

        if (!getQuasiIdsValuesList().equals(other.getQuasiIdsValuesList())) return false;
        if (getEquivalenceClassSize() != other.getEquivalenceClassSize()) return false;
        if (getNumDistinctSensitiveValues() != other.getNumDistinctSensitiveValues()) return false;
        if (!getTopSensitiveValuesList().equals(other.getTopSensitiveValuesList())) return false;
        if (!getUnknownFields().equals(other.getUnknownFields())) return false;
        return true;
      }

      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        if (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) + getUnknownFields().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);
      }

      @java.lang.Override
      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);
      }

      @java.lang.Override
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
      }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       *
       *
       * <pre>
       * The set of columns' values that share the same ldiversity value.
       * </pre>
       *
       * 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;
        }

        @java.lang.Override
        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() {}

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

        @java.lang.Override
        public Builder clear() {
          super.clear();
          bitField0_ = 0;
          if (quasiIdsValuesBuilder_ == null) {
            quasiIdsValues_ = java.util.Collections.emptyList();
          } else {
            quasiIdsValues_ = null;
            quasiIdsValuesBuilder_.clear();
          }
          bitField0_ = (bitField0_ & ~0x00000001);
          equivalenceClassSize_ = 0L;
          numDistinctSensitiveValues_ = 0L;
          if (topSensitiveValuesBuilder_ == null) {
            topSensitiveValues_ = java.util.Collections.emptyList();
          } else {
            topSensitiveValues_ = null;
            topSensitiveValuesBuilder_.clear();
          }
          bitField0_ = (bitField0_ & ~0x00000008);
          return this;
        }

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

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

        @java.lang.Override
        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;
        }

        @java.lang.Override
        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);
          buildPartialRepeatedFields(result);
          if (bitField0_ != 0) {
            buildPartial0(result);
          }
          onBuilt();
          return result;
        }

        private void buildPartialRepeatedFields(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                    .LDiversityEquivalenceClass
                result) {
          if (quasiIdsValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000001) != 0)) {
              quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_);
              bitField0_ = (bitField0_ & ~0x00000001);
            }
            result.quasiIdsValues_ = quasiIdsValues_;
          } else {
            result.quasiIdsValues_ = quasiIdsValuesBuilder_.build();
          }
          if (topSensitiveValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000008) != 0)) {
              topSensitiveValues_ = java.util.Collections.unmodifiableList(topSensitiveValues_);
              bitField0_ = (bitField0_ & ~0x00000008);
            }
            result.topSensitiveValues_ = topSensitiveValues_;
          } else {
            result.topSensitiveValues_ = topSensitiveValuesBuilder_.build();
          }
        }

        private void buildPartial0(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                    .LDiversityEquivalenceClass
                result) {
          int from_bitField0_ = bitField0_;
          if (((from_bitField0_ & 0x00000002) != 0)) {
            result.equivalenceClassSize_ = equivalenceClassSize_;
          }
          if (((from_bitField0_ & 0x00000004) != 0)) {
            result.numDistinctSensitiveValues_ = numDistinctSensitiveValues_;
          }
        }

        @java.lang.Override
        public Builder clone() {
          return super.clone();
        }

        @java.lang.Override
        public Builder setField(
            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
          return super.setField(field, value);
        }

        @java.lang.Override
        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
          return super.clearField(field);
        }

        @java.lang.Override
        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
          return super.clearOneof(oneof);
        }

        @java.lang.Override
        public Builder setRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            int index,
            java.lang.Object value) {
          return super.setRepeatedField(field, index, value);
        }

        @java.lang.Override
        public Builder addRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
          return super.addRepeatedField(field, value);
        }

        @java.lang.Override
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other
              instanceof
              com.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.getUnknownFields());
          onChanged();
          return this;
        }

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

        @java.lang.Override
        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          if (extensionRegistry == null) {
            throw new java.lang.NullPointerException();
          }
          try {
            boolean done = false;
            while (!done) {
              int tag = input.readTag();
              switch (tag) {
                case 0:
                  done = true;
                  break;
                case 10:
                  {
                    com.google.privacy.dlp.v2.Value m =
                        input.readMessage(
                            com.google.privacy.dlp.v2.Value.parser(), extensionRegistry);
                    if (quasiIdsValuesBuilder_ == null) {
                      ensureQuasiIdsValuesIsMutable();
                      quasiIdsValues_.add(m);
                    } else {
                      quasiIdsValuesBuilder_.addMessage(m);
                    }
                    break;
                  } // case 10
                case 16:
                  {
                    equivalenceClassSize_ = input.readInt64();
                    bitField0_ |= 0x00000002;
                    break;
                  } // case 16
                case 24:
                  {
                    numDistinctSensitiveValues_ = input.readInt64();
                    bitField0_ |= 0x00000004;
                    break;
                  } // case 24
                case 34:
                  {
                    com.google.privacy.dlp.v2.ValueFrequency m =
                        input.readMessage(
                            com.google.privacy.dlp.v2.ValueFrequency.parser(), extensionRegistry);
                    if (topSensitiveValuesBuilder_ == null) {
                      ensureTopSensitiveValuesIsMutable();
                      topSensitiveValues_.add(m);
                    } else {
                      topSensitiveValuesBuilder_.addMessage(m);
                    }
                    break;
                  } // case 34
                default:
                  {
                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                      done = true; // was an endgroup tag
                    }
                    break;
                  } // default:
              } // switch (tag)
            } // while (!done)
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.unwrapIOException();
          } finally {
            onChanged();
          } // finally
          return this;
        }

        private int bitField0_;

        private java.util.List<com.google.privacy.dlp.v2.Value> quasiIdsValues_ =
            java.util.Collections.emptyList();

        private void ensureQuasiIdsValuesIsMutable() {
          if (!((bitField0_ & 0x00000001) != 0)) {
            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_;

        /**
         *
         *
         * <pre>
         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public java.util.List<com.google.privacy.dlp.v2.Value> getQuasiIdsValuesList() {
          if (quasiIdsValuesBuilder_ == null) {
            return java.util.Collections.unmodifiableList(quasiIdsValues_);
          } else {
            return quasiIdsValuesBuilder_.getMessageList();
          }
        }
        /**
         *
         *
         * <pre>
         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public int getQuasiIdsValuesCount() {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.size();
          } else {
            return quasiIdsValuesBuilder_.getCount();
          }
        }
        /**
         *
         *
         * <pre>
         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.get(index);
          } else {
            return quasiIdsValuesBuilder_.getMessage(index);
          }
        }
        /**
         *
         *
         * <pre>
         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public Builder clearQuasiIdsValues() {
          if (quasiIdsValuesBuilder_ == null) {
            quasiIdsValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.clear();
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public Builder removeQuasiIdsValues(int index) {
          if (quasiIdsValuesBuilder_ == null) {
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.remove(index);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.remove(index);
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(int index) {
          return getQuasiIdsValuesFieldBuilder().getBuilder(index);
        }
        /**
         *
         *
         * <pre>
         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.get(index);
          } else {
            return quasiIdsValuesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         *
         *
         * <pre>
         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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_);
          }
        }
        /**
         *
         *
         * <pre>
         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder() {
          return getQuasiIdsValuesFieldBuilder()
              .addBuilder(com.google.privacy.dlp.v2.Value.getDefaultInstance());
        }
        /**
         *
         *
         * <pre>
         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int index) {
          return getQuasiIdsValuesFieldBuilder()
              .addBuilder(index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
        }
        /**
         *
         *
         * <pre>
         * Quasi-identifier values defining the k-anonymity equivalence
         * class. The order is always the same as the original request.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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) != 0),
                    getParentForChildren(),
                    isClean());
            quasiIdsValues_ = null;
          }
          return quasiIdsValuesBuilder_;
        }

        private long equivalenceClassSize_;
        /**
         *
         *
         * <pre>
         * Size of the k-anonymity equivalence class.
         * </pre>
         *
         * <code>int64 equivalence_class_size = 2;</code>
         *
         * @return The equivalenceClassSize.
         */
        @java.lang.Override
        public long getEquivalenceClassSize() {
          return equivalenceClassSize_;
        }
        /**
         *
         *
         * <pre>
         * Size of the k-anonymity equivalence class.
         * </pre>
         *
         * <code>int64 equivalence_class_size = 2;</code>
         *
         * @param value The equivalenceClassSize to set.
         * @return This builder for chaining.
         */
        public Builder setEquivalenceClassSize(long value) {

          equivalenceClassSize_ = value;
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Size of the k-anonymity equivalence class.
         * </pre>
         *
         * <code>int64 equivalence_class_size = 2;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearEquivalenceClassSize() {
          bitField0_ = (bitField0_ & ~0x00000002);
          equivalenceClassSize_ = 0L;
          onChanged();
          return this;
        }

        private long numDistinctSensitiveValues_;
        /**
         *
         *
         * <pre>
         * Number of distinct sensitive values in this equivalence class.
         * </pre>
         *
         * <code>int64 num_distinct_sensitive_values = 3;</code>
         *
         * @return The numDistinctSensitiveValues.
         */
        @java.lang.Override
        public long getNumDistinctSensitiveValues() {
          return numDistinctSensitiveValues_;
        }
        /**
         *
         *
         * <pre>
         * Number of distinct sensitive values in this equivalence class.
         * </pre>
         *
         * <code>int64 num_distinct_sensitive_values = 3;</code>
         *
         * @param value The numDistinctSensitiveValues to set.
         * @return This builder for chaining.
         */
        public Builder setNumDistinctSensitiveValues(long value) {

          numDistinctSensitiveValues_ = value;
          bitField0_ |= 0x00000004;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Number of distinct sensitive values in this equivalence class.
         * </pre>
         *
         * <code>int64 num_distinct_sensitive_values = 3;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearNumDistinctSensitiveValues() {
          bitField0_ = (bitField0_ & ~0x00000004);
          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) != 0)) {
            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_;

        /**
         *
         *
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
         */
        public java.util.List<com.google.privacy.dlp.v2.ValueFrequency>
            getTopSensitiveValuesList() {
          if (topSensitiveValuesBuilder_ == null) {
            return java.util.Collections.unmodifiableList(topSensitiveValues_);
          } else {
            return topSensitiveValuesBuilder_.getMessageList();
          }
        }
        /**
         *
         *
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
         */
        public int getTopSensitiveValuesCount() {
          if (topSensitiveValuesBuilder_ == null) {
            return topSensitiveValues_.size();
          } else {
            return topSensitiveValuesBuilder_.getCount();
          }
        }
        /**
         *
         *
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
         */
        public com.google.privacy.dlp.v2.ValueFrequency getTopSensitiveValues(int index) {
          if (topSensitiveValuesBuilder_ == null) {
            return topSensitiveValues_.get(index);
          } else {
            return topSensitiveValuesBuilder_.getMessage(index);
          }
        }
        /**
         *
         *
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
         */
        public Builder clearTopSensitiveValues() {
          if (topSensitiveValuesBuilder_ == null) {
            topSensitiveValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000008);
            onChanged();
          } else {
            topSensitiveValuesBuilder_.clear();
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
         */
        public Builder removeTopSensitiveValues(int index) {
          if (topSensitiveValuesBuilder_ == null) {
            ensureTopSensitiveValuesIsMutable();
            topSensitiveValues_.remove(index);
            onChanged();
          } else {
            topSensitiveValuesBuilder_.remove(index);
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
         */
        public com.google.privacy.dlp.v2.ValueFrequency.Builder getTopSensitiveValuesBuilder(
            int index) {
          return getTopSensitiveValuesFieldBuilder().getBuilder(index);
        }
        /**
         *
         *
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
         */
        public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOrBuilder(
            int index) {
          if (topSensitiveValuesBuilder_ == null) {
            return topSensitiveValues_.get(index);
          } else {
            return topSensitiveValuesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         *
         *
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
         */
        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_);
          }
        }
        /**
         *
         *
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
         */
        public com.google.privacy.dlp.v2.ValueFrequency.Builder addTopSensitiveValuesBuilder() {
          return getTopSensitiveValuesFieldBuilder()
              .addBuilder(com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance());
        }
        /**
         *
         *
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
         */
        public com.google.privacy.dlp.v2.ValueFrequency.Builder addTopSensitiveValuesBuilder(
            int index) {
          return getTopSensitiveValuesFieldBuilder()
              .addBuilder(index, com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance());
        }
        /**
         *
         *
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;</code>
         */
        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) != 0),
                    getParentForChildren(),
                    isClean());
            topSensitiveValues_ = null;
          }
          return topSensitiveValuesBuilder_;
        }

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

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

        // @@protoc_insertion_point(builder_scope: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>() {
            @java.lang.Override
            public LDiversityEquivalenceClass parsePartialFrom(
                com.google.protobuf.CodedInputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
              Builder builder = newBuilder();
              try {
                builder.mergeFrom(input, extensionRegistry);
              } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                throw e.setUnfinishedMessage(builder.buildPartial());
              } catch (com.google.protobuf.UninitializedMessageException e) {
                throw e.asInvalidProtocolBufferException()
                    .setUnfinishedMessage(builder.buildPartial());
              } catch (java.io.IOException e) {
                throw new com.google.protobuf.InvalidProtocolBufferException(e)
                    .setUnfinishedMessage(builder.buildPartial());
              }
              return builder.buildPartial();
            }
          };

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

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

      @java.lang.Override
      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 {

      /**
       *
       *
       * <pre>
       * Lower bound on the sensitive value frequencies of the equivalence
       * classes in this bucket.
       * </pre>
       *
       * <code>int64 sensitive_value_frequency_lower_bound = 1;</code>
       *
       * @return The sensitiveValueFrequencyLowerBound.
       */
      long getSensitiveValueFrequencyLowerBound();

      /**
       *
       *
       * <pre>
       * Upper bound on the sensitive value frequencies of the equivalence
       * classes in this bucket.
       * </pre>
       *
       * <code>int64 sensitive_value_frequency_upper_bound = 2;</code>
       *
       * @return The sensitiveValueFrequencyUpperBound.
       */
      long getSensitiveValueFrequencyUpperBound();

      /**
       *
       *
       * <pre>
       * Total number of equivalence classes in this bucket.
       * </pre>
       *
       * <code>int64 bucket_size = 3;</code>
       *
       * @return The bucketSize.
       */
      long getBucketSize();

      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       * </code>
       */
      java.util.List<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                  .LDiversityEquivalenceClass>
          getBucketValuesList();
      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       * </code>
       */
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
              .LDiversityEquivalenceClass
          getBucketValues(int index);
      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       * </code>
       */
      int getBucketValuesCount();
      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       * </code>
       */
      java.util.List<
              ? extends
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                      .LDiversityEquivalenceClassOrBuilder>
          getBucketValuesOrBuilderList();
      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       * </code>
       */
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
              .LDiversityEquivalenceClassOrBuilder
          getBucketValuesOrBuilder(int index);

      /**
       *
       *
       * <pre>
       * Total number of distinct equivalence classes in this bucket.
       * </pre>
       *
       * <code>int64 bucket_value_count = 5;</code>
       *
       * @return The bucketValueCount.
       */
      long getBucketValueCount();
    }
    /**
     *
     *
     * <pre>
     * Histogram of l-diversity equivalence class sensitive value frequencies.
     * </pre>
     *
     * 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() {
        bucketValues_ = java.util.Collections.emptyList();
      }

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

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
        return this.unknownFields;
      }

      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;
      }

      @java.lang.Override
      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);
      }

      public static final int SENSITIVE_VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER = 1;
      private long sensitiveValueFrequencyLowerBound_ = 0L;
      /**
       *
       *
       * <pre>
       * Lower bound on the sensitive value frequencies of the equivalence
       * classes in this bucket.
       * </pre>
       *
       * <code>int64 sensitive_value_frequency_lower_bound = 1;</code>
       *
       * @return The sensitiveValueFrequencyLowerBound.
       */
      @java.lang.Override
      public long getSensitiveValueFrequencyLowerBound() {
        return sensitiveValueFrequencyLowerBound_;
      }

      public static final int SENSITIVE_VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER = 2;
      private long sensitiveValueFrequencyUpperBound_ = 0L;
      /**
       *
       *
       * <pre>
       * Upper bound on the sensitive value frequencies of the equivalence
       * classes in this bucket.
       * </pre>
       *
       * <code>int64 sensitive_value_frequency_upper_bound = 2;</code>
       *
       * @return The sensitiveValueFrequencyUpperBound.
       */
      @java.lang.Override
      public long getSensitiveValueFrequencyUpperBound() {
        return sensitiveValueFrequencyUpperBound_;
      }

      public static final int BUCKET_SIZE_FIELD_NUMBER = 3;
      private long bucketSize_ = 0L;
      /**
       *
       *
       * <pre>
       * Total number of equivalence classes in this bucket.
       * </pre>
       *
       * <code>int64 bucket_size = 3;</code>
       *
       * @return The bucketSize.
       */
      @java.lang.Override
      public long getBucketSize() {
        return bucketSize_;
      }

      public static final int BUCKET_VALUES_FIELD_NUMBER = 4;

      @SuppressWarnings("serial")
      private java.util.List<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                  .LDiversityEquivalenceClass>
          bucketValues_;
      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       * </code>
       */
      @java.lang.Override
      public java.util.List<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                  .LDiversityEquivalenceClass>
          getBucketValuesList() {
        return bucketValues_;
      }
      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       * </code>
       */
      @java.lang.Override
      public java.util.List<
              ? extends
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                      .LDiversityEquivalenceClassOrBuilder>
          getBucketValuesOrBuilderList() {
        return bucketValues_;
      }
      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       * </code>
       */
      @java.lang.Override
      public int getBucketValuesCount() {
        return bucketValues_.size();
      }
      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       * </code>
       */
      @java.lang.Override
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
              .LDiversityEquivalenceClass
          getBucketValues(int index) {
        return bucketValues_.get(index);
      }
      /**
       *
       *
       * <pre>
       * Sample of equivalence classes in this bucket. The total number of
       * classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
       * </code>
       */
      @java.lang.Override
      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_ = 0L;
      /**
       *
       *
       * <pre>
       * Total number of distinct equivalence classes in this bucket.
       * </pre>
       *
       * <code>int64 bucket_value_count = 5;</code>
       *
       * @return The bucketValueCount.
       */
      @java.lang.Override
      public long getBucketValueCount() {
        return bucketValueCount_;
      }

      private byte memoizedIsInitialized = -1;

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

        memoizedIsInitialized = 1;
        return true;
      }

      @java.lang.Override
      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
        if (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_);
        }
        getUnknownFields().writeTo(output);
      }

      @java.lang.Override
      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 += getUnknownFields().getSerializedSize();
        memoizedSize = size;
        return size;
      }

      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj
            instanceof
            com.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;

        if (getSensitiveValueFrequencyLowerBound() != other.getSensitiveValueFrequencyLowerBound())
          return false;
        if (getSensitiveValueFrequencyUpperBound() != other.getSensitiveValueFrequencyUpperBound())
          return false;
        if (getBucketSize() != other.getBucketSize()) return false;
        if (!getBucketValuesList().equals(other.getBucketValuesList())) return false;
        if (getBucketValueCount() != other.getBucketValueCount()) return false;
        if (!getUnknownFields().equals(other.getUnknownFields())) return false;
        return true;
      }

      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        hash = (37 * hash) + 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) + getUnknownFields().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);
      }

      @java.lang.Override
      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);
      }

      @java.lang.Override
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
      }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       *
       *
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * 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;
        }

        @java.lang.Override
        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() {}

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

        @java.lang.Override
        public Builder clear() {
          super.clear();
          bitField0_ = 0;
          sensitiveValueFrequencyLowerBound_ = 0L;
          sensitiveValueFrequencyUpperBound_ = 0L;
          bucketSize_ = 0L;
          if (bucketValuesBuilder_ == null) {
            bucketValues_ = java.util.Collections.emptyList();
          } else {
            bucketValues_ = null;
            bucketValuesBuilder_.clear();
          }
          bitField0_ = (bitField0_ & ~0x00000008);
          bucketValueCount_ = 0L;
          return this;
        }

        @java.lang.Override
        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
          return com.google.privacy.dlp.v2.DlpProto
              .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor;
        }

        @java.lang.Override
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                .LDiversityHistogramBucket
            getDefaultInstanceForType() {
          return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
              .LDiversityHistogramBucket.getDefaultInstance();
        }

        @java.lang.Override
        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;
        }

        @java.lang.Override
        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);
          buildPartialRepeatedFields(result);
          if (bitField0_ != 0) {
            buildPartial0(result);
          }
          onBuilt();
          return result;
        }

        private void buildPartialRepeatedFields(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                    .LDiversityHistogramBucket
                result) {
          if (bucketValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000008) != 0)) {
              bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
              bitField0_ = (bitField0_ & ~0x00000008);
            }
            result.bucketValues_ = bucketValues_;
          } else {
            result.bucketValues_ = bucketValuesBuilder_.build();
          }
        }

        private void buildPartial0(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                    .LDiversityHistogramBucket
                result) {
          int from_bitField0_ = bitField0_;
          if (((from_bitField0_ & 0x00000001) != 0)) {
            result.sensitiveValueFrequencyLowerBound_ = sensitiveValueFrequencyLowerBound_;
          }
          if (((from_bitField0_ & 0x00000002) != 0)) {
            result.sensitiveValueFrequencyUpperBound_ = sensitiveValueFrequencyUpperBound_;
          }
          if (((from_bitField0_ & 0x00000004) != 0)) {
            result.bucketSize_ = bucketSize_;
          }
          if (((from_bitField0_ & 0x00000010) != 0)) {
            result.bucketValueCount_ = bucketValueCount_;
          }
        }

        @java.lang.Override
        public Builder clone() {
          return super.clone();
        }

        @java.lang.Override
        public Builder setField(
            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
          return super.setField(field, value);
        }

        @java.lang.Override
        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
          return super.clearField(field);
        }

        @java.lang.Override
        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
          return super.clearOneof(oneof);
        }

        @java.lang.Override
        public Builder setRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            int index,
            java.lang.Object value) {
          return super.setRepeatedField(field, index, value);
        }

        @java.lang.Override
        public Builder addRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
          return super.addRepeatedField(field, value);
        }

        @java.lang.Override
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other
              instanceof
              com.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.getUnknownFields());
          onChanged();
          return this;
        }

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

        @java.lang.Override
        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          if (extensionRegistry == null) {
            throw new java.lang.NullPointerException();
          }
          try {
            boolean done = false;
            while (!done) {
              int tag = input.readTag();
              switch (tag) {
                case 0:
                  done = true;
                  break;
                case 8:
                  {
                    sensitiveValueFrequencyLowerBound_ = input.readInt64();
                    bitField0_ |= 0x00000001;
                    break;
                  } // case 8
                case 16:
                  {
                    sensitiveValueFrequencyUpperBound_ = input.readInt64();
                    bitField0_ |= 0x00000002;
                    break;
                  } // case 16
                case 24:
                  {
                    bucketSize_ = input.readInt64();
                    bitField0_ |= 0x00000004;
                    break;
                  } // case 24
                case 34:
                  {
                    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                            .LDiversityEquivalenceClass
                        m =
                            input.readMessage(
                                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                                    .LDiversityResult.LDiversityEquivalenceClass.parser(),
                                extensionRegistry);
                    if (bucketValuesBuilder_ == null) {
                      ensureBucketValuesIsMutable();
                      bucketValues_.add(m);
                    } else {
                      bucketValuesBuilder_.addMessage(m);
                    }
                    break;
                  } // case 34
                case 40:
                  {
                    bucketValueCount_ = input.readInt64();
                    bitField0_ |= 0x00000010;
                    break;
                  } // case 40
                default:
                  {
                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                      done = true; // was an endgroup tag
                    }
                    break;
                  } // default:
              } // switch (tag)
            } // while (!done)
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.unwrapIOException();
          } finally {
            onChanged();
          } // finally
          return this;
        }

        private int bitField0_;

        private long sensitiveValueFrequencyLowerBound_;
        /**
         *
         *
         * <pre>
         * Lower bound on the sensitive value frequencies of the equivalence
         * classes in this bucket.
         * </pre>
         *
         * <code>int64 sensitive_value_frequency_lower_bound = 1;</code>
         *
         * @return The sensitiveValueFrequencyLowerBound.
         */
        @java.lang.Override
        public long getSensitiveValueFrequencyLowerBound() {
          return sensitiveValueFrequencyLowerBound_;
        }
        /**
         *
         *
         * <pre>
         * Lower bound on the sensitive value frequencies of the equivalence
         * classes in this bucket.
         * </pre>
         *
         * <code>int64 sensitive_value_frequency_lower_bound = 1;</code>
         *
         * @param value The sensitiveValueFrequencyLowerBound to set.
         * @return This builder for chaining.
         */
        public Builder setSensitiveValueFrequencyLowerBound(long value) {

          sensitiveValueFrequencyLowerBound_ = value;
          bitField0_ |= 0x00000001;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Lower bound on the sensitive value frequencies of the equivalence
         * classes in this bucket.
         * </pre>
         *
         * <code>int64 sensitive_value_frequency_lower_bound = 1;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearSensitiveValueFrequencyLowerBound() {
          bitField0_ = (bitField0_ & ~0x00000001);
          sensitiveValueFrequencyLowerBound_ = 0L;
          onChanged();
          return this;
        }

        private long sensitiveValueFrequencyUpperBound_;
        /**
         *
         *
         * <pre>
         * Upper bound on the sensitive value frequencies of the equivalence
         * classes in this bucket.
         * </pre>
         *
         * <code>int64 sensitive_value_frequency_upper_bound = 2;</code>
         *
         * @return The sensitiveValueFrequencyUpperBound.
         */
        @java.lang.Override
        public long getSensitiveValueFrequencyUpperBound() {
          return sensitiveValueFrequencyUpperBound_;
        }
        /**
         *
         *
         * <pre>
         * Upper bound on the sensitive value frequencies of the equivalence
         * classes in this bucket.
         * </pre>
         *
         * <code>int64 sensitive_value_frequency_upper_bound = 2;</code>
         *
         * @param value The sensitiveValueFrequencyUpperBound to set.
         * @return This builder for chaining.
         */
        public Builder setSensitiveValueFrequencyUpperBound(long value) {

          sensitiveValueFrequencyUpperBound_ = value;
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Upper bound on the sensitive value frequencies of the equivalence
         * classes in this bucket.
         * </pre>
         *
         * <code>int64 sensitive_value_frequency_upper_bound = 2;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearSensitiveValueFrequencyUpperBound() {
          bitField0_ = (bitField0_ & ~0x00000002);
          sensitiveValueFrequencyUpperBound_ = 0L;
          onChanged();
          return this;
        }

        private long bucketSize_;
        /**
         *
         *
         * <pre>
         * Total number of equivalence classes in this bucket.
         * </pre>
         *
         * <code>int64 bucket_size = 3;</code>
         *
         * @return The bucketSize.
         */
        @java.lang.Override
        public long getBucketSize() {
          return bucketSize_;
        }
        /**
         *
         *
         * <pre>
         * Total number of equivalence classes in this bucket.
         * </pre>
         *
         * <code>int64 bucket_size = 3;</code>
         *
         * @param value The bucketSize to set.
         * @return This builder for chaining.
         */
        public Builder setBucketSize(long value) {

          bucketSize_ = value;
          bitField0_ |= 0x00000004;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Total number of equivalence classes in this bucket.
         * </pre>
         *
         * <code>int64 bucket_size = 3;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearBucketSize() {
          bitField0_ = (bitField0_ & ~0x00000004);
          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) != 0)) {
            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_;

        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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();
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         * </code>
         */
        public int getBucketValuesCount() {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.size();
          } else {
            return bucketValuesBuilder_.getCount();
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         * </code>
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                .LDiversityEquivalenceClass
            getBucketValues(int index) {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.get(index);
          } else {
            return bucketValuesBuilder_.getMessage(index);
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         * </code>
         */
        public Builder clearBucketValues() {
          if (bucketValuesBuilder_ == null) {
            bucketValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000008);
            onChanged();
          } else {
            bucketValuesBuilder_.clear();
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         * </code>
         */
        public Builder removeBucketValues(int index) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.remove(index);
            onChanged();
          } else {
            bucketValuesBuilder_.remove(index);
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         * </code>
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                .LDiversityEquivalenceClass.Builder
            getBucketValuesBuilder(int index) {
          return getBucketValuesFieldBuilder().getBuilder(index);
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         * </code>
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                .LDiversityEquivalenceClassOrBuilder
            getBucketValuesOrBuilder(int index) {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.get(index);
          } else {
            return bucketValuesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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_);
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         * </code>
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                .LDiversityEquivalenceClass.Builder
            addBucketValuesBuilder() {
          return getBucketValuesFieldBuilder()
              .addBuilder(
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                      .LDiversityEquivalenceClass.getDefaultInstance());
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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());
        }
        /**
         *
         *
         * <pre>
         * Sample of equivalence classes in this bucket. The total number of
         * classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;
         * </code>
         */
        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) != 0),
                    getParentForChildren(),
                    isClean());
            bucketValues_ = null;
          }
          return bucketValuesBuilder_;
        }

        private long bucketValueCount_;
        /**
         *
         *
         * <pre>
         * Total number of distinct equivalence classes in this bucket.
         * </pre>
         *
         * <code>int64 bucket_value_count = 5;</code>
         *
         * @return The bucketValueCount.
         */
        @java.lang.Override
        public long getBucketValueCount() {
          return bucketValueCount_;
        }
        /**
         *
         *
         * <pre>
         * Total number of distinct equivalence classes in this bucket.
         * </pre>
         *
         * <code>int64 bucket_value_count = 5;</code>
         *
         * @param value The bucketValueCount to set.
         * @return This builder for chaining.
         */
        public Builder setBucketValueCount(long value) {

          bucketValueCount_ = value;
          bitField0_ |= 0x00000010;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Total number of distinct equivalence classes in this bucket.
         * </pre>
         *
         * <code>int64 bucket_value_count = 5;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearBucketValueCount() {
          bitField0_ = (bitField0_ & ~0x00000010);
          bucketValueCount_ = 0L;
          onChanged();
          return this;
        }

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

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

        // @@protoc_insertion_point(builder_scope: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>() {
            @java.lang.Override
            public LDiversityHistogramBucket parsePartialFrom(
                com.google.protobuf.CodedInputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
              Builder builder = newBuilder();
              try {
                builder.mergeFrom(input, extensionRegistry);
              } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                throw e.setUnfinishedMessage(builder.buildPartial());
              } catch (com.google.protobuf.UninitializedMessageException e) {
                throw e.asInvalidProtocolBufferException()
                    .setUnfinishedMessage(builder.buildPartial());
              } catch (java.io.IOException e) {
                throw new com.google.protobuf.InvalidProtocolBufferException(e)
                    .setUnfinishedMessage(builder.buildPartial());
              }
              return builder.buildPartial();
            }
          };

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

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

      @java.lang.Override
      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;

    @SuppressWarnings("serial")
    private java.util.List<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                .LDiversityHistogramBucket>
        sensitiveValueFrequencyHistogramBuckets_;
    /**
     *
     *
     * <pre>
     * Histogram of l-diversity equivalence class sensitive value frequencies.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     * </code>
     */
    @java.lang.Override
    public java.util.List<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                .LDiversityHistogramBucket>
        getSensitiveValueFrequencyHistogramBucketsList() {
      return sensitiveValueFrequencyHistogramBuckets_;
    }
    /**
     *
     *
     * <pre>
     * Histogram of l-diversity equivalence class sensitive value frequencies.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     * </code>
     */
    @java.lang.Override
    public java.util.List<
            ? extends
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                    .LDiversityHistogramBucketOrBuilder>
        getSensitiveValueFrequencyHistogramBucketsOrBuilderList() {
      return sensitiveValueFrequencyHistogramBuckets_;
    }
    /**
     *
     *
     * <pre>
     * Histogram of l-diversity equivalence class sensitive value frequencies.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     * </code>
     */
    @java.lang.Override
    public int getSensitiveValueFrequencyHistogramBucketsCount() {
      return sensitiveValueFrequencyHistogramBuckets_.size();
    }
    /**
     *
     *
     * <pre>
     * Histogram of l-diversity equivalence class sensitive value frequencies.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     * </code>
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
            .LDiversityHistogramBucket
        getSensitiveValueFrequencyHistogramBuckets(int index) {
      return sensitiveValueFrequencyHistogramBuckets_.get(index);
    }
    /**
     *
     *
     * <pre>
     * Histogram of l-diversity equivalence class sensitive value frequencies.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
     * </code>
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
            .LDiversityHistogramBucketOrBuilder
        getSensitiveValueFrequencyHistogramBucketsOrBuilder(int index) {
      return sensitiveValueFrequencyHistogramBuckets_.get(index);
    }

    private byte memoizedIsInitialized = -1;

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      for (int i = 0; i < sensitiveValueFrequencyHistogramBuckets_.size(); i++) {
        output.writeMessage(5, sensitiveValueFrequencyHistogramBuckets_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < sensitiveValueFrequencyHistogramBuckets_.size(); i++) {
        size +=
            com.google.protobuf.CodedOutputStream.computeMessageSize(
                5, sensitiveValueFrequencyHistogramBuckets_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj
          instanceof com.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;

      if (!getSensitiveValueFrequencyHistogramBucketsList()
          .equals(other.getSensitiveValueFrequencyHistogramBucketsList())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getSensitiveValueFrequencyHistogramBucketsCount() > 0) {
        hash = (37 * hash) + SENSITIVE_VALUE_FREQUENCY_HISTOGRAM_BUCKETS_FIELD_NUMBER;
        hash = (53 * hash) + getSensitiveValueFrequencyHistogramBucketsList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().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);
    }

    @java.lang.Override
    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);
    }

    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     *
     *
     * <pre>
     * Result of the l-diversity computation.
     * </pre>
     *
     * 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;
      }

      @java.lang.Override
      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() {}

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

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

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.privacy.dlp.v2.DlpProto
            .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor;
      }

      @java.lang.Override
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
          getDefaultInstanceForType() {
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
            .getDefaultInstance();
      }

      @java.lang.Override
      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;
      }

      @java.lang.Override
      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);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult result) {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            sensitiveValueFrequencyHistogramBuckets_ =
                java.util.Collections.unmodifiableList(sensitiveValueFrequencyHistogramBuckets_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.sensitiveValueFrequencyHistogramBuckets_ =
              sensitiveValueFrequencyHistogramBuckets_;
        } else {
          result.sensitiveValueFrequencyHistogramBuckets_ =
              sensitiveValueFrequencyHistogramBucketsBuilder_.build();
        }
      }

      private void buildPartial0(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult result) {
        int from_bitField0_ = bitField0_;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }

      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.setField(field, value);
      }

      @java.lang.Override
      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }

      @java.lang.Override
      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }

      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index,
          java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }

      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other
            instanceof com.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.getUnknownFields());
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 42:
                {
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                          .LDiversityHistogramBucket
                      m =
                          input.readMessage(
                              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                                  .LDiversityResult.LDiversityHistogramBucket.parser(),
                              extensionRegistry);
                  if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
                    ensureSensitiveValueFrequencyHistogramBucketsIsMutable();
                    sensitiveValueFrequencyHistogramBuckets_.add(m);
                  } else {
                    sensitiveValueFrequencyHistogramBucketsBuilder_.addMessage(m);
                  }
                  break;
                } // case 42
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private java.util.List<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                  .LDiversityHistogramBucket>
          sensitiveValueFrequencyHistogramBuckets_ = java.util.Collections.emptyList();

      private void ensureSensitiveValueFrequencyHistogramBucketsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          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_;

      /**
       *
       *
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       * </code>
       */
      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();
        }
      }
      /**
       *
       *
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       * </code>
       */
      public int getSensitiveValueFrequencyHistogramBucketsCount() {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          return sensitiveValueFrequencyHistogramBuckets_.size();
        } else {
          return sensitiveValueFrequencyHistogramBucketsBuilder_.getCount();
        }
      }
      /**
       *
       *
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
              .LDiversityHistogramBucket
          getSensitiveValueFrequencyHistogramBuckets(int index) {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          return sensitiveValueFrequencyHistogramBuckets_.get(index);
        } else {
          return sensitiveValueFrequencyHistogramBucketsBuilder_.getMessage(index);
        }
      }
      /**
       *
       *
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       * </code>
       */
      public Builder clearSensitiveValueFrequencyHistogramBuckets() {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          sensitiveValueFrequencyHistogramBuckets_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          sensitiveValueFrequencyHistogramBucketsBuilder_.clear();
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       * </code>
       */
      public Builder removeSensitiveValueFrequencyHistogramBuckets(int index) {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          ensureSensitiveValueFrequencyHistogramBucketsIsMutable();
          sensitiveValueFrequencyHistogramBuckets_.remove(index);
          onChanged();
        } else {
          sensitiveValueFrequencyHistogramBucketsBuilder_.remove(index);
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
              .LDiversityHistogramBucket.Builder
          getSensitiveValueFrequencyHistogramBucketsBuilder(int index) {
        return getSensitiveValueFrequencyHistogramBucketsFieldBuilder().getBuilder(index);
      }
      /**
       *
       *
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
              .LDiversityHistogramBucketOrBuilder
          getSensitiveValueFrequencyHistogramBucketsOrBuilder(int index) {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          return sensitiveValueFrequencyHistogramBuckets_.get(index);
        } else {
          return sensitiveValueFrequencyHistogramBucketsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       *
       *
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       * </code>
       */
      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_);
        }
      }
      /**
       *
       *
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
              .LDiversityHistogramBucket.Builder
          addSensitiveValueFrequencyHistogramBucketsBuilder() {
        return getSensitiveValueFrequencyHistogramBucketsFieldBuilder()
            .addBuilder(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
                    .LDiversityHistogramBucket.getDefaultInstance());
      }
      /**
       *
       *
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       * </code>
       */
      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());
      }
      /**
       *
       *
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;
       * </code>
       */
      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) != 0),
                  getParentForChildren(),
                  isClean());
          sensitiveValueFrequencyHistogramBuckets_ = null;
        }
        return sensitiveValueFrequencyHistogramBucketsBuilder_;
      }

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

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

      // @@protoc_insertion_point(builder_scope: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>() {
          @java.lang.Override
          public LDiversityResult parsePartialFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (com.google.protobuf.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new com.google.protobuf.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

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

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

    @java.lang.Override
    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 {

    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     * </code>
     */
    java.util.List<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                .KMapEstimationHistogramBucket>
        getKMapEstimationHistogramList();
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     * </code>
     */
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
            .KMapEstimationHistogramBucket
        getKMapEstimationHistogram(int index);
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     * </code>
     */
    int getKMapEstimationHistogramCount();
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     * </code>
     */
    java.util.List<
            ? extends
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                    .KMapEstimationHistogramBucketOrBuilder>
        getKMapEstimationHistogramOrBuilderList();
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     * </code>
     */
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
            .KMapEstimationHistogramBucketOrBuilder
        getKMapEstimationHistogramOrBuilder(int index);
  }
  /**
   *
   *
   * <pre>
   * Result of the reidentifiability analysis. Note that these results are an
   * estimation, not exact values.
   * </pre>
   *
   * 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
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
      return new KMapEstimationResult();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    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;
    }

    @java.lang.Override
    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 {

      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      java.util.List<com.google.privacy.dlp.v2.Value> getQuasiIdsValuesList();
      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index);
      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      int getQuasiIdsValuesCount();
      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
          getQuasiIdsValuesOrBuilderList();
      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index);

      /**
       *
       *
       * <pre>
       * The estimated anonymity for these quasi-identifier values.
       * </pre>
       *
       * <code>int64 estimated_anonymity = 2;</code>
       *
       * @return The estimatedAnonymity.
       */
      long getEstimatedAnonymity();
    }
    /**
     *
     *
     * <pre>
     * A tuple of values for the quasi-identifier columns.
     * </pre>
     *
     * 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();
      }

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

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
        return this.unknownFields;
      }

      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;
      }

      @java.lang.Override
      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);
      }

      public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1;

      @SuppressWarnings("serial")
      private java.util.List<com.google.privacy.dlp.v2.Value> quasiIdsValues_;
      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      public java.util.List<com.google.privacy.dlp.v2.Value> getQuasiIdsValuesList() {
        return quasiIdsValues_;
      }
      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      public java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
          getQuasiIdsValuesOrBuilderList() {
        return quasiIdsValues_;
      }
      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      public int getQuasiIdsValuesCount() {
        return quasiIdsValues_.size();
      }
      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
        return quasiIdsValues_.get(index);
      }
      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      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_ = 0L;
      /**
       *
       *
       * <pre>
       * The estimated anonymity for these quasi-identifier values.
       * </pre>
       *
       * <code>int64 estimated_anonymity = 2;</code>
       *
       * @return The estimatedAnonymity.
       */
      @java.lang.Override
      public long getEstimatedAnonymity() {
        return estimatedAnonymity_;
      }

      private byte memoizedIsInitialized = -1;

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

        memoizedIsInitialized = 1;
        return true;
      }

      @java.lang.Override
      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
        for (int i = 0; i < quasiIdsValues_.size(); i++) {
          output.writeMessage(1, quasiIdsValues_.get(i));
        }
        if (estimatedAnonymity_ != 0L) {
          output.writeInt64(2, estimatedAnonymity_);
        }
        getUnknownFields().writeTo(output);
      }

      @java.lang.Override
      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 += getUnknownFields().getSerializedSize();
        memoizedSize = size;
        return size;
      }

      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj
            instanceof
            com.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;

        if (!getQuasiIdsValuesList().equals(other.getQuasiIdsValuesList())) return false;
        if (getEstimatedAnonymity() != other.getEstimatedAnonymity()) return false;
        if (!getUnknownFields().equals(other.getUnknownFields())) return false;
        return true;
      }

      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        if (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) + getUnknownFields().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);
      }

      @java.lang.Override
      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);
      }

      @java.lang.Override
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
      }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       *
       *
       * <pre>
       * A tuple of values for the quasi-identifier columns.
       * </pre>
       *
       * 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;
        }

        @java.lang.Override
        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() {}

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

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

        @java.lang.Override
        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
          return com.google.privacy.dlp.v2.DlpProto
              .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor;
        }

        @java.lang.Override
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                .KMapEstimationQuasiIdValues
            getDefaultInstanceForType() {
          return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
              .KMapEstimationQuasiIdValues.getDefaultInstance();
        }

        @java.lang.Override
        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;
        }

        @java.lang.Override
        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);
          buildPartialRepeatedFields(result);
          if (bitField0_ != 0) {
            buildPartial0(result);
          }
          onBuilt();
          return result;
        }

        private void buildPartialRepeatedFields(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                    .KMapEstimationQuasiIdValues
                result) {
          if (quasiIdsValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000001) != 0)) {
              quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_);
              bitField0_ = (bitField0_ & ~0x00000001);
            }
            result.quasiIdsValues_ = quasiIdsValues_;
          } else {
            result.quasiIdsValues_ = quasiIdsValuesBuilder_.build();
          }
        }

        private void buildPartial0(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                    .KMapEstimationQuasiIdValues
                result) {
          int from_bitField0_ = bitField0_;
          if (((from_bitField0_ & 0x00000002) != 0)) {
            result.estimatedAnonymity_ = estimatedAnonymity_;
          }
        }

        @java.lang.Override
        public Builder clone() {
          return super.clone();
        }

        @java.lang.Override
        public Builder setField(
            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
          return super.setField(field, value);
        }

        @java.lang.Override
        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
          return super.clearField(field);
        }

        @java.lang.Override
        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
          return super.clearOneof(oneof);
        }

        @java.lang.Override
        public Builder setRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            int index,
            java.lang.Object value) {
          return super.setRepeatedField(field, index, value);
        }

        @java.lang.Override
        public Builder addRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
          return super.addRepeatedField(field, value);
        }

        @java.lang.Override
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other
              instanceof
              com.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.getUnknownFields());
          onChanged();
          return this;
        }

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

        @java.lang.Override
        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          if (extensionRegistry == null) {
            throw new java.lang.NullPointerException();
          }
          try {
            boolean done = false;
            while (!done) {
              int tag = input.readTag();
              switch (tag) {
                case 0:
                  done = true;
                  break;
                case 10:
                  {
                    com.google.privacy.dlp.v2.Value m =
                        input.readMessage(
                            com.google.privacy.dlp.v2.Value.parser(), extensionRegistry);
                    if (quasiIdsValuesBuilder_ == null) {
                      ensureQuasiIdsValuesIsMutable();
                      quasiIdsValues_.add(m);
                    } else {
                      quasiIdsValuesBuilder_.addMessage(m);
                    }
                    break;
                  } // case 10
                case 16:
                  {
                    estimatedAnonymity_ = input.readInt64();
                    bitField0_ |= 0x00000002;
                    break;
                  } // case 16
                default:
                  {
                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                      done = true; // was an endgroup tag
                    }
                    break;
                  } // default:
              } // switch (tag)
            } // while (!done)
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.unwrapIOException();
          } finally {
            onChanged();
          } // finally
          return this;
        }

        private int bitField0_;

        private java.util.List<com.google.privacy.dlp.v2.Value> quasiIdsValues_ =
            java.util.Collections.emptyList();

        private void ensureQuasiIdsValuesIsMutable() {
          if (!((bitField0_ & 0x00000001) != 0)) {
            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_;

        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public java.util.List<com.google.privacy.dlp.v2.Value> getQuasiIdsValuesList() {
          if (quasiIdsValuesBuilder_ == null) {
            return java.util.Collections.unmodifiableList(quasiIdsValues_);
          } else {
            return quasiIdsValuesBuilder_.getMessageList();
          }
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public int getQuasiIdsValuesCount() {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.size();
          } else {
            return quasiIdsValuesBuilder_.getCount();
          }
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.get(index);
          } else {
            return quasiIdsValuesBuilder_.getMessage(index);
          }
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public Builder clearQuasiIdsValues() {
          if (quasiIdsValuesBuilder_ == null) {
            quasiIdsValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.clear();
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public Builder removeQuasiIdsValues(int index) {
          if (quasiIdsValuesBuilder_ == null) {
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.remove(index);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.remove(index);
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(int index) {
          return getQuasiIdsValuesFieldBuilder().getBuilder(index);
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.get(index);
          } else {
            return quasiIdsValuesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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_);
          }
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder() {
          return getQuasiIdsValuesFieldBuilder()
              .addBuilder(com.google.privacy.dlp.v2.Value.getDefaultInstance());
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int index) {
          return getQuasiIdsValuesFieldBuilder()
              .addBuilder(index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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) != 0),
                    getParentForChildren(),
                    isClean());
            quasiIdsValues_ = null;
          }
          return quasiIdsValuesBuilder_;
        }

        private long estimatedAnonymity_;
        /**
         *
         *
         * <pre>
         * The estimated anonymity for these quasi-identifier values.
         * </pre>
         *
         * <code>int64 estimated_anonymity = 2;</code>
         *
         * @return The estimatedAnonymity.
         */
        @java.lang.Override
        public long getEstimatedAnonymity() {
          return estimatedAnonymity_;
        }
        /**
         *
         *
         * <pre>
         * The estimated anonymity for these quasi-identifier values.
         * </pre>
         *
         * <code>int64 estimated_anonymity = 2;</code>
         *
         * @param value The estimatedAnonymity to set.
         * @return This builder for chaining.
         */
        public Builder setEstimatedAnonymity(long value) {

          estimatedAnonymity_ = value;
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * The estimated anonymity for these quasi-identifier values.
         * </pre>
         *
         * <code>int64 estimated_anonymity = 2;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearEstimatedAnonymity() {
          bitField0_ = (bitField0_ & ~0x00000002);
          estimatedAnonymity_ = 0L;
          onChanged();
          return this;
        }

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

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

        // @@protoc_insertion_point(builder_scope: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>() {
            @java.lang.Override
            public KMapEstimationQuasiIdValues parsePartialFrom(
                com.google.protobuf.CodedInputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
              Builder builder = newBuilder();
              try {
                builder.mergeFrom(input, extensionRegistry);
              } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                throw e.setUnfinishedMessage(builder.buildPartial());
              } catch (com.google.protobuf.UninitializedMessageException e) {
                throw e.asInvalidProtocolBufferException()
                    .setUnfinishedMessage(builder.buildPartial());
              } catch (java.io.IOException e) {
                throw new com.google.protobuf.InvalidProtocolBufferException(e)
                    .setUnfinishedMessage(builder.buildPartial());
              }
              return builder.buildPartial();
            }
          };

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

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

      @java.lang.Override
      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 {

      /**
       *
       *
       * <pre>
       * Always positive.
       * </pre>
       *
       * <code>int64 min_anonymity = 1;</code>
       *
       * @return The minAnonymity.
       */
      long getMinAnonymity();

      /**
       *
       *
       * <pre>
       * Always greater than or equal to min_anonymity.
       * </pre>
       *
       * <code>int64 max_anonymity = 2;</code>
       *
       * @return The maxAnonymity.
       */
      long getMaxAnonymity();

      /**
       *
       *
       * <pre>
       * Number of records within these anonymity bounds.
       * </pre>
       *
       * <code>int64 bucket_size = 5;</code>
       *
       * @return The bucketSize.
       */
      long getBucketSize();

      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      java.util.List<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                  .KMapEstimationQuasiIdValues>
          getBucketValuesList();
      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
              .KMapEstimationQuasiIdValues
          getBucketValues(int index);
      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      int getBucketValuesCount();
      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      java.util.List<
              ? extends
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                      .KMapEstimationQuasiIdValuesOrBuilder>
          getBucketValuesOrBuilderList();
      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
              .KMapEstimationQuasiIdValuesOrBuilder
          getBucketValuesOrBuilder(int index);

      /**
       *
       *
       * <pre>
       * Total number of distinct quasi-identifier tuple values in this bucket.
       * </pre>
       *
       * <code>int64 bucket_value_count = 7;</code>
       *
       * @return The bucketValueCount.
       */
      long getBucketValueCount();
    }
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * 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() {
        bucketValues_ = java.util.Collections.emptyList();
      }

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

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
        return this.unknownFields;
      }

      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;
      }

      @java.lang.Override
      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);
      }

      public static final int MIN_ANONYMITY_FIELD_NUMBER = 1;
      private long minAnonymity_ = 0L;
      /**
       *
       *
       * <pre>
       * Always positive.
       * </pre>
       *
       * <code>int64 min_anonymity = 1;</code>
       *
       * @return The minAnonymity.
       */
      @java.lang.Override
      public long getMinAnonymity() {
        return minAnonymity_;
      }

      public static final int MAX_ANONYMITY_FIELD_NUMBER = 2;
      private long maxAnonymity_ = 0L;
      /**
       *
       *
       * <pre>
       * Always greater than or equal to min_anonymity.
       * </pre>
       *
       * <code>int64 max_anonymity = 2;</code>
       *
       * @return The maxAnonymity.
       */
      @java.lang.Override
      public long getMaxAnonymity() {
        return maxAnonymity_;
      }

      public static final int BUCKET_SIZE_FIELD_NUMBER = 5;
      private long bucketSize_ = 0L;
      /**
       *
       *
       * <pre>
       * Number of records within these anonymity bounds.
       * </pre>
       *
       * <code>int64 bucket_size = 5;</code>
       *
       * @return The bucketSize.
       */
      @java.lang.Override
      public long getBucketSize() {
        return bucketSize_;
      }

      public static final int BUCKET_VALUES_FIELD_NUMBER = 6;

      @SuppressWarnings("serial")
      private java.util.List<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                  .KMapEstimationQuasiIdValues>
          bucketValues_;
      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      @java.lang.Override
      public java.util.List<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                  .KMapEstimationQuasiIdValues>
          getBucketValuesList() {
        return bucketValues_;
      }
      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      @java.lang.Override
      public java.util.List<
              ? extends
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                      .KMapEstimationQuasiIdValuesOrBuilder>
          getBucketValuesOrBuilderList() {
        return bucketValues_;
      }
      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      @java.lang.Override
      public int getBucketValuesCount() {
        return bucketValues_.size();
      }
      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      @java.lang.Override
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
              .KMapEstimationQuasiIdValues
          getBucketValues(int index) {
        return bucketValues_.get(index);
      }
      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      @java.lang.Override
      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_ = 0L;
      /**
       *
       *
       * <pre>
       * Total number of distinct quasi-identifier tuple values in this bucket.
       * </pre>
       *
       * <code>int64 bucket_value_count = 7;</code>
       *
       * @return The bucketValueCount.
       */
      @java.lang.Override
      public long getBucketValueCount() {
        return bucketValueCount_;
      }

      private byte memoizedIsInitialized = -1;

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

        memoizedIsInitialized = 1;
        return true;
      }

      @java.lang.Override
      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
        if (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_);
        }
        getUnknownFields().writeTo(output);
      }

      @java.lang.Override
      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 += getUnknownFields().getSerializedSize();
        memoizedSize = size;
        return size;
      }

      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj
            instanceof
            com.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;

        if (getMinAnonymity() != other.getMinAnonymity()) return false;
        if (getMaxAnonymity() != other.getMaxAnonymity()) return false;
        if (getBucketSize() != other.getBucketSize()) return false;
        if (!getBucketValuesList().equals(other.getBucketValuesList())) return false;
        if (getBucketValueCount() != other.getBucketValueCount()) return false;
        if (!getUnknownFields().equals(other.getUnknownFields())) return false;
        return true;
      }

      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        hash = (37 * hash) + 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) + getUnknownFields().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);
      }

      @java.lang.Override
      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);
      }

      @java.lang.Override
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
      }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * 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;
        }

        @java.lang.Override
        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() {}

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

        @java.lang.Override
        public Builder clear() {
          super.clear();
          bitField0_ = 0;
          minAnonymity_ = 0L;
          maxAnonymity_ = 0L;
          bucketSize_ = 0L;
          if (bucketValuesBuilder_ == null) {
            bucketValues_ = java.util.Collections.emptyList();
          } else {
            bucketValues_ = null;
            bucketValuesBuilder_.clear();
          }
          bitField0_ = (bitField0_ & ~0x00000008);
          bucketValueCount_ = 0L;
          return this;
        }

        @java.lang.Override
        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
          return com.google.privacy.dlp.v2.DlpProto
              .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor;
        }

        @java.lang.Override
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                .KMapEstimationHistogramBucket
            getDefaultInstanceForType() {
          return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
              .KMapEstimationHistogramBucket.getDefaultInstance();
        }

        @java.lang.Override
        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;
        }

        @java.lang.Override
        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);
          buildPartialRepeatedFields(result);
          if (bitField0_ != 0) {
            buildPartial0(result);
          }
          onBuilt();
          return result;
        }

        private void buildPartialRepeatedFields(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                    .KMapEstimationHistogramBucket
                result) {
          if (bucketValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000008) != 0)) {
              bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
              bitField0_ = (bitField0_ & ~0x00000008);
            }
            result.bucketValues_ = bucketValues_;
          } else {
            result.bucketValues_ = bucketValuesBuilder_.build();
          }
        }

        private void buildPartial0(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                    .KMapEstimationHistogramBucket
                result) {
          int from_bitField0_ = bitField0_;
          if (((from_bitField0_ & 0x00000001) != 0)) {
            result.minAnonymity_ = minAnonymity_;
          }
          if (((from_bitField0_ & 0x00000002) != 0)) {
            result.maxAnonymity_ = maxAnonymity_;
          }
          if (((from_bitField0_ & 0x00000004) != 0)) {
            result.bucketSize_ = bucketSize_;
          }
          if (((from_bitField0_ & 0x00000010) != 0)) {
            result.bucketValueCount_ = bucketValueCount_;
          }
        }

        @java.lang.Override
        public Builder clone() {
          return super.clone();
        }

        @java.lang.Override
        public Builder setField(
            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
          return super.setField(field, value);
        }

        @java.lang.Override
        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
          return super.clearField(field);
        }

        @java.lang.Override
        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
          return super.clearOneof(oneof);
        }

        @java.lang.Override
        public Builder setRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            int index,
            java.lang.Object value) {
          return super.setRepeatedField(field, index, value);
        }

        @java.lang.Override
        public Builder addRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
          return super.addRepeatedField(field, value);
        }

        @java.lang.Override
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other
              instanceof
              com.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.getUnknownFields());
          onChanged();
          return this;
        }

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

        @java.lang.Override
        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          if (extensionRegistry == null) {
            throw new java.lang.NullPointerException();
          }
          try {
            boolean done = false;
            while (!done) {
              int tag = input.readTag();
              switch (tag) {
                case 0:
                  done = true;
                  break;
                case 8:
                  {
                    minAnonymity_ = input.readInt64();
                    bitField0_ |= 0x00000001;
                    break;
                  } // case 8
                case 16:
                  {
                    maxAnonymity_ = input.readInt64();
                    bitField0_ |= 0x00000002;
                    break;
                  } // case 16
                case 40:
                  {
                    bucketSize_ = input.readInt64();
                    bitField0_ |= 0x00000004;
                    break;
                  } // case 40
                case 50:
                  {
                    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                            .KMapEstimationQuasiIdValues
                        m =
                            input.readMessage(
                                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                                    .KMapEstimationResult.KMapEstimationQuasiIdValues.parser(),
                                extensionRegistry);
                    if (bucketValuesBuilder_ == null) {
                      ensureBucketValuesIsMutable();
                      bucketValues_.add(m);
                    } else {
                      bucketValuesBuilder_.addMessage(m);
                    }
                    break;
                  } // case 50
                case 56:
                  {
                    bucketValueCount_ = input.readInt64();
                    bitField0_ |= 0x00000010;
                    break;
                  } // case 56
                default:
                  {
                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                      done = true; // was an endgroup tag
                    }
                    break;
                  } // default:
              } // switch (tag)
            } // while (!done)
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.unwrapIOException();
          } finally {
            onChanged();
          } // finally
          return this;
        }

        private int bitField0_;

        private long minAnonymity_;
        /**
         *
         *
         * <pre>
         * Always positive.
         * </pre>
         *
         * <code>int64 min_anonymity = 1;</code>
         *
         * @return The minAnonymity.
         */
        @java.lang.Override
        public long getMinAnonymity() {
          return minAnonymity_;
        }
        /**
         *
         *
         * <pre>
         * Always positive.
         * </pre>
         *
         * <code>int64 min_anonymity = 1;</code>
         *
         * @param value The minAnonymity to set.
         * @return This builder for chaining.
         */
        public Builder setMinAnonymity(long value) {

          minAnonymity_ = value;
          bitField0_ |= 0x00000001;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Always positive.
         * </pre>
         *
         * <code>int64 min_anonymity = 1;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearMinAnonymity() {
          bitField0_ = (bitField0_ & ~0x00000001);
          minAnonymity_ = 0L;
          onChanged();
          return this;
        }

        private long maxAnonymity_;
        /**
         *
         *
         * <pre>
         * Always greater than or equal to min_anonymity.
         * </pre>
         *
         * <code>int64 max_anonymity = 2;</code>
         *
         * @return The maxAnonymity.
         */
        @java.lang.Override
        public long getMaxAnonymity() {
          return maxAnonymity_;
        }
        /**
         *
         *
         * <pre>
         * Always greater than or equal to min_anonymity.
         * </pre>
         *
         * <code>int64 max_anonymity = 2;</code>
         *
         * @param value The maxAnonymity to set.
         * @return This builder for chaining.
         */
        public Builder setMaxAnonymity(long value) {

          maxAnonymity_ = value;
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Always greater than or equal to min_anonymity.
         * </pre>
         *
         * <code>int64 max_anonymity = 2;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearMaxAnonymity() {
          bitField0_ = (bitField0_ & ~0x00000002);
          maxAnonymity_ = 0L;
          onChanged();
          return this;
        }

        private long bucketSize_;
        /**
         *
         *
         * <pre>
         * Number of records within these anonymity bounds.
         * </pre>
         *
         * <code>int64 bucket_size = 5;</code>
         *
         * @return The bucketSize.
         */
        @java.lang.Override
        public long getBucketSize() {
          return bucketSize_;
        }
        /**
         *
         *
         * <pre>
         * Number of records within these anonymity bounds.
         * </pre>
         *
         * <code>int64 bucket_size = 5;</code>
         *
         * @param value The bucketSize to set.
         * @return This builder for chaining.
         */
        public Builder setBucketSize(long value) {

          bucketSize_ = value;
          bitField0_ |= 0x00000004;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Number of records within these anonymity bounds.
         * </pre>
         *
         * <code>int64 bucket_size = 5;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearBucketSize() {
          bitField0_ = (bitField0_ & ~0x00000004);
          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) != 0)) {
            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_;

        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        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();
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public int getBucketValuesCount() {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.size();
          } else {
            return bucketValuesBuilder_.getCount();
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                .KMapEstimationQuasiIdValues
            getBucketValues(int index) {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.get(index);
          } else {
            return bucketValuesBuilder_.getMessage(index);
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public Builder clearBucketValues() {
          if (bucketValuesBuilder_ == null) {
            bucketValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000008);
            onChanged();
          } else {
            bucketValuesBuilder_.clear();
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public Builder removeBucketValues(int index) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.remove(index);
            onChanged();
          } else {
            bucketValuesBuilder_.remove(index);
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                .KMapEstimationQuasiIdValues.Builder
            getBucketValuesBuilder(int index) {
          return getBucketValuesFieldBuilder().getBuilder(index);
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                .KMapEstimationQuasiIdValuesOrBuilder
            getBucketValuesOrBuilder(int index) {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.get(index);
          } else {
            return bucketValuesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        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_);
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                .KMapEstimationQuasiIdValues.Builder
            addBucketValuesBuilder() {
          return getBucketValuesFieldBuilder()
              .addBuilder(
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                      .KMapEstimationQuasiIdValues.getDefaultInstance());
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        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());
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        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) != 0),
                    getParentForChildren(),
                    isClean());
            bucketValues_ = null;
          }
          return bucketValuesBuilder_;
        }

        private long bucketValueCount_;
        /**
         *
         *
         * <pre>
         * Total number of distinct quasi-identifier tuple values in this bucket.
         * </pre>
         *
         * <code>int64 bucket_value_count = 7;</code>
         *
         * @return The bucketValueCount.
         */
        @java.lang.Override
        public long getBucketValueCount() {
          return bucketValueCount_;
        }
        /**
         *
         *
         * <pre>
         * Total number of distinct quasi-identifier tuple values in this bucket.
         * </pre>
         *
         * <code>int64 bucket_value_count = 7;</code>
         *
         * @param value The bucketValueCount to set.
         * @return This builder for chaining.
         */
        public Builder setBucketValueCount(long value) {

          bucketValueCount_ = value;
          bitField0_ |= 0x00000010;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Total number of distinct quasi-identifier tuple values in this bucket.
         * </pre>
         *
         * <code>int64 bucket_value_count = 7;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearBucketValueCount() {
          bitField0_ = (bitField0_ & ~0x00000010);
          bucketValueCount_ = 0L;
          onChanged();
          return this;
        }

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

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

        // @@protoc_insertion_point(builder_scope: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>() {
            @java.lang.Override
            public KMapEstimationHistogramBucket parsePartialFrom(
                com.google.protobuf.CodedInputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
              Builder builder = newBuilder();
              try {
                builder.mergeFrom(input, extensionRegistry);
              } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                throw e.setUnfinishedMessage(builder.buildPartial());
              } catch (com.google.protobuf.UninitializedMessageException e) {
                throw e.asInvalidProtocolBufferException()
                    .setUnfinishedMessage(builder.buildPartial());
              } catch (java.io.IOException e) {
                throw new com.google.protobuf.InvalidProtocolBufferException(e)
                    .setUnfinishedMessage(builder.buildPartial());
              }
              return builder.buildPartial();
            }
          };

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

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

      @java.lang.Override
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
              .KMapEstimationHistogramBucket
          getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
    }

    public static final int K_MAP_ESTIMATION_HISTOGRAM_FIELD_NUMBER = 1;

    @SuppressWarnings("serial")
    private java.util.List<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                .KMapEstimationHistogramBucket>
        kMapEstimationHistogram_;
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     * </code>
     */
    @java.lang.Override
    public java.util.List<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                .KMapEstimationHistogramBucket>
        getKMapEstimationHistogramList() {
      return kMapEstimationHistogram_;
    }
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     * </code>
     */
    @java.lang.Override
    public java.util.List<
            ? extends
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                    .KMapEstimationHistogramBucketOrBuilder>
        getKMapEstimationHistogramOrBuilderList() {
      return kMapEstimationHistogram_;
    }
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     * </code>
     */
    @java.lang.Override
    public int getKMapEstimationHistogramCount() {
      return kMapEstimationHistogram_.size();
    }
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     * </code>
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
            .KMapEstimationHistogramBucket
        getKMapEstimationHistogram(int index) {
      return kMapEstimationHistogram_.get(index);
    }
    /**
     *
     *
     * <pre>
     * 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.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
     * </code>
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
            .KMapEstimationHistogramBucketOrBuilder
        getKMapEstimationHistogramOrBuilder(int index) {
      return kMapEstimationHistogram_.get(index);
    }

    private byte memoizedIsInitialized = -1;

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      for (int i = 0; i < kMapEstimationHistogram_.size(); i++) {
        output.writeMessage(1, kMapEstimationHistogram_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < kMapEstimationHistogram_.size(); i++) {
        size +=
            com.google.protobuf.CodedOutputStream.computeMessageSize(
                1, kMapEstimationHistogram_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj
          instanceof com.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;

      if (!getKMapEstimationHistogramList().equals(other.getKMapEstimationHistogramList()))
        return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getKMapEstimationHistogramCount() > 0) {
        hash = (37 * hash) + K_MAP_ESTIMATION_HISTOGRAM_FIELD_NUMBER;
        hash = (53 * hash) + getKMapEstimationHistogramList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().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);
    }

    @java.lang.Override
    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);
    }

    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     *
     *
     * <pre>
     * Result of the reidentifiability analysis. Note that these results are an
     * estimation, not exact values.
     * </pre>
     *
     * 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;
      }

      @java.lang.Override
      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() {}

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

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

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.privacy.dlp.v2.DlpProto
            .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor;
      }

      @java.lang.Override
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
          getDefaultInstanceForType() {
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
            .getDefaultInstance();
      }

      @java.lang.Override
      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;
      }

      @java.lang.Override
      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);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult result) {
        if (kMapEstimationHistogramBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            kMapEstimationHistogram_ =
                java.util.Collections.unmodifiableList(kMapEstimationHistogram_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.kMapEstimationHistogram_ = kMapEstimationHistogram_;
        } else {
          result.kMapEstimationHistogram_ = kMapEstimationHistogramBuilder_.build();
        }
      }

      private void buildPartial0(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult result) {
        int from_bitField0_ = bitField0_;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }

      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.setField(field, value);
      }

      @java.lang.Override
      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }

      @java.lang.Override
      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }

      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index,
          java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }

      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other
            instanceof
            com.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.getUnknownFields());
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10:
                {
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                          .KMapEstimationHistogramBucket
                      m =
                          input.readMessage(
                              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                                  .KMapEstimationResult.KMapEstimationHistogramBucket.parser(),
                              extensionRegistry);
                  if (kMapEstimationHistogramBuilder_ == null) {
                    ensureKMapEstimationHistogramIsMutable();
                    kMapEstimationHistogram_.add(m);
                  } else {
                    kMapEstimationHistogramBuilder_.addMessage(m);
                  }
                  break;
                } // case 10
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private java.util.List<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                  .KMapEstimationHistogramBucket>
          kMapEstimationHistogram_ = java.util.Collections.emptyList();

      private void ensureKMapEstimationHistogramIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          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_;

      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       * </code>
       */
      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();
        }
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       * </code>
       */
      public int getKMapEstimationHistogramCount() {
        if (kMapEstimationHistogramBuilder_ == null) {
          return kMapEstimationHistogram_.size();
        } else {
          return kMapEstimationHistogramBuilder_.getCount();
        }
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
              .KMapEstimationHistogramBucket
          getKMapEstimationHistogram(int index) {
        if (kMapEstimationHistogramBuilder_ == null) {
          return kMapEstimationHistogram_.get(index);
        } else {
          return kMapEstimationHistogramBuilder_.getMessage(index);
        }
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       * </code>
       */
      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;
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       * </code>
       */
      public Builder clearKMapEstimationHistogram() {
        if (kMapEstimationHistogramBuilder_ == null) {
          kMapEstimationHistogram_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          kMapEstimationHistogramBuilder_.clear();
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       * </code>
       */
      public Builder removeKMapEstimationHistogram(int index) {
        if (kMapEstimationHistogramBuilder_ == null) {
          ensureKMapEstimationHistogramIsMutable();
          kMapEstimationHistogram_.remove(index);
          onChanged();
        } else {
          kMapEstimationHistogramBuilder_.remove(index);
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
              .KMapEstimationHistogramBucket.Builder
          getKMapEstimationHistogramBuilder(int index) {
        return getKMapEstimationHistogramFieldBuilder().getBuilder(index);
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
              .KMapEstimationHistogramBucketOrBuilder
          getKMapEstimationHistogramOrBuilder(int index) {
        if (kMapEstimationHistogramBuilder_ == null) {
          return kMapEstimationHistogram_.get(index);
        } else {
          return kMapEstimationHistogramBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       * </code>
       */
      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_);
        }
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
              .KMapEstimationHistogramBucket.Builder
          addKMapEstimationHistogramBuilder() {
        return getKMapEstimationHistogramFieldBuilder()
            .addBuilder(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
                    .KMapEstimationHistogramBucket.getDefaultInstance());
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       * </code>
       */
      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());
      }
      /**
       *
       *
       * <pre>
       * 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.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
       * </code>
       */
      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) != 0),
                  getParentForChildren(),
                  isClean());
          kMapEstimationHistogram_ = null;
        }
        return kMapEstimationHistogramBuilder_;
      }

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

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

      // @@protoc_insertion_point(builder_scope: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>() {
          @java.lang.Override
          public KMapEstimationResult parsePartialFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (com.google.protobuf.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new com.google.protobuf.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

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

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

    @java.lang.Override
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
        getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

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

    /**
     *
     *
     * <pre>
     * The intervals [min_probability, max_probability) do not overlap. If a
     * value doesn't correspond to any such interval, the associated frequency
     * is zero. For example, the following records:
     *   {min_probability: 0, max_probability: 0.1, frequency: 17}
     *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
     *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
     * mean that there are no record with an estimated probability in [0.1, 0.2)
     * nor larger or equal to 0.4.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
     * </code>
     */
    java.util.List<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationHistogramBucket>
        getDeltaPresenceEstimationHistogramList();
    /**
     *
     *
     * <pre>
     * The intervals [min_probability, max_probability) do not overlap. If a
     * value doesn't correspond to any such interval, the associated frequency
     * is zero. For example, the following records:
     *   {min_probability: 0, max_probability: 0.1, frequency: 17}
     *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
     *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
     * mean that there are no record with an estimated probability in [0.1, 0.2)
     * nor larger or equal to 0.4.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
     * </code>
     */
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
            .DeltaPresenceEstimationHistogramBucket
        getDeltaPresenceEstimationHistogram(int index);
    /**
     *
     *
     * <pre>
     * The intervals [min_probability, max_probability) do not overlap. If a
     * value doesn't correspond to any such interval, the associated frequency
     * is zero. For example, the following records:
     *   {min_probability: 0, max_probability: 0.1, frequency: 17}
     *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
     *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
     * mean that there are no record with an estimated probability in [0.1, 0.2)
     * nor larger or equal to 0.4.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
     * </code>
     */
    int getDeltaPresenceEstimationHistogramCount();
    /**
     *
     *
     * <pre>
     * The intervals [min_probability, max_probability) do not overlap. If a
     * value doesn't correspond to any such interval, the associated frequency
     * is zero. For example, the following records:
     *   {min_probability: 0, max_probability: 0.1, frequency: 17}
     *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
     *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
     * mean that there are no record with an estimated probability in [0.1, 0.2)
     * nor larger or equal to 0.4.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
     * </code>
     */
    java.util.List<
            ? extends
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationHistogramBucketOrBuilder>
        getDeltaPresenceEstimationHistogramOrBuilderList();
    /**
     *
     *
     * <pre>
     * The intervals [min_probability, max_probability) do not overlap. If a
     * value doesn't correspond to any such interval, the associated frequency
     * is zero. For example, the following records:
     *   {min_probability: 0, max_probability: 0.1, frequency: 17}
     *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
     *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
     * mean that there are no record with an estimated probability in [0.1, 0.2)
     * nor larger or equal to 0.4.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
     * </code>
     */
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
            .DeltaPresenceEstimationHistogramBucketOrBuilder
        getDeltaPresenceEstimationHistogramOrBuilder(int index);
  }
  /**
   *
   *
   * <pre>
   * Result of the δ-presence computation. Note that these results are an
   * estimation, not exact values.
   * </pre>
   *
   * Protobuf type {@code
   * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult}
   */
  public static final class DeltaPresenceEstimationResult
      extends com.google.protobuf.GeneratedMessageV3
      implements
      // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult)
      DeltaPresenceEstimationResultOrBuilder {
    private static final long serialVersionUID = 0L;
    // Use DeltaPresenceEstimationResult.newBuilder() to construct.
    private DeltaPresenceEstimationResult(
        com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }

    private DeltaPresenceEstimationResult() {
      deltaPresenceEstimationHistogram_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.privacy.dlp.v2.DlpProto
          .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.privacy.dlp.v2.DlpProto
          .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .class,
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .Builder.class);
    }

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

      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      java.util.List<com.google.privacy.dlp.v2.Value> getQuasiIdsValuesList();
      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index);
      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      int getQuasiIdsValuesCount();
      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
          getQuasiIdsValuesOrBuilderList();
      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index);

      /**
       *
       *
       * <pre>
       * The estimated probability that a given individual sharing these
       * quasi-identifier values is in the dataset. This value, typically
       * called δ, is the ratio between the number of records in the dataset
       * with these quasi-identifier values, and the total number of individuals
       * (inside *and* outside the dataset) with these quasi-identifier values.
       * For example, if there are 15 individuals in the dataset who share the
       * same quasi-identifier values, and an estimated 100 people in the entire
       * population with these values, then δ is 0.15.
       * </pre>
       *
       * <code>double estimated_probability = 2;</code>
       *
       * @return The estimatedProbability.
       */
      double getEstimatedProbability();
    }
    /**
     *
     *
     * <pre>
     * A tuple of values for the quasi-identifier columns.
     * </pre>
     *
     * Protobuf type {@code
     * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues}
     */
    public static final class DeltaPresenceEstimationQuasiIdValues
        extends com.google.protobuf.GeneratedMessageV3
        implements
        // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues)
        DeltaPresenceEstimationQuasiIdValuesOrBuilder {
      private static final long serialVersionUID = 0L;
      // Use DeltaPresenceEstimationQuasiIdValues.newBuilder() to construct.
      private DeltaPresenceEstimationQuasiIdValues(
          com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }

      private DeltaPresenceEstimationQuasiIdValues() {
        quasiIdsValues_ = java.util.Collections.emptyList();
      }

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

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
        return this.unknownFields;
      }

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.privacy.dlp.v2.DlpProto
            .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2.DlpProto
            .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValues.class,
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValues.Builder.class);
      }

      public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1;

      @SuppressWarnings("serial")
      private java.util.List<com.google.privacy.dlp.v2.Value> quasiIdsValues_;
      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      public java.util.List<com.google.privacy.dlp.v2.Value> getQuasiIdsValuesList() {
        return quasiIdsValues_;
      }
      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      public java.util.List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>
          getQuasiIdsValuesOrBuilderList() {
        return quasiIdsValues_;
      }
      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      public int getQuasiIdsValuesCount() {
        return quasiIdsValues_.size();
      }
      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
        return quasiIdsValues_.get(index);
      }
      /**
       *
       *
       * <pre>
       * The quasi-identifier values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
       */
      @java.lang.Override
      public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) {
        return quasiIdsValues_.get(index);
      }

      public static final int ESTIMATED_PROBABILITY_FIELD_NUMBER = 2;
      private double estimatedProbability_ = 0D;
      /**
       *
       *
       * <pre>
       * The estimated probability that a given individual sharing these
       * quasi-identifier values is in the dataset. This value, typically
       * called δ, is the ratio between the number of records in the dataset
       * with these quasi-identifier values, and the total number of individuals
       * (inside *and* outside the dataset) with these quasi-identifier values.
       * For example, if there are 15 individuals in the dataset who share the
       * same quasi-identifier values, and an estimated 100 people in the entire
       * population with these values, then δ is 0.15.
       * </pre>
       *
       * <code>double estimated_probability = 2;</code>
       *
       * @return The estimatedProbability.
       */
      @java.lang.Override
      public double getEstimatedProbability() {
        return estimatedProbability_;
      }

      private byte memoizedIsInitialized = -1;

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

        memoizedIsInitialized = 1;
        return true;
      }

      @java.lang.Override
      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
        for (int i = 0; i < quasiIdsValues_.size(); i++) {
          output.writeMessage(1, quasiIdsValues_.get(i));
        }
        if (java.lang.Double.doubleToRawLongBits(estimatedProbability_) != 0) {
          output.writeDouble(2, estimatedProbability_);
        }
        getUnknownFields().writeTo(output);
      }

      @java.lang.Override
      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 (java.lang.Double.doubleToRawLongBits(estimatedProbability_) != 0) {
          size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, estimatedProbability_);
        }
        size += getUnknownFields().getSerializedSize();
        memoizedSize = size;
        return size;
      }

      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj
            instanceof
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationQuasiIdValues)) {
          return super.equals(obj);
        }
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationQuasiIdValues
            other =
                (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                        .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues)
                    obj;

        if (!getQuasiIdsValuesList().equals(other.getQuasiIdsValuesList())) return false;
        if (java.lang.Double.doubleToLongBits(getEstimatedProbability())
            != java.lang.Double.doubleToLongBits(other.getEstimatedProbability())) return false;
        if (!getUnknownFields().equals(other.getUnknownFields())) return false;
        return true;
      }

      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        if (getQuasiIdsValuesCount() > 0) {
          hash = (37 * hash) + QUASI_IDS_VALUES_FIELD_NUMBER;
          hash = (53 * hash) + getQuasiIdsValuesList().hashCode();
        }
        hash = (37 * hash) + ESTIMATED_PROBABILITY_FIELD_NUMBER;
        hash =
            (53 * hash)
                + com.google.protobuf.Internal.hashLong(
                    java.lang.Double.doubleToLongBits(getEstimatedProbability()));
        hash = (29 * hash) + getUnknownFields().hashCode();
        memoizedHashCode = hash;
        return hash;
      }

      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues
          parseFrom(java.nio.ByteBuffer data)
              throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }

      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues
          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
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues
          parseFrom(com.google.protobuf.ByteString data)
              throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }

      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues
          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
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues
          parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }

      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues
          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
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues
          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
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues
          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
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues
          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
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues
          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
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues
          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
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues
          parseFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
            PARSER, input, extensionRegistry);
      }

      @java.lang.Override
      public Builder newBuilderForType() {
        return newBuilder();
      }

      public static Builder newBuilder() {
        return DEFAULT_INSTANCE.toBuilder();
      }

      public static Builder newBuilder(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationQuasiIdValues
              prototype) {
        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
      }

      @java.lang.Override
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
      }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       *
       *
       * <pre>
       * A tuple of values for the quasi-identifier columns.
       * </pre>
       *
       * Protobuf type {@code
       * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues}
       */
      public static final class Builder
          extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
          implements
          // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues)
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
              .DeltaPresenceEstimationQuasiIdValuesOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          return com.google.privacy.dlp.v2.DlpProto
              .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor;
        }

        @java.lang.Override
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.google.privacy.dlp.v2.DlpProto
              .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                      .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.class,
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                      .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder
                      .class);
        }

        // Construct using
        // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.newBuilder()
        private Builder() {}

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

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

        @java.lang.Override
        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
          return com.google.privacy.dlp.v2.DlpProto
              .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor;
        }

        @java.lang.Override
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationQuasiIdValues
            getDefaultInstanceForType() {
          return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues
              .getDefaultInstance();
        }

        @java.lang.Override
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationQuasiIdValues
            build() {
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationQuasiIdValues
              result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        @java.lang.Override
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationQuasiIdValues
            buildPartial() {
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationQuasiIdValues
              result =
                  new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                      .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues(this);
          buildPartialRepeatedFields(result);
          if (bitField0_ != 0) {
            buildPartial0(result);
          }
          onBuilt();
          return result;
        }

        private void buildPartialRepeatedFields(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValues
                result) {
          if (quasiIdsValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000001) != 0)) {
              quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_);
              bitField0_ = (bitField0_ & ~0x00000001);
            }
            result.quasiIdsValues_ = quasiIdsValues_;
          } else {
            result.quasiIdsValues_ = quasiIdsValuesBuilder_.build();
          }
        }

        private void buildPartial0(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValues
                result) {
          int from_bitField0_ = bitField0_;
          if (((from_bitField0_ & 0x00000002) != 0)) {
            result.estimatedProbability_ = estimatedProbability_;
          }
        }

        @java.lang.Override
        public Builder clone() {
          return super.clone();
        }

        @java.lang.Override
        public Builder setField(
            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
          return super.setField(field, value);
        }

        @java.lang.Override
        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
          return super.clearField(field);
        }

        @java.lang.Override
        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
          return super.clearOneof(oneof);
        }

        @java.lang.Override
        public Builder setRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            int index,
            java.lang.Object value) {
          return super.setRepeatedField(field, index, value);
        }

        @java.lang.Override
        public Builder addRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
          return super.addRepeatedField(field, value);
        }

        @java.lang.Override
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other
              instanceof
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationQuasiIdValues) {
            return mergeFrom(
                (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                        .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues)
                    other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValues
                other) {
          if (other
              == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                  .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues
                  .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.getEstimatedProbability() != 0D) {
            setEstimatedProbability(other.getEstimatedProbability());
          }
          this.mergeUnknownFields(other.getUnknownFields());
          onChanged();
          return this;
        }

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

        @java.lang.Override
        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          if (extensionRegistry == null) {
            throw new java.lang.NullPointerException();
          }
          try {
            boolean done = false;
            while (!done) {
              int tag = input.readTag();
              switch (tag) {
                case 0:
                  done = true;
                  break;
                case 10:
                  {
                    com.google.privacy.dlp.v2.Value m =
                        input.readMessage(
                            com.google.privacy.dlp.v2.Value.parser(), extensionRegistry);
                    if (quasiIdsValuesBuilder_ == null) {
                      ensureQuasiIdsValuesIsMutable();
                      quasiIdsValues_.add(m);
                    } else {
                      quasiIdsValuesBuilder_.addMessage(m);
                    }
                    break;
                  } // case 10
                case 17:
                  {
                    estimatedProbability_ = input.readDouble();
                    bitField0_ |= 0x00000002;
                    break;
                  } // case 17
                default:
                  {
                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                      done = true; // was an endgroup tag
                    }
                    break;
                  } // default:
              } // switch (tag)
            } // while (!done)
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.unwrapIOException();
          } finally {
            onChanged();
          } // finally
          return this;
        }

        private int bitField0_;

        private java.util.List<com.google.privacy.dlp.v2.Value> quasiIdsValues_ =
            java.util.Collections.emptyList();

        private void ensureQuasiIdsValuesIsMutable() {
          if (!((bitField0_ & 0x00000001) != 0)) {
            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_;

        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public java.util.List<com.google.privacy.dlp.v2.Value> getQuasiIdsValuesList() {
          if (quasiIdsValuesBuilder_ == null) {
            return java.util.Collections.unmodifiableList(quasiIdsValues_);
          } else {
            return quasiIdsValuesBuilder_.getMessageList();
          }
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public int getQuasiIdsValuesCount() {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.size();
          } else {
            return quasiIdsValuesBuilder_.getCount();
          }
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.get(index);
          } else {
            return quasiIdsValuesBuilder_.getMessage(index);
          }
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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;
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public Builder clearQuasiIdsValues() {
          if (quasiIdsValuesBuilder_ == null) {
            quasiIdsValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.clear();
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public Builder removeQuasiIdsValues(int index) {
          if (quasiIdsValuesBuilder_ == null) {
            ensureQuasiIdsValuesIsMutable();
            quasiIdsValues_.remove(index);
            onChanged();
          } else {
            quasiIdsValuesBuilder_.remove(index);
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(int index) {
          return getQuasiIdsValuesFieldBuilder().getBuilder(index);
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) {
          if (quasiIdsValuesBuilder_ == null) {
            return quasiIdsValues_.get(index);
          } else {
            return quasiIdsValuesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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_);
          }
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder() {
          return getQuasiIdsValuesFieldBuilder()
              .addBuilder(com.google.privacy.dlp.v2.Value.getDefaultInstance());
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int index) {
          return getQuasiIdsValuesFieldBuilder()
              .addBuilder(index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
        }
        /**
         *
         *
         * <pre>
         * The quasi-identifier values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;</code>
         */
        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) != 0),
                    getParentForChildren(),
                    isClean());
            quasiIdsValues_ = null;
          }
          return quasiIdsValuesBuilder_;
        }

        private double estimatedProbability_;
        /**
         *
         *
         * <pre>
         * The estimated probability that a given individual sharing these
         * quasi-identifier values is in the dataset. This value, typically
         * called δ, is the ratio between the number of records in the dataset
         * with these quasi-identifier values, and the total number of individuals
         * (inside *and* outside the dataset) with these quasi-identifier values.
         * For example, if there are 15 individuals in the dataset who share the
         * same quasi-identifier values, and an estimated 100 people in the entire
         * population with these values, then δ is 0.15.
         * </pre>
         *
         * <code>double estimated_probability = 2;</code>
         *
         * @return The estimatedProbability.
         */
        @java.lang.Override
        public double getEstimatedProbability() {
          return estimatedProbability_;
        }
        /**
         *
         *
         * <pre>
         * The estimated probability that a given individual sharing these
         * quasi-identifier values is in the dataset. This value, typically
         * called δ, is the ratio between the number of records in the dataset
         * with these quasi-identifier values, and the total number of individuals
         * (inside *and* outside the dataset) with these quasi-identifier values.
         * For example, if there are 15 individuals in the dataset who share the
         * same quasi-identifier values, and an estimated 100 people in the entire
         * population with these values, then δ is 0.15.
         * </pre>
         *
         * <code>double estimated_probability = 2;</code>
         *
         * @param value The estimatedProbability to set.
         * @return This builder for chaining.
         */
        public Builder setEstimatedProbability(double value) {

          estimatedProbability_ = value;
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * The estimated probability that a given individual sharing these
         * quasi-identifier values is in the dataset. This value, typically
         * called δ, is the ratio between the number of records in the dataset
         * with these quasi-identifier values, and the total number of individuals
         * (inside *and* outside the dataset) with these quasi-identifier values.
         * For example, if there are 15 individuals in the dataset who share the
         * same quasi-identifier values, and an estimated 100 people in the entire
         * population with these values, then δ is 0.15.
         * </pre>
         *
         * <code>double estimated_probability = 2;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearEstimatedProbability() {
          bitField0_ = (bitField0_ & ~0x00000002);
          estimatedProbability_ = 0D;
          onChanged();
          return this;
        }

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

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

        // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues)
      }

      // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues)
      private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues
          DEFAULT_INSTANCE;

      static {
        DEFAULT_INSTANCE =
            new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationQuasiIdValues();
      }

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

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

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

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

      @java.lang.Override
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
              .DeltaPresenceEstimationQuasiIdValues
          getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
    }

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

      /**
       *
       *
       * <pre>
       * Between 0 and 1.
       * </pre>
       *
       * <code>double min_probability = 1;</code>
       *
       * @return The minProbability.
       */
      double getMinProbability();

      /**
       *
       *
       * <pre>
       * Always greater than or equal to min_probability.
       * </pre>
       *
       * <code>double max_probability = 2;</code>
       *
       * @return The maxProbability.
       */
      double getMaxProbability();

      /**
       *
       *
       * <pre>
       * Number of records within these probability bounds.
       * </pre>
       *
       * <code>int64 bucket_size = 5;</code>
       *
       * @return The bucketSize.
       */
      long getBucketSize();

      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      java.util.List<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationQuasiIdValues>
          getBucketValuesList();
      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
              .DeltaPresenceEstimationQuasiIdValues
          getBucketValues(int index);
      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      int getBucketValuesCount();
      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      java.util.List<
              ? extends
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                      .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder>
          getBucketValuesOrBuilderList();
      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
              .DeltaPresenceEstimationQuasiIdValuesOrBuilder
          getBucketValuesOrBuilder(int index);

      /**
       *
       *
       * <pre>
       * Total number of distinct quasi-identifier tuple values in this bucket.
       * </pre>
       *
       * <code>int64 bucket_value_count = 7;</code>
       *
       * @return The bucketValueCount.
       */
      long getBucketValueCount();
    }
    /**
     *
     *
     * <pre>
     * A DeltaPresenceEstimationHistogramBucket message with the following
     * values:
     *   min_probability: 0.1
     *   max_probability: 0.2
     *   frequency: 42
     * means that there are 42 records for which δ is in [0.1, 0.2). An
     * important particular case is when min_probability = max_probability = 1:
     * then, every individual who shares this quasi-identifier combination is in
     * the dataset.
     * </pre>
     *
     * Protobuf type {@code
     * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket}
     */
    public static final class DeltaPresenceEstimationHistogramBucket
        extends com.google.protobuf.GeneratedMessageV3
        implements
        // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket)
        DeltaPresenceEstimationHistogramBucketOrBuilder {
      private static final long serialVersionUID = 0L;
      // Use DeltaPresenceEstimationHistogramBucket.newBuilder() to construct.
      private DeltaPresenceEstimationHistogramBucket(
          com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }

      private DeltaPresenceEstimationHistogramBucket() {
        bucketValues_ = java.util.Collections.emptyList();
      }

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

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
        return this.unknownFields;
      }

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.privacy.dlp.v2.DlpProto
            .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2.DlpProto
            .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationHistogramBucket.class,
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationHistogramBucket.Builder.class);
      }

      public static final int MIN_PROBABILITY_FIELD_NUMBER = 1;
      private double minProbability_ = 0D;
      /**
       *
       *
       * <pre>
       * Between 0 and 1.
       * </pre>
       *
       * <code>double min_probability = 1;</code>
       *
       * @return The minProbability.
       */
      @java.lang.Override
      public double getMinProbability() {
        return minProbability_;
      }

      public static final int MAX_PROBABILITY_FIELD_NUMBER = 2;
      private double maxProbability_ = 0D;
      /**
       *
       *
       * <pre>
       * Always greater than or equal to min_probability.
       * </pre>
       *
       * <code>double max_probability = 2;</code>
       *
       * @return The maxProbability.
       */
      @java.lang.Override
      public double getMaxProbability() {
        return maxProbability_;
      }

      public static final int BUCKET_SIZE_FIELD_NUMBER = 5;
      private long bucketSize_ = 0L;
      /**
       *
       *
       * <pre>
       * Number of records within these probability bounds.
       * </pre>
       *
       * <code>int64 bucket_size = 5;</code>
       *
       * @return The bucketSize.
       */
      @java.lang.Override
      public long getBucketSize() {
        return bucketSize_;
      }

      public static final int BUCKET_VALUES_FIELD_NUMBER = 6;

      @SuppressWarnings("serial")
      private java.util.List<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationQuasiIdValues>
          bucketValues_;
      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      @java.lang.Override
      public java.util.List<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationQuasiIdValues>
          getBucketValuesList() {
        return bucketValues_;
      }
      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      @java.lang.Override
      public java.util.List<
              ? extends
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                      .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder>
          getBucketValuesOrBuilderList() {
        return bucketValues_;
      }
      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      @java.lang.Override
      public int getBucketValuesCount() {
        return bucketValues_.size();
      }
      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      @java.lang.Override
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
              .DeltaPresenceEstimationQuasiIdValues
          getBucketValues(int index) {
        return bucketValues_.get(index);
      }
      /**
       *
       *
       * <pre>
       * Sample of quasi-identifier tuple values in this bucket. The total
       * number of classes returned per bucket is capped at 20.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
       * </code>
       */
      @java.lang.Override
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
              .DeltaPresenceEstimationQuasiIdValuesOrBuilder
          getBucketValuesOrBuilder(int index) {
        return bucketValues_.get(index);
      }

      public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER = 7;
      private long bucketValueCount_ = 0L;
      /**
       *
       *
       * <pre>
       * Total number of distinct quasi-identifier tuple values in this bucket.
       * </pre>
       *
       * <code>int64 bucket_value_count = 7;</code>
       *
       * @return The bucketValueCount.
       */
      @java.lang.Override
      public long getBucketValueCount() {
        return bucketValueCount_;
      }

      private byte memoizedIsInitialized = -1;

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

        memoizedIsInitialized = 1;
        return true;
      }

      @java.lang.Override
      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
        if (java.lang.Double.doubleToRawLongBits(minProbability_) != 0) {
          output.writeDouble(1, minProbability_);
        }
        if (java.lang.Double.doubleToRawLongBits(maxProbability_) != 0) {
          output.writeDouble(2, maxProbability_);
        }
        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_);
        }
        getUnknownFields().writeTo(output);
      }

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

        size = 0;
        if (java.lang.Double.doubleToRawLongBits(minProbability_) != 0) {
          size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, minProbability_);
        }
        if (java.lang.Double.doubleToRawLongBits(maxProbability_) != 0) {
          size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, maxProbability_);
        }
        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 += getUnknownFields().getSerializedSize();
        memoizedSize = size;
        return size;
      }

      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj
            instanceof
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationHistogramBucket)) {
          return super.equals(obj);
        }
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationHistogramBucket
            other =
                (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                        .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket)
                    obj;

        if (java.lang.Double.doubleToLongBits(getMinProbability())
            != java.lang.Double.doubleToLongBits(other.getMinProbability())) return false;
        if (java.lang.Double.doubleToLongBits(getMaxProbability())
            != java.lang.Double.doubleToLongBits(other.getMaxProbability())) return false;
        if (getBucketSize() != other.getBucketSize()) return false;
        if (!getBucketValuesList().equals(other.getBucketValuesList())) return false;
        if (getBucketValueCount() != other.getBucketValueCount()) return false;
        if (!getUnknownFields().equals(other.getUnknownFields())) return false;
        return true;
      }

      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        hash = (37 * hash) + MIN_PROBABILITY_FIELD_NUMBER;
        hash =
            (53 * hash)
                + com.google.protobuf.Internal.hashLong(
                    java.lang.Double.doubleToLongBits(getMinProbability()));
        hash = (37 * hash) + MAX_PROBABILITY_FIELD_NUMBER;
        hash =
            (53 * hash)
                + com.google.protobuf.Internal.hashLong(
                    java.lang.Double.doubleToLongBits(getMaxProbability()));
        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) + getUnknownFields().hashCode();
        memoizedHashCode = hash;
        return hash;
      }

      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket
          parseFrom(java.nio.ByteBuffer data)
              throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }

      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket
          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
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket
          parseFrom(com.google.protobuf.ByteString data)
              throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }

      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket
          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
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket
          parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }

      public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket
          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
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket
          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
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket
          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
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket
          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
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket
          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
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket
          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
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket
          parseFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
            PARSER, input, extensionRegistry);
      }

      @java.lang.Override
      public Builder newBuilderForType() {
        return newBuilder();
      }

      public static Builder newBuilder() {
        return DEFAULT_INSTANCE.toBuilder();
      }

      public static Builder newBuilder(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationHistogramBucket
              prototype) {
        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
      }

      @java.lang.Override
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
      }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       *
       *
       * <pre>
       * A DeltaPresenceEstimationHistogramBucket message with the following
       * values:
       *   min_probability: 0.1
       *   max_probability: 0.2
       *   frequency: 42
       * means that there are 42 records for which δ is in [0.1, 0.2). An
       * important particular case is when min_probability = max_probability = 1:
       * then, every individual who shares this quasi-identifier combination is in
       * the dataset.
       * </pre>
       *
       * Protobuf type {@code
       * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket}
       */
      public static final class Builder
          extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
          implements
          // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket)
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
              .DeltaPresenceEstimationHistogramBucketOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          return com.google.privacy.dlp.v2.DlpProto
              .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor;
        }

        @java.lang.Override
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.google.privacy.dlp.v2.DlpProto
              .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                      .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.class,
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                      .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder
                      .class);
        }

        // Construct using
        // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.newBuilder()
        private Builder() {}

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

        @java.lang.Override
        public Builder clear() {
          super.clear();
          bitField0_ = 0;
          minProbability_ = 0D;
          maxProbability_ = 0D;
          bucketSize_ = 0L;
          if (bucketValuesBuilder_ == null) {
            bucketValues_ = java.util.Collections.emptyList();
          } else {
            bucketValues_ = null;
            bucketValuesBuilder_.clear();
          }
          bitField0_ = (bitField0_ & ~0x00000008);
          bucketValueCount_ = 0L;
          return this;
        }

        @java.lang.Override
        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
          return com.google.privacy.dlp.v2.DlpProto
              .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor;
        }

        @java.lang.Override
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationHistogramBucket
            getDefaultInstanceForType() {
          return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket
              .getDefaultInstance();
        }

        @java.lang.Override
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationHistogramBucket
            build() {
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationHistogramBucket
              result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        @java.lang.Override
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationHistogramBucket
            buildPartial() {
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationHistogramBucket
              result =
                  new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                      .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket(this);
          buildPartialRepeatedFields(result);
          if (bitField0_ != 0) {
            buildPartial0(result);
          }
          onBuilt();
          return result;
        }

        private void buildPartialRepeatedFields(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationHistogramBucket
                result) {
          if (bucketValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000008) != 0)) {
              bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
              bitField0_ = (bitField0_ & ~0x00000008);
            }
            result.bucketValues_ = bucketValues_;
          } else {
            result.bucketValues_ = bucketValuesBuilder_.build();
          }
        }

        private void buildPartial0(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationHistogramBucket
                result) {
          int from_bitField0_ = bitField0_;
          if (((from_bitField0_ & 0x00000001) != 0)) {
            result.minProbability_ = minProbability_;
          }
          if (((from_bitField0_ & 0x00000002) != 0)) {
            result.maxProbability_ = maxProbability_;
          }
          if (((from_bitField0_ & 0x00000004) != 0)) {
            result.bucketSize_ = bucketSize_;
          }
          if (((from_bitField0_ & 0x00000010) != 0)) {
            result.bucketValueCount_ = bucketValueCount_;
          }
        }

        @java.lang.Override
        public Builder clone() {
          return super.clone();
        }

        @java.lang.Override
        public Builder setField(
            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
          return super.setField(field, value);
        }

        @java.lang.Override
        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
          return super.clearField(field);
        }

        @java.lang.Override
        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
          return super.clearOneof(oneof);
        }

        @java.lang.Override
        public Builder setRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            int index,
            java.lang.Object value) {
          return super.setRepeatedField(field, index, value);
        }

        @java.lang.Override
        public Builder addRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
          return super.addRepeatedField(field, value);
        }

        @java.lang.Override
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other
              instanceof
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationHistogramBucket) {
            return mergeFrom(
                (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                        .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket)
                    other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationHistogramBucket
                other) {
          if (other
              == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                  .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket
                  .getDefaultInstance()) return this;
          if (other.getMinProbability() != 0D) {
            setMinProbability(other.getMinProbability());
          }
          if (other.getMaxProbability() != 0D) {
            setMaxProbability(other.getMaxProbability());
          }
          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.getUnknownFields());
          onChanged();
          return this;
        }

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

        @java.lang.Override
        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          if (extensionRegistry == null) {
            throw new java.lang.NullPointerException();
          }
          try {
            boolean done = false;
            while (!done) {
              int tag = input.readTag();
              switch (tag) {
                case 0:
                  done = true;
                  break;
                case 9:
                  {
                    minProbability_ = input.readDouble();
                    bitField0_ |= 0x00000001;
                    break;
                  } // case 9
                case 17:
                  {
                    maxProbability_ = input.readDouble();
                    bitField0_ |= 0x00000002;
                    break;
                  } // case 17
                case 40:
                  {
                    bucketSize_ = input.readInt64();
                    bitField0_ |= 0x00000004;
                    break;
                  } // case 40
                case 50:
                  {
                    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                            .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues
                        m =
                            input.readMessage(
                                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                                    .DeltaPresenceEstimationResult
                                    .DeltaPresenceEstimationQuasiIdValues.parser(),
                                extensionRegistry);
                    if (bucketValuesBuilder_ == null) {
                      ensureBucketValuesIsMutable();
                      bucketValues_.add(m);
                    } else {
                      bucketValuesBuilder_.addMessage(m);
                    }
                    break;
                  } // case 50
                case 56:
                  {
                    bucketValueCount_ = input.readInt64();
                    bitField0_ |= 0x00000010;
                    break;
                  } // case 56
                default:
                  {
                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                      done = true; // was an endgroup tag
                    }
                    break;
                  } // default:
              } // switch (tag)
            } // while (!done)
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.unwrapIOException();
          } finally {
            onChanged();
          } // finally
          return this;
        }

        private int bitField0_;

        private double minProbability_;
        /**
         *
         *
         * <pre>
         * Between 0 and 1.
         * </pre>
         *
         * <code>double min_probability = 1;</code>
         *
         * @return The minProbability.
         */
        @java.lang.Override
        public double getMinProbability() {
          return minProbability_;
        }
        /**
         *
         *
         * <pre>
         * Between 0 and 1.
         * </pre>
         *
         * <code>double min_probability = 1;</code>
         *
         * @param value The minProbability to set.
         * @return This builder for chaining.
         */
        public Builder setMinProbability(double value) {

          minProbability_ = value;
          bitField0_ |= 0x00000001;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Between 0 and 1.
         * </pre>
         *
         * <code>double min_probability = 1;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearMinProbability() {
          bitField0_ = (bitField0_ & ~0x00000001);
          minProbability_ = 0D;
          onChanged();
          return this;
        }

        private double maxProbability_;
        /**
         *
         *
         * <pre>
         * Always greater than or equal to min_probability.
         * </pre>
         *
         * <code>double max_probability = 2;</code>
         *
         * @return The maxProbability.
         */
        @java.lang.Override
        public double getMaxProbability() {
          return maxProbability_;
        }
        /**
         *
         *
         * <pre>
         * Always greater than or equal to min_probability.
         * </pre>
         *
         * <code>double max_probability = 2;</code>
         *
         * @param value The maxProbability to set.
         * @return This builder for chaining.
         */
        public Builder setMaxProbability(double value) {

          maxProbability_ = value;
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Always greater than or equal to min_probability.
         * </pre>
         *
         * <code>double max_probability = 2;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearMaxProbability() {
          bitField0_ = (bitField0_ & ~0x00000002);
          maxProbability_ = 0D;
          onChanged();
          return this;
        }

        private long bucketSize_;
        /**
         *
         *
         * <pre>
         * Number of records within these probability bounds.
         * </pre>
         *
         * <code>int64 bucket_size = 5;</code>
         *
         * @return The bucketSize.
         */
        @java.lang.Override
        public long getBucketSize() {
          return bucketSize_;
        }
        /**
         *
         *
         * <pre>
         * Number of records within these probability bounds.
         * </pre>
         *
         * <code>int64 bucket_size = 5;</code>
         *
         * @param value The bucketSize to set.
         * @return This builder for chaining.
         */
        public Builder setBucketSize(long value) {

          bucketSize_ = value;
          bitField0_ |= 0x00000004;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Number of records within these probability bounds.
         * </pre>
         *
         * <code>int64 bucket_size = 5;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearBucketSize() {
          bitField0_ = (bitField0_ & ~0x00000004);
          bucketSize_ = 0L;
          onChanged();
          return this;
        }

        private java.util.List<
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValues>
            bucketValues_ = java.util.Collections.emptyList();

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

        private com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValues,
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValues.Builder,
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValuesOrBuilder>
            bucketValuesBuilder_;

        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public java.util.List<
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValues>
            getBucketValuesList() {
          if (bucketValuesBuilder_ == null) {
            return java.util.Collections.unmodifiableList(bucketValues_);
          } else {
            return bucketValuesBuilder_.getMessageList();
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public int getBucketValuesCount() {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.size();
          } else {
            return bucketValuesBuilder_.getCount();
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationQuasiIdValues
            getBucketValues(int index) {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.get(index);
          } else {
            return bucketValuesBuilder_.getMessage(index);
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public Builder setBucketValues(
            int index,
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValues
                value) {
          if (bucketValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureBucketValuesIsMutable();
            bucketValues_.set(index, value);
            onChanged();
          } else {
            bucketValuesBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public Builder setBucketValues(
            int index,
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValues.Builder
                builderForValue) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.set(index, builderForValue.build());
            onChanged();
          } else {
            bucketValuesBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public Builder addBucketValues(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValues
                value) {
          if (bucketValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureBucketValuesIsMutable();
            bucketValues_.add(value);
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public Builder addBucketValues(
            int index,
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValues
                value) {
          if (bucketValuesBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureBucketValuesIsMutable();
            bucketValues_.add(index, value);
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public Builder addBucketValues(
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValues.Builder
                builderForValue) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.add(builderForValue.build());
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public Builder addBucketValues(
            int index,
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValues.Builder
                builderForValue) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.add(index, builderForValue.build());
            onChanged();
          } else {
            bucketValuesBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public Builder addAllBucketValues(
            java.lang.Iterable<
                    ? extends
                        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                            .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues>
                values) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bucketValues_);
            onChanged();
          } else {
            bucketValuesBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public Builder clearBucketValues() {
          if (bucketValuesBuilder_ == null) {
            bucketValues_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000008);
            onChanged();
          } else {
            bucketValuesBuilder_.clear();
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public Builder removeBucketValues(int index) {
          if (bucketValuesBuilder_ == null) {
            ensureBucketValuesIsMutable();
            bucketValues_.remove(index);
            onChanged();
          } else {
            bucketValuesBuilder_.remove(index);
          }
          return this;
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationQuasiIdValues.Builder
            getBucketValuesBuilder(int index) {
          return getBucketValuesFieldBuilder().getBuilder(index);
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationQuasiIdValuesOrBuilder
            getBucketValuesOrBuilder(int index) {
          if (bucketValuesBuilder_ == null) {
            return bucketValues_.get(index);
          } else {
            return bucketValuesBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public java.util.List<
                ? extends
                    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                        .DeltaPresenceEstimationResult
                        .DeltaPresenceEstimationQuasiIdValuesOrBuilder>
            getBucketValuesOrBuilderList() {
          if (bucketValuesBuilder_ != null) {
            return bucketValuesBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(bucketValues_);
          }
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationQuasiIdValues.Builder
            addBucketValuesBuilder() {
          return getBucketValuesFieldBuilder()
              .addBuilder(
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                      .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues
                      .getDefaultInstance());
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationQuasiIdValues.Builder
            addBucketValuesBuilder(int index) {
          return getBucketValuesFieldBuilder()
              .addBuilder(
                  index,
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                      .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues
                      .getDefaultInstance());
        }
        /**
         *
         *
         * <pre>
         * Sample of quasi-identifier tuple values in this bucket. The total
         * number of classes returned per bucket is capped at 20.
         * </pre>
         *
         * <code>
         * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
         * </code>
         */
        public java.util.List<
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValues.Builder>
            getBucketValuesBuilderList() {
          return getBucketValuesFieldBuilder().getBuilderList();
        }

        private com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValues,
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValues.Builder,
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationQuasiIdValuesOrBuilder>
            getBucketValuesFieldBuilder() {
          if (bucketValuesBuilder_ == null) {
            bucketValuesBuilder_ =
                new com.google.protobuf.RepeatedFieldBuilderV3<
                    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                        .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues,
                    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                        .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder,
                    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                        .DeltaPresenceEstimationResult
                        .DeltaPresenceEstimationQuasiIdValuesOrBuilder>(
                    bucketValues_,
                    ((bitField0_ & 0x00000008) != 0),
                    getParentForChildren(),
                    isClean());
            bucketValues_ = null;
          }
          return bucketValuesBuilder_;
        }

        private long bucketValueCount_;
        /**
         *
         *
         * <pre>
         * Total number of distinct quasi-identifier tuple values in this bucket.
         * </pre>
         *
         * <code>int64 bucket_value_count = 7;</code>
         *
         * @return The bucketValueCount.
         */
        @java.lang.Override
        public long getBucketValueCount() {
          return bucketValueCount_;
        }
        /**
         *
         *
         * <pre>
         * Total number of distinct quasi-identifier tuple values in this bucket.
         * </pre>
         *
         * <code>int64 bucket_value_count = 7;</code>
         *
         * @param value The bucketValueCount to set.
         * @return This builder for chaining.
         */
        public Builder setBucketValueCount(long value) {

          bucketValueCount_ = value;
          bitField0_ |= 0x00000010;
          onChanged();
          return this;
        }
        /**
         *
         *
         * <pre>
         * Total number of distinct quasi-identifier tuple values in this bucket.
         * </pre>
         *
         * <code>int64 bucket_value_count = 7;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearBucketValueCount() {
          bitField0_ = (bitField0_ & ~0x00000010);
          bucketValueCount_ = 0L;
          onChanged();
          return this;
        }

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

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

        // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket)
      }

      // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket)
      private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
              .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket
          DEFAULT_INSTANCE;

      static {
        DEFAULT_INSTANCE =
            new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationHistogramBucket();
      }

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

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

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

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

      @java.lang.Override
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
              .DeltaPresenceEstimationHistogramBucket
          getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
    }

    public static final int DELTA_PRESENCE_ESTIMATION_HISTOGRAM_FIELD_NUMBER = 1;

    @SuppressWarnings("serial")
    private java.util.List<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationHistogramBucket>
        deltaPresenceEstimationHistogram_;
    /**
     *
     *
     * <pre>
     * The intervals [min_probability, max_probability) do not overlap. If a
     * value doesn't correspond to any such interval, the associated frequency
     * is zero. For example, the following records:
     *   {min_probability: 0, max_probability: 0.1, frequency: 17}
     *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
     *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
     * mean that there are no record with an estimated probability in [0.1, 0.2)
     * nor larger or equal to 0.4.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
     * </code>
     */
    @java.lang.Override
    public java.util.List<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .DeltaPresenceEstimationHistogramBucket>
        getDeltaPresenceEstimationHistogramList() {
      return deltaPresenceEstimationHistogram_;
    }
    /**
     *
     *
     * <pre>
     * The intervals [min_probability, max_probability) do not overlap. If a
     * value doesn't correspond to any such interval, the associated frequency
     * is zero. For example, the following records:
     *   {min_probability: 0, max_probability: 0.1, frequency: 17}
     *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
     *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
     * mean that there are no record with an estimated probability in [0.1, 0.2)
     * nor larger or equal to 0.4.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
     * </code>
     */
    @java.lang.Override
    public java.util.List<
            ? extends
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationHistogramBucketOrBuilder>
        getDeltaPresenceEstimationHistogramOrBuilderList() {
      return deltaPresenceEstimationHistogram_;
    }
    /**
     *
     *
     * <pre>
     * The intervals [min_probability, max_probability) do not overlap. If a
     * value doesn't correspond to any such interval, the associated frequency
     * is zero. For example, the following records:
     *   {min_probability: 0, max_probability: 0.1, frequency: 17}
     *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
     *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
     * mean that there are no record with an estimated probability in [0.1, 0.2)
     * nor larger or equal to 0.4.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
     * </code>
     */
    @java.lang.Override
    public int getDeltaPresenceEstimationHistogramCount() {
      return deltaPresenceEstimationHistogram_.size();
    }
    /**
     *
     *
     * <pre>
     * The intervals [min_probability, max_probability) do not overlap. If a
     * value doesn't correspond to any such interval, the associated frequency
     * is zero. For example, the following records:
     *   {min_probability: 0, max_probability: 0.1, frequency: 17}
     *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
     *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
     * mean that there are no record with an estimated probability in [0.1, 0.2)
     * nor larger or equal to 0.4.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
     * </code>
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
            .DeltaPresenceEstimationHistogramBucket
        getDeltaPresenceEstimationHistogram(int index) {
      return deltaPresenceEstimationHistogram_.get(index);
    }
    /**
     *
     *
     * <pre>
     * The intervals [min_probability, max_probability) do not overlap. If a
     * value doesn't correspond to any such interval, the associated frequency
     * is zero. For example, the following records:
     *   {min_probability: 0, max_probability: 0.1, frequency: 17}
     *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
     *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
     * mean that there are no record with an estimated probability in [0.1, 0.2)
     * nor larger or equal to 0.4.
     * </pre>
     *
     * <code>
     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
     * </code>
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
            .DeltaPresenceEstimationHistogramBucketOrBuilder
        getDeltaPresenceEstimationHistogramOrBuilder(int index) {
      return deltaPresenceEstimationHistogram_.get(index);
    }

    private byte memoizedIsInitialized = -1;

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      for (int i = 0; i < deltaPresenceEstimationHistogram_.size(); i++) {
        output.writeMessage(1, deltaPresenceEstimationHistogram_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < deltaPresenceEstimationHistogram_.size(); i++) {
        size +=
            com.google.protobuf.CodedOutputStream.computeMessageSize(
                1, deltaPresenceEstimationHistogram_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj
          instanceof
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult)) {
        return super.equals(obj);
      }
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult other =
          (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult)
              obj;

      if (!getDeltaPresenceEstimationHistogramList()
          .equals(other.getDeltaPresenceEstimationHistogramList())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getDeltaPresenceEstimationHistogramCount() > 0) {
        hash = (37 * hash) + DELTA_PRESENCE_ESTIMATION_HISTOGRAM_FIELD_NUMBER;
        hash = (53 * hash) + getDeltaPresenceEstimationHistogramList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
            .DeltaPresenceEstimationResult
        parseFrom(java.nio.ByteBuffer data)
            throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
            .DeltaPresenceEstimationResult
        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
            .DeltaPresenceEstimationResult
        parseFrom(com.google.protobuf.ByteString data)
            throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
            .DeltaPresenceEstimationResult
        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
            .DeltaPresenceEstimationResult
        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
            .DeltaPresenceEstimationResult
        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
            .DeltaPresenceEstimationResult
        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
            .DeltaPresenceEstimationResult
        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
            .DeltaPresenceEstimationResult
        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
            .DeltaPresenceEstimationResult
        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
            .DeltaPresenceEstimationResult
        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
            .DeltaPresenceEstimationResult
        parseFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() {
      return newBuilder();
    }

    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }

    public static Builder newBuilder(
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
            prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }

    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     *
     *
     * <pre>
     * Result of the δ-presence computation. Note that these results are an
     * estimation, not exact values.
     * </pre>
     *
     * Protobuf type {@code
     * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult}
     */
    public static final class Builder
        extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult)
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
            .DeltaPresenceEstimationResultOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.privacy.dlp.v2.DlpProto
            .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2.DlpProto
            .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .class,
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .Builder.class);
      }

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

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

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

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.privacy.dlp.v2.DlpProto
            .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor;
      }

      @java.lang.Override
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
          getDefaultInstanceForType() {
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
            .getDefaultInstance();
      }

      @java.lang.Override
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
          build() {
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
            result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
          buildPartial() {
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
            result =
                new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                    .DeltaPresenceEstimationResult(this);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
              result) {
        if (deltaPresenceEstimationHistogramBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            deltaPresenceEstimationHistogram_ =
                java.util.Collections.unmodifiableList(deltaPresenceEstimationHistogram_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.deltaPresenceEstimationHistogram_ = deltaPresenceEstimationHistogram_;
        } else {
          result.deltaPresenceEstimationHistogram_ =
              deltaPresenceEstimationHistogramBuilder_.build();
        }
      }

      private void buildPartial0(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
              result) {
        int from_bitField0_ = bitField0_;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }

      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.setField(field, value);
      }

      @java.lang.Override
      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }

      @java.lang.Override
      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }

      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index,
          java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }

      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other
            instanceof
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) {
          return mergeFrom(
              (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult)
                  other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
              other) {
        if (other
            == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .getDefaultInstance()) return this;
        if (deltaPresenceEstimationHistogramBuilder_ == null) {
          if (!other.deltaPresenceEstimationHistogram_.isEmpty()) {
            if (deltaPresenceEstimationHistogram_.isEmpty()) {
              deltaPresenceEstimationHistogram_ = other.deltaPresenceEstimationHistogram_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureDeltaPresenceEstimationHistogramIsMutable();
              deltaPresenceEstimationHistogram_.addAll(other.deltaPresenceEstimationHistogram_);
            }
            onChanged();
          }
        } else {
          if (!other.deltaPresenceEstimationHistogram_.isEmpty()) {
            if (deltaPresenceEstimationHistogramBuilder_.isEmpty()) {
              deltaPresenceEstimationHistogramBuilder_.dispose();
              deltaPresenceEstimationHistogramBuilder_ = null;
              deltaPresenceEstimationHistogram_ = other.deltaPresenceEstimationHistogram_;
              bitField0_ = (bitField0_ & ~0x00000001);
              deltaPresenceEstimationHistogramBuilder_ =
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                      ? getDeltaPresenceEstimationHistogramFieldBuilder()
                      : null;
            } else {
              deltaPresenceEstimationHistogramBuilder_.addAllMessages(
                  other.deltaPresenceEstimationHistogram_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10:
                {
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                          .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket
                      m =
                          input.readMessage(
                              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                                  .DeltaPresenceEstimationResult
                                  .DeltaPresenceEstimationHistogramBucket.parser(),
                              extensionRegistry);
                  if (deltaPresenceEstimationHistogramBuilder_ == null) {
                    ensureDeltaPresenceEstimationHistogramIsMutable();
                    deltaPresenceEstimationHistogram_.add(m);
                  } else {
                    deltaPresenceEstimationHistogramBuilder_.addMessage(m);
                  }
                  break;
                } // case 10
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private java.util.List<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationHistogramBucket>
          deltaPresenceEstimationHistogram_ = java.util.Collections.emptyList();

      private void ensureDeltaPresenceEstimationHistogramIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          deltaPresenceEstimationHistogram_ =
              new java.util.ArrayList<
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                      .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket>(
                  deltaPresenceEstimationHistogram_);
          bitField0_ |= 0x00000001;
        }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationHistogramBucket,
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationHistogramBucket.Builder,
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationHistogramBucketOrBuilder>
          deltaPresenceEstimationHistogramBuilder_;

      /**
       *
       *
       * <pre>
       * The intervals [min_probability, max_probability) do not overlap. If a
       * value doesn't correspond to any such interval, the associated frequency
       * is zero. For example, the following records:
       *   {min_probability: 0, max_probability: 0.1, frequency: 17}
       *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
       *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
       * mean that there are no record with an estimated probability in [0.1, 0.2)
       * nor larger or equal to 0.4.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
       * </code>
       */
      public java.util.List<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationHistogramBucket>
          getDeltaPresenceEstimationHistogramList() {
        if (deltaPresenceEstimationHistogramBuilder_ == null) {
          return java.util.Collections.unmodifiableList(deltaPresenceEstimationHistogram_);
        } else {
          return deltaPresenceEstimationHistogramBuilder_.getMessageList();
        }
      }
      /**
       *
       *
       * <pre>
       * The intervals [min_probability, max_probability) do not overlap. If a
       * value doesn't correspond to any such interval, the associated frequency
       * is zero. For example, the following records:
       *   {min_probability: 0, max_probability: 0.1, frequency: 17}
       *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
       *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
       * mean that there are no record with an estimated probability in [0.1, 0.2)
       * nor larger or equal to 0.4.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
       * </code>
       */
      public int getDeltaPresenceEstimationHistogramCount() {
        if (deltaPresenceEstimationHistogramBuilder_ == null) {
          return deltaPresenceEstimationHistogram_.size();
        } else {
          return deltaPresenceEstimationHistogramBuilder_.getCount();
        }
      }
      /**
       *
       *
       * <pre>
       * The intervals [min_probability, max_probability) do not overlap. If a
       * value doesn't correspond to any such interval, the associated frequency
       * is zero. For example, the following records:
       *   {min_probability: 0, max_probability: 0.1, frequency: 17}
       *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
       *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
       * mean that there are no record with an estimated probability in [0.1, 0.2)
       * nor larger or equal to 0.4.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
              .DeltaPresenceEstimationHistogramBucket
          getDeltaPresenceEstimationHistogram(int index) {
        if (deltaPresenceEstimationHistogramBuilder_ == null) {
          return deltaPresenceEstimationHistogram_.get(index);
        } else {
          return deltaPresenceEstimationHistogramBuilder_.getMessage(index);
        }
      }
      /**
       *
       *
       * <pre>
       * The intervals [min_probability, max_probability) do not overlap. If a
       * value doesn't correspond to any such interval, the associated frequency
       * is zero. For example, the following records:
       *   {min_probability: 0, max_probability: 0.1, frequency: 17}
       *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
       *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
       * mean that there are no record with an estimated probability in [0.1, 0.2)
       * nor larger or equal to 0.4.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
       * </code>
       */
      public Builder setDeltaPresenceEstimationHistogram(
          int index,
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationHistogramBucket
              value) {
        if (deltaPresenceEstimationHistogramBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDeltaPresenceEstimationHistogramIsMutable();
          deltaPresenceEstimationHistogram_.set(index, value);
          onChanged();
        } else {
          deltaPresenceEstimationHistogramBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * The intervals [min_probability, max_probability) do not overlap. If a
       * value doesn't correspond to any such interval, the associated frequency
       * is zero. For example, the following records:
       *   {min_probability: 0, max_probability: 0.1, frequency: 17}
       *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
       *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
       * mean that there are no record with an estimated probability in [0.1, 0.2)
       * nor larger or equal to 0.4.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
       * </code>
       */
      public Builder setDeltaPresenceEstimationHistogram(
          int index,
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationHistogramBucket.Builder
              builderForValue) {
        if (deltaPresenceEstimationHistogramBuilder_ == null) {
          ensureDeltaPresenceEstimationHistogramIsMutable();
          deltaPresenceEstimationHistogram_.set(index, builderForValue.build());
          onChanged();
        } else {
          deltaPresenceEstimationHistogramBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * The intervals [min_probability, max_probability) do not overlap. If a
       * value doesn't correspond to any such interval, the associated frequency
       * is zero. For example, the following records:
       *   {min_probability: 0, max_probability: 0.1, frequency: 17}
       *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
       *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
       * mean that there are no record with an estimated probability in [0.1, 0.2)
       * nor larger or equal to 0.4.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
       * </code>
       */
      public Builder addDeltaPresenceEstimationHistogram(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationHistogramBucket
              value) {
        if (deltaPresenceEstimationHistogramBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDeltaPresenceEstimationHistogramIsMutable();
          deltaPresenceEstimationHistogram_.add(value);
          onChanged();
        } else {
          deltaPresenceEstimationHistogramBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * The intervals [min_probability, max_probability) do not overlap. If a
       * value doesn't correspond to any such interval, the associated frequency
       * is zero. For example, the following records:
       *   {min_probability: 0, max_probability: 0.1, frequency: 17}
       *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
       *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
       * mean that there are no record with an estimated probability in [0.1, 0.2)
       * nor larger or equal to 0.4.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
       * </code>
       */
      public Builder addDeltaPresenceEstimationHistogram(
          int index,
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationHistogramBucket
              value) {
        if (deltaPresenceEstimationHistogramBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDeltaPresenceEstimationHistogramIsMutable();
          deltaPresenceEstimationHistogram_.add(index, value);
          onChanged();
        } else {
          deltaPresenceEstimationHistogramBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * The intervals [min_probability, max_probability) do not overlap. If a
       * value doesn't correspond to any such interval, the associated frequency
       * is zero. For example, the following records:
       *   {min_probability: 0, max_probability: 0.1, frequency: 17}
       *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
       *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
       * mean that there are no record with an estimated probability in [0.1, 0.2)
       * nor larger or equal to 0.4.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
       * </code>
       */
      public Builder addDeltaPresenceEstimationHistogram(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationHistogramBucket.Builder
              builderForValue) {
        if (deltaPresenceEstimationHistogramBuilder_ == null) {
          ensureDeltaPresenceEstimationHistogramIsMutable();
          deltaPresenceEstimationHistogram_.add(builderForValue.build());
          onChanged();
        } else {
          deltaPresenceEstimationHistogramBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * The intervals [min_probability, max_probability) do not overlap. If a
       * value doesn't correspond to any such interval, the associated frequency
       * is zero. For example, the following records:
       *   {min_probability: 0, max_probability: 0.1, frequency: 17}
       *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
       *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
       * mean that there are no record with an estimated probability in [0.1, 0.2)
       * nor larger or equal to 0.4.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
       * </code>
       */
      public Builder addDeltaPresenceEstimationHistogram(
          int index,
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationHistogramBucket.Builder
              builderForValue) {
        if (deltaPresenceEstimationHistogramBuilder_ == null) {
          ensureDeltaPresenceEstimationHistogramIsMutable();
          deltaPresenceEstimationHistogram_.add(index, builderForValue.build());
          onChanged();
        } else {
          deltaPresenceEstimationHistogramBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * The intervals [min_probability, max_probability) do not overlap. If a
       * value doesn't correspond to any such interval, the associated frequency
       * is zero. For example, the following records:
       *   {min_probability: 0, max_probability: 0.1, frequency: 17}
       *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
       *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
       * mean that there are no record with an estimated probability in [0.1, 0.2)
       * nor larger or equal to 0.4.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
       * </code>
       */
      public Builder addAllDeltaPresenceEstimationHistogram(
          java.lang.Iterable<
                  ? extends
                      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                          .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket>
              values) {
        if (deltaPresenceEstimationHistogramBuilder_ == null) {
          ensureDeltaPresenceEstimationHistogramIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, deltaPresenceEstimationHistogram_);
          onChanged();
        } else {
          deltaPresenceEstimationHistogramBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * The intervals [min_probability, max_probability) do not overlap. If a
       * value doesn't correspond to any such interval, the associated frequency
       * is zero. For example, the following records:
       *   {min_probability: 0, max_probability: 0.1, frequency: 17}
       *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
       *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
       * mean that there are no record with an estimated probability in [0.1, 0.2)
       * nor larger or equal to 0.4.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
       * </code>
       */
      public Builder clearDeltaPresenceEstimationHistogram() {
        if (deltaPresenceEstimationHistogramBuilder_ == null) {
          deltaPresenceEstimationHistogram_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          deltaPresenceEstimationHistogramBuilder_.clear();
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * The intervals [min_probability, max_probability) do not overlap. If a
       * value doesn't correspond to any such interval, the associated frequency
       * is zero. For example, the following records:
       *   {min_probability: 0, max_probability: 0.1, frequency: 17}
       *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
       *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
       * mean that there are no record with an estimated probability in [0.1, 0.2)
       * nor larger or equal to 0.4.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
       * </code>
       */
      public Builder removeDeltaPresenceEstimationHistogram(int index) {
        if (deltaPresenceEstimationHistogramBuilder_ == null) {
          ensureDeltaPresenceEstimationHistogramIsMutable();
          deltaPresenceEstimationHistogram_.remove(index);
          onChanged();
        } else {
          deltaPresenceEstimationHistogramBuilder_.remove(index);
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * The intervals [min_probability, max_probability) do not overlap. If a
       * value doesn't correspond to any such interval, the associated frequency
       * is zero. For example, the following records:
       *   {min_probability: 0, max_probability: 0.1, frequency: 17}
       *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
       *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
       * mean that there are no record with an estimated probability in [0.1, 0.2)
       * nor larger or equal to 0.4.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
              .DeltaPresenceEstimationHistogramBucket.Builder
          getDeltaPresenceEstimationHistogramBuilder(int index) {
        return getDeltaPresenceEstimationHistogramFieldBuilder().getBuilder(index);
      }
      /**
       *
       *
       * <pre>
       * The intervals [min_probability, max_probability) do not overlap. If a
       * value doesn't correspond to any such interval, the associated frequency
       * is zero. For example, the following records:
       *   {min_probability: 0, max_probability: 0.1, frequency: 17}
       *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
       *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
       * mean that there are no record with an estimated probability in [0.1, 0.2)
       * nor larger or equal to 0.4.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
              .DeltaPresenceEstimationHistogramBucketOrBuilder
          getDeltaPresenceEstimationHistogramOrBuilder(int index) {
        if (deltaPresenceEstimationHistogramBuilder_ == null) {
          return deltaPresenceEstimationHistogram_.get(index);
        } else {
          return deltaPresenceEstimationHistogramBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       *
       *
       * <pre>
       * The intervals [min_probability, max_probability) do not overlap. If a
       * value doesn't correspond to any such interval, the associated frequency
       * is zero. For example, the following records:
       *   {min_probability: 0, max_probability: 0.1, frequency: 17}
       *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
       *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
       * mean that there are no record with an estimated probability in [0.1, 0.2)
       * nor larger or equal to 0.4.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
       * </code>
       */
      public java.util.List<
              ? extends
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                      .DeltaPresenceEstimationResult
                      .DeltaPresenceEstimationHistogramBucketOrBuilder>
          getDeltaPresenceEstimationHistogramOrBuilderList() {
        if (deltaPresenceEstimationHistogramBuilder_ != null) {
          return deltaPresenceEstimationHistogramBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(deltaPresenceEstimationHistogram_);
        }
      }
      /**
       *
       *
       * <pre>
       * The intervals [min_probability, max_probability) do not overlap. If a
       * value doesn't correspond to any such interval, the associated frequency
       * is zero. For example, the following records:
       *   {min_probability: 0, max_probability: 0.1, frequency: 17}
       *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
       *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
       * mean that there are no record with an estimated probability in [0.1, 0.2)
       * nor larger or equal to 0.4.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
              .DeltaPresenceEstimationHistogramBucket.Builder
          addDeltaPresenceEstimationHistogramBuilder() {
        return getDeltaPresenceEstimationHistogramFieldBuilder()
            .addBuilder(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationHistogramBucket.getDefaultInstance());
      }
      /**
       *
       *
       * <pre>
       * The intervals [min_probability, max_probability) do not overlap. If a
       * value doesn't correspond to any such interval, the associated frequency
       * is zero. For example, the following records:
       *   {min_probability: 0, max_probability: 0.1, frequency: 17}
       *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
       *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
       * mean that there are no record with an estimated probability in [0.1, 0.2)
       * nor larger or equal to 0.4.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
       * </code>
       */
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
              .DeltaPresenceEstimationHistogramBucket.Builder
          addDeltaPresenceEstimationHistogramBuilder(int index) {
        return getDeltaPresenceEstimationHistogramFieldBuilder()
            .addBuilder(
                index,
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .DeltaPresenceEstimationHistogramBucket.getDefaultInstance());
      }
      /**
       *
       *
       * <pre>
       * The intervals [min_probability, max_probability) do not overlap. If a
       * value doesn't correspond to any such interval, the associated frequency
       * is zero. For example, the following records:
       *   {min_probability: 0, max_probability: 0.1, frequency: 17}
       *   {min_probability: 0.2, max_probability: 0.3, frequency: 42}
       *   {min_probability: 0.3, max_probability: 0.4, frequency: 99}
       * mean that there are no record with an estimated probability in [0.1, 0.2)
       * nor larger or equal to 0.4.
       * </pre>
       *
       * <code>
       * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
       * </code>
       */
      public java.util.List<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationHistogramBucket.Builder>
          getDeltaPresenceEstimationHistogramBuilderList() {
        return getDeltaPresenceEstimationHistogramFieldBuilder().getBuilderList();
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationHistogramBucket,
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationHistogramBucket.Builder,
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .DeltaPresenceEstimationHistogramBucketOrBuilder>
          getDeltaPresenceEstimationHistogramFieldBuilder() {
        if (deltaPresenceEstimationHistogramBuilder_ == null) {
          deltaPresenceEstimationHistogramBuilder_ =
              new com.google.protobuf.RepeatedFieldBuilderV3<
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                      .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket,
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                      .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder,
                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                      .DeltaPresenceEstimationResult
                      .DeltaPresenceEstimationHistogramBucketOrBuilder>(
                  deltaPresenceEstimationHistogram_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          deltaPresenceEstimationHistogram_ = null;
        }
        return deltaPresenceEstimationHistogramBuilder_;
      }

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

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

      // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult)
    }

    // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult)
    private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
            .DeltaPresenceEstimationResult
        DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE =
          new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
              .DeltaPresenceEstimationResult();
    }

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

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

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

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

    @java.lang.Override
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
        getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

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

    /**
     *
     *
     * <pre>
     * The job config for the risk job.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1;</code>
     *
     * @return Whether the jobConfig field is set.
     */
    boolean hasJobConfig();
    /**
     *
     *
     * <pre>
     * The job config for the risk job.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1;</code>
     *
     * @return The jobConfig.
     */
    com.google.privacy.dlp.v2.RiskAnalysisJobConfig getJobConfig();
    /**
     *
     *
     * <pre>
     * The job config for the risk job.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1;</code>
     */
    com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getJobConfigOrBuilder();
  }
  /**
   *
   *
   * <pre>
   * Risk analysis options.
   * </pre>
   *
   * Protobuf type {@code
   * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions}
   */
  public static final class RequestedRiskAnalysisOptions
      extends com.google.protobuf.GeneratedMessageV3
      implements
      // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions)
      RequestedRiskAnalysisOptionsOrBuilder {
    private static final long serialVersionUID = 0L;
    // Use RequestedRiskAnalysisOptions.newBuilder() to construct.
    private RequestedRiskAnalysisOptions(
        com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }

    private RequestedRiskAnalysisOptions() {}

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.privacy.dlp.v2.DlpProto
          .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.privacy.dlp.v2.DlpProto
          .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
                  .class,
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
                  .Builder.class);
    }

    public static final int JOB_CONFIG_FIELD_NUMBER = 1;
    private com.google.privacy.dlp.v2.RiskAnalysisJobConfig jobConfig_;
    /**
     *
     *
     * <pre>
     * The job config for the risk job.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1;</code>
     *
     * @return Whether the jobConfig field is set.
     */
    @java.lang.Override
    public boolean hasJobConfig() {
      return jobConfig_ != null;
    }
    /**
     *
     *
     * <pre>
     * The job config for the risk job.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1;</code>
     *
     * @return The jobConfig.
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getJobConfig() {
      return jobConfig_ == null
          ? com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance()
          : jobConfig_;
    }
    /**
     *
     *
     * <pre>
     * The job config for the risk job.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1;</code>
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getJobConfigOrBuilder() {
      return jobConfig_ == null
          ? com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance()
          : jobConfig_;
    }

    private byte memoizedIsInitialized = -1;

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (jobConfig_ != null) {
        output.writeMessage(1, getJobConfig());
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (jobConfig_ != null) {
        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJobConfig());
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj
          instanceof
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions)) {
        return super.equals(obj);
      }
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions other =
          (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) obj;

      if (hasJobConfig() != other.hasJobConfig()) return false;
      if (hasJobConfig()) {
        if (!getJobConfig().equals(other.getJobConfig())) return false;
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasJobConfig()) {
        hash = (37 * hash) + JOB_CONFIG_FIELD_NUMBER;
        hash = (53 * hash) + getJobConfig().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
            .RequestedRiskAnalysisOptions
        parseFrom(java.nio.ByteBuffer data)
            throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
            .RequestedRiskAnalysisOptions
        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
            .RequestedRiskAnalysisOptions
        parseFrom(com.google.protobuf.ByteString data)
            throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
            .RequestedRiskAnalysisOptions
        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
            .RequestedRiskAnalysisOptions
        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
            .RequestedRiskAnalysisOptions
        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
            .RequestedRiskAnalysisOptions
        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
            .RequestedRiskAnalysisOptions
        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
            .RequestedRiskAnalysisOptions
        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
            .RequestedRiskAnalysisOptions
        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
            .RequestedRiskAnalysisOptions
        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
            .RequestedRiskAnalysisOptions
        parseFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() {
      return newBuilder();
    }

    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }

    public static Builder newBuilder(
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
            prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }

    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     *
     *
     * <pre>
     * Risk analysis options.
     * </pre>
     *
     * Protobuf type {@code
     * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions}
     */
    public static final class Builder
        extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions)
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
            .RequestedRiskAnalysisOptionsOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.privacy.dlp.v2.DlpProto
            .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2.DlpProto
            .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
                    .class,
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
                    .Builder.class);
      }

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

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

      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        jobConfig_ = null;
        if (jobConfigBuilder_ != null) {
          jobConfigBuilder_.dispose();
          jobConfigBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.privacy.dlp.v2.DlpProto
            .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor;
      }

      @java.lang.Override
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
          getDefaultInstanceForType() {
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
            .getDefaultInstance();
      }

      @java.lang.Override
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
          build() {
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions result =
            buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
          buildPartial() {
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions result =
            new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions(
                this);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartial0(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
              result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.jobConfig_ = jobConfigBuilder_ == null ? jobConfig_ : jobConfigBuilder_.build();
        }
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }

      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.setField(field, value);
      }

      @java.lang.Override
      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }

      @java.lang.Override
      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }

      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index,
          java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }

      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other
            instanceof
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) {
          return mergeFrom(
              (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions)
                  other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(
          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
              other) {
        if (other
            == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
                .getDefaultInstance()) return this;
        if (other.hasJobConfig()) {
          mergeJobConfig(other.getJobConfig());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10:
                {
                  input.readMessage(getJobConfigFieldBuilder().getBuilder(), extensionRegistry);
                  bitField0_ |= 0x00000001;
                  break;
                } // case 10
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private com.google.privacy.dlp.v2.RiskAnalysisJobConfig jobConfig_;
      private com.google.protobuf.SingleFieldBuilderV3<
              com.google.privacy.dlp.v2.RiskAnalysisJobConfig,
              com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder,
              com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder>
          jobConfigBuilder_;
      /**
       *
       *
       * <pre>
       * The job config for the risk job.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1;</code>
       *
       * @return Whether the jobConfig field is set.
       */
      public boolean hasJobConfig() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       *
       *
       * <pre>
       * The job config for the risk job.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1;</code>
       *
       * @return The jobConfig.
       */
      public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getJobConfig() {
        if (jobConfigBuilder_ == null) {
          return jobConfig_ == null
              ? com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance()
              : jobConfig_;
        } else {
          return jobConfigBuilder_.getMessage();
        }
      }
      /**
       *
       *
       * <pre>
       * The job config for the risk job.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1;</code>
       */
      public Builder setJobConfig(com.google.privacy.dlp.v2.RiskAnalysisJobConfig value) {
        if (jobConfigBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          jobConfig_ = value;
        } else {
          jobConfigBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The job config for the risk job.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1;</code>
       */
      public Builder setJobConfig(
          com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder builderForValue) {
        if (jobConfigBuilder_ == null) {
          jobConfig_ = builderForValue.build();
        } else {
          jobConfigBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The job config for the risk job.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1;</code>
       */
      public Builder mergeJobConfig(com.google.privacy.dlp.v2.RiskAnalysisJobConfig value) {
        if (jobConfigBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)
              && jobConfig_ != null
              && jobConfig_
                  != com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance()) {
            getJobConfigBuilder().mergeFrom(value);
          } else {
            jobConfig_ = value;
          }
        } else {
          jobConfigBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The job config for the risk job.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1;</code>
       */
      public Builder clearJobConfig() {
        bitField0_ = (bitField0_ & ~0x00000001);
        jobConfig_ = null;
        if (jobConfigBuilder_ != null) {
          jobConfigBuilder_.dispose();
          jobConfigBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The job config for the risk job.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1;</code>
       */
      public com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder getJobConfigBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getJobConfigFieldBuilder().getBuilder();
      }
      /**
       *
       *
       * <pre>
       * The job config for the risk job.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1;</code>
       */
      public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getJobConfigOrBuilder() {
        if (jobConfigBuilder_ != null) {
          return jobConfigBuilder_.getMessageOrBuilder();
        } else {
          return jobConfig_ == null
              ? com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance()
              : jobConfig_;
        }
      }
      /**
       *
       *
       * <pre>
       * The job config for the risk job.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
              com.google.privacy.dlp.v2.RiskAnalysisJobConfig,
              com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder,
              com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder>
          getJobConfigFieldBuilder() {
        if (jobConfigBuilder_ == null) {
          jobConfigBuilder_ =
              new com.google.protobuf.SingleFieldBuilderV3<
                  com.google.privacy.dlp.v2.RiskAnalysisJobConfig,
                  com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder,
                  com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder>(
                  getJobConfig(), getParentForChildren(), isClean());
          jobConfig_ = null;
        }
        return jobConfigBuilder_;
      }

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

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

      // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions)
    }

    // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions)
    private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
            .RequestedRiskAnalysisOptions
        DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE =
          new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions();
    }

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

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

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

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

    @java.lang.Override
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
        getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  private int resultCase_ = 0;
  private java.lang.Object result_;

  public enum ResultCase
      implements
          com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    NUMERICAL_STATS_RESULT(3),
    CATEGORICAL_STATS_RESULT(4),
    K_ANONYMITY_RESULT(5),
    L_DIVERSITY_RESULT(6),
    K_MAP_ESTIMATION_RESULT(7),
    DELTA_PRESENCE_ESTIMATION_RESULT(9),
    RESULT_NOT_SET(0);
    private final int value;

    private ResultCase(int value) {
      this.value = value;
    }
    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @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 9:
          return DELTA_PRESENCE_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_;
  /**
   *
   *
   * <pre>
   * Privacy metric to compute.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;</code>
   *
   * @return Whether the requestedPrivacyMetric field is set.
   */
  @java.lang.Override
  public boolean hasRequestedPrivacyMetric() {
    return requestedPrivacyMetric_ != null;
  }
  /**
   *
   *
   * <pre>
   * Privacy metric to compute.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;</code>
   *
   * @return The requestedPrivacyMetric.
   */
  @java.lang.Override
  public com.google.privacy.dlp.v2.PrivacyMetric getRequestedPrivacyMetric() {
    return requestedPrivacyMetric_ == null
        ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance()
        : requestedPrivacyMetric_;
  }
  /**
   *
   *
   * <pre>
   * Privacy metric to compute.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;</code>
   */
  @java.lang.Override
  public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getRequestedPrivacyMetricOrBuilder() {
    return requestedPrivacyMetric_ == null
        ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance()
        : requestedPrivacyMetric_;
  }

  public static final int REQUESTED_SOURCE_TABLE_FIELD_NUMBER = 2;
  private com.google.privacy.dlp.v2.BigQueryTable requestedSourceTable_;
  /**
   *
   *
   * <pre>
   * Input dataset to compute metrics over.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;</code>
   *
   * @return Whether the requestedSourceTable field is set.
   */
  @java.lang.Override
  public boolean hasRequestedSourceTable() {
    return requestedSourceTable_ != null;
  }
  /**
   *
   *
   * <pre>
   * Input dataset to compute metrics over.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;</code>
   *
   * @return The requestedSourceTable.
   */
  @java.lang.Override
  public com.google.privacy.dlp.v2.BigQueryTable getRequestedSourceTable() {
    return requestedSourceTable_ == null
        ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance()
        : requestedSourceTable_;
  }
  /**
   *
   *
   * <pre>
   * Input dataset to compute metrics over.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;</code>
   */
  @java.lang.Override
  public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getRequestedSourceTableOrBuilder() {
    return requestedSourceTable_ == null
        ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance()
        : requestedSourceTable_;
  }

  public static final int NUMERICAL_STATS_RESULT_FIELD_NUMBER = 3;
  /**
   *
   *
   * <pre>
   * Numerical stats result
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
   * </code>
   *
   * @return Whether the numericalStatsResult field is set.
   */
  @java.lang.Override
  public boolean hasNumericalStatsResult() {
    return resultCase_ == 3;
  }
  /**
   *
   *
   * <pre>
   * Numerical stats result
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
   * </code>
   *
   * @return The numericalStatsResult.
   */
  @java.lang.Override
  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();
  }
  /**
   *
   *
   * <pre>
   * Numerical stats result
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
   * </code>
   */
  @java.lang.Override
  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;
  /**
   *
   *
   * <pre>
   * Categorical stats result
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
   * </code>
   *
   * @return Whether the categoricalStatsResult field is set.
   */
  @java.lang.Override
  public boolean hasCategoricalStatsResult() {
    return resultCase_ == 4;
  }
  /**
   *
   *
   * <pre>
   * Categorical stats result
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
   * </code>
   *
   * @return The categoricalStatsResult.
   */
  @java.lang.Override
  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();
  }
  /**
   *
   *
   * <pre>
   * Categorical stats result
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
   * </code>
   */
  @java.lang.Override
  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;
  /**
   *
   *
   * <pre>
   * K-anonymity result
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
   * </code>
   *
   * @return Whether the kAnonymityResult field is set.
   */
  @java.lang.Override
  public boolean hasKAnonymityResult() {
    return resultCase_ == 5;
  }
  /**
   *
   *
   * <pre>
   * K-anonymity result
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
   * </code>
   *
   * @return The kAnonymityResult.
   */
  @java.lang.Override
  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();
  }
  /**
   *
   *
   * <pre>
   * K-anonymity result
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
   * </code>
   */
  @java.lang.Override
  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;
  /**
   *
   *
   * <pre>
   * L-divesity result
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
   * </code>
   *
   * @return Whether the lDiversityResult field is set.
   */
  @java.lang.Override
  public boolean hasLDiversityResult() {
    return resultCase_ == 6;
  }
  /**
   *
   *
   * <pre>
   * L-divesity result
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
   * </code>
   *
   * @return The lDiversityResult.
   */
  @java.lang.Override
  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();
  }
  /**
   *
   *
   * <pre>
   * L-divesity result
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
   * </code>
   */
  @java.lang.Override
  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;
  /**
   *
   *
   * <pre>
   * K-map result
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
   * </code>
   *
   * @return Whether the kMapEstimationResult field is set.
   */
  @java.lang.Override
  public boolean hasKMapEstimationResult() {
    return resultCase_ == 7;
  }
  /**
   *
   *
   * <pre>
   * K-map result
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
   * </code>
   *
   * @return The kMapEstimationResult.
   */
  @java.lang.Override
  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();
  }
  /**
   *
   *
   * <pre>
   * K-map result
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
   * </code>
   */
  @java.lang.Override
  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();
  }

  public static final int DELTA_PRESENCE_ESTIMATION_RESULT_FIELD_NUMBER = 9;
  /**
   *
   *
   * <pre>
   * Delta-presence result
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9;
   * </code>
   *
   * @return Whether the deltaPresenceEstimationResult field is set.
   */
  @java.lang.Override
  public boolean hasDeltaPresenceEstimationResult() {
    return resultCase_ == 9;
  }
  /**
   *
   *
   * <pre>
   * Delta-presence result
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9;
   * </code>
   *
   * @return The deltaPresenceEstimationResult.
   */
  @java.lang.Override
  public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
      getDeltaPresenceEstimationResult() {
    if (resultCase_ == 9) {
      return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult)
          result_;
    }
    return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
        .getDefaultInstance();
  }
  /**
   *
   *
   * <pre>
   * Delta-presence result
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9;
   * </code>
   */
  @java.lang.Override
  public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
          .DeltaPresenceEstimationResultOrBuilder
      getDeltaPresenceEstimationResultOrBuilder() {
    if (resultCase_ == 9) {
      return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult)
          result_;
    }
    return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
        .getDefaultInstance();
  }

  public static final int REQUESTED_OPTIONS_FIELD_NUMBER = 10;
  private com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
      requestedOptions_;
  /**
   *
   *
   * <pre>
   * The configuration used for this job.
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10;
   * </code>
   *
   * @return Whether the requestedOptions field is set.
   */
  @java.lang.Override
  public boolean hasRequestedOptions() {
    return requestedOptions_ != null;
  }
  /**
   *
   *
   * <pre>
   * The configuration used for this job.
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10;
   * </code>
   *
   * @return The requestedOptions.
   */
  @java.lang.Override
  public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
      getRequestedOptions() {
    return requestedOptions_ == null
        ? com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
            .getDefaultInstance()
        : requestedOptions_;
  }
  /**
   *
   *
   * <pre>
   * The configuration used for this job.
   * </pre>
   *
   * <code>
   * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10;
   * </code>
   */
  @java.lang.Override
  public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
          .RequestedRiskAnalysisOptionsOrBuilder
      getRequestedOptionsOrBuilder() {
    return requestedOptions_ == null
        ? com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
            .getDefaultInstance()
        : requestedOptions_;
  }

  private byte memoizedIsInitialized = -1;

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (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_);
    }
    if (resultCase_ == 9) {
      output.writeMessage(
          9,
          (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult)
              result_);
    }
    if (requestedOptions_ != null) {
      output.writeMessage(10, getRequestedOptions());
    }
    getUnknownFields().writeTo(output);
  }

  @java.lang.Override
  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_);
    }
    if (resultCase_ == 9) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              9,
              (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult)
                  result_);
    }
    if (requestedOptions_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getRequestedOptions());
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails)) {
      return super.equals(obj);
    }
    com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails other =
        (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) obj;

    if (hasRequestedPrivacyMetric() != other.hasRequestedPrivacyMetric()) return false;
    if (hasRequestedPrivacyMetric()) {
      if (!getRequestedPrivacyMetric().equals(other.getRequestedPrivacyMetric())) return false;
    }
    if (hasRequestedSourceTable() != other.hasRequestedSourceTable()) return false;
    if (hasRequestedSourceTable()) {
      if (!getRequestedSourceTable().equals(other.getRequestedSourceTable())) return false;
    }
    if (hasRequestedOptions() != other.hasRequestedOptions()) return false;
    if (hasRequestedOptions()) {
      if (!getRequestedOptions().equals(other.getRequestedOptions())) return false;
    }
    if (!getResultCase().equals(other.getResultCase())) return false;
    switch (resultCase_) {
      case 3:
        if (!getNumericalStatsResult().equals(other.getNumericalStatsResult())) return false;
        break;
      case 4:
        if (!getCategoricalStatsResult().equals(other.getCategoricalStatsResult())) return false;
        break;
      case 5:
        if (!getKAnonymityResult().equals(other.getKAnonymityResult())) return false;
        break;
      case 6:
        if (!getLDiversityResult().equals(other.getLDiversityResult())) return false;
        break;
      case 7:
        if (!getKMapEstimationResult().equals(other.getKMapEstimationResult())) return false;
        break;
      case 9:
        if (!getDeltaPresenceEstimationResult().equals(other.getDeltaPresenceEstimationResult()))
          return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (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();
    }
    if (hasRequestedOptions()) {
      hash = (37 * hash) + REQUESTED_OPTIONS_FIELD_NUMBER;
      hash = (53 * hash) + getRequestedOptions().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 9:
        hash = (37 * hash) + DELTA_PRESENCE_ESTIMATION_RESULT_FIELD_NUMBER;
        hash = (53 * hash) + getDeltaPresenceEstimationResult().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + getUnknownFields().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);
  }

  @java.lang.Override
  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);
  }

  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   *
   *
   * <pre>
   * Result of a risk analysis operation request.
   * </pre>
   *
   * 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;
    }

    @java.lang.Override
    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() {}

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

    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      requestedPrivacyMetric_ = null;
      if (requestedPrivacyMetricBuilder_ != null) {
        requestedPrivacyMetricBuilder_.dispose();
        requestedPrivacyMetricBuilder_ = null;
      }
      requestedSourceTable_ = null;
      if (requestedSourceTableBuilder_ != null) {
        requestedSourceTableBuilder_.dispose();
        requestedSourceTableBuilder_ = null;
      }
      if (numericalStatsResultBuilder_ != null) {
        numericalStatsResultBuilder_.clear();
      }
      if (categoricalStatsResultBuilder_ != null) {
        categoricalStatsResultBuilder_.clear();
      }
      if (kAnonymityResultBuilder_ != null) {
        kAnonymityResultBuilder_.clear();
      }
      if (lDiversityResultBuilder_ != null) {
        lDiversityResultBuilder_.clear();
      }
      if (kMapEstimationResultBuilder_ != null) {
        kMapEstimationResultBuilder_.clear();
      }
      if (deltaPresenceEstimationResultBuilder_ != null) {
        deltaPresenceEstimationResultBuilder_.clear();
      }
      requestedOptions_ = null;
      if (requestedOptionsBuilder_ != null) {
        requestedOptionsBuilder_.dispose();
        requestedOptionsBuilder_ = null;
      }
      resultCase_ = 0;
      result_ = null;
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
      return com.google.privacy.dlp.v2.DlpProto
          .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor;
    }

    @java.lang.Override
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getDefaultInstanceForType() {
      return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.getDefaultInstance();
    }

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

    @java.lang.Override
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails buildPartial() {
      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails result =
          new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails(this);
      if (bitField0_ != 0) {
        buildPartial0(result);
      }
      buildPartialOneofs(result);
      onBuilt();
      return result;
    }

    private void buildPartial0(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.requestedPrivacyMetric_ =
            requestedPrivacyMetricBuilder_ == null
                ? requestedPrivacyMetric_
                : requestedPrivacyMetricBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.requestedSourceTable_ =
            requestedSourceTableBuilder_ == null
                ? requestedSourceTable_
                : requestedSourceTableBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000100) != 0)) {
        result.requestedOptions_ =
            requestedOptionsBuilder_ == null ? requestedOptions_ : requestedOptionsBuilder_.build();
      }
    }

    private void buildPartialOneofs(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails result) {
      result.resultCase_ = resultCase_;
      result.result_ = this.result_;
      if (resultCase_ == 3 && numericalStatsResultBuilder_ != null) {
        result.result_ = numericalStatsResultBuilder_.build();
      }
      if (resultCase_ == 4 && categoricalStatsResultBuilder_ != null) {
        result.result_ = categoricalStatsResultBuilder_.build();
      }
      if (resultCase_ == 5 && kAnonymityResultBuilder_ != null) {
        result.result_ = kAnonymityResultBuilder_.build();
      }
      if (resultCase_ == 6 && lDiversityResultBuilder_ != null) {
        result.result_ = lDiversityResultBuilder_.build();
      }
      if (resultCase_ == 7 && kMapEstimationResultBuilder_ != null) {
        result.result_ = kMapEstimationResultBuilder_.build();
      }
      if (resultCase_ == 9 && deltaPresenceEstimationResultBuilder_ != null) {
        result.result_ = deltaPresenceEstimationResultBuilder_.build();
      }
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }

    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
      return super.setField(field, value);
    }

    @java.lang.Override
    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }

    @java.lang.Override
    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }

    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }

    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }

    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.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());
      }
      if (other.hasRequestedOptions()) {
        mergeRequestedOptions(other.getRequestedOptions());
      }
      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 DELTA_PRESENCE_ESTIMATION_RESULT:
          {
            mergeDeltaPresenceEstimationResult(other.getDeltaPresenceEstimationResult());
            break;
          }
        case RESULT_NOT_SET:
          {
            break;
          }
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }

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

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10:
              {
                input.readMessage(
                    getRequestedPrivacyMetricFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000001;
                break;
              } // case 10
            case 18:
              {
                input.readMessage(
                    getRequestedSourceTableFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000002;
                break;
              } // case 18
            case 26:
              {
                input.readMessage(
                    getNumericalStatsResultFieldBuilder().getBuilder(), extensionRegistry);
                resultCase_ = 3;
                break;
              } // case 26
            case 34:
              {
                input.readMessage(
                    getCategoricalStatsResultFieldBuilder().getBuilder(), extensionRegistry);
                resultCase_ = 4;
                break;
              } // case 34
            case 42:
              {
                input.readMessage(
                    getKAnonymityResultFieldBuilder().getBuilder(), extensionRegistry);
                resultCase_ = 5;
                break;
              } // case 42
            case 50:
              {
                input.readMessage(
                    getLDiversityResultFieldBuilder().getBuilder(), extensionRegistry);
                resultCase_ = 6;
                break;
              } // case 50
            case 58:
              {
                input.readMessage(
                    getKMapEstimationResultFieldBuilder().getBuilder(), extensionRegistry);
                resultCase_ = 7;
                break;
              } // case 58
            case 74:
              {
                input.readMessage(
                    getDeltaPresenceEstimationResultFieldBuilder().getBuilder(), extensionRegistry);
                resultCase_ = 9;
                break;
              } // case 74
            case 82:
              {
                input.readMessage(
                    getRequestedOptionsFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000100;
                break;
              } // case 82
            default:
              {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }

    private int 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 int bitField0_;

    private com.google.privacy.dlp.v2.PrivacyMetric requestedPrivacyMetric_;
    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_;
    /**
     *
     *
     * <pre>
     * Privacy metric to compute.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;</code>
     *
     * @return Whether the requestedPrivacyMetric field is set.
     */
    public boolean hasRequestedPrivacyMetric() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     *
     *
     * <pre>
     * Privacy metric to compute.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;</code>
     *
     * @return The requestedPrivacyMetric.
     */
    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();
      }
    }
    /**
     *
     *
     * <pre>
     * Privacy metric to compute.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;</code>
     */
    public Builder setRequestedPrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetric value) {
      if (requestedPrivacyMetricBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        requestedPrivacyMetric_ = value;
      } else {
        requestedPrivacyMetricBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Privacy metric to compute.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;</code>
     */
    public Builder setRequestedPrivacyMetric(
        com.google.privacy.dlp.v2.PrivacyMetric.Builder builderForValue) {
      if (requestedPrivacyMetricBuilder_ == null) {
        requestedPrivacyMetric_ = builderForValue.build();
      } else {
        requestedPrivacyMetricBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Privacy metric to compute.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;</code>
     */
    public Builder mergeRequestedPrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetric value) {
      if (requestedPrivacyMetricBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)
            && requestedPrivacyMetric_ != null
            && requestedPrivacyMetric_
                != com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance()) {
          getRequestedPrivacyMetricBuilder().mergeFrom(value);
        } else {
          requestedPrivacyMetric_ = value;
        }
      } else {
        requestedPrivacyMetricBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Privacy metric to compute.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;</code>
     */
    public Builder clearRequestedPrivacyMetric() {
      bitField0_ = (bitField0_ & ~0x00000001);
      requestedPrivacyMetric_ = null;
      if (requestedPrivacyMetricBuilder_ != null) {
        requestedPrivacyMetricBuilder_.dispose();
        requestedPrivacyMetricBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Privacy metric to compute.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;</code>
     */
    public com.google.privacy.dlp.v2.PrivacyMetric.Builder getRequestedPrivacyMetricBuilder() {
      bitField0_ |= 0x00000001;
      onChanged();
      return getRequestedPrivacyMetricFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Privacy metric to compute.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;</code>
     */
    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_;
      }
    }
    /**
     *
     *
     * <pre>
     * Privacy metric to compute.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;</code>
     */
    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_;
    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_;
    /**
     *
     *
     * <pre>
     * Input dataset to compute metrics over.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;</code>
     *
     * @return Whether the requestedSourceTable field is set.
     */
    public boolean hasRequestedSourceTable() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     *
     *
     * <pre>
     * Input dataset to compute metrics over.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;</code>
     *
     * @return The requestedSourceTable.
     */
    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();
      }
    }
    /**
     *
     *
     * <pre>
     * Input dataset to compute metrics over.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;</code>
     */
    public Builder setRequestedSourceTable(com.google.privacy.dlp.v2.BigQueryTable value) {
      if (requestedSourceTableBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        requestedSourceTable_ = value;
      } else {
        requestedSourceTableBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Input dataset to compute metrics over.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;</code>
     */
    public Builder setRequestedSourceTable(
        com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) {
      if (requestedSourceTableBuilder_ == null) {
        requestedSourceTable_ = builderForValue.build();
      } else {
        requestedSourceTableBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Input dataset to compute metrics over.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;</code>
     */
    public Builder mergeRequestedSourceTable(com.google.privacy.dlp.v2.BigQueryTable value) {
      if (requestedSourceTableBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0)
            && requestedSourceTable_ != null
            && requestedSourceTable_
                != com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance()) {
          getRequestedSourceTableBuilder().mergeFrom(value);
        } else {
          requestedSourceTable_ = value;
        }
      } else {
        requestedSourceTableBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Input dataset to compute metrics over.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;</code>
     */
    public Builder clearRequestedSourceTable() {
      bitField0_ = (bitField0_ & ~0x00000002);
      requestedSourceTable_ = null;
      if (requestedSourceTableBuilder_ != null) {
        requestedSourceTableBuilder_.dispose();
        requestedSourceTableBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Input dataset to compute metrics over.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;</code>
     */
    public com.google.privacy.dlp.v2.BigQueryTable.Builder getRequestedSourceTableBuilder() {
      bitField0_ |= 0x00000002;
      onChanged();
      return getRequestedSourceTableFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Input dataset to compute metrics over.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;</code>
     */
    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_;
      }
    }
    /**
     *
     *
     * <pre>
     * Input dataset to compute metrics over.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;</code>
     */
    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_;
    /**
     *
     *
     * <pre>
     * Numerical stats result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
     * </code>
     *
     * @return Whether the numericalStatsResult field is set.
     */
    @java.lang.Override
    public boolean hasNumericalStatsResult() {
      return resultCase_ == 3;
    }
    /**
     *
     *
     * <pre>
     * Numerical stats result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
     * </code>
     *
     * @return The numericalStatsResult.
     */
    @java.lang.Override
    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();
      }
    }
    /**
     *
     *
     * <pre>
     * Numerical stats result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
     * </code>
     */
    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;
    }
    /**
     *
     *
     * <pre>
     * Numerical stats result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
     * </code>
     */
    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;
    }
    /**
     *
     *
     * <pre>
     * Numerical stats result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
     * </code>
     */
    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);
        } else {
          numericalStatsResultBuilder_.setMessage(value);
        }
      }
      resultCase_ = 3;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Numerical stats result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
     * </code>
     */
    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;
    }
    /**
     *
     *
     * <pre>
     * Numerical stats result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
     * </code>
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder
        getNumericalStatsResultBuilder() {
      return getNumericalStatsResultFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Numerical stats result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
     * </code>
     */
    @java.lang.Override
    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();
      }
    }
    /**
     *
     *
     * <pre>
     * Numerical stats result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
     * </code>
     */
    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_;
    /**
     *
     *
     * <pre>
     * Categorical stats result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
     * </code>
     *
     * @return Whether the categoricalStatsResult field is set.
     */
    @java.lang.Override
    public boolean hasCategoricalStatsResult() {
      return resultCase_ == 4;
    }
    /**
     *
     *
     * <pre>
     * Categorical stats result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
     * </code>
     *
     * @return The categoricalStatsResult.
     */
    @java.lang.Override
    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();
      }
    }
    /**
     *
     *
     * <pre>
     * Categorical stats result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
     * </code>
     */
    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;
    }
    /**
     *
     *
     * <pre>
     * Categorical stats result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
     * </code>
     */
    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;
    }
    /**
     *
     *
     * <pre>
     * Categorical stats result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
     * </code>
     */
    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);
        } else {
          categoricalStatsResultBuilder_.setMessage(value);
        }
      }
      resultCase_ = 4;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Categorical stats result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
     * </code>
     */
    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;
    }
    /**
     *
     *
     * <pre>
     * Categorical stats result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
     * </code>
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder
        getCategoricalStatsResultBuilder() {
      return getCategoricalStatsResultFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Categorical stats result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
     * </code>
     */
    @java.lang.Override
    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();
      }
    }
    /**
     *
     *
     * <pre>
     * Categorical stats result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
     * </code>
     */
    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_;
    /**
     *
     *
     * <pre>
     * K-anonymity result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
     * </code>
     *
     * @return Whether the kAnonymityResult field is set.
     */
    @java.lang.Override
    public boolean hasKAnonymityResult() {
      return resultCase_ == 5;
    }
    /**
     *
     *
     * <pre>
     * K-anonymity result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
     * </code>
     *
     * @return The kAnonymityResult.
     */
    @java.lang.Override
    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();
      }
    }
    /**
     *
     *
     * <pre>
     * K-anonymity result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
     * </code>
     */
    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;
    }
    /**
     *
     *
     * <pre>
     * K-anonymity result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
     * </code>
     */
    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;
    }
    /**
     *
     *
     * <pre>
     * K-anonymity result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
     * </code>
     */
    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);
        } else {
          kAnonymityResultBuilder_.setMessage(value);
        }
      }
      resultCase_ = 5;
      return this;
    }
    /**
     *
     *
     * <pre>
     * K-anonymity result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
     * </code>
     */
    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;
    }
    /**
     *
     *
     * <pre>
     * K-anonymity result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
     * </code>
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder
        getKAnonymityResultBuilder() {
      return getKAnonymityResultFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * K-anonymity result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
     * </code>
     */
    @java.lang.Override
    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();
      }
    }
    /**
     *
     *
     * <pre>
     * K-anonymity result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
     * </code>
     */
    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_;
    /**
     *
     *
     * <pre>
     * L-divesity result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
     * </code>
     *
     * @return Whether the lDiversityResult field is set.
     */
    @java.lang.Override
    public boolean hasLDiversityResult() {
      return resultCase_ == 6;
    }
    /**
     *
     *
     * <pre>
     * L-divesity result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
     * </code>
     *
     * @return The lDiversityResult.
     */
    @java.lang.Override
    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();
      }
    }
    /**
     *
     *
     * <pre>
     * L-divesity result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
     * </code>
     */
    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;
    }
    /**
     *
     *
     * <pre>
     * L-divesity result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
     * </code>
     */
    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;
    }
    /**
     *
     *
     * <pre>
     * L-divesity result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
     * </code>
     */
    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);
        } else {
          lDiversityResultBuilder_.setMessage(value);
        }
      }
      resultCase_ = 6;
      return this;
    }
    /**
     *
     *
     * <pre>
     * L-divesity result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
     * </code>
     */
    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;
    }
    /**
     *
     *
     * <pre>
     * L-divesity result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
     * </code>
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder
        getLDiversityResultBuilder() {
      return getLDiversityResultFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * L-divesity result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
     * </code>
     */
    @java.lang.Override
    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();
      }
    }
    /**
     *
     *
     * <pre>
     * L-divesity result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
     * </code>
     */
    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_;
    /**
     *
     *
     * <pre>
     * K-map result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
     * </code>
     *
     * @return Whether the kMapEstimationResult field is set.
     */
    @java.lang.Override
    public boolean hasKMapEstimationResult() {
      return resultCase_ == 7;
    }
    /**
     *
     *
     * <pre>
     * K-map result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
     * </code>
     *
     * @return The kMapEstimationResult.
     */
    @java.lang.Override
    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();
      }
    }
    /**
     *
     *
     * <pre>
     * K-map result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
     * </code>
     */
    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;
    }
    /**
     *
     *
     * <pre>
     * K-map result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
     * </code>
     */
    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;
    }
    /**
     *
     *
     * <pre>
     * K-map result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
     * </code>
     */
    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);
        } else {
          kMapEstimationResultBuilder_.setMessage(value);
        }
      }
      resultCase_ = 7;
      return this;
    }
    /**
     *
     *
     * <pre>
     * K-map result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
     * </code>
     */
    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;
    }
    /**
     *
     *
     * <pre>
     * K-map result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
     * </code>
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder
        getKMapEstimationResultBuilder() {
      return getKMapEstimationResultFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * K-map result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
     * </code>
     */
    @java.lang.Override
    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();
      }
    }
    /**
     *
     *
     * <pre>
     * K-map result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
     * </code>
     */
    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_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult,
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .Builder,
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                .DeltaPresenceEstimationResultOrBuilder>
        deltaPresenceEstimationResultBuilder_;
    /**
     *
     *
     * <pre>
     * Delta-presence result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9;
     * </code>
     *
     * @return Whether the deltaPresenceEstimationResult field is set.
     */
    @java.lang.Override
    public boolean hasDeltaPresenceEstimationResult() {
      return resultCase_ == 9;
    }
    /**
     *
     *
     * <pre>
     * Delta-presence result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9;
     * </code>
     *
     * @return The deltaPresenceEstimationResult.
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
        getDeltaPresenceEstimationResult() {
      if (deltaPresenceEstimationResultBuilder_ == null) {
        if (resultCase_ == 9) {
          return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                  .DeltaPresenceEstimationResult)
              result_;
        }
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
            .getDefaultInstance();
      } else {
        if (resultCase_ == 9) {
          return deltaPresenceEstimationResultBuilder_.getMessage();
        }
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
            .getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Delta-presence result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9;
     * </code>
     */
    public Builder setDeltaPresenceEstimationResult(
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
            value) {
      if (deltaPresenceEstimationResultBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        result_ = value;
        onChanged();
      } else {
        deltaPresenceEstimationResultBuilder_.setMessage(value);
      }
      resultCase_ = 9;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Delta-presence result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9;
     * </code>
     */
    public Builder setDeltaPresenceEstimationResult(
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder
            builderForValue) {
      if (deltaPresenceEstimationResultBuilder_ == null) {
        result_ = builderForValue.build();
        onChanged();
      } else {
        deltaPresenceEstimationResultBuilder_.setMessage(builderForValue.build());
      }
      resultCase_ = 9;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Delta-presence result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9;
     * </code>
     */
    public Builder mergeDeltaPresenceEstimationResult(
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
            value) {
      if (deltaPresenceEstimationResultBuilder_ == null) {
        if (resultCase_ == 9
            && result_
                != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                    .DeltaPresenceEstimationResult.getDefaultInstance()) {
          result_ =
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .newBuilder(
                      (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                              .DeltaPresenceEstimationResult)
                          result_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          result_ = value;
        }
        onChanged();
      } else {
        if (resultCase_ == 9) {
          deltaPresenceEstimationResultBuilder_.mergeFrom(value);
        } else {
          deltaPresenceEstimationResultBuilder_.setMessage(value);
        }
      }
      resultCase_ = 9;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Delta-presence result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9;
     * </code>
     */
    public Builder clearDeltaPresenceEstimationResult() {
      if (deltaPresenceEstimationResultBuilder_ == null) {
        if (resultCase_ == 9) {
          resultCase_ = 0;
          result_ = null;
          onChanged();
        }
      } else {
        if (resultCase_ == 9) {
          resultCase_ = 0;
          result_ = null;
        }
        deltaPresenceEstimationResultBuilder_.clear();
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Delta-presence result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9;
     * </code>
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
            .Builder
        getDeltaPresenceEstimationResultBuilder() {
      return getDeltaPresenceEstimationResultFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Delta-presence result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9;
     * </code>
     */
    @java.lang.Override
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
            .DeltaPresenceEstimationResultOrBuilder
        getDeltaPresenceEstimationResultOrBuilder() {
      if ((resultCase_ == 9) && (deltaPresenceEstimationResultBuilder_ != null)) {
        return deltaPresenceEstimationResultBuilder_.getMessageOrBuilder();
      } else {
        if (resultCase_ == 9) {
          return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                  .DeltaPresenceEstimationResult)
              result_;
        }
        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
            .getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Delta-presence result
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9;
     * </code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult,
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                .Builder,
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                .DeltaPresenceEstimationResultOrBuilder>
        getDeltaPresenceEstimationResultFieldBuilder() {
      if (deltaPresenceEstimationResultBuilder_ == null) {
        if (!(resultCase_ == 9)) {
          result_ =
              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                  .getDefaultInstance();
        }
        deltaPresenceEstimationResultBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                    .DeltaPresenceEstimationResult,
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
                    .Builder,
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                    .DeltaPresenceEstimationResultOrBuilder>(
                (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                        .DeltaPresenceEstimationResult)
                    result_,
                getParentForChildren(),
                isClean());
        result_ = null;
      }
      resultCase_ = 9;
      onChanged();
      return deltaPresenceEstimationResultBuilder_;
    }

    private com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
        requestedOptions_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions,
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
                .Builder,
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                .RequestedRiskAnalysisOptionsOrBuilder>
        requestedOptionsBuilder_;
    /**
     *
     *
     * <pre>
     * The configuration used for this job.
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10;
     * </code>
     *
     * @return Whether the requestedOptions field is set.
     */
    public boolean hasRequestedOptions() {
      return ((bitField0_ & 0x00000100) != 0);
    }
    /**
     *
     *
     * <pre>
     * The configuration used for this job.
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10;
     * </code>
     *
     * @return The requestedOptions.
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
        getRequestedOptions() {
      if (requestedOptionsBuilder_ == null) {
        return requestedOptions_ == null
            ? com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
                .getDefaultInstance()
            : requestedOptions_;
      } else {
        return requestedOptionsBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <pre>
     * The configuration used for this job.
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10;
     * </code>
     */
    public Builder setRequestedOptions(
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions value) {
      if (requestedOptionsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        requestedOptions_ = value;
      } else {
        requestedOptionsBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000100;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The configuration used for this job.
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10;
     * </code>
     */
    public Builder setRequestedOptions(
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder
            builderForValue) {
      if (requestedOptionsBuilder_ == null) {
        requestedOptions_ = builderForValue.build();
      } else {
        requestedOptionsBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000100;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The configuration used for this job.
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10;
     * </code>
     */
    public Builder mergeRequestedOptions(
        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions value) {
      if (requestedOptionsBuilder_ == null) {
        if (((bitField0_ & 0x00000100) != 0)
            && requestedOptions_ != null
            && requestedOptions_
                != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                    .RequestedRiskAnalysisOptions.getDefaultInstance()) {
          getRequestedOptionsBuilder().mergeFrom(value);
        } else {
          requestedOptions_ = value;
        }
      } else {
        requestedOptionsBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000100;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The configuration used for this job.
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10;
     * </code>
     */
    public Builder clearRequestedOptions() {
      bitField0_ = (bitField0_ & ~0x00000100);
      requestedOptions_ = null;
      if (requestedOptionsBuilder_ != null) {
        requestedOptionsBuilder_.dispose();
        requestedOptionsBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The configuration used for this job.
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10;
     * </code>
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
            .Builder
        getRequestedOptionsBuilder() {
      bitField0_ |= 0x00000100;
      onChanged();
      return getRequestedOptionsFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * The configuration used for this job.
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10;
     * </code>
     */
    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
            .RequestedRiskAnalysisOptionsOrBuilder
        getRequestedOptionsOrBuilder() {
      if (requestedOptionsBuilder_ != null) {
        return requestedOptionsBuilder_.getMessageOrBuilder();
      } else {
        return requestedOptions_ == null
            ? com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
                .getDefaultInstance()
            : requestedOptions_;
      }
    }
    /**
     *
     *
     * <pre>
     * The configuration used for this job.
     * </pre>
     *
     * <code>
     * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10;
     * </code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions,
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
                .Builder,
            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                .RequestedRiskAnalysisOptionsOrBuilder>
        getRequestedOptionsFieldBuilder() {
      if (requestedOptionsBuilder_ == null) {
        requestedOptionsBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions,
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions
                    .Builder,
                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
                    .RequestedRiskAnalysisOptionsOrBuilder>(
                getRequestedOptions(), getParentForChildren(), isClean());
        requestedOptions_ = null;
      }
      return requestedOptionsBuilder_;
    }

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

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

    // @@protoc_insertion_point(builder_scope: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>() {
        @java.lang.Override
        public AnalyzeDataSourceRiskDetails parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          Builder builder = newBuilder();
          try {
            builder.mergeFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.setUnfinishedMessage(builder.buildPartial());
          } catch (com.google.protobuf.UninitializedMessageException e) {
            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
          } catch (java.io.IOException e) {
            throw new com.google.protobuf.InvalidProtocolBufferException(e)
                .setUnfinishedMessage(builder.buildPartial());
          }
          return builder.buildPartial();
        }
      };

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

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

  @java.lang.Override
  public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }
}
