@java.lang.Override
    public com.google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec getDatetimeBucketSpec() {
      if (datetimeBucketSpecBuilder_ == null) {
        if (rangeFacetConfigCase_ == 7) {
          return (com.google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec) rangeFacetConfig_;
        }
        return com.google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec.getDefaultInstance();
      } else {
        if (rangeFacetConfigCase_ == 7) {
          return datetimeBucketSpecBuilder_.getMessage();
        }
        return com.google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec.getDefaultInstance();
      }
    }
<pre>
Datetime range facet bucket config.
</pre>

<code>.google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec datetime_bucket_spec = 7;
</code>

@return The datetimeBucketSpec.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/FacetProperty.java