/** * * * <pre> * If this request is resuming a previously interrupted SQL statement * execution, `resume_token` should be copied from the last * [PartialResultSet][google.spanner.v1.PartialResultSet] yielded before the interruption. Doing this * enables the new SQL statement execution to resume where the last one left * off. The rest of the request parameters must exactly match the * request that yielded this token. * </pre> * * <code>bytes resume_token = 6;</code> */ public Builder clearResumeToken() { resumeToken_ = getDefaultInstance().getResumeToken(); onChanged(); return this; }
hash = (53 * hash) + getResumeToken().hashCode(); hash = (37 * hash) + QUERY_MODE_FIELD_NUMBER; hash = (53 * hash) + queryMode_;
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.spanner.v1.ExecuteSqlRequest)) { return super.equals(obj); } com.google.spanner.v1.ExecuteSqlRequest other = (com.google.spanner.v1.ExecuteSqlRequest) obj; boolean result = true; result = result && getSession().equals(other.getSession()); result = result && (hasTransaction() == other.hasTransaction()); if (hasTransaction()) { result = result && getTransaction().equals(other.getTransaction()); } result = result && getSql().equals(other.getSql()); result = result && (hasParams() == other.hasParams()); if (hasParams()) { result = result && getParams().equals(other.getParams()); } result = result && internalGetParamTypes().equals(other.internalGetParamTypes()); result = result && getResumeToken().equals(other.getResumeToken()); result = result && queryMode_ == other.queryMode_; result = result && getPartitionToken().equals(other.getPartitionToken()); result = result && (getSeqno() == other.getSeqno()); result = result && unknownFields.equals(other.unknownFields); return result; }
if (other.getResumeToken() != com.google.protobuf.ByteString.EMPTY) { setResumeToken(other.getResumeToken());