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

package com.google.privacy.dlp.v2beta1;

/**
 * <pre>
 * Result of a risk analysis
 * [`Operation`](/dlp/docs/reference/rest/v2beta1/inspect.operations)
 * request.
 * </pre>
 *
 * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult}
 */
public  final class RiskAnalysisOperationResult extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult)
    RiskAnalysisOperationResultOrBuilder {
private static final long serialVersionUID = 0L;
  // Use RiskAnalysisOperationResult.newBuilder() to construct.
  private RiskAnalysisOperationResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private RiskAnalysisOperationResult() {
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private RiskAnalysisOperationResult(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          default: {
            if (!parseUnknownFieldProto3(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
          case 26: {
            com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult.Builder subBuilder = null;
            if (resultCase_ == 3) {
              subBuilder = ((com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult) result_).toBuilder();
            }
            result_ =
                input.readMessage(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult) result_);
              result_ = subBuilder.buildPartial();
            }
            resultCase_ = 3;
            break;
          }
          case 34: {
            com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.Builder subBuilder = null;
            if (resultCase_ == 4) {
              subBuilder = ((com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult) result_).toBuilder();
            }
            result_ =
                input.readMessage(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult) result_);
              result_ = subBuilder.buildPartial();
            }
            resultCase_ = 4;
            break;
          }
          case 42: {
            com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.Builder subBuilder = null;
            if (resultCase_ == 5) {
              subBuilder = ((com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult) result_).toBuilder();
            }
            result_ =
                input.readMessage(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult) result_);
              result_ = subBuilder.buildPartial();
            }
            resultCase_ = 5;
            break;
          }
          case 50: {
            com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.Builder subBuilder = null;
            if (resultCase_ == 6) {
              subBuilder = ((com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult) result_).toBuilder();
            }
            result_ =
                input.readMessage(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult) result_);
              result_ = subBuilder.buildPartial();
            }
            resultCase_ = 6;
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_descriptor;
  }

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

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

    /**
     * <pre>
     * Minimum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.Value min_value = 1;</code>
     */
    boolean hasMinValue();
    /**
     * <pre>
     * Minimum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.Value min_value = 1;</code>
     */
    com.google.privacy.dlp.v2beta1.Value getMinValue();
    /**
     * <pre>
     * Minimum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.Value min_value = 1;</code>
     */
    com.google.privacy.dlp.v2beta1.ValueOrBuilder getMinValueOrBuilder();

    /**
     * <pre>
     * Maximum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.Value max_value = 2;</code>
     */
    boolean hasMaxValue();
    /**
     * <pre>
     * Maximum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.Value max_value = 2;</code>
     */
    com.google.privacy.dlp.v2beta1.Value getMaxValue();
    /**
     * <pre>
     * Maximum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.Value max_value = 2;</code>
     */
    com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
     */
    java.util.List<com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
     */
    com.google.privacy.dlp.v2beta1.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.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
     */
    java.util.List<? extends com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
     */
    com.google.privacy.dlp.v2beta1.ValueOrBuilder getQuantileValuesOrBuilder(
        int index);
  }
  /**
   * <pre>
   * Result of the numerical stats computation.
   * </pre>
   *
   * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult}
   */
  public  static final class NumericalStatsResult extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult)
      NumericalStatsResultOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use NumericalStatsResult.newBuilder() to construct.
    private NumericalStatsResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private NumericalStatsResult() {
      quantileValues_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private NumericalStatsResult(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              com.google.privacy.dlp.v2beta1.Value.Builder subBuilder = null;
              if (minValue_ != null) {
                subBuilder = minValue_.toBuilder();
              }
              minValue_ = input.readMessage(com.google.privacy.dlp.v2beta1.Value.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(minValue_);
                minValue_ = subBuilder.buildPartial();
              }

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

              break;
            }
            case 34: {
              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
                quantileValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2beta1.Value>();
                mutable_bitField0_ |= 0x00000004;
              }
              quantileValues_.add(
                  input.readMessage(com.google.privacy.dlp.v2beta1.Value.parser(), extensionRegistry));
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
          quantileValues_ = java.util.Collections.unmodifiableList(quantileValues_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_NumericalStatsResult_descriptor;
    }

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

    private int bitField0_;
    public static final int MIN_VALUE_FIELD_NUMBER = 1;
    private com.google.privacy.dlp.v2beta1.Value minValue_;
    /**
     * <pre>
     * Minimum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.Value min_value = 1;</code>
     */
    public boolean hasMinValue() {
      return minValue_ != null;
    }
    /**
     * <pre>
     * Minimum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.Value min_value = 1;</code>
     */
    public com.google.privacy.dlp.v2beta1.Value getMinValue() {
      return minValue_ == null ? com.google.privacy.dlp.v2beta1.Value.getDefaultInstance() : minValue_;
    }
    /**
     * <pre>
     * Minimum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.Value min_value = 1;</code>
     */
    public com.google.privacy.dlp.v2beta1.ValueOrBuilder getMinValueOrBuilder() {
      return getMinValue();
    }

    public static final int MAX_VALUE_FIELD_NUMBER = 2;
    private com.google.privacy.dlp.v2beta1.Value maxValue_;
    /**
     * <pre>
     * Maximum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.Value max_value = 2;</code>
     */
    public boolean hasMaxValue() {
      return maxValue_ != null;
    }
    /**
     * <pre>
     * Maximum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.Value max_value = 2;</code>
     */
    public com.google.privacy.dlp.v2beta1.Value getMaxValue() {
      return maxValue_ == null ? com.google.privacy.dlp.v2beta1.Value.getDefaultInstance() : maxValue_;
    }
    /**
     * <pre>
     * Maximum value appearing in the column.
     * </pre>
     *
     * <code>.google.privacy.dlp.v2beta1.Value max_value = 2;</code>
     */
    public com.google.privacy.dlp.v2beta1.ValueOrBuilder getMaxValueOrBuilder() {
      return getMaxValue();
    }

    public static final int QUANTILE_VALUES_FIELD_NUMBER = 4;
    private java.util.List<com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
     */
    public java.util.List<com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
     */
    public java.util.List<? extends com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
     */
    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.v2beta1.Value quantile_values = 4;</code>
     */
    public com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
     */
    public com.google.privacy.dlp.v2beta1.ValueOrBuilder getQuantileValuesOrBuilder(
        int index) {
      return quantileValues_.get(index);
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (minValue_ != null) {
        output.writeMessage(1, getMinValue());
      }
      if (maxValue_ != null) {
        output.writeMessage(2, getMaxValue());
      }
      for (int i = 0; i < quantileValues_.size(); i++) {
        output.writeMessage(4, quantileValues_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (minValue_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getMinValue());
      }
      if (maxValue_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getMaxValue());
      }
      for (int i = 0; i < quantileValues_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, quantileValues_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

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

      boolean result = true;
      result = result && (hasMinValue() == other.hasMinValue());
      if (hasMinValue()) {
        result = result && getMinValue()
            .equals(other.getMinValue());
      }
      result = result && (hasMaxValue() == other.hasMaxValue());
      if (hasMaxValue()) {
        result = result && getMaxValue()
            .equals(other.getMaxValue());
      }
      result = result && getQuantileValuesList()
          .equals(other.getQuantileValuesList());
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasMinValue()) {
        hash = (37 * hash) + MIN_VALUE_FIELD_NUMBER;
        hash = (53 * hash) + getMinValue().hashCode();
      }
      if (hasMaxValue()) {
        hash = (37 * hash) + MAX_VALUE_FIELD_NUMBER;
        hash = (53 * hash) + getMaxValue().hashCode();
      }
      if (getQuantileValuesCount() > 0) {
        hash = (37 * hash) + QUANTILE_VALUES_FIELD_NUMBER;
        hash = (53 * hash) + getQuantileValuesList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * Result of the numerical stats computation.
     * </pre>
     *
     * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult)
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResultOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_NumericalStatsResult_descriptor;
      }

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

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

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

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

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

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

      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult buildPartial() {
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult result = new com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (minValueBuilder_ == null) {
          result.minValue_ = minValue_;
        } else {
          result.minValue_ = minValueBuilder_.build();
        }
        if (maxValueBuilder_ == null) {
          result.maxValue_ = maxValue_;
        } else {
          result.maxValue_ = maxValueBuilder_.build();
        }
        if (quantileValuesBuilder_ == null) {
          if (((bitField0_ & 0x00000004) == 0x00000004)) {
            quantileValues_ = java.util.Collections.unmodifiableList(quantileValues_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.quantileValues_ = quantileValues_;
        } else {
          result.quantileValues_ = quantileValuesBuilder_.build();
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

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

      public Builder mergeFrom(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult other) {
        if (other == com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult.getDefaultInstance()) return this;
        if (other.hasMinValue()) {
          mergeMinValue(other.getMinValue());
        }
        if (other.hasMaxValue()) {
          mergeMaxValue(other.getMaxValue());
        }
        if (quantileValuesBuilder_ == null) {
          if (!other.quantileValues_.isEmpty()) {
            if (quantileValues_.isEmpty()) {
              quantileValues_ = other.quantileValues_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensureQuantileValuesIsMutable();
              quantileValues_.addAll(other.quantileValues_);
            }
            onChanged();
          }
        } else {
          if (!other.quantileValues_.isEmpty()) {
            if (quantileValuesBuilder_.isEmpty()) {
              quantileValuesBuilder_.dispose();
              quantileValuesBuilder_ = null;
              quantileValues_ = other.quantileValues_;
              bitField0_ = (bitField0_ & ~0x00000004);
              quantileValuesBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getQuantileValuesFieldBuilder() : null;
            } else {
              quantileValuesBuilder_.addAllMessages(other.quantileValues_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      private com.google.privacy.dlp.v2beta1.Value minValue_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.privacy.dlp.v2beta1.Value, com.google.privacy.dlp.v2beta1.Value.Builder, com.google.privacy.dlp.v2beta1.ValueOrBuilder> minValueBuilder_;
      /**
       * <pre>
       * Minimum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2beta1.Value min_value = 1;</code>
       */
      public boolean hasMinValue() {
        return minValueBuilder_ != null || minValue_ != null;
      }
      /**
       * <pre>
       * Minimum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2beta1.Value min_value = 1;</code>
       */
      public com.google.privacy.dlp.v2beta1.Value getMinValue() {
        if (minValueBuilder_ == null) {
          return minValue_ == null ? com.google.privacy.dlp.v2beta1.Value.getDefaultInstance() : minValue_;
        } else {
          return minValueBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * Minimum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2beta1.Value min_value = 1;</code>
       */
      public Builder setMinValue(com.google.privacy.dlp.v2beta1.Value value) {
        if (minValueBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          minValue_ = value;
          onChanged();
        } else {
          minValueBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <pre>
       * Minimum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2beta1.Value min_value = 1;</code>
       */
      public Builder setMinValue(
          com.google.privacy.dlp.v2beta1.Value.Builder builderForValue) {
        if (minValueBuilder_ == null) {
          minValue_ = builderForValue.build();
          onChanged();
        } else {
          minValueBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <pre>
       * Minimum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2beta1.Value min_value = 1;</code>
       */
      public Builder mergeMinValue(com.google.privacy.dlp.v2beta1.Value value) {
        if (minValueBuilder_ == null) {
          if (minValue_ != null) {
            minValue_ =
              com.google.privacy.dlp.v2beta1.Value.newBuilder(minValue_).mergeFrom(value).buildPartial();
          } else {
            minValue_ = value;
          }
          onChanged();
        } else {
          minValueBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <pre>
       * Minimum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2beta1.Value min_value = 1;</code>
       */
      public Builder clearMinValue() {
        if (minValueBuilder_ == null) {
          minValue_ = null;
          onChanged();
        } else {
          minValue_ = null;
          minValueBuilder_ = null;
        }

        return this;
      }
      /**
       * <pre>
       * Minimum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2beta1.Value min_value = 1;</code>
       */
      public com.google.privacy.dlp.v2beta1.Value.Builder getMinValueBuilder() {
        
        onChanged();
        return getMinValueFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * Minimum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2beta1.Value min_value = 1;</code>
       */
      public com.google.privacy.dlp.v2beta1.ValueOrBuilder getMinValueOrBuilder() {
        if (minValueBuilder_ != null) {
          return minValueBuilder_.getMessageOrBuilder();
        } else {
          return minValue_ == null ?
              com.google.privacy.dlp.v2beta1.Value.getDefaultInstance() : minValue_;
        }
      }
      /**
       * <pre>
       * Minimum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2beta1.Value min_value = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.privacy.dlp.v2beta1.Value, com.google.privacy.dlp.v2beta1.Value.Builder, com.google.privacy.dlp.v2beta1.ValueOrBuilder> 
          getMinValueFieldBuilder() {
        if (minValueBuilder_ == null) {
          minValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.privacy.dlp.v2beta1.Value, com.google.privacy.dlp.v2beta1.Value.Builder, com.google.privacy.dlp.v2beta1.ValueOrBuilder>(
                  getMinValue(),
                  getParentForChildren(),
                  isClean());
          minValue_ = null;
        }
        return minValueBuilder_;
      }

      private com.google.privacy.dlp.v2beta1.Value maxValue_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.privacy.dlp.v2beta1.Value, com.google.privacy.dlp.v2beta1.Value.Builder, com.google.privacy.dlp.v2beta1.ValueOrBuilder> maxValueBuilder_;
      /**
       * <pre>
       * Maximum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2beta1.Value max_value = 2;</code>
       */
      public boolean hasMaxValue() {
        return maxValueBuilder_ != null || maxValue_ != null;
      }
      /**
       * <pre>
       * Maximum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2beta1.Value max_value = 2;</code>
       */
      public com.google.privacy.dlp.v2beta1.Value getMaxValue() {
        if (maxValueBuilder_ == null) {
          return maxValue_ == null ? com.google.privacy.dlp.v2beta1.Value.getDefaultInstance() : maxValue_;
        } else {
          return maxValueBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * Maximum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2beta1.Value max_value = 2;</code>
       */
      public Builder setMaxValue(com.google.privacy.dlp.v2beta1.Value value) {
        if (maxValueBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          maxValue_ = value;
          onChanged();
        } else {
          maxValueBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <pre>
       * Maximum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2beta1.Value max_value = 2;</code>
       */
      public Builder setMaxValue(
          com.google.privacy.dlp.v2beta1.Value.Builder builderForValue) {
        if (maxValueBuilder_ == null) {
          maxValue_ = builderForValue.build();
          onChanged();
        } else {
          maxValueBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <pre>
       * Maximum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2beta1.Value max_value = 2;</code>
       */
      public Builder mergeMaxValue(com.google.privacy.dlp.v2beta1.Value value) {
        if (maxValueBuilder_ == null) {
          if (maxValue_ != null) {
            maxValue_ =
              com.google.privacy.dlp.v2beta1.Value.newBuilder(maxValue_).mergeFrom(value).buildPartial();
          } else {
            maxValue_ = value;
          }
          onChanged();
        } else {
          maxValueBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <pre>
       * Maximum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2beta1.Value max_value = 2;</code>
       */
      public Builder clearMaxValue() {
        if (maxValueBuilder_ == null) {
          maxValue_ = null;
          onChanged();
        } else {
          maxValue_ = null;
          maxValueBuilder_ = null;
        }

        return this;
      }
      /**
       * <pre>
       * Maximum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2beta1.Value max_value = 2;</code>
       */
      public com.google.privacy.dlp.v2beta1.Value.Builder getMaxValueBuilder() {
        
        onChanged();
        return getMaxValueFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * Maximum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2beta1.Value max_value = 2;</code>
       */
      public com.google.privacy.dlp.v2beta1.ValueOrBuilder getMaxValueOrBuilder() {
        if (maxValueBuilder_ != null) {
          return maxValueBuilder_.getMessageOrBuilder();
        } else {
          return maxValue_ == null ?
              com.google.privacy.dlp.v2beta1.Value.getDefaultInstance() : maxValue_;
        }
      }
      /**
       * <pre>
       * Maximum value appearing in the column.
       * </pre>
       *
       * <code>.google.privacy.dlp.v2beta1.Value max_value = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.privacy.dlp.v2beta1.Value, com.google.privacy.dlp.v2beta1.Value.Builder, com.google.privacy.dlp.v2beta1.ValueOrBuilder> 
          getMaxValueFieldBuilder() {
        if (maxValueBuilder_ == null) {
          maxValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.privacy.dlp.v2beta1.Value, com.google.privacy.dlp.v2beta1.Value.Builder, com.google.privacy.dlp.v2beta1.ValueOrBuilder>(
                  getMaxValue(),
                  getParentForChildren(),
                  isClean());
          maxValue_ = null;
        }
        return maxValueBuilder_;
      }

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

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.privacy.dlp.v2beta1.Value, com.google.privacy.dlp.v2beta1.Value.Builder, com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
       */
      public java.util.List<com.google.privacy.dlp.v2beta1.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.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
       */
      public com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
       */
      public Builder setQuantileValues(
          int index, com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
       */
      public Builder setQuantileValues(
          int index, com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
       */
      public Builder addQuantileValues(com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
       */
      public Builder addQuantileValues(
          int index, com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
       */
      public Builder addQuantileValues(
          com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
       */
      public Builder addQuantileValues(
          int index, com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
       */
      public Builder addAllQuantileValues(
          java.lang.Iterable<? extends com.google.privacy.dlp.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
       */
      public com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
       */
      public com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
       */
      public java.util.List<? extends com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
       */
      public com.google.privacy.dlp.v2beta1.Value.Builder addQuantileValuesBuilder() {
        return getQuantileValuesFieldBuilder().addBuilder(
            com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
       */
      public com.google.privacy.dlp.v2beta1.Value.Builder addQuantileValuesBuilder(
          int index) {
        return getQuantileValuesFieldBuilder().addBuilder(
            index, com.google.privacy.dlp.v2beta1.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.v2beta1.Value quantile_values = 4;</code>
       */
      public java.util.List<com.google.privacy.dlp.v2beta1.Value.Builder> 
           getQuantileValuesBuilderList() {
        return getQuantileValuesFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.privacy.dlp.v2beta1.Value, com.google.privacy.dlp.v2beta1.Value.Builder, com.google.privacy.dlp.v2beta1.ValueOrBuilder> 
          getQuantileValuesFieldBuilder() {
        if (quantileValuesBuilder_ == null) {
          quantileValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.privacy.dlp.v2beta1.Value, com.google.privacy.dlp.v2beta1.Value.Builder, com.google.privacy.dlp.v2beta1.ValueOrBuilder>(
                  quantileValues_,
                  ((bitField0_ & 0x00000004) == 0x00000004),
                  getParentForChildren(),
                  isClean());
          quantileValues_ = null;
        }
        return quantileValuesBuilder_;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

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


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

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

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

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

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

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

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

  }

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

    /**
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
     */
    java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket> 
        getValueFrequencyHistogramBucketsList();
    /**
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
     */
    com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket getValueFrequencyHistogramBuckets(int index);
    /**
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
     */
    int getValueFrequencyHistogramBucketsCount();
    /**
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
     */
    java.util.List<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder> 
        getValueFrequencyHistogramBucketsOrBuilderList();
    /**
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
     */
    com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder getValueFrequencyHistogramBucketsOrBuilder(
        int index);
  }
  /**
   * <pre>
   * Result of the categorical stats computation.
   * </pre>
   *
   * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult}
   */
  public  static final class CategoricalStatsResult extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult)
      CategoricalStatsResultOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CategoricalStatsResult.newBuilder() to construct.
    private CategoricalStatsResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private CategoricalStatsResult() {
      valueFrequencyHistogramBuckets_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CategoricalStatsResult(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 42: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                valueFrequencyHistogramBuckets_ = new java.util.ArrayList<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket>();
                mutable_bitField0_ |= 0x00000001;
              }
              valueFrequencyHistogramBuckets_.add(
                  input.readMessage(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket.parser(), extensionRegistry));
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          valueFrequencyHistogramBuckets_ = java.util.Collections.unmodifiableList(valueFrequencyHistogramBuckets_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_CategoricalStatsResult_descriptor;
    }

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

    public interface CategoricalStatsHistogramBucketOrBuilder extends
        // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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>
       */
      long getValueFrequencyLowerBound();

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

      /**
       * <pre>
       * Total number of records in this bucket.
       * </pre>
       *
       * <code>int64 bucket_size = 3;</code>
       */
      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.v2beta1.ValueFrequency bucket_values = 4;</code>
       */
      java.util.List<com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
       */
      com.google.privacy.dlp.v2beta1.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.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
       */
      java.util.List<? extends com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
       */
      com.google.privacy.dlp.v2beta1.ValueFrequencyOrBuilder getBucketValuesOrBuilder(
          int index);
    }
    /**
     * <pre>
     * Histogram bucket of value frequencies in the column.
     * </pre>
     *
     * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket}
     */
    public  static final class CategoricalStatsHistogramBucket extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket)
        CategoricalStatsHistogramBucketOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use CategoricalStatsHistogramBucket.newBuilder() to construct.
      private CategoricalStatsHistogramBucket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private CategoricalStatsHistogramBucket() {
        valueFrequencyLowerBound_ = 0L;
        valueFrequencyUpperBound_ = 0L;
        bucketSize_ = 0L;
        bucketValues_ = java.util.Collections.emptyList();
      }

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

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

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

                bucketSize_ = input.readInt64();
                break;
              }
              case 34: {
                if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                  bucketValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2beta1.ValueFrequency>();
                  mutable_bitField0_ |= 0x00000008;
                }
                bucketValues_.add(
                    input.readMessage(com.google.privacy.dlp.v2beta1.ValueFrequency.parser(), extensionRegistry));
                break;
              }
            }
          }
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(
              e).setUnfinishedMessage(this);
        } finally {
          if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
            bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket.class, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder.class);
      }

      private int bitField0_;
      public static final int VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER = 1;
      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>
       */
      public long getValueFrequencyLowerBound() {
        return valueFrequencyLowerBound_;
      }

      public static final int VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER = 2;
      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>
       */
      public long getValueFrequencyUpperBound() {
        return valueFrequencyUpperBound_;
      }

      public static final int BUCKET_SIZE_FIELD_NUMBER = 3;
      private long bucketSize_;
      /**
       * <pre>
       * Total number of records in this bucket.
       * </pre>
       *
       * <code>int64 bucket_size = 3;</code>
       */
      public long getBucketSize() {
        return bucketSize_;
      }

      public static final int BUCKET_VALUES_FIELD_NUMBER = 4;
      private java.util.List<com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
       */
      public java.util.List<com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
       */
      public java.util.List<? extends com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
       */
      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.v2beta1.ValueFrequency bucket_values = 4;</code>
       */
      public com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
       */
      public com.google.privacy.dlp.v2beta1.ValueFrequencyOrBuilder getBucketValuesOrBuilder(
          int index) {
        return bucketValues_.get(index);
      }

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

        memoizedIsInitialized = 1;
        return true;
      }

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

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

        size = 0;
        if (valueFrequencyLowerBound_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(1, valueFrequencyLowerBound_);
        }
        if (valueFrequencyUpperBound_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(2, valueFrequencyUpperBound_);
        }
        if (bucketSize_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(3, bucketSize_);
        }
        for (int i = 0; i < bucketValues_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(4, bucketValues_.get(i));
        }
        size += unknownFields.getSerializedSize();
        memoizedSize = size;
        return size;
      }

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

        boolean result = true;
        result = result && (getValueFrequencyLowerBound()
            == other.getValueFrequencyLowerBound());
        result = result && (getValueFrequencyUpperBound()
            == other.getValueFrequencyUpperBound());
        result = result && (getBucketSize()
            == other.getBucketSize());
        result = result && getBucketValuesList()
            .equals(other.getBucketValuesList());
        result = result && unknownFields.equals(other.unknownFields);
        return result;
      }

      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        hash = (37 * hash) + VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getValueFrequencyLowerBound());
        hash = (37 * hash) + VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getValueFrequencyUpperBound());
        hash = (37 * hash) + BUCKET_SIZE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getBucketSize());
        if (getBucketValuesCount() > 0) {
          hash = (37 * hash) + BUCKET_VALUES_FIELD_NUMBER;
          hash = (53 * hash) + getBucketValuesList().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }

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

      public Builder newBuilderForType() { return newBuilder(); }
      public static Builder newBuilder() {
        return DEFAULT_INSTANCE.toBuilder();
      }
      public static Builder newBuilder(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket prototype) {
        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
      }
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE
            ? new Builder() : new Builder().mergeFrom(this);
      }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       * <pre>
       * Histogram bucket of value frequencies in the column.
       * </pre>
       *
       * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket)
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor;
        }

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket.class, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder.class);
        }

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

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

          valueFrequencyUpperBound_ = 0L;

          bucketSize_ = 0L;

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

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

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

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

        public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket buildPartial() {
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket result = new com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          result.valueFrequencyLowerBound_ = valueFrequencyLowerBound_;
          result.valueFrequencyUpperBound_ = valueFrequencyUpperBound_;
          result.bucketSize_ = bucketSize_;
          if (bucketValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000008) == 0x00000008)) {
              bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
              bitField0_ = (bitField0_ & ~0x00000008);
            }
            result.bucketValues_ = bucketValues_;
          } else {
            result.bucketValues_ = bucketValuesBuilder_.build();
          }
          result.bitField0_ = to_bitField0_;
          onBuilt();
          return result;
        }

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

        public Builder mergeFrom(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket other) {
          if (other == com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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_);
              }
            }
          }
          this.mergeUnknownFields(other.unknownFields);
          onChanged();
          return this;
        }

        public final boolean isInitialized() {
          return true;
        }

        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          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>
         */
        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>
         */
        public Builder setValueFrequencyLowerBound(long value) {
          
          valueFrequencyLowerBound_ = value;
          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>
         */
        public Builder clearValueFrequencyLowerBound() {
          
          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>
         */
        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>
         */
        public Builder setValueFrequencyUpperBound(long value) {
          
          valueFrequencyUpperBound_ = value;
          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>
         */
        public Builder clearValueFrequencyUpperBound() {
          
          valueFrequencyUpperBound_ = 0L;
          onChanged();
          return this;
        }

        private long bucketSize_ ;
        /**
         * <pre>
         * Total number of records in this bucket.
         * </pre>
         *
         * <code>int64 bucket_size = 3;</code>
         */
        public long getBucketSize() {
          return bucketSize_;
        }
        /**
         * <pre>
         * Total number of records in this bucket.
         * </pre>
         *
         * <code>int64 bucket_size = 3;</code>
         */
        public Builder setBucketSize(long value) {
          
          bucketSize_ = value;
          onChanged();
          return this;
        }
        /**
         * <pre>
         * Total number of records in this bucket.
         * </pre>
         *
         * <code>int64 bucket_size = 3;</code>
         */
        public Builder clearBucketSize() {
          
          bucketSize_ = 0L;
          onChanged();
          return this;
        }

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

        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2beta1.ValueFrequency, com.google.privacy.dlp.v2beta1.ValueFrequency.Builder, com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
         */
        public java.util.List<com.google.privacy.dlp.v2beta1.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.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
         */
        public Builder setBucketValues(
            int index, com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
         */
        public Builder setBucketValues(
            int index, com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
         */
        public Builder addBucketValues(com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
         */
        public Builder addBucketValues(
            int index, com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
         */
        public Builder addBucketValues(
            com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
         */
        public Builder addBucketValues(
            int index, com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
         */
        public Builder addAllBucketValues(
            java.lang.Iterable<? extends com.google.privacy.dlp.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
         */
        public java.util.List<? extends com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.ValueFrequency.Builder addBucketValuesBuilder() {
          return getBucketValuesFieldBuilder().addBuilder(
              com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.ValueFrequency.Builder addBucketValuesBuilder(
            int index) {
          return getBucketValuesFieldBuilder().addBuilder(
              index, com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency bucket_values = 4;</code>
         */
        public java.util.List<com.google.privacy.dlp.v2beta1.ValueFrequency.Builder> 
             getBucketValuesBuilderList() {
          return getBucketValuesFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2beta1.ValueFrequency, com.google.privacy.dlp.v2beta1.ValueFrequency.Builder, com.google.privacy.dlp.v2beta1.ValueFrequencyOrBuilder> 
            getBucketValuesFieldBuilder() {
          if (bucketValuesBuilder_ == null) {
            bucketValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.privacy.dlp.v2beta1.ValueFrequency, com.google.privacy.dlp.v2beta1.ValueFrequency.Builder, com.google.privacy.dlp.v2beta1.ValueFrequencyOrBuilder>(
                    bucketValues_,
                    ((bitField0_ & 0x00000008) == 0x00000008),
                    getParentForChildren(),
                    isClean());
            bucketValues_ = null;
          }
          return bucketValuesBuilder_;
        }
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.setUnknownFieldsProto3(unknownFields);
        }

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


        // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket)
      }

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

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

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

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

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

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

    }

    public static final int VALUE_FREQUENCY_HISTOGRAM_BUCKETS_FIELD_NUMBER = 5;
    private java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket> valueFrequencyHistogramBuckets_;
    /**
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
     */
    public java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket> getValueFrequencyHistogramBucketsList() {
      return valueFrequencyHistogramBuckets_;
    }
    /**
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
     */
    public java.util.List<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder> 
        getValueFrequencyHistogramBucketsOrBuilderList() {
      return valueFrequencyHistogramBuckets_;
    }
    /**
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
     */
    public int getValueFrequencyHistogramBucketsCount() {
      return valueFrequencyHistogramBuckets_.size();
    }
    /**
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
     */
    public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket getValueFrequencyHistogramBuckets(int index) {
      return valueFrequencyHistogramBuckets_.get(index);
    }
    /**
     * <pre>
     * Histogram of value frequencies in the column.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
     */
    public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder getValueFrequencyHistogramBucketsOrBuilder(
        int index) {
      return valueFrequencyHistogramBuckets_.get(index);
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

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

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

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

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

      boolean result = true;
      result = result && getValueFrequencyHistogramBucketsList()
          .equals(other.getValueFrequencyHistogramBucketsList());
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getValueFrequencyHistogramBucketsCount() > 0) {
        hash = (37 * hash) + VALUE_FREQUENCY_HISTOGRAM_BUCKETS_FIELD_NUMBER;
        hash = (53 * hash) + getValueFrequencyHistogramBucketsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * Result of the categorical stats computation.
     * </pre>
     *
     * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult)
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResultOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_CategoricalStatsResult_descriptor;
      }

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

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

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

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

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

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

      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult buildPartial() {
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult result = new com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult(this);
        int from_bitField0_ = bitField0_;
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            valueFrequencyHistogramBuckets_ = java.util.Collections.unmodifiableList(valueFrequencyHistogramBuckets_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.valueFrequencyHistogramBuckets_ = valueFrequencyHistogramBuckets_;
        } else {
          result.valueFrequencyHistogramBuckets_ = valueFrequencyHistogramBucketsBuilder_.build();
        }
        onBuilt();
        return result;
      }

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

      public Builder mergeFrom(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult other) {
        if (other == com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.getDefaultInstance()) return this;
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          if (!other.valueFrequencyHistogramBuckets_.isEmpty()) {
            if (valueFrequencyHistogramBuckets_.isEmpty()) {
              valueFrequencyHistogramBuckets_ = other.valueFrequencyHistogramBuckets_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureValueFrequencyHistogramBucketsIsMutable();
              valueFrequencyHistogramBuckets_.addAll(other.valueFrequencyHistogramBuckets_);
            }
            onChanged();
          }
        } else {
          if (!other.valueFrequencyHistogramBuckets_.isEmpty()) {
            if (valueFrequencyHistogramBucketsBuilder_.isEmpty()) {
              valueFrequencyHistogramBucketsBuilder_.dispose();
              valueFrequencyHistogramBucketsBuilder_ = null;
              valueFrequencyHistogramBuckets_ = other.valueFrequencyHistogramBuckets_;
              bitField0_ = (bitField0_ & ~0x00000001);
              valueFrequencyHistogramBucketsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getValueFrequencyHistogramBucketsFieldBuilder() : null;
            } else {
              valueFrequencyHistogramBucketsBuilder_.addAllMessages(other.valueFrequencyHistogramBuckets_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

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

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

      /**
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
       */
      public java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
       */
      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
       */
      public Builder setValueFrequencyHistogramBuckets(
          int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
       */
      public Builder setValueFrequencyHistogramBuckets(
          int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
       */
      public Builder addValueFrequencyHistogramBuckets(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
       */
      public Builder addValueFrequencyHistogramBuckets(
          int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
       */
      public Builder addValueFrequencyHistogramBuckets(
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
       */
      public Builder addValueFrequencyHistogramBuckets(
          int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
       */
      public Builder addAllValueFrequencyHistogramBuckets(
          java.lang.Iterable<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
       */
      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder getValueFrequencyHistogramBucketsBuilder(
          int index) {
        return getValueFrequencyHistogramBucketsFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
       */
      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
       */
      public java.util.List<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
       */
      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder addValueFrequencyHistogramBucketsBuilder() {
        return getValueFrequencyHistogramBucketsFieldBuilder().addBuilder(
            com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket.getDefaultInstance());
      }
      /**
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
       */
      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder addValueFrequencyHistogramBucketsBuilder(
          int index) {
        return getValueFrequencyHistogramBucketsFieldBuilder().addBuilder(
            index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket.getDefaultInstance());
      }
      /**
       * <pre>
       * Histogram of value frequencies in the column.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5;</code>
       */
      public java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder> 
           getValueFrequencyHistogramBucketsBuilderList() {
        return getValueFrequencyHistogramBucketsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder> 
          getValueFrequencyHistogramBucketsFieldBuilder() {
        if (valueFrequencyHistogramBucketsBuilder_ == null) {
          valueFrequencyHistogramBucketsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder>(
                  valueFrequencyHistogramBuckets_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          valueFrequencyHistogramBuckets_ = null;
        }
        return valueFrequencyHistogramBucketsBuilder_;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

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


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

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

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

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

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

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

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

  }

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

    /**
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
     */
    java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket> 
        getEquivalenceClassHistogramBucketsList();
    /**
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
     */
    com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket getEquivalenceClassHistogramBuckets(int index);
    /**
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
     */
    int getEquivalenceClassHistogramBucketsCount();
    /**
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
     */
    java.util.List<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucketOrBuilder> 
        getEquivalenceClassHistogramBucketsOrBuilderList();
    /**
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
     */
    com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucketOrBuilder getEquivalenceClassHistogramBucketsOrBuilder(
        int index);
  }
  /**
   * <pre>
   * Result of the k-anonymity computation.
   * </pre>
   *
   * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult}
   */
  public  static final class KAnonymityResult extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult)
      KAnonymityResultOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use KAnonymityResult.newBuilder() to construct.
    private KAnonymityResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private KAnonymityResult() {
      equivalenceClassHistogramBuckets_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private KAnonymityResult(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 42: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                equivalenceClassHistogramBuckets_ = new java.util.ArrayList<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket>();
                mutable_bitField0_ |= 0x00000001;
              }
              equivalenceClassHistogramBuckets_.add(
                  input.readMessage(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket.parser(), extensionRegistry));
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          equivalenceClassHistogramBuckets_ = java.util.Collections.unmodifiableList(equivalenceClassHistogramBuckets_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_KAnonymityResult_descriptor;
    }

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

    public interface KAnonymityEquivalenceClassOrBuilder extends
        // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.Value quasi_ids_values = 1;</code>
       */
      java.util.List<com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
       */
      com.google.privacy.dlp.v2beta1.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.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
       */
      java.util.List<? extends com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
       */
      com.google.privacy.dlp.v2beta1.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>
       */
      long getEquivalenceClassSize();
    }
    /**
     * <pre>
     * The set of columns' values that share the same k-anonymity value.
     * </pre>
     *
     * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass}
     */
    public  static final class KAnonymityEquivalenceClass extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass)
        KAnonymityEquivalenceClassOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use KAnonymityEquivalenceClass.newBuilder() to construct.
      private KAnonymityEquivalenceClass(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private KAnonymityEquivalenceClass() {
        quasiIdsValues_ = java.util.Collections.emptyList();
        equivalenceClassSize_ = 0L;
      }

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private KAnonymityEquivalenceClass(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        this();
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        int mutable_bitField0_ = 0;
        com.google.protobuf.UnknownFieldSet.Builder unknownFields =
            com.google.protobuf.UnknownFieldSet.newBuilder();
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              default: {
                if (!parseUnknownFieldProto3(
                    input, unknownFields, extensionRegistry, tag)) {
                  done = true;
                }
                break;
              }
              case 10: {
                if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                  quasiIdsValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2beta1.Value>();
                  mutable_bitField0_ |= 0x00000001;
                }
                quasiIdsValues_.add(
                    input.readMessage(com.google.privacy.dlp.v2beta1.Value.parser(), extensionRegistry));
                break;
              }
              case 16: {

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass.class, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass.Builder.class);
      }

      private int bitField0_;
      public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1;
      private java.util.List<com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
       */
      public java.util.List<com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
       */
      public java.util.List<? extends com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
       */
      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.v2beta1.Value quasi_ids_values = 1;</code>
       */
      public com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
       */
      public com.google.privacy.dlp.v2beta1.ValueOrBuilder getQuasiIdsValuesOrBuilder(
          int index) {
        return quasiIdsValues_.get(index);
      }

      public static final int EQUIVALENCE_CLASS_SIZE_FIELD_NUMBER = 2;
      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>
       */
      public long getEquivalenceClassSize() {
        return equivalenceClassSize_;
      }

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

        memoizedIsInitialized = 1;
        return true;
      }

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

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

        size = 0;
        for (int i = 0; i < quasiIdsValues_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(1, quasiIdsValues_.get(i));
        }
        if (equivalenceClassSize_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(2, equivalenceClassSize_);
        }
        size += unknownFields.getSerializedSize();
        memoizedSize = size;
        return size;
      }

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

        boolean result = true;
        result = result && getQuasiIdsValuesList()
            .equals(other.getQuasiIdsValuesList());
        result = result && (getEquivalenceClassSize()
            == other.getEquivalenceClassSize());
        result = result && unknownFields.equals(other.unknownFields);
        return result;
      }

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

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

      public Builder newBuilderForType() { return newBuilder(); }
      public static Builder newBuilder() {
        return DEFAULT_INSTANCE.toBuilder();
      }
      public static Builder newBuilder(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass prototype) {
        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
      }
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE
            ? new Builder() : new Builder().mergeFrom(this);
      }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       * <pre>
       * The set of columns' values that share the same k-anonymity value.
       * </pre>
       *
       * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass)
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_KAnonymityResult_KAnonymityEquivalenceClass_descriptor;
        }

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass.class, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass.Builder.class);
        }

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

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

          return this;
        }

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

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

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

        public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass buildPartial() {
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass result = new com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (quasiIdsValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000001) == 0x00000001)) {
              quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_);
              bitField0_ = (bitField0_ & ~0x00000001);
            }
            result.quasiIdsValues_ = quasiIdsValues_;
          } else {
            result.quasiIdsValues_ = quasiIdsValuesBuilder_.build();
          }
          result.equivalenceClassSize_ = equivalenceClassSize_;
          result.bitField0_ = to_bitField0_;
          onBuilt();
          return result;
        }

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

        public Builder mergeFrom(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass other) {
          if (other == com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass.getDefaultInstance()) return this;
          if (quasiIdsValuesBuilder_ == null) {
            if (!other.quasiIdsValues_.isEmpty()) {
              if (quasiIdsValues_.isEmpty()) {
                quasiIdsValues_ = other.quasiIdsValues_;
                bitField0_ = (bitField0_ & ~0x00000001);
              } else {
                ensureQuasiIdsValuesIsMutable();
                quasiIdsValues_.addAll(other.quasiIdsValues_);
              }
              onChanged();
            }
          } else {
            if (!other.quasiIdsValues_.isEmpty()) {
              if (quasiIdsValuesBuilder_.isEmpty()) {
                quasiIdsValuesBuilder_.dispose();
                quasiIdsValuesBuilder_ = null;
                quasiIdsValues_ = other.quasiIdsValues_;
                bitField0_ = (bitField0_ & ~0x00000001);
                quasiIdsValuesBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getQuasiIdsValuesFieldBuilder() : null;
              } else {
                quasiIdsValuesBuilder_.addAllMessages(other.quasiIdsValues_);
              }
            }
          }
          if (other.getEquivalenceClassSize() != 0L) {
            setEquivalenceClassSize(other.getEquivalenceClassSize());
          }
          this.mergeUnknownFields(other.unknownFields);
          onChanged();
          return this;
        }

        public final boolean isInitialized() {
          return true;
        }

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

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

        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2beta1.Value, com.google.privacy.dlp.v2beta1.Value.Builder, com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public java.util.List<com.google.privacy.dlp.v2beta1.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.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public Builder setQuasiIdsValues(
            int index, com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public Builder setQuasiIdsValues(
            int index, com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public Builder addQuasiIdsValues(com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public Builder addQuasiIdsValues(
            int index, com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public Builder addQuasiIdsValues(
            com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public Builder addQuasiIdsValues(
            int index, com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public Builder addAllQuasiIdsValues(
            java.lang.Iterable<? extends com.google.privacy.dlp.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public java.util.List<? extends com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2beta1.Value.Builder addQuasiIdsValuesBuilder() {
          return getQuasiIdsValuesFieldBuilder().addBuilder(
              com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2beta1.Value.Builder addQuasiIdsValuesBuilder(
            int index) {
          return getQuasiIdsValuesFieldBuilder().addBuilder(
              index, com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public java.util.List<com.google.privacy.dlp.v2beta1.Value.Builder> 
             getQuasiIdsValuesBuilderList() {
          return getQuasiIdsValuesFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2beta1.Value, com.google.privacy.dlp.v2beta1.Value.Builder, com.google.privacy.dlp.v2beta1.ValueOrBuilder> 
            getQuasiIdsValuesFieldBuilder() {
          if (quasiIdsValuesBuilder_ == null) {
            quasiIdsValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.privacy.dlp.v2beta1.Value, com.google.privacy.dlp.v2beta1.Value.Builder, com.google.privacy.dlp.v2beta1.ValueOrBuilder>(
                    quasiIdsValues_,
                    ((bitField0_ & 0x00000001) == 0x00000001),
                    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>
         */
        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>
         */
        public Builder setEquivalenceClassSize(long value) {
          
          equivalenceClassSize_ = value;
          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>
         */
        public Builder clearEquivalenceClassSize() {
          
          equivalenceClassSize_ = 0L;
          onChanged();
          return this;
        }
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.setUnknownFieldsProto3(unknownFields);
        }

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


        // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass)
      }

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

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

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

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

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

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

    }

    public interface KAnonymityHistogramBucketOrBuilder extends
        // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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>
       */
      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>
       */
      long getEquivalenceClassSizeUpperBound();

      /**
       * <pre>
       * Total number of records in this bucket.
       * </pre>
       *
       * <code>int64 bucket_size = 3;</code>
       */
      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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
       */
      java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
       */
      com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
       */
      java.util.List<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
       */
      com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder getBucketValuesOrBuilder(
          int index);
    }
    /**
     * <pre>
     * Histogram bucket of equivalence class sizes in the table.
     * </pre>
     *
     * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket}
     */
    public  static final class KAnonymityHistogramBucket extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket)
        KAnonymityHistogramBucketOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use KAnonymityHistogramBucket.newBuilder() to construct.
      private KAnonymityHistogramBucket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private KAnonymityHistogramBucket() {
        equivalenceClassSizeLowerBound_ = 0L;
        equivalenceClassSizeUpperBound_ = 0L;
        bucketSize_ = 0L;
        bucketValues_ = java.util.Collections.emptyList();
      }

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

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

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

                bucketSize_ = input.readInt64();
                break;
              }
              case 34: {
                if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                  bucketValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass>();
                  mutable_bitField0_ |= 0x00000008;
                }
                bucketValues_.add(
                    input.readMessage(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass.parser(), extensionRegistry));
                break;
              }
            }
          }
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(
              e).setUnfinishedMessage(this);
        } finally {
          if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
            bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_KAnonymityResult_KAnonymityHistogramBucket_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket.class, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket.Builder.class);
      }

      private int bitField0_;
      public static final int EQUIVALENCE_CLASS_SIZE_LOWER_BOUND_FIELD_NUMBER = 1;
      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>
       */
      public long getEquivalenceClassSizeLowerBound() {
        return equivalenceClassSizeLowerBound_;
      }

      public static final int EQUIVALENCE_CLASS_SIZE_UPPER_BOUND_FIELD_NUMBER = 2;
      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>
       */
      public long getEquivalenceClassSizeUpperBound() {
        return equivalenceClassSizeUpperBound_;
      }

      public static final int BUCKET_SIZE_FIELD_NUMBER = 3;
      private long bucketSize_;
      /**
       * <pre>
       * Total number of records in this bucket.
       * </pre>
       *
       * <code>int64 bucket_size = 3;</code>
       */
      public long getBucketSize() {
        return bucketSize_;
      }

      public static final int BUCKET_VALUES_FIELD_NUMBER = 4;
      private java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
       */
      public java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
       */
      public java.util.List<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
       */
      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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
       */
      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
       */
      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder getBucketValuesOrBuilder(
          int index) {
        return bucketValues_.get(index);
      }

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

        memoizedIsInitialized = 1;
        return true;
      }

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

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

        size = 0;
        if (equivalenceClassSizeLowerBound_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(1, equivalenceClassSizeLowerBound_);
        }
        if (equivalenceClassSizeUpperBound_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(2, equivalenceClassSizeUpperBound_);
        }
        if (bucketSize_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(3, bucketSize_);
        }
        for (int i = 0; i < bucketValues_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(4, bucketValues_.get(i));
        }
        size += unknownFields.getSerializedSize();
        memoizedSize = size;
        return size;
      }

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

        boolean result = true;
        result = result && (getEquivalenceClassSizeLowerBound()
            == other.getEquivalenceClassSizeLowerBound());
        result = result && (getEquivalenceClassSizeUpperBound()
            == other.getEquivalenceClassSizeUpperBound());
        result = result && (getBucketSize()
            == other.getBucketSize());
        result = result && getBucketValuesList()
            .equals(other.getBucketValuesList());
        result = result && unknownFields.equals(other.unknownFields);
        return result;
      }

      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        hash = (37 * hash) + EQUIVALENCE_CLASS_SIZE_LOWER_BOUND_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getEquivalenceClassSizeLowerBound());
        hash = (37 * hash) + EQUIVALENCE_CLASS_SIZE_UPPER_BOUND_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getEquivalenceClassSizeUpperBound());
        hash = (37 * hash) + BUCKET_SIZE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getBucketSize());
        if (getBucketValuesCount() > 0) {
          hash = (37 * hash) + BUCKET_VALUES_FIELD_NUMBER;
          hash = (53 * hash) + getBucketValuesList().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }

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

      public Builder newBuilderForType() { return newBuilder(); }
      public static Builder newBuilder() {
        return DEFAULT_INSTANCE.toBuilder();
      }
      public static Builder newBuilder(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket prototype) {
        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
      }
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE
            ? new Builder() : new Builder().mergeFrom(this);
      }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       * <pre>
       * Histogram bucket of equivalence class sizes in the table.
       * </pre>
       *
       * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket)
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucketOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_KAnonymityResult_KAnonymityHistogramBucket_descriptor;
        }

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket.class, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket.Builder.class);
        }

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

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

          equivalenceClassSizeUpperBound_ = 0L;

          bucketSize_ = 0L;

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

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

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

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

        public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket buildPartial() {
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket result = new com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          result.equivalenceClassSizeLowerBound_ = equivalenceClassSizeLowerBound_;
          result.equivalenceClassSizeUpperBound_ = equivalenceClassSizeUpperBound_;
          result.bucketSize_ = bucketSize_;
          if (bucketValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000008) == 0x00000008)) {
              bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
              bitField0_ = (bitField0_ & ~0x00000008);
            }
            result.bucketValues_ = bucketValues_;
          } else {
            result.bucketValues_ = bucketValuesBuilder_.build();
          }
          result.bitField0_ = to_bitField0_;
          onBuilt();
          return result;
        }

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

        public Builder mergeFrom(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket other) {
          if (other == com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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_);
              }
            }
          }
          this.mergeUnknownFields(other.unknownFields);
          onChanged();
          return this;
        }

        public final boolean isInitialized() {
          return true;
        }

        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          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>
         */
        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>
         */
        public Builder setEquivalenceClassSizeLowerBound(long value) {
          
          equivalenceClassSizeLowerBound_ = value;
          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>
         */
        public Builder clearEquivalenceClassSizeLowerBound() {
          
          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>
         */
        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>
         */
        public Builder setEquivalenceClassSizeUpperBound(long value) {
          
          equivalenceClassSizeUpperBound_ = value;
          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>
         */
        public Builder clearEquivalenceClassSizeUpperBound() {
          
          equivalenceClassSizeUpperBound_ = 0L;
          onChanged();
          return this;
        }

        private long bucketSize_ ;
        /**
         * <pre>
         * Total number of records in this bucket.
         * </pre>
         *
         * <code>int64 bucket_size = 3;</code>
         */
        public long getBucketSize() {
          return bucketSize_;
        }
        /**
         * <pre>
         * Total number of records in this bucket.
         * </pre>
         *
         * <code>int64 bucket_size = 3;</code>
         */
        public Builder setBucketSize(long value) {
          
          bucketSize_ = value;
          onChanged();
          return this;
        }
        /**
         * <pre>
         * Total number of records in this bucket.
         * </pre>
         *
         * <code>int64 bucket_size = 3;</code>
         */
        public Builder clearBucketSize() {
          
          bucketSize_ = 0L;
          onChanged();
          return this;
        }

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

        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
         */
        public java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
         */
        public Builder setBucketValues(
            int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
         */
        public Builder setBucketValues(
            int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
         */
        public Builder addBucketValues(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
         */
        public Builder addBucketValues(
            int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
         */
        public Builder addBucketValues(
            com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
         */
        public Builder addBucketValues(
            int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
         */
        public Builder addAllBucketValues(
            java.lang.Iterable<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
         */
        public java.util.List<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass.Builder addBucketValuesBuilder() {
          return getBucketValuesFieldBuilder().addBuilder(
              com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass.Builder addBucketValuesBuilder(
            int index) {
          return getBucketValuesFieldBuilder().addBuilder(
              index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4;</code>
         */
        public java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass.Builder> 
             getBucketValuesBuilderList() {
          return getBucketValuesFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder> 
            getBucketValuesFieldBuilder() {
          if (bucketValuesBuilder_ == null) {
            bucketValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder>(
                    bucketValues_,
                    ((bitField0_ & 0x00000008) == 0x00000008),
                    getParentForChildren(),
                    isClean());
            bucketValues_ = null;
          }
          return bucketValuesBuilder_;
        }
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.setUnknownFieldsProto3(unknownFields);
        }

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


        // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket)
      }

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

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

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

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

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

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

    }

    public static final int EQUIVALENCE_CLASS_HISTOGRAM_BUCKETS_FIELD_NUMBER = 5;
    private java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket> equivalenceClassHistogramBuckets_;
    /**
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
     */
    public java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket> getEquivalenceClassHistogramBucketsList() {
      return equivalenceClassHistogramBuckets_;
    }
    /**
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
     */
    public java.util.List<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucketOrBuilder> 
        getEquivalenceClassHistogramBucketsOrBuilderList() {
      return equivalenceClassHistogramBuckets_;
    }
    /**
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
     */
    public int getEquivalenceClassHistogramBucketsCount() {
      return equivalenceClassHistogramBuckets_.size();
    }
    /**
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
     */
    public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket getEquivalenceClassHistogramBuckets(int index) {
      return equivalenceClassHistogramBuckets_.get(index);
    }
    /**
     * <pre>
     * Histogram of k-anonymity equivalence classes.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
     */
    public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucketOrBuilder getEquivalenceClassHistogramBucketsOrBuilder(
        int index) {
      return equivalenceClassHistogramBuckets_.get(index);
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

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

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

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

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

      boolean result = true;
      result = result && getEquivalenceClassHistogramBucketsList()
          .equals(other.getEquivalenceClassHistogramBucketsList());
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getEquivalenceClassHistogramBucketsCount() > 0) {
        hash = (37 * hash) + EQUIVALENCE_CLASS_HISTOGRAM_BUCKETS_FIELD_NUMBER;
        hash = (53 * hash) + getEquivalenceClassHistogramBucketsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * Result of the k-anonymity computation.
     * </pre>
     *
     * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult)
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResultOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_KAnonymityResult_descriptor;
      }

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

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

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

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

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

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

      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult buildPartial() {
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult result = new com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult(this);
        int from_bitField0_ = bitField0_;
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            equivalenceClassHistogramBuckets_ = java.util.Collections.unmodifiableList(equivalenceClassHistogramBuckets_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.equivalenceClassHistogramBuckets_ = equivalenceClassHistogramBuckets_;
        } else {
          result.equivalenceClassHistogramBuckets_ = equivalenceClassHistogramBucketsBuilder_.build();
        }
        onBuilt();
        return result;
      }

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

      public Builder mergeFrom(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult other) {
        if (other == com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.getDefaultInstance()) return this;
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          if (!other.equivalenceClassHistogramBuckets_.isEmpty()) {
            if (equivalenceClassHistogramBuckets_.isEmpty()) {
              equivalenceClassHistogramBuckets_ = other.equivalenceClassHistogramBuckets_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureEquivalenceClassHistogramBucketsIsMutable();
              equivalenceClassHistogramBuckets_.addAll(other.equivalenceClassHistogramBuckets_);
            }
            onChanged();
          }
        } else {
          if (!other.equivalenceClassHistogramBuckets_.isEmpty()) {
            if (equivalenceClassHistogramBucketsBuilder_.isEmpty()) {
              equivalenceClassHistogramBucketsBuilder_.dispose();
              equivalenceClassHistogramBucketsBuilder_ = null;
              equivalenceClassHistogramBuckets_ = other.equivalenceClassHistogramBuckets_;
              bitField0_ = (bitField0_ & ~0x00000001);
              equivalenceClassHistogramBucketsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getEquivalenceClassHistogramBucketsFieldBuilder() : null;
            } else {
              equivalenceClassHistogramBucketsBuilder_.addAllMessages(other.equivalenceClassHistogramBuckets_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

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

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

      /**
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
       */
      public java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
       */
      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
       */
      public Builder setEquivalenceClassHistogramBuckets(
          int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
       */
      public Builder setEquivalenceClassHistogramBuckets(
          int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
       */
      public Builder addEquivalenceClassHistogramBuckets(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
       */
      public Builder addEquivalenceClassHistogramBuckets(
          int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
       */
      public Builder addEquivalenceClassHistogramBuckets(
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
       */
      public Builder addEquivalenceClassHistogramBuckets(
          int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
       */
      public Builder addAllEquivalenceClassHistogramBuckets(
          java.lang.Iterable<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
       */
      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket.Builder getEquivalenceClassHistogramBucketsBuilder(
          int index) {
        return getEquivalenceClassHistogramBucketsFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
       */
      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
       */
      public java.util.List<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
       */
      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket.Builder addEquivalenceClassHistogramBucketsBuilder() {
        return getEquivalenceClassHistogramBucketsFieldBuilder().addBuilder(
            com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket.getDefaultInstance());
      }
      /**
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
       */
      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket.Builder addEquivalenceClassHistogramBucketsBuilder(
          int index) {
        return getEquivalenceClassHistogramBucketsFieldBuilder().addBuilder(
            index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket.getDefaultInstance());
      }
      /**
       * <pre>
       * Histogram of k-anonymity equivalence classes.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;</code>
       */
      public java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket.Builder> 
           getEquivalenceClassHistogramBucketsBuilderList() {
        return getEquivalenceClassHistogramBucketsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucketOrBuilder> 
          getEquivalenceClassHistogramBucketsFieldBuilder() {
        if (equivalenceClassHistogramBucketsBuilder_ == null) {
          equivalenceClassHistogramBucketsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucketOrBuilder>(
                  equivalenceClassHistogramBuckets_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          equivalenceClassHistogramBuckets_ = null;
        }
        return equivalenceClassHistogramBucketsBuilder_;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

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


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

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

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

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

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

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

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

  }

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

    /**
     * <pre>
     * Histogram of l-diversity equivalence class sensitive value frequencies.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
     */
    java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket> 
        getSensitiveValueFrequencyHistogramBucketsList();
    /**
     * <pre>
     * Histogram of l-diversity equivalence class sensitive value frequencies.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
     */
    com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket getSensitiveValueFrequencyHistogramBuckets(int index);
    /**
     * <pre>
     * Histogram of l-diversity equivalence class sensitive value frequencies.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
     */
    java.util.List<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucketOrBuilder> 
        getSensitiveValueFrequencyHistogramBucketsOrBuilderList();
    /**
     * <pre>
     * Histogram of l-diversity equivalence class sensitive value frequencies.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
     */
    com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucketOrBuilder getSensitiveValueFrequencyHistogramBucketsOrBuilder(
        int index);
  }
  /**
   * <pre>
   * Result of the l-diversity computation.
   * </pre>
   *
   * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult}
   */
  public  static final class LDiversityResult extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult)
      LDiversityResultOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use LDiversityResult.newBuilder() to construct.
    private LDiversityResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private LDiversityResult() {
      sensitiveValueFrequencyHistogramBuckets_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private LDiversityResult(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 42: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                sensitiveValueFrequencyHistogramBuckets_ = new java.util.ArrayList<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket>();
                mutable_bitField0_ |= 0x00000001;
              }
              sensitiveValueFrequencyHistogramBuckets_.add(
                  input.readMessage(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket.parser(), extensionRegistry));
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          sensitiveValueFrequencyHistogramBuckets_ = java.util.Collections.unmodifiableList(sensitiveValueFrequencyHistogramBuckets_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_LDiversityResult_descriptor;
    }

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

    public interface LDiversityEquivalenceClassOrBuilder extends
        // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.Value quasi_ids_values = 1;</code>
       */
      java.util.List<com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
       */
      com.google.privacy.dlp.v2beta1.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.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
       */
      java.util.List<? extends com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
       */
      com.google.privacy.dlp.v2beta1.ValueOrBuilder getQuasiIdsValuesOrBuilder(
          int index);

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

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

      /**
       * <pre>
       * Estimated frequencies of top sensitive values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
       */
      java.util.List<com.google.privacy.dlp.v2beta1.ValueFrequency> 
          getTopSensitiveValuesList();
      /**
       * <pre>
       * Estimated frequencies of top sensitive values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
       */
      com.google.privacy.dlp.v2beta1.ValueFrequency getTopSensitiveValues(int index);
      /**
       * <pre>
       * Estimated frequencies of top sensitive values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
       */
      int getTopSensitiveValuesCount();
      /**
       * <pre>
       * Estimated frequencies of top sensitive values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
       */
      java.util.List<? extends com.google.privacy.dlp.v2beta1.ValueFrequencyOrBuilder> 
          getTopSensitiveValuesOrBuilderList();
      /**
       * <pre>
       * Estimated frequencies of top sensitive values.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
       */
      com.google.privacy.dlp.v2beta1.ValueFrequencyOrBuilder getTopSensitiveValuesOrBuilder(
          int index);
    }
    /**
     * <pre>
     * The set of columns' values that share the same l-diversity value.
     * </pre>
     *
     * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass}
     */
    public  static final class LDiversityEquivalenceClass extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass)
        LDiversityEquivalenceClassOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use LDiversityEquivalenceClass.newBuilder() to construct.
      private LDiversityEquivalenceClass(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private LDiversityEquivalenceClass() {
        quasiIdsValues_ = java.util.Collections.emptyList();
        equivalenceClassSize_ = 0L;
        numDistinctSensitiveValues_ = 0L;
        topSensitiveValues_ = java.util.Collections.emptyList();
      }

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private LDiversityEquivalenceClass(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        this();
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        int mutable_bitField0_ = 0;
        com.google.protobuf.UnknownFieldSet.Builder unknownFields =
            com.google.protobuf.UnknownFieldSet.newBuilder();
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              default: {
                if (!parseUnknownFieldProto3(
                    input, unknownFields, extensionRegistry, tag)) {
                  done = true;
                }
                break;
              }
              case 10: {
                if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                  quasiIdsValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2beta1.Value>();
                  mutable_bitField0_ |= 0x00000001;
                }
                quasiIdsValues_.add(
                    input.readMessage(com.google.privacy.dlp.v2beta1.Value.parser(), extensionRegistry));
                break;
              }
              case 16: {

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

                numDistinctSensitiveValues_ = input.readInt64();
                break;
              }
              case 34: {
                if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                  topSensitiveValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2beta1.ValueFrequency>();
                  mutable_bitField0_ |= 0x00000008;
                }
                topSensitiveValues_.add(
                    input.readMessage(com.google.privacy.dlp.v2beta1.ValueFrequency.parser(), extensionRegistry));
                break;
              }
            }
          }
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(
              e).setUnfinishedMessage(this);
        } finally {
          if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
            quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_);
          }
          if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
            topSensitiveValues_ = java.util.Collections.unmodifiableList(topSensitiveValues_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_LDiversityResult_LDiversityEquivalenceClass_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass.class, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass.Builder.class);
      }

      private int bitField0_;
      public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1;
      private java.util.List<com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
       */
      public java.util.List<com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
       */
      public java.util.List<? extends com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
       */
      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.v2beta1.Value quasi_ids_values = 1;</code>
       */
      public com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
       */
      public com.google.privacy.dlp.v2beta1.ValueOrBuilder getQuasiIdsValuesOrBuilder(
          int index) {
        return quasiIdsValues_.get(index);
      }

      public static final int EQUIVALENCE_CLASS_SIZE_FIELD_NUMBER = 2;
      private long equivalenceClassSize_;
      /**
       * <pre>
       * Size of the k-anonymity equivalence class.
       * </pre>
       *
       * <code>int64 equivalence_class_size = 2;</code>
       */
      public long getEquivalenceClassSize() {
        return equivalenceClassSize_;
      }

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

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

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

        memoizedIsInitialized = 1;
        return true;
      }

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

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

        size = 0;
        for (int i = 0; i < quasiIdsValues_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(1, quasiIdsValues_.get(i));
        }
        if (equivalenceClassSize_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(2, equivalenceClassSize_);
        }
        if (numDistinctSensitiveValues_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(3, numDistinctSensitiveValues_);
        }
        for (int i = 0; i < topSensitiveValues_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(4, topSensitiveValues_.get(i));
        }
        size += unknownFields.getSerializedSize();
        memoizedSize = size;
        return size;
      }

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

        boolean result = true;
        result = result && getQuasiIdsValuesList()
            .equals(other.getQuasiIdsValuesList());
        result = result && (getEquivalenceClassSize()
            == other.getEquivalenceClassSize());
        result = result && (getNumDistinctSensitiveValues()
            == other.getNumDistinctSensitiveValues());
        result = result && getTopSensitiveValuesList()
            .equals(other.getTopSensitiveValuesList());
        result = result && unknownFields.equals(other.unknownFields);
        return result;
      }

      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        if (getQuasiIdsValuesCount() > 0) {
          hash = (37 * hash) + QUASI_IDS_VALUES_FIELD_NUMBER;
          hash = (53 * hash) + getQuasiIdsValuesList().hashCode();
        }
        hash = (37 * hash) + EQUIVALENCE_CLASS_SIZE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getEquivalenceClassSize());
        hash = (37 * hash) + NUM_DISTINCT_SENSITIVE_VALUES_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getNumDistinctSensitiveValues());
        if (getTopSensitiveValuesCount() > 0) {
          hash = (37 * hash) + TOP_SENSITIVE_VALUES_FIELD_NUMBER;
          hash = (53 * hash) + getTopSensitiveValuesList().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }

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

      public Builder newBuilderForType() { return newBuilder(); }
      public static Builder newBuilder() {
        return DEFAULT_INSTANCE.toBuilder();
      }
      public static Builder newBuilder(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass prototype) {
        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
      }
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE
            ? new Builder() : new Builder().mergeFrom(this);
      }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       * <pre>
       * The set of columns' values that share the same l-diversity value.
       * </pre>
       *
       * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass)
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClassOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_LDiversityResult_LDiversityEquivalenceClass_descriptor;
        }

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass.class, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass.Builder.class);
        }

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

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

          numDistinctSensitiveValues_ = 0L;

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

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

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

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

        public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass buildPartial() {
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass result = new com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (quasiIdsValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000001) == 0x00000001)) {
              quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_);
              bitField0_ = (bitField0_ & ~0x00000001);
            }
            result.quasiIdsValues_ = quasiIdsValues_;
          } else {
            result.quasiIdsValues_ = quasiIdsValuesBuilder_.build();
          }
          result.equivalenceClassSize_ = equivalenceClassSize_;
          result.numDistinctSensitiveValues_ = numDistinctSensitiveValues_;
          if (topSensitiveValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000008) == 0x00000008)) {
              topSensitiveValues_ = java.util.Collections.unmodifiableList(topSensitiveValues_);
              bitField0_ = (bitField0_ & ~0x00000008);
            }
            result.topSensitiveValues_ = topSensitiveValues_;
          } else {
            result.topSensitiveValues_ = topSensitiveValuesBuilder_.build();
          }
          result.bitField0_ = to_bitField0_;
          onBuilt();
          return result;
        }

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

        public Builder mergeFrom(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass other) {
          if (other == com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass.getDefaultInstance()) return this;
          if (quasiIdsValuesBuilder_ == null) {
            if (!other.quasiIdsValues_.isEmpty()) {
              if (quasiIdsValues_.isEmpty()) {
                quasiIdsValues_ = other.quasiIdsValues_;
                bitField0_ = (bitField0_ & ~0x00000001);
              } else {
                ensureQuasiIdsValuesIsMutable();
                quasiIdsValues_.addAll(other.quasiIdsValues_);
              }
              onChanged();
            }
          } else {
            if (!other.quasiIdsValues_.isEmpty()) {
              if (quasiIdsValuesBuilder_.isEmpty()) {
                quasiIdsValuesBuilder_.dispose();
                quasiIdsValuesBuilder_ = null;
                quasiIdsValues_ = other.quasiIdsValues_;
                bitField0_ = (bitField0_ & ~0x00000001);
                quasiIdsValuesBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getQuasiIdsValuesFieldBuilder() : null;
              } else {
                quasiIdsValuesBuilder_.addAllMessages(other.quasiIdsValues_);
              }
            }
          }
          if (other.getEquivalenceClassSize() != 0L) {
            setEquivalenceClassSize(other.getEquivalenceClassSize());
          }
          if (other.getNumDistinctSensitiveValues() != 0L) {
            setNumDistinctSensitiveValues(other.getNumDistinctSensitiveValues());
          }
          if (topSensitiveValuesBuilder_ == null) {
            if (!other.topSensitiveValues_.isEmpty()) {
              if (topSensitiveValues_.isEmpty()) {
                topSensitiveValues_ = other.topSensitiveValues_;
                bitField0_ = (bitField0_ & ~0x00000008);
              } else {
                ensureTopSensitiveValuesIsMutable();
                topSensitiveValues_.addAll(other.topSensitiveValues_);
              }
              onChanged();
            }
          } else {
            if (!other.topSensitiveValues_.isEmpty()) {
              if (topSensitiveValuesBuilder_.isEmpty()) {
                topSensitiveValuesBuilder_.dispose();
                topSensitiveValuesBuilder_ = null;
                topSensitiveValues_ = other.topSensitiveValues_;
                bitField0_ = (bitField0_ & ~0x00000008);
                topSensitiveValuesBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getTopSensitiveValuesFieldBuilder() : null;
              } else {
                topSensitiveValuesBuilder_.addAllMessages(other.topSensitiveValues_);
              }
            }
          }
          this.mergeUnknownFields(other.unknownFields);
          onChanged();
          return this;
        }

        public final boolean isInitialized() {
          return true;
        }

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

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

        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2beta1.Value, com.google.privacy.dlp.v2beta1.Value.Builder, com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public java.util.List<com.google.privacy.dlp.v2beta1.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.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public Builder setQuasiIdsValues(
            int index, com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public Builder setQuasiIdsValues(
            int index, com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public Builder addQuasiIdsValues(com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public Builder addQuasiIdsValues(
            int index, com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public Builder addQuasiIdsValues(
            com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public Builder addQuasiIdsValues(
            int index, com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public Builder addAllQuasiIdsValues(
            java.lang.Iterable<? extends com.google.privacy.dlp.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public java.util.List<? extends com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2beta1.Value.Builder addQuasiIdsValuesBuilder() {
          return getQuasiIdsValuesFieldBuilder().addBuilder(
              com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public com.google.privacy.dlp.v2beta1.Value.Builder addQuasiIdsValuesBuilder(
            int index) {
          return getQuasiIdsValuesFieldBuilder().addBuilder(
              index, com.google.privacy.dlp.v2beta1.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.v2beta1.Value quasi_ids_values = 1;</code>
         */
        public java.util.List<com.google.privacy.dlp.v2beta1.Value.Builder> 
             getQuasiIdsValuesBuilderList() {
          return getQuasiIdsValuesFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2beta1.Value, com.google.privacy.dlp.v2beta1.Value.Builder, com.google.privacy.dlp.v2beta1.ValueOrBuilder> 
            getQuasiIdsValuesFieldBuilder() {
          if (quasiIdsValuesBuilder_ == null) {
            quasiIdsValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.privacy.dlp.v2beta1.Value, com.google.privacy.dlp.v2beta1.Value.Builder, com.google.privacy.dlp.v2beta1.ValueOrBuilder>(
                    quasiIdsValues_,
                    ((bitField0_ & 0x00000001) == 0x00000001),
                    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>
         */
        public long getEquivalenceClassSize() {
          return equivalenceClassSize_;
        }
        /**
         * <pre>
         * Size of the k-anonymity equivalence class.
         * </pre>
         *
         * <code>int64 equivalence_class_size = 2;</code>
         */
        public Builder setEquivalenceClassSize(long value) {
          
          equivalenceClassSize_ = value;
          onChanged();
          return this;
        }
        /**
         * <pre>
         * Size of the k-anonymity equivalence class.
         * </pre>
         *
         * <code>int64 equivalence_class_size = 2;</code>
         */
        public Builder clearEquivalenceClassSize() {
          
          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>
         */
        public long getNumDistinctSensitiveValues() {
          return numDistinctSensitiveValues_;
        }
        /**
         * <pre>
         * Number of distinct sensitive values in this equivalence class.
         * </pre>
         *
         * <code>int64 num_distinct_sensitive_values = 3;</code>
         */
        public Builder setNumDistinctSensitiveValues(long value) {
          
          numDistinctSensitiveValues_ = value;
          onChanged();
          return this;
        }
        /**
         * <pre>
         * Number of distinct sensitive values in this equivalence class.
         * </pre>
         *
         * <code>int64 num_distinct_sensitive_values = 3;</code>
         */
        public Builder clearNumDistinctSensitiveValues() {
          
          numDistinctSensitiveValues_ = 0L;
          onChanged();
          return this;
        }

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

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

        /**
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
         */
        public java.util.List<com.google.privacy.dlp.v2beta1.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.v2beta1.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.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
         */
        public Builder setTopSensitiveValues(
            int index, com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
         */
        public Builder setTopSensitiveValues(
            int index, com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
         */
        public Builder addTopSensitiveValues(com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
         */
        public Builder addTopSensitiveValues(
            int index, com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
         */
        public Builder addTopSensitiveValues(
            com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
         */
        public Builder addTopSensitiveValues(
            int index, com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
         */
        public Builder addAllTopSensitiveValues(
            java.lang.Iterable<? extends com.google.privacy.dlp.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.ValueFrequency.Builder getTopSensitiveValuesBuilder(
            int index) {
          return getTopSensitiveValuesFieldBuilder().getBuilder(index);
        }
        /**
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
         */
        public java.util.List<? extends com.google.privacy.dlp.v2beta1.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.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.ValueFrequency.Builder addTopSensitiveValuesBuilder() {
          return getTopSensitiveValuesFieldBuilder().addBuilder(
              com.google.privacy.dlp.v2beta1.ValueFrequency.getDefaultInstance());
        }
        /**
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.ValueFrequency.Builder addTopSensitiveValuesBuilder(
            int index) {
          return getTopSensitiveValuesFieldBuilder().addBuilder(
              index, com.google.privacy.dlp.v2beta1.ValueFrequency.getDefaultInstance());
        }
        /**
         * <pre>
         * Estimated frequencies of top sensitive values.
         * </pre>
         *
         * <code>repeated .google.privacy.dlp.v2beta1.ValueFrequency top_sensitive_values = 4;</code>
         */
        public java.util.List<com.google.privacy.dlp.v2beta1.ValueFrequency.Builder> 
             getTopSensitiveValuesBuilderList() {
          return getTopSensitiveValuesFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2beta1.ValueFrequency, com.google.privacy.dlp.v2beta1.ValueFrequency.Builder, com.google.privacy.dlp.v2beta1.ValueFrequencyOrBuilder> 
            getTopSensitiveValuesFieldBuilder() {
          if (topSensitiveValuesBuilder_ == null) {
            topSensitiveValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.privacy.dlp.v2beta1.ValueFrequency, com.google.privacy.dlp.v2beta1.ValueFrequency.Builder, com.google.privacy.dlp.v2beta1.ValueFrequencyOrBuilder>(
                    topSensitiveValues_,
                    ((bitField0_ & 0x00000008) == 0x00000008),
                    getParentForChildren(),
                    isClean());
            topSensitiveValues_ = null;
          }
          return topSensitiveValuesBuilder_;
        }
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.setUnknownFieldsProto3(unknownFields);
        }

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


        // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass)
      }

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

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

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

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

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

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

    }

    public interface LDiversityHistogramBucketOrBuilder extends
        // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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>
       */
      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>
       */
      long getSensitiveValueFrequencyUpperBound();

      /**
       * <pre>
       * Total number of records in this bucket.
       * </pre>
       *
       * <code>int64 bucket_size = 3;</code>
       */
      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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
       */
      java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
       */
      com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
       */
      java.util.List<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
       */
      com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClassOrBuilder getBucketValuesOrBuilder(
          int index);
    }
    /**
     * <pre>
     * Histogram bucket of sensitive value frequencies in the table.
     * </pre>
     *
     * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket}
     */
    public  static final class LDiversityHistogramBucket extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket)
        LDiversityHistogramBucketOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use LDiversityHistogramBucket.newBuilder() to construct.
      private LDiversityHistogramBucket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private LDiversityHistogramBucket() {
        sensitiveValueFrequencyLowerBound_ = 0L;
        sensitiveValueFrequencyUpperBound_ = 0L;
        bucketSize_ = 0L;
        bucketValues_ = java.util.Collections.emptyList();
      }

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

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

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

                bucketSize_ = input.readInt64();
                break;
              }
              case 34: {
                if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                  bucketValues_ = new java.util.ArrayList<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass>();
                  mutable_bitField0_ |= 0x00000008;
                }
                bucketValues_.add(
                    input.readMessage(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass.parser(), extensionRegistry));
                break;
              }
            }
          }
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(
              e).setUnfinishedMessage(this);
        } finally {
          if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
            bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_LDiversityResult_LDiversityHistogramBucket_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket.class, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket.Builder.class);
      }

      private int bitField0_;
      public static final int SENSITIVE_VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER = 1;
      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>
       */
      public long getSensitiveValueFrequencyLowerBound() {
        return sensitiveValueFrequencyLowerBound_;
      }

      public static final int SENSITIVE_VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER = 2;
      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>
       */
      public long getSensitiveValueFrequencyUpperBound() {
        return sensitiveValueFrequencyUpperBound_;
      }

      public static final int BUCKET_SIZE_FIELD_NUMBER = 3;
      private long bucketSize_;
      /**
       * <pre>
       * Total number of records in this bucket.
       * </pre>
       *
       * <code>int64 bucket_size = 3;</code>
       */
      public long getBucketSize() {
        return bucketSize_;
      }

      public static final int BUCKET_VALUES_FIELD_NUMBER = 4;
      private java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
       */
      public java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
       */
      public java.util.List<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
       */
      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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
       */
      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
       */
      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClassOrBuilder getBucketValuesOrBuilder(
          int index) {
        return bucketValues_.get(index);
      }

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

        memoizedIsInitialized = 1;
        return true;
      }

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

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

        size = 0;
        if (sensitiveValueFrequencyLowerBound_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(1, sensitiveValueFrequencyLowerBound_);
        }
        if (sensitiveValueFrequencyUpperBound_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(2, sensitiveValueFrequencyUpperBound_);
        }
        if (bucketSize_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(3, bucketSize_);
        }
        for (int i = 0; i < bucketValues_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(4, bucketValues_.get(i));
        }
        size += unknownFields.getSerializedSize();
        memoizedSize = size;
        return size;
      }

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

        boolean result = true;
        result = result && (getSensitiveValueFrequencyLowerBound()
            == other.getSensitiveValueFrequencyLowerBound());
        result = result && (getSensitiveValueFrequencyUpperBound()
            == other.getSensitiveValueFrequencyUpperBound());
        result = result && (getBucketSize()
            == other.getBucketSize());
        result = result && getBucketValuesList()
            .equals(other.getBucketValuesList());
        result = result && unknownFields.equals(other.unknownFields);
        return result;
      }

      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        hash = (37 * hash) + SENSITIVE_VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getSensitiveValueFrequencyLowerBound());
        hash = (37 * hash) + SENSITIVE_VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getSensitiveValueFrequencyUpperBound());
        hash = (37 * hash) + BUCKET_SIZE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getBucketSize());
        if (getBucketValuesCount() > 0) {
          hash = (37 * hash) + BUCKET_VALUES_FIELD_NUMBER;
          hash = (53 * hash) + getBucketValuesList().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }

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

      public Builder newBuilderForType() { return newBuilder(); }
      public static Builder newBuilder() {
        return DEFAULT_INSTANCE.toBuilder();
      }
      public static Builder newBuilder(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket prototype) {
        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
      }
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE
            ? new Builder() : new Builder().mergeFrom(this);
      }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       * <pre>
       * Histogram bucket of sensitive value frequencies in the table.
       * </pre>
       *
       * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket)
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucketOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_LDiversityResult_LDiversityHistogramBucket_descriptor;
        }

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket.class, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket.Builder.class);
        }

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

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

          sensitiveValueFrequencyUpperBound_ = 0L;

          bucketSize_ = 0L;

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

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

        public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket getDefaultInstanceForType() {
          return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket.getDefaultInstance();
        }

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

        public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket buildPartial() {
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket result = new com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          result.sensitiveValueFrequencyLowerBound_ = sensitiveValueFrequencyLowerBound_;
          result.sensitiveValueFrequencyUpperBound_ = sensitiveValueFrequencyUpperBound_;
          result.bucketSize_ = bucketSize_;
          if (bucketValuesBuilder_ == null) {
            if (((bitField0_ & 0x00000008) == 0x00000008)) {
              bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
              bitField0_ = (bitField0_ & ~0x00000008);
            }
            result.bucketValues_ = bucketValues_;
          } else {
            result.bucketValues_ = bucketValuesBuilder_.build();
          }
          result.bitField0_ = to_bitField0_;
          onBuilt();
          return result;
        }

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

        public Builder mergeFrom(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket other) {
          if (other == com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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_);
              }
            }
          }
          this.mergeUnknownFields(other.unknownFields);
          onChanged();
          return this;
        }

        public final boolean isInitialized() {
          return true;
        }

        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          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>
         */
        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>
         */
        public Builder setSensitiveValueFrequencyLowerBound(long value) {
          
          sensitiveValueFrequencyLowerBound_ = value;
          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>
         */
        public Builder clearSensitiveValueFrequencyLowerBound() {
          
          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>
         */
        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>
         */
        public Builder setSensitiveValueFrequencyUpperBound(long value) {
          
          sensitiveValueFrequencyUpperBound_ = value;
          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>
         */
        public Builder clearSensitiveValueFrequencyUpperBound() {
          
          sensitiveValueFrequencyUpperBound_ = 0L;
          onChanged();
          return this;
        }

        private long bucketSize_ ;
        /**
         * <pre>
         * Total number of records in this bucket.
         * </pre>
         *
         * <code>int64 bucket_size = 3;</code>
         */
        public long getBucketSize() {
          return bucketSize_;
        }
        /**
         * <pre>
         * Total number of records in this bucket.
         * </pre>
         *
         * <code>int64 bucket_size = 3;</code>
         */
        public Builder setBucketSize(long value) {
          
          bucketSize_ = value;
          onChanged();
          return this;
        }
        /**
         * <pre>
         * Total number of records in this bucket.
         * </pre>
         *
         * <code>int64 bucket_size = 3;</code>
         */
        public Builder clearBucketSize() {
          
          bucketSize_ = 0L;
          onChanged();
          return this;
        }

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

        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
         */
        public java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
         */
        public Builder setBucketValues(
            int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
         */
        public Builder setBucketValues(
            int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
         */
        public Builder addBucketValues(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
         */
        public Builder addBucketValues(
            int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
         */
        public Builder addBucketValues(
            com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
         */
        public Builder addBucketValues(
            int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
         */
        public Builder addAllBucketValues(
            java.lang.Iterable<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
         */
        public java.util.List<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass.Builder addBucketValuesBuilder() {
          return getBucketValuesFieldBuilder().addBuilder(
              com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
         */
        public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass.Builder addBucketValuesBuilder(
            int index) {
          return getBucketValuesFieldBuilder().addBuilder(
              index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4;</code>
         */
        public java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass.Builder> 
             getBucketValuesBuilderList() {
          return getBucketValuesFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClassOrBuilder> 
            getBucketValuesFieldBuilder() {
          if (bucketValuesBuilder_ == null) {
            bucketValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClassOrBuilder>(
                    bucketValues_,
                    ((bitField0_ & 0x00000008) == 0x00000008),
                    getParentForChildren(),
                    isClean());
            bucketValues_ = null;
          }
          return bucketValuesBuilder_;
        }
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.setUnknownFieldsProto3(unknownFields);
        }

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


        // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket)
      }

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

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

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

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

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

      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }

    }

    public static final int SENSITIVE_VALUE_FREQUENCY_HISTOGRAM_BUCKETS_FIELD_NUMBER = 5;
    private java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket> sensitiveValueFrequencyHistogramBuckets_;
    /**
     * <pre>
     * Histogram of l-diversity equivalence class sensitive value frequencies.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
     */
    public java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket> getSensitiveValueFrequencyHistogramBucketsList() {
      return sensitiveValueFrequencyHistogramBuckets_;
    }
    /**
     * <pre>
     * Histogram of l-diversity equivalence class sensitive value frequencies.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
     */
    public java.util.List<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucketOrBuilder> 
        getSensitiveValueFrequencyHistogramBucketsOrBuilderList() {
      return sensitiveValueFrequencyHistogramBuckets_;
    }
    /**
     * <pre>
     * Histogram of l-diversity equivalence class sensitive value frequencies.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
     */
    public int getSensitiveValueFrequencyHistogramBucketsCount() {
      return sensitiveValueFrequencyHistogramBuckets_.size();
    }
    /**
     * <pre>
     * Histogram of l-diversity equivalence class sensitive value frequencies.
     * </pre>
     *
     * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
     */
    public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
     */
    public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucketOrBuilder getSensitiveValueFrequencyHistogramBucketsOrBuilder(
        int index) {
      return sensitiveValueFrequencyHistogramBuckets_.get(index);
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

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

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

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

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

      boolean result = true;
      result = result && getSensitiveValueFrequencyHistogramBucketsList()
          .equals(other.getSensitiveValueFrequencyHistogramBucketsList());
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getSensitiveValueFrequencyHistogramBucketsCount() > 0) {
        hash = (37 * hash) + SENSITIVE_VALUE_FREQUENCY_HISTOGRAM_BUCKETS_FIELD_NUMBER;
        hash = (53 * hash) + getSensitiveValueFrequencyHistogramBucketsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * Result of the l-diversity computation.
     * </pre>
     *
     * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult)
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResultOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_LDiversityResult_descriptor;
      }

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

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

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

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

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

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

      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult buildPartial() {
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult result = new com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult(this);
        int from_bitField0_ = bitField0_;
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            sensitiveValueFrequencyHistogramBuckets_ = java.util.Collections.unmodifiableList(sensitiveValueFrequencyHistogramBuckets_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.sensitiveValueFrequencyHistogramBuckets_ = sensitiveValueFrequencyHistogramBuckets_;
        } else {
          result.sensitiveValueFrequencyHistogramBuckets_ = sensitiveValueFrequencyHistogramBucketsBuilder_.build();
        }
        onBuilt();
        return result;
      }

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

      public Builder mergeFrom(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult other) {
        if (other == com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.getDefaultInstance()) return this;
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          if (!other.sensitiveValueFrequencyHistogramBuckets_.isEmpty()) {
            if (sensitiveValueFrequencyHistogramBuckets_.isEmpty()) {
              sensitiveValueFrequencyHistogramBuckets_ = other.sensitiveValueFrequencyHistogramBuckets_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureSensitiveValueFrequencyHistogramBucketsIsMutable();
              sensitiveValueFrequencyHistogramBuckets_.addAll(other.sensitiveValueFrequencyHistogramBuckets_);
            }
            onChanged();
          }
        } else {
          if (!other.sensitiveValueFrequencyHistogramBuckets_.isEmpty()) {
            if (sensitiveValueFrequencyHistogramBucketsBuilder_.isEmpty()) {
              sensitiveValueFrequencyHistogramBucketsBuilder_.dispose();
              sensitiveValueFrequencyHistogramBucketsBuilder_ = null;
              sensitiveValueFrequencyHistogramBuckets_ = other.sensitiveValueFrequencyHistogramBuckets_;
              bitField0_ = (bitField0_ & ~0x00000001);
              sensitiveValueFrequencyHistogramBucketsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getSensitiveValueFrequencyHistogramBucketsFieldBuilder() : null;
            } else {
              sensitiveValueFrequencyHistogramBucketsBuilder_.addAllMessages(other.sensitiveValueFrequencyHistogramBuckets_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      private java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket> sensitiveValueFrequencyHistogramBuckets_ =
        java.util.Collections.emptyList();
      private void ensureSensitiveValueFrequencyHistogramBucketsIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          sensitiveValueFrequencyHistogramBuckets_ = new java.util.ArrayList<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket>(sensitiveValueFrequencyHistogramBuckets_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucketOrBuilder> sensitiveValueFrequencyHistogramBucketsBuilder_;

      /**
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
       */
      public java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
       */
      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
       */
      public Builder setSensitiveValueFrequencyHistogramBuckets(
          int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
       */
      public Builder setSensitiveValueFrequencyHistogramBuckets(
          int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
       */
      public Builder addSensitiveValueFrequencyHistogramBuckets(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
       */
      public Builder addSensitiveValueFrequencyHistogramBuckets(
          int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
       */
      public Builder addSensitiveValueFrequencyHistogramBuckets(
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
       */
      public Builder addSensitiveValueFrequencyHistogramBuckets(
          int index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
       */
      public Builder addAllSensitiveValueFrequencyHistogramBuckets(
          java.lang.Iterable<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
       */
      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
       */
      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
       */
      public java.util.List<? extends com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
       */
      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket.Builder addSensitiveValueFrequencyHistogramBucketsBuilder() {
        return getSensitiveValueFrequencyHistogramBucketsFieldBuilder().addBuilder(
            com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket.getDefaultInstance());
      }
      /**
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
       */
      public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket.Builder addSensitiveValueFrequencyHistogramBucketsBuilder(
          int index) {
        return getSensitiveValueFrequencyHistogramBucketsFieldBuilder().addBuilder(
            index, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket.getDefaultInstance());
      }
      /**
       * <pre>
       * Histogram of l-diversity equivalence class sensitive value frequencies.
       * </pre>
       *
       * <code>repeated .google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5;</code>
       */
      public java.util.List<com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket.Builder> 
           getSensitiveValueFrequencyHistogramBucketsBuilderList() {
        return getSensitiveValueFrequencyHistogramBucketsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucketOrBuilder> 
          getSensitiveValueFrequencyHistogramBucketsFieldBuilder() {
        if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) {
          sensitiveValueFrequencyHistogramBucketsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucketOrBuilder>(
                  sensitiveValueFrequencyHistogramBuckets_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          sensitiveValueFrequencyHistogramBuckets_ = null;
        }
        return sensitiveValueFrequencyHistogramBucketsBuilder_;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

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


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

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

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

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

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

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

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

  }

  private int resultCase_ = 0;
  private java.lang.Object result_;
  public enum ResultCase
      implements com.google.protobuf.Internal.EnumLite {
    NUMERICAL_STATS_RESULT(3),
    CATEGORICAL_STATS_RESULT(4),
    K_ANONYMITY_RESULT(5),
    L_DIVERSITY_RESULT(6),
    RESULT_NOT_SET(0);
    private final int value;
    private ResultCase(int value) {
      this.value = value;
    }
    /**
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static ResultCase valueOf(int value) {
      return forNumber(value);
    }

    public static ResultCase forNumber(int value) {
      switch (value) {
        case 3: return NUMERICAL_STATS_RESULT;
        case 4: return CATEGORICAL_STATS_RESULT;
        case 5: return K_ANONYMITY_RESULT;
        case 6: return L_DIVERSITY_RESULT;
        case 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 NUMERICAL_STATS_RESULT_FIELD_NUMBER = 3;
  /**
   * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult numerical_stats_result = 3;</code>
   */
  public boolean hasNumericalStatsResult() {
    return resultCase_ == 3;
  }
  /**
   * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult numerical_stats_result = 3;</code>
   */
  public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult getNumericalStatsResult() {
    if (resultCase_ == 3) {
       return (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult) result_;
    }
    return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult.getDefaultInstance();
  }
  /**
   * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult numerical_stats_result = 3;</code>
   */
  public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResultOrBuilder getNumericalStatsResultOrBuilder() {
    if (resultCase_ == 3) {
       return (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult) result_;
    }
    return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult.getDefaultInstance();
  }

  public static final int CATEGORICAL_STATS_RESULT_FIELD_NUMBER = 4;
  /**
   * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult categorical_stats_result = 4;</code>
   */
  public boolean hasCategoricalStatsResult() {
    return resultCase_ == 4;
  }
  /**
   * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult categorical_stats_result = 4;</code>
   */
  public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult getCategoricalStatsResult() {
    if (resultCase_ == 4) {
       return (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult) result_;
    }
    return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.getDefaultInstance();
  }
  /**
   * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult categorical_stats_result = 4;</code>
   */
  public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResultOrBuilder getCategoricalStatsResultOrBuilder() {
    if (resultCase_ == 4) {
       return (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult) result_;
    }
    return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.getDefaultInstance();
  }

  public static final int K_ANONYMITY_RESULT_FIELD_NUMBER = 5;
  /**
   * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult k_anonymity_result = 5;</code>
   */
  public boolean hasKAnonymityResult() {
    return resultCase_ == 5;
  }
  /**
   * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult k_anonymity_result = 5;</code>
   */
  public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult getKAnonymityResult() {
    if (resultCase_ == 5) {
       return (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult) result_;
    }
    return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.getDefaultInstance();
  }
  /**
   * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult k_anonymity_result = 5;</code>
   */
  public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResultOrBuilder getKAnonymityResultOrBuilder() {
    if (resultCase_ == 5) {
       return (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult) result_;
    }
    return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.getDefaultInstance();
  }

  public static final int L_DIVERSITY_RESULT_FIELD_NUMBER = 6;
  /**
   * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult l_diversity_result = 6;</code>
   */
  public boolean hasLDiversityResult() {
    return resultCase_ == 6;
  }
  /**
   * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult l_diversity_result = 6;</code>
   */
  public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult getLDiversityResult() {
    if (resultCase_ == 6) {
       return (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult) result_;
    }
    return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.getDefaultInstance();
  }
  /**
   * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult l_diversity_result = 6;</code>
   */
  public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResultOrBuilder getLDiversityResultOrBuilder() {
    if (resultCase_ == 6) {
       return (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult) result_;
    }
    return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.getDefaultInstance();
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (resultCase_ == 3) {
      output.writeMessage(3, (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult) result_);
    }
    if (resultCase_ == 4) {
      output.writeMessage(4, (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult) result_);
    }
    if (resultCase_ == 5) {
      output.writeMessage(5, (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult) result_);
    }
    if (resultCase_ == 6) {
      output.writeMessage(6, (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult) result_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (resultCase_ == 3) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult) result_);
    }
    if (resultCase_ == 4) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(4, (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult) result_);
    }
    if (resultCase_ == 5) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult) result_);
    }
    if (resultCase_ == 6) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(6, (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult) result_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

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

    boolean result = true;
    result = result && getResultCase().equals(
        other.getResultCase());
    if (!result) return false;
    switch (resultCase_) {
      case 3:
        result = result && getNumericalStatsResult()
            .equals(other.getNumericalStatsResult());
        break;
      case 4:
        result = result && getCategoricalStatsResult()
            .equals(other.getCategoricalStatsResult());
        break;
      case 5:
        result = result && getKAnonymityResult()
            .equals(other.getKAnonymityResult());
        break;
      case 6:
        result = result && getLDiversityResult()
            .equals(other.getLDiversityResult());
        break;
      case 0:
      default:
    }
    result = result && unknownFields.equals(other.unknownFields);
    return result;
  }

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

  public static com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   * Result of a risk analysis
   * [`Operation`](/dlp/docs/reference/rest/v2beta1/inspect.operations)
   * request.
   * </pre>
   *
   * Protobuf type {@code google.privacy.dlp.v2beta1.RiskAnalysisOperationResult}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2beta1.RiskAnalysisOperationResult)
      com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResultOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.privacy.dlp.v2beta1.DlpProto.internal_static_google_privacy_dlp_v2beta1_RiskAnalysisOperationResult_descriptor;
    }

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

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

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    public Builder clear() {
      super.clear();
      resultCase_ = 0;
      result_ = null;
      return this;
    }

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

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

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

    public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult buildPartial() {
      com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult result = new com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult(this);
      if (resultCase_ == 3) {
        if (numericalStatsResultBuilder_ == null) {
          result.result_ = result_;
        } else {
          result.result_ = numericalStatsResultBuilder_.build();
        }
      }
      if (resultCase_ == 4) {
        if (categoricalStatsResultBuilder_ == null) {
          result.result_ = result_;
        } else {
          result.result_ = categoricalStatsResultBuilder_.build();
        }
      }
      if (resultCase_ == 5) {
        if (kAnonymityResultBuilder_ == null) {
          result.result_ = result_;
        } else {
          result.result_ = kAnonymityResultBuilder_.build();
        }
      }
      if (resultCase_ == 6) {
        if (lDiversityResultBuilder_ == null) {
          result.result_ = result_;
        } else {
          result.result_ = lDiversityResultBuilder_.build();
        }
      }
      result.resultCase_ = resultCase_;
      onBuilt();
      return result;
    }

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

    public Builder mergeFrom(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult other) {
      if (other == com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.getDefaultInstance()) return this;
      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 RESULT_NOT_SET: {
          break;
        }
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

    public final boolean isInitialized() {
      return true;
    }

    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int resultCase_ = 0;
    private java.lang.Object result_;
    public ResultCase
        getResultCase() {
      return ResultCase.forNumber(
          resultCase_);
    }

    public Builder clearResult() {
      resultCase_ = 0;
      result_ = null;
      onChanged();
      return this;
    }


    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResultOrBuilder> numericalStatsResultBuilder_;
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult numerical_stats_result = 3;</code>
     */
    public boolean hasNumericalStatsResult() {
      return resultCase_ == 3;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult numerical_stats_result = 3;</code>
     */
    public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult getNumericalStatsResult() {
      if (numericalStatsResultBuilder_ == null) {
        if (resultCase_ == 3) {
          return (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult) result_;
        }
        return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult.getDefaultInstance();
      } else {
        if (resultCase_ == 3) {
          return numericalStatsResultBuilder_.getMessage();
        }
        return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult.getDefaultInstance();
      }
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult numerical_stats_result = 3;</code>
     */
    public Builder setNumericalStatsResult(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult value) {
      if (numericalStatsResultBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        result_ = value;
        onChanged();
      } else {
        numericalStatsResultBuilder_.setMessage(value);
      }
      resultCase_ = 3;
      return this;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult numerical_stats_result = 3;</code>
     */
    public Builder setNumericalStatsResult(
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult.Builder builderForValue) {
      if (numericalStatsResultBuilder_ == null) {
        result_ = builderForValue.build();
        onChanged();
      } else {
        numericalStatsResultBuilder_.setMessage(builderForValue.build());
      }
      resultCase_ = 3;
      return this;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult numerical_stats_result = 3;</code>
     */
    public Builder mergeNumericalStatsResult(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult value) {
      if (numericalStatsResultBuilder_ == null) {
        if (resultCase_ == 3 &&
            result_ != com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult.getDefaultInstance()) {
          result_ = com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult.newBuilder((com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult) result_)
              .mergeFrom(value).buildPartial();
        } else {
          result_ = value;
        }
        onChanged();
      } else {
        if (resultCase_ == 3) {
          numericalStatsResultBuilder_.mergeFrom(value);
        }
        numericalStatsResultBuilder_.setMessage(value);
      }
      resultCase_ = 3;
      return this;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult numerical_stats_result = 3;</code>
     */
    public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult.Builder getNumericalStatsResultBuilder() {
      return getNumericalStatsResultFieldBuilder().getBuilder();
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult numerical_stats_result = 3;</code>
     */
    public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResultOrBuilder getNumericalStatsResultOrBuilder() {
      if ((resultCase_ == 3) && (numericalStatsResultBuilder_ != null)) {
        return numericalStatsResultBuilder_.getMessageOrBuilder();
      } else {
        if (resultCase_ == 3) {
          return (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult) result_;
        }
        return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult.getDefaultInstance();
      }
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult numerical_stats_result = 3;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResultOrBuilder> 
        getNumericalStatsResultFieldBuilder() {
      if (numericalStatsResultBuilder_ == null) {
        if (!(resultCase_ == 3)) {
          result_ = com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult.getDefaultInstance();
        }
        numericalStatsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResultOrBuilder>(
                (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult) result_,
                getParentForChildren(),
                isClean());
        result_ = null;
      }
      resultCase_ = 3;
      onChanged();;
      return numericalStatsResultBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResultOrBuilder> categoricalStatsResultBuilder_;
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult categorical_stats_result = 4;</code>
     */
    public boolean hasCategoricalStatsResult() {
      return resultCase_ == 4;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult categorical_stats_result = 4;</code>
     */
    public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult getCategoricalStatsResult() {
      if (categoricalStatsResultBuilder_ == null) {
        if (resultCase_ == 4) {
          return (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult) result_;
        }
        return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.getDefaultInstance();
      } else {
        if (resultCase_ == 4) {
          return categoricalStatsResultBuilder_.getMessage();
        }
        return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.getDefaultInstance();
      }
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult categorical_stats_result = 4;</code>
     */
    public Builder setCategoricalStatsResult(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult value) {
      if (categoricalStatsResultBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        result_ = value;
        onChanged();
      } else {
        categoricalStatsResultBuilder_.setMessage(value);
      }
      resultCase_ = 4;
      return this;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult categorical_stats_result = 4;</code>
     */
    public Builder setCategoricalStatsResult(
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.Builder builderForValue) {
      if (categoricalStatsResultBuilder_ == null) {
        result_ = builderForValue.build();
        onChanged();
      } else {
        categoricalStatsResultBuilder_.setMessage(builderForValue.build());
      }
      resultCase_ = 4;
      return this;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult categorical_stats_result = 4;</code>
     */
    public Builder mergeCategoricalStatsResult(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult value) {
      if (categoricalStatsResultBuilder_ == null) {
        if (resultCase_ == 4 &&
            result_ != com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.getDefaultInstance()) {
          result_ = com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.newBuilder((com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult) result_)
              .mergeFrom(value).buildPartial();
        } else {
          result_ = value;
        }
        onChanged();
      } else {
        if (resultCase_ == 4) {
          categoricalStatsResultBuilder_.mergeFrom(value);
        }
        categoricalStatsResultBuilder_.setMessage(value);
      }
      resultCase_ = 4;
      return this;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult categorical_stats_result = 4;</code>
     */
    public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.Builder getCategoricalStatsResultBuilder() {
      return getCategoricalStatsResultFieldBuilder().getBuilder();
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult categorical_stats_result = 4;</code>
     */
    public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResultOrBuilder getCategoricalStatsResultOrBuilder() {
      if ((resultCase_ == 4) && (categoricalStatsResultBuilder_ != null)) {
        return categoricalStatsResultBuilder_.getMessageOrBuilder();
      } else {
        if (resultCase_ == 4) {
          return (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult) result_;
        }
        return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.getDefaultInstance();
      }
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult categorical_stats_result = 4;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResultOrBuilder> 
        getCategoricalStatsResultFieldBuilder() {
      if (categoricalStatsResultBuilder_ == null) {
        if (!(resultCase_ == 4)) {
          result_ = com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.getDefaultInstance();
        }
        categoricalStatsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResultOrBuilder>(
                (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult) result_,
                getParentForChildren(),
                isClean());
        result_ = null;
      }
      resultCase_ = 4;
      onChanged();;
      return categoricalStatsResultBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResultOrBuilder> kAnonymityResultBuilder_;
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult k_anonymity_result = 5;</code>
     */
    public boolean hasKAnonymityResult() {
      return resultCase_ == 5;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult k_anonymity_result = 5;</code>
     */
    public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult getKAnonymityResult() {
      if (kAnonymityResultBuilder_ == null) {
        if (resultCase_ == 5) {
          return (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult) result_;
        }
        return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.getDefaultInstance();
      } else {
        if (resultCase_ == 5) {
          return kAnonymityResultBuilder_.getMessage();
        }
        return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.getDefaultInstance();
      }
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult k_anonymity_result = 5;</code>
     */
    public Builder setKAnonymityResult(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult value) {
      if (kAnonymityResultBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        result_ = value;
        onChanged();
      } else {
        kAnonymityResultBuilder_.setMessage(value);
      }
      resultCase_ = 5;
      return this;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult k_anonymity_result = 5;</code>
     */
    public Builder setKAnonymityResult(
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.Builder builderForValue) {
      if (kAnonymityResultBuilder_ == null) {
        result_ = builderForValue.build();
        onChanged();
      } else {
        kAnonymityResultBuilder_.setMessage(builderForValue.build());
      }
      resultCase_ = 5;
      return this;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult k_anonymity_result = 5;</code>
     */
    public Builder mergeKAnonymityResult(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult value) {
      if (kAnonymityResultBuilder_ == null) {
        if (resultCase_ == 5 &&
            result_ != com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.getDefaultInstance()) {
          result_ = com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.newBuilder((com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult) result_)
              .mergeFrom(value).buildPartial();
        } else {
          result_ = value;
        }
        onChanged();
      } else {
        if (resultCase_ == 5) {
          kAnonymityResultBuilder_.mergeFrom(value);
        }
        kAnonymityResultBuilder_.setMessage(value);
      }
      resultCase_ = 5;
      return this;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult k_anonymity_result = 5;</code>
     */
    public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.Builder getKAnonymityResultBuilder() {
      return getKAnonymityResultFieldBuilder().getBuilder();
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult k_anonymity_result = 5;</code>
     */
    public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResultOrBuilder getKAnonymityResultOrBuilder() {
      if ((resultCase_ == 5) && (kAnonymityResultBuilder_ != null)) {
        return kAnonymityResultBuilder_.getMessageOrBuilder();
      } else {
        if (resultCase_ == 5) {
          return (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult) result_;
        }
        return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.getDefaultInstance();
      }
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult k_anonymity_result = 5;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResultOrBuilder> 
        getKAnonymityResultFieldBuilder() {
      if (kAnonymityResultBuilder_ == null) {
        if (!(resultCase_ == 5)) {
          result_ = com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.getDefaultInstance();
        }
        kAnonymityResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResultOrBuilder>(
                (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult) result_,
                getParentForChildren(),
                isClean());
        result_ = null;
      }
      resultCase_ = 5;
      onChanged();;
      return kAnonymityResultBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResultOrBuilder> lDiversityResultBuilder_;
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult l_diversity_result = 6;</code>
     */
    public boolean hasLDiversityResult() {
      return resultCase_ == 6;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult l_diversity_result = 6;</code>
     */
    public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult getLDiversityResult() {
      if (lDiversityResultBuilder_ == null) {
        if (resultCase_ == 6) {
          return (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult) result_;
        }
        return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.getDefaultInstance();
      } else {
        if (resultCase_ == 6) {
          return lDiversityResultBuilder_.getMessage();
        }
        return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.getDefaultInstance();
      }
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult l_diversity_result = 6;</code>
     */
    public Builder setLDiversityResult(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult value) {
      if (lDiversityResultBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        result_ = value;
        onChanged();
      } else {
        lDiversityResultBuilder_.setMessage(value);
      }
      resultCase_ = 6;
      return this;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult l_diversity_result = 6;</code>
     */
    public Builder setLDiversityResult(
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.Builder builderForValue) {
      if (lDiversityResultBuilder_ == null) {
        result_ = builderForValue.build();
        onChanged();
      } else {
        lDiversityResultBuilder_.setMessage(builderForValue.build());
      }
      resultCase_ = 6;
      return this;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult l_diversity_result = 6;</code>
     */
    public Builder mergeLDiversityResult(com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult value) {
      if (lDiversityResultBuilder_ == null) {
        if (resultCase_ == 6 &&
            result_ != com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.getDefaultInstance()) {
          result_ = com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.newBuilder((com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult) result_)
              .mergeFrom(value).buildPartial();
        } else {
          result_ = value;
        }
        onChanged();
      } else {
        if (resultCase_ == 6) {
          lDiversityResultBuilder_.mergeFrom(value);
        }
        lDiversityResultBuilder_.setMessage(value);
      }
      resultCase_ = 6;
      return this;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.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;
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult l_diversity_result = 6;</code>
     */
    public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.Builder getLDiversityResultBuilder() {
      return getLDiversityResultFieldBuilder().getBuilder();
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult l_diversity_result = 6;</code>
     */
    public com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResultOrBuilder getLDiversityResultOrBuilder() {
      if ((resultCase_ == 6) && (lDiversityResultBuilder_ != null)) {
        return lDiversityResultBuilder_.getMessageOrBuilder();
      } else {
        if (resultCase_ == 6) {
          return (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult) result_;
        }
        return com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.getDefaultInstance();
      }
    }
    /**
     * <code>.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult l_diversity_result = 6;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResultOrBuilder> 
        getLDiversityResultFieldBuilder() {
      if (lDiversityResultBuilder_ == null) {
        if (!(resultCase_ == 6)) {
          result_ = com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.getDefaultInstance();
        }
        lDiversityResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.Builder, com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResultOrBuilder>(
                (com.google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult) result_,
                getParentForChildren(),
                isClean());
        result_ = null;
      }
      resultCase_ = 6;
      onChanged();;
      return lDiversityResultBuilder_;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFieldsProto3(unknownFields);
    }

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


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

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

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

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

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

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

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

}

