CloudBigtableScanConfiguration extends CloudBigtableTableConfiguration { @Override public boolean equals(Object obj) { return super.equals(obj) && Objects.equals(getRequest(), ((CloudBigtableScanConfiguration) obj).getRequest()); } protected  CloudBigtableScanConfiguration(
      ValueProvider<String> projectId,
      ValueProvider<String> instanceId,
      ValueProvider<String> tableId,
      ValueProvider<ReadRowsRequest> request,
      Map<String, ValueProvider<String>> additionalConfiguration); static CloudBigtableScanConfiguration fromConfig(
      CloudBigtableTableConfiguration config, Scan scan); ReadRowsRequest getRequest(); byte[] getStartRow(); byte[] getStopRow(); @Override boolean equals(Object obj); @Override Builder toBuilder(); void copyConfig(Builder builder); ByteKeyRange toByteKeyRange(); @Override void populateDisplayData(DisplayData.Builder builder);  }
@Test public void testEquals() { Scan scan1 = new Scan(); Scan scan2 = new Scan(START_ROW, STOP_ROW); CloudBigtableScanConfiguration underTest1 = config.toBuilder().withScan(scan1).build(); CloudBigtableScanConfiguration underTest2 = config.toBuilder().withScan(scan1).build(); CloudBigtableScanConfiguration underTest3 = config.toBuilder().withScan(scan2).build(); Assert.assertEquals(underTest1, underTest2); Assert.assertNotEquals(underTest1, underTest3); }