Optional.
The application state.

Generated from protobuf field <code>.google.cloud.talent.v4beta1.Application.ApplicationState state = 13;</code>
@param int $var
@return $this
769264
public function setState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Talent\V4beta1\Application_ApplicationState::class);
        $this->state = $var;

        return $this;
    }
899749
public function setAppEngineRouting($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Scheduler\V1beta1\AppEngineRouting::class);
        $this->app_engine_routing = $var;

        return $this;
    }
778606
public function setState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Redis\V1beta1\Instance_State::class);
        $this->state = $var;

        return $this;
    }
1060666
public function setInstance($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Spanner\Admin\Instance\V1\Instance::class);
        $this->instance = $var;

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

        return $this;
    }
1172771
public function setModel($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AutoMl\V1beta1\Model::class);
        $this->model = $arr;

        return $this;
    }
121568
public function setDegreeType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Talent\V4beta1\DegreeType::class);
        $this->degree_type = $var;

        return $this;
    }
396910
public function setJob($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Talent\V4beta1\Job::class);
        $this->job = $var;

        return $this;
    }
618230
public function setType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Language\V1beta2\Document_Type::class);
        $this->type = $var;

        return $this;
    }
575208
public function setTasks($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Tasks\V2beta2\Task::class);
        $this->tasks = $arr;

        return $this;
    }
218908
public function setMqttEnabledState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Iot\V1\MqttState::class);
        $this->mqtt_enabled_state = $var;

        return $this;
    }
389816
public function setPlatform($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\Intent_Message_Platform::class);
        $this->platform = $var;

        return $this;
    }
429785
public function setRegion($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Monitoring\V3\UptimeCheckRegion::class);
        $this->region = $var;

        return $this;
    }
886995
public function setCloudRepo($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\DevTools\Source\V1\CloudRepoSourceContext::class);
        $this->writeOneof(1, $var);

        return $this;
    }
371204
public function setPhoneNumbers($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Talent\V4beta1\Phone::class);
        $this->phone_numbers = $arr;

        return $this;
    }
802791
public function setLoadModule($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Trace\V2\Module::class);
        $this->load_module = $var;

        return $this;
    }
396215
public function setRating($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Talent\V4beta1\Rating::class);
        $this->rating = $var;

        return $this;
    }