@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); if (!internalGetSubqueries().getMap().isEmpty()) { hash = (37 * hash) + SUBQUERIES_FIELD_NUMBER; hash = (53 * hash) + internalGetSubqueries().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 com.google.spanner.v1.PlanNode.ShortRepresentation)) { return super.equals(obj); } com.google.spanner.v1.PlanNode.ShortRepresentation other = (com.google.spanner.v1.PlanNode.ShortRepresentation) obj; boolean result = true; result = result && getDescription().equals(other.getDescription()); result = result && internalGetSubqueries().equals(other.internalGetSubqueries()); result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(com.google.spanner.v1.PlanNode.ShortRepresentation other) { if (other == com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance()) return this; if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } internalGetMutableSubqueries().mergeFrom(other.internalGetSubqueries()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * A string representation of the expression subtree rooted at this node. * </pre> * * <code>string description = 1;</code> */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /**