code: public final CheckConsistencyResponse checkConsistency(TableName name, String consistencyToken) {
  
      CheckConsistencyRequest request =
          CheckConsistencyRequest.newBuilder()
              .setName(name == null ? null : name.toString())
              .setConsistencyToken(consistencyToken)
              .build();
      return checkConsistency(request);
    }
docs: Checks replication consistency based on a consistency token, that is, if replication has caught
  up based on the conditions specified in the token and the check request.
  
  <p>Sample code:
  
  <pre><code>
  try (BaseBigtableTableAdminClient baseBigtableTableAdminClient = BaseBigtableTableAdminClient.create()) {
  TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
  String consistencyToken = "";
  CheckConsistencyResponse response = baseBigtableTableAdminClient.checkConsistency(name, consistencyToken);
  }
  </code></pre>
  
  @param name The unique name of the Table for which to check replication consistency. Values are
  of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;/tables/&lt;table&gt;`.
  @param consistencyToken The token created using GenerateConsistencyToken for the Table.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails