public Builder setGranularityValue(int value) {
        granularity_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
<pre>
Granularity of date type facet.
</pre>

<code>
.google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec.Granularity granularity = 1;
</code>

@param value The enum numeric value on the wire for granularity to set.
@return This builder for chaining.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/FacetProperty.java