A end point for the query results.

Generated from protobuf field <code>.google.firestore.v1beta1.Cursor end_at = 8;</code>
@param \Google\Cloud\Firestore\V1beta1\Cursor $var
@return $this
337885
public function setEndAt($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1beta1\Cursor::class);
        $this->end_at = $var;

        return $this;
    }
231287
public function setMode($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Datastore\V1\CommitRequest_Mode::class);
        $this->mode = $var;

        return $this;
    }
5998
public function setValue($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1beta1\Value::class);
        $this->value = $var;

        return $this;
    }
428740
public function setSparkSqlJob($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1beta2\SparkSqlJob::class);
        $this->writeOneof(12, $var);

        return $this;
    }
19274
public function setSnapshots($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->snapshots = $arr;

        return $this;
    }
3030
public function setIndex($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\Admin\V1\Index::class);
        $this->index = $var;

        return $this;
    }
292608
public function setReadOnly($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1beta1\TransactionOptions_ReadOnly::class);
        $this->writeOneof(2, $var);

        return $this;
    }
914744
public function setRows($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\Table\Row::class);
        $this->rows = $arr;

        return $this;
    }
899578
public function setTargetChange($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1\TargetChange::class);
        $this->writeOneof(2, $var);

        return $this;
    }
837003
public function setStructuredQuery($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1beta1\StructuredQuery::class);
        $this->writeOneof(2, $var);

        return $this;
    }
696349
public function setBigQueryKey($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\BigQueryKey::class);
        $this->writeOneof(3, $var);

        return $this;
    }
188842
public function setAddTarget($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1\Target::class);
        $this->writeOneof(2, $var);

        return $this;
    }
1138942
public function setMaxValue($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\Value::class);
        $this->max_value = $var;

        return $this;
    }
518659
public function setOrder($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Firestore\Admin\V1\Index_IndexField_Order::class);
        $this->writeOneof(2, $var);

        return $this;
    }
1250268
public function setGqlQuery($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Datastore\V1\GqlQuery::class);
        $this->writeOneof(7, $var);

        return $this;
    }
142563
public function setUpdate($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1beta1\Document::class);
        $this->writeOneof(1, $var);

        return $this;
    }
523305
public function setMetadata($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Spanner\V1\ResultSetMetadata::class);
        $this->metadata = $var;

        return $this;
    }