hash = (37 * hash) + HAS_READ_ONLY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHasReadOnly()); hash = (37 * hash) + TRANSACTION_ISOLATION_FIELD_NUMBER; hash = (53 * hash) + getTransactionIsolation();
hash = (37 * hash) + HAS_READ_ONLY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHasReadOnly()); hash = (37 * hash) + TRANSACTION_ISOLATION_FIELD_NUMBER; hash = (53 * hash) + getTransactionIsolation();
@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; }
setReadOnly(other.getReadOnly()); if (other.getHasReadOnly() != false) { setHasReadOnly(other.getHasReadOnly());
setReadOnly(other.getReadOnly()); if (other.getHasReadOnly() != false) { setHasReadOnly(other.getHasReadOnly());
setReadOnly(other.getReadOnly()); if (other.getHasReadOnly() != false) { setHasReadOnly(other.getHasReadOnly());
@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.getHasReadOnly()) { readOnly = Boolean.valueOf(proto.getReadOnly());
if (proto.getHasReadOnly()) { readOnly = Boolean.valueOf(proto.getReadOnly());
if (proto.getHasReadOnly()) { readOnly = Boolean.valueOf(proto.getReadOnly());