google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata */ class DeployConversationModelOperationMetadata extends \Google\Protobuf\Internal\Message { /** * The resource name of the conversation model. Format: * `projects//conversationModels/` * * Generated from protobuf field string conversation_model = 1; */ protected $conversation_model = ''; /** * Timestamp when request to deploy conversation model was submitted. The time * is measured on server side. * * Generated from protobuf field .google.protobuf.Timestamp create_time = 3; */ protected $create_time = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $conversation_model * The resource name of the conversation model. Format: * `projects//conversationModels/` * @type \Google\Protobuf\Timestamp $create_time * Timestamp when request to deploy conversation model was submitted. The time * is measured on server side. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Cloud\Dialogflow\V2\ConversationModel::initOnce(); parent::__construct($data); } /** * The resource name of the conversation model. Format: * `projects//conversationModels/` * * Generated from protobuf field string conversation_model = 1; * @return string */ public function getConversationModel() { return $this->conversation_model; } /** * The resource name of the conversation model. Format: * `projects//conversationModels/` * * Generated from protobuf field string conversation_model = 1; * @param string $var * @return $this */ public function setConversationModel($var) { GPBUtil::checkString($var, True); $this->conversation_model = $var; return $this; } /** * Timestamp when request to deploy conversation model was submitted. The time * is measured on server side. * * Generated from protobuf field .google.protobuf.Timestamp create_time = 3; * @return \Google\Protobuf\Timestamp|null */ public function getCreateTime() { return $this->create_time; } public function hasCreateTime() { return isset($this->create_time); } public function clearCreateTime() { unset($this->create_time); } /** * Timestamp when request to deploy conversation model was submitted. The time * is measured on server side. * * Generated from protobuf field .google.protobuf.Timestamp create_time = 3; * @param \Google\Protobuf\Timestamp $var * @return $this */ public function setCreateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->create_time = $var; return $this; } }