/** * * * <pre> * If present, results will be restricted to the specified partition * previously created using PartitionQuery(). There must be an exact * match for the values of fields common to this message and the * PartitionQueryRequest message used to create this partition_token. * </pre> * * <code>bytes partition_token = 8;</code> */ public Builder clearPartitionToken() { partitionToken_ = getDefaultInstance().getPartitionToken(); onChanged(); return this; }
hash = (53 * hash) + queryMode_; hash = (37 * hash) + PARTITION_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPartitionToken().hashCode(); hash = (37 * hash) + SEQNO_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSeqno());
@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; }
setQueryModeValue(other.getQueryModeValue()); if (other.getPartitionToken() != com.google.protobuf.ByteString.EMPTY) { setPartitionToken(other.getPartitionToken());