Dialogflow/src/V2/Intent.php
public function setWebhookState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\Intent_WebhookState::class);
        $this->webhook_state = $var;

        return $this;
    }
public function setWebhookState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\Intent_WebhookState::class);
        $this->webhook_state = $var;

        return $this;
    }
public function setWebhookState ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Dialogflow \ V2 \ Intent_WebhookState :: class ) ; $ this -> webhook_state = $ var ; return $ this ; }
Optional. Indicates whether webhooks are enabled for the intent.

Generated from protobuf field <code>.google.cloud.dialogflow.v2.Intent.WebhookState webhook_state = 6;</code>
@param int $var
@return $this
Optional . Indicates whether webhooks are enabled for the intent .