Dialogflow/src/V2/Intent/Message.php
public function setPlatform($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\Intent_Message_Platform::class);
        $this->platform = $var;

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

        return $this;
    }
public function setPlatform ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Dialogflow \ V2 \ Intent_Message_Platform :: class ) ; $ this -> platform = $ var ; return $ this ; }
Optional. The platform that this message is intended for.

Generated from protobuf field <code>.google.cloud.dialogflow.v2.Intent.Message.Platform platform = 6;</code>
@param int $var
@return $this
Optional . The platform that this message is intended for .