hash = (37 * hash) + HAS_AUTO_COMMIT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHasAutoCommit()); hash = (37 * hash) + READ_ONLY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
hash = (37 * hash) + HAS_AUTO_COMMIT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHasAutoCommit()); hash = (37 * hash) + READ_ONLY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.calcite.avatica.proto.Common.ConnectionProperties)) { return super.equals(obj); } org.apache.calcite.avatica.proto.Common.ConnectionProperties other = (org.apache.calcite.avatica.proto.Common.ConnectionProperties) obj; boolean result = true; result = result && (getIsDirty() == other.getIsDirty()); result = result && (getAutoCommit() == other.getAutoCommit()); result = result && (getHasAutoCommit() == other.getHasAutoCommit()); result = result && (getReadOnly() == other.getReadOnly()); result = result && (getHasReadOnly() == other.getHasReadOnly()); result = result && (getTransactionIsolation() == other.getTransactionIsolation()); result = result && getCatalog() .equals(other.getCatalog()); result = result && getSchema() .equals(other.getSchema()); result = result && unknownFields.equals(other.unknownFields); return result; }
setAutoCommit(other.getAutoCommit()); if (other.getHasAutoCommit() != false) { setHasAutoCommit(other.getHasAutoCommit());
setAutoCommit(other.getAutoCommit()); if (other.getHasAutoCommit() != false) { setHasAutoCommit(other.getHasAutoCommit());
setAutoCommit(other.getAutoCommit()); if (other.getHasAutoCommit() != false) { setHasAutoCommit(other.getHasAutoCommit());
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.calcite.avatica.proto.Common.ConnectionProperties)) { return super.equals(obj); } org.apache.calcite.avatica.proto.Common.ConnectionProperties other = (org.apache.calcite.avatica.proto.Common.ConnectionProperties) obj; boolean result = true; result = result && (getIsDirty() == other.getIsDirty()); result = result && (getAutoCommit() == other.getAutoCommit()); result = result && (getHasAutoCommit() == other.getHasAutoCommit()); result = result && (getReadOnly() == other.getReadOnly()); result = result && (getHasReadOnly() == other.getHasReadOnly()); result = result && (getTransactionIsolation() == other.getTransactionIsolation()); result = result && getCatalog() .equals(other.getCatalog()); result = result && getSchema() .equals(other.getSchema()); result = result && unknownFields.equals(other.unknownFields); return result; }
if (proto.getHasAutoCommit()) { autoCommit = Boolean.valueOf(proto.getAutoCommit());
if (proto.getHasAutoCommit()) { autoCommit = Boolean.valueOf(proto.getAutoCommit());
if (proto.getHasAutoCommit()) { autoCommit = Boolean.valueOf(proto.getAutoCommit());