@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification)) { return super.equals(obj); } com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification other = (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) obj; boolean result = true; result = result && getId().equals(other.getId()); result = result && getModCase().equals(other.getModCase()); if (!result) return false; switch (modCase_) { case 2: result = result && getCreate().equals(other.getCreate()); break; case 3: result = result && getUpdate().equals(other.getUpdate()); break; case 4: result = result && (getDrop() == other.getDrop()); break; case 0: default: } result = result && unknownFields.equals(other.unknownFields); return result; }
onChanged(); switch (other.getModCase()) { case CREATE:
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification)) { return super.equals(obj); } com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification other = (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) obj; boolean result = true; result = result && getId().equals(other.getId()); result = result && getModCase().equals(other.getModCase()); if (!result) return false; switch (modCase_) { case 2: result = result && getCreate().equals(other.getCreate()); break; case 3: result = result && getUpdate().equals(other.getUpdate()); break; case 4: result = result && (getDrop() == other.getDrop()); break; case 0: default: } result = result && unknownFields.equals(other.unknownFields); return result; }
onChanged(); switch (other.getModCase()) { case CREATE:
result = result && getId() .equals(other.getId()); result = result && getModCase().equals( other.getModCase()); if (!result) return false; switch (modCase_) {
public Builder mergeFrom(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification other) { if (other == com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } switch (other.getModCase()) { case CREATE: { mergeCreate(other.getCreate()); break; } case UPDATE: { mergeUpdate(other.getUpdate()); break; } case DROP: { setDrop(other.getDrop()); break; } case MOD_NOT_SET: { break; } } onChanged(); return this; }