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