@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.datastore.v1.BeginTransactionRequest)) { return super.equals(obj); } com.google.datastore.v1.BeginTransactionRequest other = (com.google.datastore.v1.BeginTransactionRequest) obj; boolean result = true; result = result && getProjectId().equals(other.getProjectId()); result = result && (hasTransactionOptions() == other.hasTransactionOptions()); if (hasTransactionOptions()) { result = result && getTransactionOptions().equals(other.getTransactionOptions()); } 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.BeginTransactionRequest)) { return super.equals(obj); } com.google.datastore.v1.BeginTransactionRequest other = (com.google.datastore.v1.BeginTransactionRequest) obj; boolean result = true; result = result && getProjectId().equals(other.getProjectId()); result = result && (hasTransactionOptions() == other.hasTransactionOptions()); if (hasTransactionOptions()) { result = result && getTransactionOptions().equals(other.getTransactionOptions()); } 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.BeginTransactionRequest)) { return super.equals(obj); } com.google.datastore.v1.BeginTransactionRequest other = (com.google.datastore.v1.BeginTransactionRequest) obj; boolean result = true; result = result && getProjectId() .equals(other.getProjectId()); result = result && (hasTransactionOptions() == other.hasTransactionOptions()); if (hasTransactionOptions()) { result = result && getTransactionOptions() .equals(other.getTransactionOptions()); } return result; }