Interface FacetProperty.DateTimeBucketSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
FacetProperty.DateTimeBucketSpec, FacetProperty.DateTimeBucketSpec.Builder
Enclosing class:
FacetProperty

public static interface FacetProperty.DateTimeBucketSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Granularity of date type facet.
    int
    Granularity of date type facet.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getGranularityValue

      int getGranularityValue()
       Granularity of date type facet.
       
      .google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec.Granularity granularity = 1;
      Returns:
      The enum numeric value on the wire for granularity.
    • getGranularity

       Granularity of date type facet.
       
      .google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec.Granularity granularity = 1;
      Returns:
      The granularity.