@java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (getMappedFieldsCount() > 0) {
      hash = (37 * hash) + MAPPED_FIELDS_FIELD_NUMBER;
      hash = (53 * hash) + getMappedFieldsList().hashCode();
    }
    hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER;
    hash = (53 * hash) + getDisplayName().hashCode();
    hash = (37 * hash) + RESULT_SIZE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getResultSize());
    hash = (37 * hash) + BUCKET_TYPE_FIELD_NUMBER;
    hash = (53 * hash) + bucketType_;
    switch (rangeFacetConfigCase_) {
      case 5:
        hash = (37 * hash) + FIXED_RANGE_BUCKET_SPEC_FIELD_NUMBER;
        hash = (53 * hash) + getFixedRangeBucketSpec().hashCode();
        break;
      case 6:
        hash = (37 * hash) + CUSTOM_RANGE_BUCKET_SPEC_FIELD_NUMBER;
        hash = (53 * hash) + getCustomRangeBucketSpec().hashCode();
        break;
      case 7:
        hash = (37 * hash) + DATETIME_BUCKET_SPEC_FIELD_NUMBER;
        hash = (53 * hash) + getDatetimeBucketSpec().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }
<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