@java.lang.Override
  public com.google.cloud.visionai.v1.DataSchemaDetails.Granularity getGranularity() {
    com.google.cloud.visionai.v1.DataSchemaDetails.Granularity result =
        com.google.cloud.visionai.v1.DataSchemaDetails.Granularity.forNumber(granularity_);
    return result == null
        ? com.google.cloud.visionai.v1.DataSchemaDetails.Granularity.UNRECOGNIZED
        : result;
  }
<pre>
The granularity associated with this DataSchema.
</pre>

<code>optional .google.cloud.visionai.v1.DataSchemaDetails.Granularity granularity = 5;</code>

@return The granularity.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/DataSchemaDetails.java