public com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity() {
    @SuppressWarnings("deprecation")
    com.google.bigtable.admin.v2.Table.TimestampGranularity result =
        com.google.bigtable.admin.v2.Table.TimestampGranularity.valueOf(granularity_);
    return result == null
        ? com.google.bigtable.admin.v2.Table.TimestampGranularity.UNRECOGNIZED
        : result;
  }
public com . google . bigtable . admin . v2 . Table . TimestampGranularity getGranularity ( ) { @ SuppressWarnings ( "deprecation" ) com . google . bigtable . admin . v2 . Table . TimestampGranularity result = com . google . bigtable . admin . v2 . Table . TimestampGranularity . valueOf ( granularity_ ) ; return result == null ? com . google . bigtable . admin . v2 . Table . TimestampGranularity . UNRECOGNIZED : result ; }
<pre>
(`CreationOnly`)
The granularity (i.e. `MILLIS`) at which timestamps are stored in
this table. Timestamps not matching the granularity will be rejected.
If unspecified at creation time, the value will be set to `MILLIS`.
Views: `SCHEMA_VIEW`, `FULL`
</pre>

<code>.google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;</code>