@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.datastore.v1.CommitRequest)) { return super.equals(obj); } com.google.datastore.v1.CommitRequest other = (com.google.datastore.v1.CommitRequest) obj; boolean result = true; result = result && getProjectId().equals(other.getProjectId()); result = result && mode_ == other.mode_; result = result && getMutationsList().equals(other.getMutationsList()); result = result && getTransactionSelectorCase().equals(other.getTransactionSelectorCase()); if (!result) return false; switch (transactionSelectorCase_) { case 1: result = result && getTransaction().equals(other.getTransaction()); break; case 0: default: } result = result && unknownFields.equals(other.unknownFields); return result; }
switch (other.getTransactionSelectorCase()) { case TRANSACTION:
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.datastore.v1.CommitRequest)) { return super.equals(obj); } com.google.datastore.v1.CommitRequest other = (com.google.datastore.v1.CommitRequest) obj; boolean result = true; result = result && getProjectId().equals(other.getProjectId()); result = result && mode_ == other.mode_; result = result && getMutationsList().equals(other.getMutationsList()); result = result && getTransactionSelectorCase().equals(other.getTransactionSelectorCase()); if (!result) return false; switch (transactionSelectorCase_) { case 1: result = result && getTransaction().equals(other.getTransaction()); break; case 0: default: } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.datastore.v1.CommitRequest)) { return super.equals(obj); } com.google.datastore.v1.CommitRequest other = (com.google.datastore.v1.CommitRequest) obj; boolean result = true; result = result && getProjectId() .equals(other.getProjectId()); result = result && mode_ == other.mode_; result = result && getMutationsList() .equals(other.getMutationsList()); result = result && getTransactionSelectorCase().equals( other.getTransactionSelectorCase()); if (!result) return false; switch (transactionSelectorCase_) { case 1: result = result && getTransaction() .equals(other.getTransaction()); break; case 0: default: } return result; }
switch (other.getTransactionSelectorCase()) { case TRANSACTION: { setTransaction(other.getTransaction());
switch (other.getTransactionSelectorCase()) { case TRANSACTION: