hash = (53 * hash) + getTransactionIsolation(); hash = (37 * hash) + CATALOG_FIELD_NUMBER; hash = (53 * hash) + getCatalog().hashCode(); hash = (37 * hash) + SCHEMA_FIELD_NUMBER; hash = (53 * hash) + getSchema().hashCode();
hash = (53 * hash) + getTransactionIsolation(); hash = (37 * hash) + CATALOG_FIELD_NUMBER; hash = (53 * hash) + getCatalog().hashCode(); hash = (37 * hash) + SCHEMA_FIELD_NUMBER; hash = (53 * hash) + getSchema().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; }
setTransactionIsolation(other.getTransactionIsolation()); if (!other.getCatalog().isEmpty()) { catalog_ = other.catalog_; onChanged();
setTransactionIsolation(other.getTransactionIsolation()); if (!other.getCatalog().isEmpty()) { catalog_ = other.catalog_; onChanged();
setTransactionIsolation(other.getTransactionIsolation()); if (!other.getCatalog().isEmpty()) { catalog_ = other.catalog_; onChanged();
@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; }
catalog = proto.getCatalog();
public static ConnectionPropertiesImpl fromProto(Common.ConnectionProperties proto) { String catalog = null; if (proto.hasField(CATALOG_DESCRIPTOR)) { catalog = proto.getCatalog();
public static ConnectionPropertiesImpl fromProto(Common.ConnectionProperties proto) { String catalog = null; if (proto.hasField(CATALOG_DESCRIPTOR)) { catalog = proto.getCatalog();
/** * <code>string catalog = 5;</code> */ public Builder clearCatalog() { catalog_ = getDefaultInstance().getCatalog(); onChanged(); return this; } /**
/** * <code>optional string catalog = 5;</code> */ public Builder clearCatalog() { catalog_ = getDefaultInstance().getCatalog(); onChanged(); return this; } /**
/** * <code>string catalog = 5;</code> */ public Builder clearCatalog() { catalog_ = getDefaultInstance().getCatalog(); onChanged(); return this; } /**