@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasFrame()) { hash = (37 * hash) + FRAME_FIELD_NUMBER; hash = (53 * hash) + getFrame().hashCode(); } hash = (37 * hash) + MISSING_STATEMENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getMissingStatement()); hash = (37 * hash) + MISSING_RESULTS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getMissingResults()); if (hasMetadata()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasFrame()) { hash = (37 * hash) + FRAME_FIELD_NUMBER; hash = (53 * hash) + getFrame().hashCode(); } hash = (37 * hash) + MISSING_STATEMENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getMissingStatement()); hash = (37 * hash) + MISSING_RESULTS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getMissingResults()); if (hasMetadata()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().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.Responses.FetchResponse)) { return super.equals(obj); } org.apache.calcite.avatica.proto.Responses.FetchResponse other = (org.apache.calcite.avatica.proto.Responses.FetchResponse) obj; boolean result = true; result = result && (hasFrame() == other.hasFrame()); if (hasFrame()) { result = result && getFrame() .equals(other.getFrame()); } result = result && (getMissingStatement() == other.getMissingStatement()); result = result && (getMissingResults() == other.getMissingResults()); result = result && (hasMetadata() == other.hasMetadata()); if (hasMetadata()) { result = result && getMetadata() .equals(other.getMetadata()); } 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.Responses.FetchResponse)) { return super.equals(obj); } org.apache.calcite.avatica.proto.Responses.FetchResponse other = (org.apache.calcite.avatica.proto.Responses.FetchResponse) obj; boolean result = true; result = result && (hasFrame() == other.hasFrame()); if (hasFrame()) { result = result && getFrame() .equals(other.getFrame()); } result = result && (getMissingStatement() == other.getMissingStatement()); result = result && (getMissingResults() == other.getMissingResults()); result = result && (hasMetadata() == other.hasMetadata()); if (hasMetadata()) { result = result && getMetadata() .equals(other.getMetadata()); } result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(org.apache.calcite.avatica.proto.Responses.FetchResponse other) { if (other == org.apache.calcite.avatica.proto.Responses.FetchResponse.getDefaultInstance()) return this; if (other.hasFrame()) { mergeFrame(other.getFrame()); } if (other.getMissingStatement() != false) { setMissingStatement(other.getMissingStatement()); } if (other.getMissingResults() != false) { setMissingResults(other.getMissingResults()); } if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(org.apache.calcite.avatica.proto.Responses.FetchResponse other) { if (other == org.apache.calcite.avatica.proto.Responses.FetchResponse.getDefaultInstance()) return this; if (other.hasFrame()) { mergeFrame(other.getFrame()); } if (other.getMissingStatement() != false) { setMissingStatement(other.getMissingStatement()); } if (other.getMissingResults() != false) { setMissingResults(other.getMissingResults()); } if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } onChanged(); return this; }
public Builder mergeFrom(org.apache.calcite.avatica.proto.Responses.FetchResponse other) { if (other == org.apache.calcite.avatica.proto.Responses.FetchResponse.getDefaultInstance()) return this; if (other.hasFrame()) { mergeFrame(other.getFrame()); } if (other.getMissingStatement() != false) { setMissingStatement(other.getMissingStatement()); } if (other.getMissingResults() != false) { setMissingResults(other.getMissingResults()); } if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }