private com.google.protobuf.SingleFieldBuilderV3<
              com.google.cloud.visionai.v1.FacetValue,
              com.google.cloud.visionai.v1.FacetValue.Builder,
              com.google.cloud.visionai.v1.FacetValueOrBuilder>
          getBucketGranularityFieldBuilder() {
        if (bucketGranularityBuilder_ == null) {
          bucketGranularityBuilder_ =
              new com.google.protobuf.SingleFieldBuilderV3<
                  com.google.cloud.visionai.v1.FacetValue,
                  com.google.cloud.visionai.v1.FacetValue.Builder,
                  com.google.cloud.visionai.v1.FacetValueOrBuilder>(
                  getBucketGranularity(), getParentForChildren(), isClean());
          bucketGranularity_ = null;
        }
        return bucketGranularityBuilder_;
      }
<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