/** * * * <pre> * If present, results will be restricted to the specified partition * previously created using PartitionRead(). There must be an exact * match for the values of fields common to this message and the * PartitionReadRequest message used to create this partition_token. * </pre> * * <code>bytes partition_token = 10;</code> */ public Builder clearPartitionToken() { partitionToken_ = getDefaultInstance().getPartitionToken(); onChanged(); return this; }
hash = (53 * hash) + getResumeToken().hashCode(); hash = (37 * hash) + PARTITION_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPartitionToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash;
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.spanner.v1.ReadRequest)) { return super.equals(obj); } com.google.spanner.v1.ReadRequest other = (com.google.spanner.v1.ReadRequest) 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 && getTable().equals(other.getTable()); result = result && getIndex().equals(other.getIndex()); result = result && getColumnsList().equals(other.getColumnsList()); result = result && (hasKeySet() == other.hasKeySet()); if (hasKeySet()) { result = result && getKeySet().equals(other.getKeySet()); } result = result && (getLimit() == other.getLimit()); result = result && getResumeToken().equals(other.getResumeToken()); result = result && getPartitionToken().equals(other.getPartitionToken()); result = result && unknownFields.equals(other.unknownFields); return result; }
setResumeToken(other.getResumeToken()); if (other.getPartitionToken() != com.google.protobuf.ByteString.EMPTY) { setPartitionToken(other.getPartitionToken());