setHasArrayValue(other.getHasArrayValue()); if (other.hasScalarValue()) { mergeScalarValue(other.getScalarValue());
setHasArrayValue(other.getHasArrayValue()); if (other.hasScalarValue()) { mergeScalarValue(other.getScalarValue());
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getValueCount() > 0) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValueList().hashCode(); } if (getArrayValueCount() > 0) { hash = (37 * hash) + ARRAY_VALUE_FIELD_NUMBER; hash = (53 * hash) + getArrayValueList().hashCode(); } hash = (37 * hash) + HAS_ARRAY_VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHasArrayValue()); if (hasScalarValue()) { hash = (37 * hash) + SCALAR_VALUE_FIELD_NUMBER; hash = (53 * hash) + getScalarValue().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
setHasArrayValue(other.getHasArrayValue()); if (other.hasScalarValue()) { mergeScalarValue(other.getScalarValue());
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getValueCount() > 0) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValueList().hashCode(); } if (getArrayValueCount() > 0) { hash = (37 * hash) + ARRAY_VALUE_FIELD_NUMBER; hash = (53 * hash) + getArrayValueList().hashCode(); } hash = (37 * hash) + HAS_ARRAY_VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHasArrayValue()); if (hasScalarValue()) { hash = (37 * hash) + SCALAR_VALUE_FIELD_NUMBER; hash = (53 * hash) + getScalarValue().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@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.ColumnValue)) { return super.equals(obj); } org.apache.calcite.avatica.proto.Common.ColumnValue other = (org.apache.calcite.avatica.proto.Common.ColumnValue) obj; boolean result = true; result = result && getValueList() .equals(other.getValueList()); result = result && getArrayValueList() .equals(other.getArrayValueList()); result = result && (getHasArrayValue() == other.getHasArrayValue()); result = result && (hasScalarValue() == other.hasScalarValue()); if (hasScalarValue()) { result = result && getScalarValue() .equals(other.getScalarValue()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@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.ColumnValue)) { return super.equals(obj); } org.apache.calcite.avatica.proto.Common.ColumnValue other = (org.apache.calcite.avatica.proto.Common.ColumnValue) obj; boolean result = true; result = result && getValueList() .equals(other.getValueList()); result = result && getArrayValueList() .equals(other.getArrayValueList()); result = result && (getHasArrayValue() == other.getHasArrayValue()); result = result && (hasScalarValue() == other.hasScalarValue()); if (hasScalarValue()) { result = result && getScalarValue() .equals(other.getScalarValue()); } result = result && unknownFields.equals(other.unknownFields); return result; }