@Test public void testEquals() { CloudBigtableTableConfiguration underTest1 = buildConfiguration(); CloudBigtableTableConfiguration underTest2 = buildConfiguration(); CloudBigtableTableConfiguration underTest3 = underTest1.toBuilder().withConfiguration("somekey", "somevalue").build(); CloudBigtableTableConfiguration underTest4 = underTest1.toBuilder().withProjectId("other_project").build(); CloudBigtableConfiguration underTest5 = configure(new CloudBigtableConfiguration.Builder()).build(); Assert.assertEquals(underTest1, underTest2); Assert.assertNotEquals(underTest1, underTest3); Assert.assertNotEquals(underTest1, underTest4); Assert.assertNotEquals(underTest1, underTest5); Assert.assertNotEquals(underTest5, underTest1); }
@Override public boolean equals(Object obj) { return super.equals(obj) && Objects.equals(getTableId(), ((CloudBigtableTableConfiguration) obj).getTableId()); }
CloudBigtableTableConfiguration extends CloudBigtableConfiguration { @Override public boolean equals(Object obj) { return super.equals(obj) && Objects.equals(getTableId(), ((CloudBigtableTableConfiguration) obj).getTableId()); } }
CloudBigtableTableConfiguration extends CloudBigtableConfiguration { @Override public boolean equals(Object obj) { return super.equals(obj) && Objects.equals(getTableId(), ((CloudBigtableTableConfiguration) obj).getTableId()); } CloudBigtableTableConfiguration(); protected  CloudBigtableTableConfiguration(
      ValueProvider<String> projectId,
      ValueProvider<String> instanceId,
      ValueProvider<String> tableId,
      Map<String, ValueProvider<String>> additionalConfiguration); }
CloudBigtableTableConfiguration extends CloudBigtableConfiguration { @Override public boolean equals(Object obj) { return super.equals(obj) && Objects.equals(getTableId(), ((CloudBigtableTableConfiguration) obj).getTableId()); } CloudBigtableTableConfiguration(); protected  CloudBigtableTableConfiguration(
      ValueProvider<String> projectId,
      ValueProvider<String> instanceId,
      ValueProvider<String> tableId,
      Map<String, ValueProvider<String>> additionalConfiguration); String getTableId(); @Override Builder toBuilder(); void copyConfig(Builder builder); @Override boolean equals(Object obj); @Override void populateDisplayData(DisplayData.Builder builder); @Override void validate(); }
CloudBigtableTableConfiguration extends CloudBigtableConfiguration { @Override public boolean equals(Object obj) { return super.equals(obj) && Objects.equals(getTableId(), ((CloudBigtableTableConfiguration) obj).getTableId()); } CloudBigtableTableConfiguration(); protected  CloudBigtableTableConfiguration(
      ValueProvider<String> projectId,
      ValueProvider<String> instanceId,
      ValueProvider<String> tableId,
      Map<String, ValueProvider<String>> additionalConfiguration); String getTableId(); @Override Builder toBuilder(); void copyConfig(Builder builder); @Override boolean equals(Object obj); @Override void populateDisplayData(DisplayData.Builder builder); @Override void validate();  }