google.cloud.dialogflow.v2.DeleteConversationModelRequest */ class DeleteConversationModelRequest extends \Google\Protobuf\Internal\Message { /** * Required. The conversation model to delete. Format: * `projects//conversationModels/` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; */ protected $name = ''; /** * @param string $name Required. The conversation model to delete. Format: * `projects//conversationModels/` * * @return \Google\Cloud\Dialogflow\V2\DeleteConversationModelRequest * * @experimental */ public static function build(string $name): self { return (new self()) ->setName($name); } /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $name * Required. The conversation model to delete. Format: * `projects//conversationModels/` * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Cloud\Dialogflow\V2\ConversationModel::initOnce(); parent::__construct($data); } /** * Required. The conversation model to delete. Format: * `projects//conversationModels/` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return string */ public function getName() { return $this->name; } /** * Required. The conversation model to delete. Format: * `projects//conversationModels/` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } }