@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.visionai.v1.FacetProperty)) {
      return super.equals(obj);
    }
    com.google.cloud.visionai.v1.FacetProperty other =
        (com.google.cloud.visionai.v1.FacetProperty) obj;

    if (!getMappedFieldsList().equals(other.getMappedFieldsList())) return false;
    if (!getDisplayName().equals(other.getDisplayName())) return false;
    if (getResultSize() != other.getResultSize()) return false;
    if (bucketType_ != other.bucketType_) return false;
    if (!getRangeFacetConfigCase().equals(other.getRangeFacetConfigCase())) return false;
    switch (rangeFacetConfigCase_) {
      case 5:
        if (!getFixedRangeBucketSpec().equals(other.getFixedRangeBucketSpec())) return false;
        break;
      case 6:
        if (!getCustomRangeBucketSpec().equals(other.getCustomRangeBucketSpec())) return false;
        break;
      case 7:
        if (!getDatetimeBucketSpec().equals(other.getDatetimeBucketSpec())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Facet bucket type e.g. value, range.
</pre>

<code>.google.cloud.visionai.v1.FacetBucketType bucket_type = 4;</code>

@return The bucketType.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/FacetProperty.java