public Builder mergeBucketGranularity(com.google.cloud.visionai.v1.FacetValue value) {
        if (bucketGranularityBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)
              && bucketGranularity_ != null
              && bucketGranularity_
                  != com.google.cloud.visionai.v1.FacetValue.getDefaultInstance()) {
            getBucketGranularityBuilder().mergeFrom(value);
          } else {
            bucketGranularity_ = value;
          }
        } else {
          bucketGranularityBuilder_.mergeFrom(value);
        }
        if (bucketGranularity_ != null) {
          bitField0_ |= 0x00000002;
          onChanged();
        }
        return this;
      }
<pre>
Bucket granularity. NOTE: Only integer type is currently supported for
this field.
</pre>

<code>.google.cloud.visionai.v1.FacetValue bucket_granularity = 2;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/FacetProperty.java