public boolean hasBucketGranularity() {
        return ((bitField0_ & 0x00000002) != 0);
      }
<pre>
Bucket granularity. NOTE: Only integer type is currently supported for
this field.
</pre>

<code>.google.cloud.visionai.v1.FacetValue bucket_granularity = 2;</code>

@return Whether the bucketGranularity field is set.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/FacetProperty.java