Specifies how the index is changing.

Generated from protobuf field <code>.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1;</code>
@param int $var
@return $this
343298
public function setChangeType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Firestore\Admin\V1\FieldOperationMetadata_IndexConfigDelta_ChangeType::class);
        $this->change_type = $var;

        return $this;
    }
1096433
public function setDocuments($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Firestore\V1\Document::class);
        $this->documents = $arr;

        return $this;
    }
496437
public function setState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Firestore\Admin\V1\Index_State::class);
        $this->state = $var;

        return $this;
    }
1296279
public function setMapValue($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1beta1\MapValue::class);
        $this->writeOneof(6, $var);

        return $this;
    }
919023
public function setSnapshot($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\PubSub\V1\Snapshot::class);
        $this->snapshot = $var;

        return $this;
    }
981586
public function setFields($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Field::class);
        $this->fields = $arr;

        return $this;
    }
96178
public function setType($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Spanner\V1\Type::class);
        $this->type = $var;

        return $this;
    }
393781
public function setStartAt($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1\Cursor::class);
        $this->start_at = $var;

        return $this;
    }
33877
public function setKeyValue($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Datastore\V1\Key::class);
        $this->writeOneof(5, $var);

        return $this;
    }
1369611
public function setEntityType($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\EntityType::class);
        $this->entity_type = $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;
    }
3030
public function setIndex($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\Admin\V1\Index::class);
        $this->index = $var;

        return $this;
    }
1265896
public function setKind($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\EntityType_Kind::class);
        $this->kind = $var;

        return $this;
    }
851837
public function setInputType($var)
    {
        GPBUtil::checkString($var, True);
        $this->input_type = $var;
        $this->has_input_type = true;

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

        return $this;
    }
520087
public function setState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dataproc\V1\WorkflowMetadata_State::class);
        $this->state = $var;

        return $this;
    }
1321473
public function setState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Vision\V1\OperationMetadata_State::class);
        $this->state = $var;

        return $this;
    }