getHasReadOnly()); hash = (37 * hash) + TRANSACTION_ISOLATION_FIELD_NUMBER; hash = (53 * hash) + getTransactionIsolation(); hash = (37 * hash) + CATALOG_FIELD_NUMBER; hash = (53 * hash) + getCatalog().hashCode();
getHasReadOnly()); hash = (37 * hash) + TRANSACTION_ISOLATION_FIELD_NUMBER; hash = (53 * hash) + getTransactionIsolation(); hash = (37 * hash) + CATALOG_FIELD_NUMBER; hash = (53 * hash) + getCatalog().hashCode();
@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; }
setHasReadOnly(other.getHasReadOnly()); if (other.getTransactionIsolation() != 0) { setTransactionIsolation(other.getTransactionIsolation());
setHasReadOnly(other.getHasReadOnly()); if (other.getTransactionIsolation() != 0) { setTransactionIsolation(other.getTransactionIsolation());
setHasReadOnly(other.getHasReadOnly()); if (other.getTransactionIsolation() != 0) { setTransactionIsolation(other.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; }
if (ProtobufService.hasField(proto, desc, Common.ConnectionProperties.TRANSACTION_ISOLATION_FIELD_NUMBER)) { transactionIsolation = Integer.valueOf(proto.getTransactionIsolation());
transactionIsolation = Integer.valueOf(proto.getTransactionIsolation());
transactionIsolation = Integer.valueOf(proto.getTransactionIsolation());