public Builder setBucketGranularity(
          com.google.cloud.visionai.v1.FacetValue.Builder builderForValue) {
        if (bucketGranularityBuilder_ == null) {
          bucketGranularity_ = builderForValue.build();
        } else {
          bucketGranularityBuilder_.setMessage(builderForValue.build());
        }
        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