@java.lang.Override
      public com.google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec build() {
        com.google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }
<pre>
If bucket type is DATE, specify how date values are bucketized.
</pre>

Protobuf type {@code google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec}
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/FacetProperty.java