`.
- *
- * Generated from protobuf field string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParticipant($var)
- {
- GPBUtil::checkString($var, True);
- $this->participant = $var;
-
- return $this;
- }
-
- /**
- * The natural language text to be processed.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.TextInput text_input = 6;
- * @return \Google\Cloud\Dialogflow\V2\TextInput|null
- */
- public function getTextInput()
- {
- return $this->readOneof(6);
- }
-
- public function hasTextInput()
- {
- return $this->hasOneof(6);
- }
-
- /**
- * The natural language text to be processed.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.TextInput text_input = 6;
- * @param \Google\Cloud\Dialogflow\V2\TextInput $var
- * @return $this
- */
- public function setTextInput($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\TextInput::class);
- $this->writeOneof(6, $var);
-
- return $this;
- }
-
- /**
- * An input event to send to Dialogflow.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.EventInput event_input = 8;
- * @return \Google\Cloud\Dialogflow\V2\EventInput|null
- */
- public function getEventInput()
- {
- return $this->readOneof(8);
- }
-
- public function hasEventInput()
- {
- return $this->hasOneof(8);
- }
-
- /**
- * An input event to send to Dialogflow.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.EventInput event_input = 8;
- * @param \Google\Cloud\Dialogflow\V2\EventInput $var
- * @return $this
- */
- public function setEventInput($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\EventInput::class);
- $this->writeOneof(8, $var);
-
- return $this;
- }
-
- /**
- * An input representing the selection of a suggestion.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 12;
- * @return \Google\Cloud\Dialogflow\V2\SuggestionInput|null
- */
- public function getSuggestionInput()
- {
- return $this->readOneof(12);
- }
-
- public function hasSuggestionInput()
- {
- return $this->hasOneof(12);
- }
-
- /**
- * An input representing the selection of a suggestion.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 12;
- * @param \Google\Cloud\Dialogflow\V2\SuggestionInput $var
- * @return $this
- */
- public function setSuggestionInput($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\SuggestionInput::class);
- $this->writeOneof(12, $var);
-
- return $this;
- }
-
- /**
- * Speech synthesis configuration.
- * The speech synthesis settings for a virtual agent that may be configured
- * for the associated conversation profile are not used when calling
- * AnalyzeContent. If this configuration is not supplied, speech synthesis
- * is disabled.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.OutputAudioConfig reply_audio_config = 5;
- * @return \Google\Cloud\Dialogflow\V2\OutputAudioConfig|null
- */
- public function getReplyAudioConfig()
- {
- return $this->reply_audio_config;
- }
-
- public function hasReplyAudioConfig()
- {
- return isset($this->reply_audio_config);
- }
-
- public function clearReplyAudioConfig()
- {
- unset($this->reply_audio_config);
- }
-
- /**
- * Speech synthesis configuration.
- * The speech synthesis settings for a virtual agent that may be configured
- * for the associated conversation profile are not used when calling
- * AnalyzeContent. If this configuration is not supplied, speech synthesis
- * is disabled.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.OutputAudioConfig reply_audio_config = 5;
- * @param \Google\Cloud\Dialogflow\V2\OutputAudioConfig $var
- * @return $this
- */
- public function setReplyAudioConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\OutputAudioConfig::class);
- $this->reply_audio_config = $var;
-
- return $this;
- }
-
- /**
- * Parameters for a Dialogflow virtual-agent query.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.QueryParameters query_params = 9;
- * @return \Google\Cloud\Dialogflow\V2\QueryParameters|null
- */
- public function getQueryParams()
- {
- return $this->query_params;
- }
-
- public function hasQueryParams()
- {
- return isset($this->query_params);
- }
-
- public function clearQueryParams()
- {
- unset($this->query_params);
- }
-
- /**
- * Parameters for a Dialogflow virtual-agent query.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.QueryParameters query_params = 9;
- * @param \Google\Cloud\Dialogflow\V2\QueryParameters $var
- * @return $this
- */
- public function setQueryParams($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\QueryParameters::class);
- $this->query_params = $var;
-
- return $this;
- }
-
- /**
- * Parameters for a human assist query.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 14;
- * @return \Google\Cloud\Dialogflow\V2\AssistQueryParameters|null
- */
- public function getAssistQueryParams()
- {
- return $this->assist_query_params;
- }
-
- public function hasAssistQueryParams()
- {
- return isset($this->assist_query_params);
- }
-
- public function clearAssistQueryParams()
- {
- unset($this->assist_query_params);
- }
-
- /**
- * Parameters for a human assist query.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 14;
- * @param \Google\Cloud\Dialogflow\V2\AssistQueryParameters $var
- * @return $this
- */
- public function setAssistQueryParams($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\AssistQueryParameters::class);
- $this->assist_query_params = $var;
-
- return $this;
- }
-
- /**
- * Additional parameters to be put into Dialogflow CX session parameters. To
- * remove a parameter from the session, clients should explicitly set the
- * parameter value to null.
- * Note: this field should only be used if you are connecting to a Dialogflow
- * CX agent.
- *
- * Generated from protobuf field .google.protobuf.Struct cx_parameters = 18;
- * @return \Google\Protobuf\Struct|null
- */
- public function getCxParameters()
- {
- return $this->cx_parameters;
- }
-
- public function hasCxParameters()
- {
- return isset($this->cx_parameters);
- }
-
- public function clearCxParameters()
- {
- unset($this->cx_parameters);
- }
-
- /**
- * Additional parameters to be put into Dialogflow CX session parameters. To
- * remove a parameter from the session, clients should explicitly set the
- * parameter value to null.
- * Note: this field should only be used if you are connecting to a Dialogflow
- * CX agent.
- *
- * Generated from protobuf field .google.protobuf.Struct cx_parameters = 18;
- * @param \Google\Protobuf\Struct $var
- * @return $this
- */
- public function setCxParameters($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class);
- $this->cx_parameters = $var;
-
- return $this;
- }
-
- /**
- * A unique identifier for this request. Restricted to 36 ASCII characters.
- * A random UUID is recommended.
- * This request is only idempotent if a `request_id` is provided.
- *
- * Generated from protobuf field string request_id = 11;
- * @return string
- */
- public function getRequestId()
- {
- return $this->request_id;
- }
-
- /**
- * A unique identifier for this request. Restricted to 36 ASCII characters.
- * A random UUID is recommended.
- * This request is only idempotent if a `request_id` is provided.
- *
- * Generated from protobuf field string request_id = 11;
- * @param string $var
- * @return $this
- */
- public function setRequestId($var)
- {
- GPBUtil::checkString($var, True);
- $this->request_id = $var;
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getInput()
- {
- return $this->whichOneof("input");
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AnalyzeContentResponse.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AnalyzeContentResponse.php
deleted file mode 100644
index 7f1ce53b0bd5..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AnalyzeContentResponse.php
+++ /dev/null
@@ -1,428 +0,0 @@
-google.cloud.dialogflow.v2.AnalyzeContentResponse
- */
-class AnalyzeContentResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * The output text content.
- * This field is set if the automated agent responded with text to show to
- * the user.
- *
- * Generated from protobuf field string reply_text = 1;
- */
- protected $reply_text = '';
- /**
- * The audio data bytes encoded as specified in the request.
- * This field is set if:
- * - `reply_audio_config` was specified in the request, or
- * - The automated agent responded with audio to play to the user. In such
- * case, `reply_audio.config` contains settings used to synthesize the
- * speech.
- * In some scenarios, multiple output audio fields may be present in the
- * response structure. In these cases, only the top-most-level audio output
- * has content.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.OutputAudio reply_audio = 2;
- */
- protected $reply_audio = null;
- /**
- * Only set if a Dialogflow automated agent has responded.
- * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][]
- * and [AutomatedAgentReply.detect_intent_response.output_audio_config][]
- * are always empty, use
- * [reply_audio][google.cloud.dialogflow.v2.AnalyzeContentResponse.reply_audio]
- * instead.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 3;
- */
- protected $automated_agent_reply = null;
- /**
- * Message analyzed by CCAI.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.Message message = 5;
- */
- protected $message = null;
- /**
- * The suggestions for most recent human agent. The order is the same as
- * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
- * of
- * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
- * Note that any failure of Agent Assist features will not lead to the overall
- * failure of an AnalyzeContent API call. Instead, the features will
- * fail silently with the error field set in the corresponding
- * SuggestionResult.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;
- */
- private $human_agent_suggestion_results;
- /**
- * The suggestions for end user. The order is the same as
- * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
- * of
- * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
- * Same as human_agent_suggestion_results, any failure of Agent Assist
- * features will not lead to the overall failure of an AnalyzeContent API
- * call. Instead, the features will fail silently with the error field set in
- * the corresponding SuggestionResult.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;
- */
- private $end_user_suggestion_results;
- /**
- * Indicates the parameters of DTMF.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 9;
- */
- protected $dtmf_parameters = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $reply_text
- * The output text content.
- * This field is set if the automated agent responded with text to show to
- * the user.
- * @type \Google\Cloud\Dialogflow\V2\OutputAudio $reply_audio
- * The audio data bytes encoded as specified in the request.
- * This field is set if:
- * - `reply_audio_config` was specified in the request, or
- * - The automated agent responded with audio to play to the user. In such
- * case, `reply_audio.config` contains settings used to synthesize the
- * speech.
- * In some scenarios, multiple output audio fields may be present in the
- * response structure. In these cases, only the top-most-level audio output
- * has content.
- * @type \Google\Cloud\Dialogflow\V2\AutomatedAgentReply $automated_agent_reply
- * Only set if a Dialogflow automated agent has responded.
- * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][]
- * and [AutomatedAgentReply.detect_intent_response.output_audio_config][]
- * are always empty, use
- * [reply_audio][google.cloud.dialogflow.v2.AnalyzeContentResponse.reply_audio]
- * instead.
- * @type \Google\Cloud\Dialogflow\V2\Message $message
- * Message analyzed by CCAI.
- * @type array<\Google\Cloud\Dialogflow\V2\SuggestionResult>|\Google\Protobuf\Internal\RepeatedField $human_agent_suggestion_results
- * The suggestions for most recent human agent. The order is the same as
- * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
- * of
- * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
- * Note that any failure of Agent Assist features will not lead to the overall
- * failure of an AnalyzeContent API call. Instead, the features will
- * fail silently with the error field set in the corresponding
- * SuggestionResult.
- * @type array<\Google\Cloud\Dialogflow\V2\SuggestionResult>|\Google\Protobuf\Internal\RepeatedField $end_user_suggestion_results
- * The suggestions for end user. The order is the same as
- * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
- * of
- * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
- * Same as human_agent_suggestion_results, any failure of Agent Assist
- * features will not lead to the overall failure of an AnalyzeContent API
- * call. Instead, the features will fail silently with the error field set in
- * the corresponding SuggestionResult.
- * @type \Google\Cloud\Dialogflow\V2\DtmfParameters $dtmf_parameters
- * Indicates the parameters of DTMF.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\Participant::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The output text content.
- * This field is set if the automated agent responded with text to show to
- * the user.
- *
- * Generated from protobuf field string reply_text = 1;
- * @return string
- */
- public function getReplyText()
- {
- return $this->reply_text;
- }
-
- /**
- * The output text content.
- * This field is set if the automated agent responded with text to show to
- * the user.
- *
- * Generated from protobuf field string reply_text = 1;
- * @param string $var
- * @return $this
- */
- public function setReplyText($var)
- {
- GPBUtil::checkString($var, True);
- $this->reply_text = $var;
-
- return $this;
- }
-
- /**
- * The audio data bytes encoded as specified in the request.
- * This field is set if:
- * - `reply_audio_config` was specified in the request, or
- * - The automated agent responded with audio to play to the user. In such
- * case, `reply_audio.config` contains settings used to synthesize the
- * speech.
- * In some scenarios, multiple output audio fields may be present in the
- * response structure. In these cases, only the top-most-level audio output
- * has content.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.OutputAudio reply_audio = 2;
- * @return \Google\Cloud\Dialogflow\V2\OutputAudio|null
- */
- public function getReplyAudio()
- {
- return $this->reply_audio;
- }
-
- public function hasReplyAudio()
- {
- return isset($this->reply_audio);
- }
-
- public function clearReplyAudio()
- {
- unset($this->reply_audio);
- }
-
- /**
- * The audio data bytes encoded as specified in the request.
- * This field is set if:
- * - `reply_audio_config` was specified in the request, or
- * - The automated agent responded with audio to play to the user. In such
- * case, `reply_audio.config` contains settings used to synthesize the
- * speech.
- * In some scenarios, multiple output audio fields may be present in the
- * response structure. In these cases, only the top-most-level audio output
- * has content.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.OutputAudio reply_audio = 2;
- * @param \Google\Cloud\Dialogflow\V2\OutputAudio $var
- * @return $this
- */
- public function setReplyAudio($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\OutputAudio::class);
- $this->reply_audio = $var;
-
- return $this;
- }
-
- /**
- * Only set if a Dialogflow automated agent has responded.
- * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][]
- * and [AutomatedAgentReply.detect_intent_response.output_audio_config][]
- * are always empty, use
- * [reply_audio][google.cloud.dialogflow.v2.AnalyzeContentResponse.reply_audio]
- * instead.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 3;
- * @return \Google\Cloud\Dialogflow\V2\AutomatedAgentReply|null
- */
- public function getAutomatedAgentReply()
- {
- return $this->automated_agent_reply;
- }
-
- public function hasAutomatedAgentReply()
- {
- return isset($this->automated_agent_reply);
- }
-
- public function clearAutomatedAgentReply()
- {
- unset($this->automated_agent_reply);
- }
-
- /**
- * Only set if a Dialogflow automated agent has responded.
- * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][]
- * and [AutomatedAgentReply.detect_intent_response.output_audio_config][]
- * are always empty, use
- * [reply_audio][google.cloud.dialogflow.v2.AnalyzeContentResponse.reply_audio]
- * instead.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 3;
- * @param \Google\Cloud\Dialogflow\V2\AutomatedAgentReply $var
- * @return $this
- */
- public function setAutomatedAgentReply($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\AutomatedAgentReply::class);
- $this->automated_agent_reply = $var;
-
- return $this;
- }
-
- /**
- * Message analyzed by CCAI.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.Message message = 5;
- * @return \Google\Cloud\Dialogflow\V2\Message|null
- */
- public function getMessage()
- {
- return $this->message;
- }
-
- public function hasMessage()
- {
- return isset($this->message);
- }
-
- public function clearMessage()
- {
- unset($this->message);
- }
-
- /**
- * Message analyzed by CCAI.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.Message message = 5;
- * @param \Google\Cloud\Dialogflow\V2\Message $var
- * @return $this
- */
- public function setMessage($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\Message::class);
- $this->message = $var;
-
- return $this;
- }
-
- /**
- * The suggestions for most recent human agent. The order is the same as
- * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
- * of
- * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
- * Note that any failure of Agent Assist features will not lead to the overall
- * failure of an AnalyzeContent API call. Instead, the features will
- * fail silently with the error field set in the corresponding
- * SuggestionResult.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getHumanAgentSuggestionResults()
- {
- return $this->human_agent_suggestion_results;
- }
-
- /**
- * The suggestions for most recent human agent. The order is the same as
- * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
- * of
- * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
- * Note that any failure of Agent Assist features will not lead to the overall
- * failure of an AnalyzeContent API call. Instead, the features will
- * fail silently with the error field set in the corresponding
- * SuggestionResult.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;
- * @param array<\Google\Cloud\Dialogflow\V2\SuggestionResult>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setHumanAgentSuggestionResults($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\SuggestionResult::class);
- $this->human_agent_suggestion_results = $arr;
-
- return $this;
- }
-
- /**
- * The suggestions for end user. The order is the same as
- * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
- * of
- * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
- * Same as human_agent_suggestion_results, any failure of Agent Assist
- * features will not lead to the overall failure of an AnalyzeContent API
- * call. Instead, the features will fail silently with the error field set in
- * the corresponding SuggestionResult.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getEndUserSuggestionResults()
- {
- return $this->end_user_suggestion_results;
- }
-
- /**
- * The suggestions for end user. The order is the same as
- * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
- * of
- * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
- * Same as human_agent_suggestion_results, any failure of Agent Assist
- * features will not lead to the overall failure of an AnalyzeContent API
- * call. Instead, the features will fail silently with the error field set in
- * the corresponding SuggestionResult.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;
- * @param array<\Google\Cloud\Dialogflow\V2\SuggestionResult>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setEndUserSuggestionResults($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\SuggestionResult::class);
- $this->end_user_suggestion_results = $arr;
-
- return $this;
- }
-
- /**
- * Indicates the parameters of DTMF.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 9;
- * @return \Google\Cloud\Dialogflow\V2\DtmfParameters|null
- */
- public function getDtmfParameters()
- {
- return $this->dtmf_parameters;
- }
-
- public function hasDtmfParameters()
- {
- return isset($this->dtmf_parameters);
- }
-
- public function clearDtmfParameters()
- {
- unset($this->dtmf_parameters);
- }
-
- /**
- * Indicates the parameters of DTMF.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 9;
- * @param \Google\Cloud\Dialogflow\V2\DtmfParameters $var
- * @return $this
- */
- public function setDtmfParameters($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\DtmfParameters::class);
- $this->dtmf_parameters = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AnnotatedMessagePart.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AnnotatedMessagePart.php
deleted file mode 100644
index 932abff578cc..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AnnotatedMessagePart.php
+++ /dev/null
@@ -1,195 +0,0 @@
-google.cloud.dialogflow.v2.AnnotatedMessagePart
- */
-class AnnotatedMessagePart extends \Google\Protobuf\Internal\Message
-{
- /**
- * A part of a message possibly annotated with an entity.
- *
- * Generated from protobuf field string text = 1;
- */
- protected $text = '';
- /**
- * The [Dialogflow system entity
- * type](https://cloud.google.com/dialogflow/docs/reference/system-entities)
- * of this message part. If this is empty, Dialogflow could not annotate the
- * phrase part with a system entity.
- *
- * Generated from protobuf field string entity_type = 2;
- */
- protected $entity_type = '';
- /**
- * The [Dialogflow system entity formatted value
- * ](https://cloud.google.com/dialogflow/docs/reference/system-entities) of
- * this message part. For example for a system entity of type
- * `@sys.unit-currency`, this may contain:
- *
- * {
- * "amount": 5,
- * "currency": "USD"
- * }
- *
- *
- * Generated from protobuf field .google.protobuf.Value formatted_value = 3;
- */
- protected $formatted_value = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $text
- * A part of a message possibly annotated with an entity.
- * @type string $entity_type
- * The [Dialogflow system entity
- * type](https://cloud.google.com/dialogflow/docs/reference/system-entities)
- * of this message part. If this is empty, Dialogflow could not annotate the
- * phrase part with a system entity.
- * @type \Google\Protobuf\Value $formatted_value
- * The [Dialogflow system entity formatted value
- * ](https://cloud.google.com/dialogflow/docs/reference/system-entities) of
- * this message part. For example for a system entity of type
- * `@sys.unit-currency`, this may contain:
- *
- * {
- * "amount": 5,
- * "currency": "USD"
- * }
- *
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\Participant::initOnce();
- parent::__construct($data);
- }
-
- /**
- * A part of a message possibly annotated with an entity.
- *
- * Generated from protobuf field string text = 1;
- * @return string
- */
- public function getText()
- {
- return $this->text;
- }
-
- /**
- * A part of a message possibly annotated with an entity.
- *
- * Generated from protobuf field string text = 1;
- * @param string $var
- * @return $this
- */
- public function setText($var)
- {
- GPBUtil::checkString($var, True);
- $this->text = $var;
-
- return $this;
- }
-
- /**
- * The [Dialogflow system entity
- * type](https://cloud.google.com/dialogflow/docs/reference/system-entities)
- * of this message part. If this is empty, Dialogflow could not annotate the
- * phrase part with a system entity.
- *
- * Generated from protobuf field string entity_type = 2;
- * @return string
- */
- public function getEntityType()
- {
- return $this->entity_type;
- }
-
- /**
- * The [Dialogflow system entity
- * type](https://cloud.google.com/dialogflow/docs/reference/system-entities)
- * of this message part. If this is empty, Dialogflow could not annotate the
- * phrase part with a system entity.
- *
- * Generated from protobuf field string entity_type = 2;
- * @param string $var
- * @return $this
- */
- public function setEntityType($var)
- {
- GPBUtil::checkString($var, True);
- $this->entity_type = $var;
-
- return $this;
- }
-
- /**
- * The [Dialogflow system entity formatted value
- * ](https://cloud.google.com/dialogflow/docs/reference/system-entities) of
- * this message part. For example for a system entity of type
- * `@sys.unit-currency`, this may contain:
- *
- * {
- * "amount": 5,
- * "currency": "USD"
- * }
- *
- *
- * Generated from protobuf field .google.protobuf.Value formatted_value = 3;
- * @return \Google\Protobuf\Value|null
- */
- public function getFormattedValue()
- {
- return $this->formatted_value;
- }
-
- public function hasFormattedValue()
- {
- return isset($this->formatted_value);
- }
-
- public function clearFormattedValue()
- {
- unset($this->formatted_value);
- }
-
- /**
- * The [Dialogflow system entity formatted value
- * ](https://cloud.google.com/dialogflow/docs/reference/system-entities) of
- * this message part. For example for a system entity of type
- * `@sys.unit-currency`, this may contain:
- *
- * {
- * "amount": 5,
- * "currency": "USD"
- * }
- *
- *
- * Generated from protobuf field .google.protobuf.Value formatted_value = 3;
- * @param \Google\Protobuf\Value $var
- * @return $this
- */
- public function setFormattedValue($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Value::class);
- $this->formatted_value = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AnswerFeedback.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AnswerFeedback.php
deleted file mode 100644
index 60634917c402..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AnswerFeedback.php
+++ /dev/null
@@ -1,282 +0,0 @@
-google.cloud.dialogflow.v2.AnswerFeedback
- */
-class AnswerFeedback extends \Google\Protobuf\Internal\Message
-{
- /**
- * The correctness level of the specific answer.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.AnswerFeedback.CorrectnessLevel correctness_level = 1;
- */
- protected $correctness_level = 0;
- /**
- * Indicates whether the answer/item was clicked by the human agent
- * or not. Default to false.
- * For knowledge search and knowledge assist, the answer record is considered
- * to be clicked if the answer was copied or any URI was clicked.
- *
- * Generated from protobuf field bool clicked = 3;
- */
- protected $clicked = false;
- /**
- * Time when the answer/item was clicked.
- *
- * Generated from protobuf field .google.protobuf.Timestamp click_time = 5;
- */
- protected $click_time = null;
- /**
- * Indicates whether the answer/item was displayed to the human
- * agent in the agent desktop UI. Default to false.
- *
- * Generated from protobuf field bool displayed = 4;
- */
- protected $displayed = false;
- /**
- * Time when the answer/item was displayed.
- *
- * Generated from protobuf field .google.protobuf.Timestamp display_time = 6;
- */
- protected $display_time = null;
- protected $detail_feedback;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $correctness_level
- * The correctness level of the specific answer.
- * @type \Google\Cloud\Dialogflow\V2\AgentAssistantFeedback $agent_assistant_detail_feedback
- * Detail feedback of agent assist suggestions.
- * @type bool $clicked
- * Indicates whether the answer/item was clicked by the human agent
- * or not. Default to false.
- * For knowledge search and knowledge assist, the answer record is considered
- * to be clicked if the answer was copied or any URI was clicked.
- * @type \Google\Protobuf\Timestamp $click_time
- * Time when the answer/item was clicked.
- * @type bool $displayed
- * Indicates whether the answer/item was displayed to the human
- * agent in the agent desktop UI. Default to false.
- * @type \Google\Protobuf\Timestamp $display_time
- * Time when the answer/item was displayed.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\AnswerRecord::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The correctness level of the specific answer.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.AnswerFeedback.CorrectnessLevel correctness_level = 1;
- * @return int
- */
- public function getCorrectnessLevel()
- {
- return $this->correctness_level;
- }
-
- /**
- * The correctness level of the specific answer.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.AnswerFeedback.CorrectnessLevel correctness_level = 1;
- * @param int $var
- * @return $this
- */
- public function setCorrectnessLevel($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\AnswerFeedback\CorrectnessLevel::class);
- $this->correctness_level = $var;
-
- return $this;
- }
-
- /**
- * Detail feedback of agent assist suggestions.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
- * @return \Google\Cloud\Dialogflow\V2\AgentAssistantFeedback|null
- */
- public function getAgentAssistantDetailFeedback()
- {
- return $this->readOneof(2);
- }
-
- public function hasAgentAssistantDetailFeedback()
- {
- return $this->hasOneof(2);
- }
-
- /**
- * Detail feedback of agent assist suggestions.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.AgentAssistantFeedback agent_assistant_detail_feedback = 2;
- * @param \Google\Cloud\Dialogflow\V2\AgentAssistantFeedback $var
- * @return $this
- */
- public function setAgentAssistantDetailFeedback($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\AgentAssistantFeedback::class);
- $this->writeOneof(2, $var);
-
- return $this;
- }
-
- /**
- * Indicates whether the answer/item was clicked by the human agent
- * or not. Default to false.
- * For knowledge search and knowledge assist, the answer record is considered
- * to be clicked if the answer was copied or any URI was clicked.
- *
- * Generated from protobuf field bool clicked = 3;
- * @return bool
- */
- public function getClicked()
- {
- return $this->clicked;
- }
-
- /**
- * Indicates whether the answer/item was clicked by the human agent
- * or not. Default to false.
- * For knowledge search and knowledge assist, the answer record is considered
- * to be clicked if the answer was copied or any URI was clicked.
- *
- * Generated from protobuf field bool clicked = 3;
- * @param bool $var
- * @return $this
- */
- public function setClicked($var)
- {
- GPBUtil::checkBool($var);
- $this->clicked = $var;
-
- return $this;
- }
-
- /**
- * Time when the answer/item was clicked.
- *
- * Generated from protobuf field .google.protobuf.Timestamp click_time = 5;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getClickTime()
- {
- return $this->click_time;
- }
-
- public function hasClickTime()
- {
- return isset($this->click_time);
- }
-
- public function clearClickTime()
- {
- unset($this->click_time);
- }
-
- /**
- * Time when the answer/item was clicked.
- *
- * Generated from protobuf field .google.protobuf.Timestamp click_time = 5;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setClickTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->click_time = $var;
-
- return $this;
- }
-
- /**
- * Indicates whether the answer/item was displayed to the human
- * agent in the agent desktop UI. Default to false.
- *
- * Generated from protobuf field bool displayed = 4;
- * @return bool
- */
- public function getDisplayed()
- {
- return $this->displayed;
- }
-
- /**
- * Indicates whether the answer/item was displayed to the human
- * agent in the agent desktop UI. Default to false.
- *
- * Generated from protobuf field bool displayed = 4;
- * @param bool $var
- * @return $this
- */
- public function setDisplayed($var)
- {
- GPBUtil::checkBool($var);
- $this->displayed = $var;
-
- return $this;
- }
-
- /**
- * Time when the answer/item was displayed.
- *
- * Generated from protobuf field .google.protobuf.Timestamp display_time = 6;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getDisplayTime()
- {
- return $this->display_time;
- }
-
- public function hasDisplayTime()
- {
- return isset($this->display_time);
- }
-
- public function clearDisplayTime()
- {
- unset($this->display_time);
- }
-
- /**
- * Time when the answer/item was displayed.
- *
- * Generated from protobuf field .google.protobuf.Timestamp display_time = 6;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setDisplayTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->display_time = $var;
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getDetailFeedback()
- {
- return $this->whichOneof("detail_feedback");
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AnswerFeedback/CorrectnessLevel.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AnswerFeedback/CorrectnessLevel.php
deleted file mode 100644
index 638d5f1b0759..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AnswerFeedback/CorrectnessLevel.php
+++ /dev/null
@@ -1,71 +0,0 @@
-google.cloud.dialogflow.v2.AnswerFeedback.CorrectnessLevel
- */
-class CorrectnessLevel
-{
- /**
- * Correctness level unspecified.
- *
- * Generated from protobuf enum CORRECTNESS_LEVEL_UNSPECIFIED = 0;
- */
- const CORRECTNESS_LEVEL_UNSPECIFIED = 0;
- /**
- * Answer is totally wrong.
- *
- * Generated from protobuf enum NOT_CORRECT = 1;
- */
- const NOT_CORRECT = 1;
- /**
- * Answer is partially correct.
- *
- * Generated from protobuf enum PARTIALLY_CORRECT = 2;
- */
- const PARTIALLY_CORRECT = 2;
- /**
- * Answer is fully correct.
- *
- * Generated from protobuf enum FULLY_CORRECT = 3;
- */
- const FULLY_CORRECT = 3;
-
- private static $valueToName = [
- self::CORRECTNESS_LEVEL_UNSPECIFIED => 'CORRECTNESS_LEVEL_UNSPECIFIED',
- self::NOT_CORRECT => 'NOT_CORRECT',
- self::PARTIALLY_CORRECT => 'PARTIALLY_CORRECT',
- self::FULLY_CORRECT => 'FULLY_CORRECT',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(CorrectnessLevel::class, \Google\Cloud\Dialogflow\V2\AnswerFeedback_CorrectnessLevel::class);
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AnswerRecord.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AnswerRecord.php
deleted file mode 100644
index d215db2c97a1..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AnswerRecord.php
+++ /dev/null
@@ -1,189 +0,0 @@
-google.cloud.dialogflow.v2.AnswerRecord
- */
-class AnswerRecord extends \Google\Protobuf\Internal\Message
-{
- /**
- * The unique identifier of this answer record.
- * Format: `projects//locations//answerRecords/`.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * Required. The AnswerFeedback for this record. You can set this with
- * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2.AnswerRecords.UpdateAnswerRecord]
- * in order to give us feedback about this answer.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.AnswerFeedback answer_feedback = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $answer_feedback = null;
- protected $record;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The unique identifier of this answer record.
- * Format: `projects//locations//answerRecords/`.
- * @type \Google\Cloud\Dialogflow\V2\AnswerFeedback $answer_feedback
- * Required. The AnswerFeedback for this record. You can set this with
- * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2.AnswerRecords.UpdateAnswerRecord]
- * in order to give us feedback about this answer.
- * @type \Google\Cloud\Dialogflow\V2\AgentAssistantRecord $agent_assistant_record
- * Output only. The record for human agent assistant.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\AnswerRecord::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The unique identifier of this answer record.
- * Format: `projects//locations//answerRecords/`.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The unique identifier of this answer record.
- * Format: `projects//locations//answerRecords/`.
- *
- * Generated from protobuf field string name = 1;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Required. The AnswerFeedback for this record. You can set this with
- * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2.AnswerRecords.UpdateAnswerRecord]
- * in order to give us feedback about this answer.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.AnswerFeedback answer_feedback = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Dialogflow\V2\AnswerFeedback|null
- */
- public function getAnswerFeedback()
- {
- return $this->answer_feedback;
- }
-
- public function hasAnswerFeedback()
- {
- return isset($this->answer_feedback);
- }
-
- public function clearAnswerFeedback()
- {
- unset($this->answer_feedback);
- }
-
- /**
- * Required. The AnswerFeedback for this record. You can set this with
- * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2.AnswerRecords.UpdateAnswerRecord]
- * in order to give us feedback about this answer.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.AnswerFeedback answer_feedback = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Dialogflow\V2\AnswerFeedback $var
- * @return $this
- */
- public function setAnswerFeedback($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\AnswerFeedback::class);
- $this->answer_feedback = $var;
-
- return $this;
- }
-
- /**
- * Output only. The record for human agent assistant.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.AgentAssistantRecord agent_assistant_record = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Cloud\Dialogflow\V2\AgentAssistantRecord|null
- */
- public function getAgentAssistantRecord()
- {
- return $this->readOneof(4);
- }
-
- public function hasAgentAssistantRecord()
- {
- return $this->hasOneof(4);
- }
-
- /**
- * Output only. The record for human agent assistant.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.AgentAssistantRecord agent_assistant_record = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Cloud\Dialogflow\V2\AgentAssistantRecord $var
- * @return $this
- */
- public function setAgentAssistantRecord($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\AgentAssistantRecord::class);
- $this->writeOneof(4, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getRecord()
- {
- return $this->whichOneof("record");
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/ArticleAnswer.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/ArticleAnswer.php
deleted file mode 100644
index ecbdd73bdf6a..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/ArticleAnswer.php
+++ /dev/null
@@ -1,261 +0,0 @@
-google.cloud.dialogflow.v2.ArticleAnswer
- */
-class ArticleAnswer extends \Google\Protobuf\Internal\Message
-{
- /**
- * The article title.
- *
- * Generated from protobuf field string title = 1;
- */
- protected $title = '';
- /**
- * The article URI.
- *
- * Generated from protobuf field string uri = 2;
- */
- protected $uri = '';
- /**
- * Article snippets.
- *
- * Generated from protobuf field repeated string snippets = 3;
- */
- private $snippets;
- /**
- * Article match confidence.
- * The system's confidence score that this article is a good match for this
- * conversation, as a value from 0.0 (completely uncertain) to 1.0
- * (completely certain).
- *
- * Generated from protobuf field float confidence = 4;
- */
- protected $confidence = 0.0;
- /**
- * A map that contains metadata about the answer and the
- * document from which it originates.
- *
- * Generated from protobuf field map metadata = 5;
- */
- private $metadata;
- /**
- * The name of answer record, in the format of
- * "projects//locations//answerRecords/"
- *
- * Generated from protobuf field string answer_record = 6;
- */
- protected $answer_record = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $title
- * The article title.
- * @type string $uri
- * The article URI.
- * @type array|\Google\Protobuf\Internal\RepeatedField $snippets
- * Article snippets.
- * @type float $confidence
- * Article match confidence.
- * The system's confidence score that this article is a good match for this
- * conversation, as a value from 0.0 (completely uncertain) to 1.0
- * (completely certain).
- * @type array|\Google\Protobuf\Internal\MapField $metadata
- * A map that contains metadata about the answer and the
- * document from which it originates.
- * @type string $answer_record
- * The name of answer record, in the format of
- * "projects//locations//answerRecords/"
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\Participant::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The article title.
- *
- * Generated from protobuf field string title = 1;
- * @return string
- */
- public function getTitle()
- {
- return $this->title;
- }
-
- /**
- * The article title.
- *
- * Generated from protobuf field string title = 1;
- * @param string $var
- * @return $this
- */
- public function setTitle($var)
- {
- GPBUtil::checkString($var, True);
- $this->title = $var;
-
- return $this;
- }
-
- /**
- * The article URI.
- *
- * Generated from protobuf field string uri = 2;
- * @return string
- */
- public function getUri()
- {
- return $this->uri;
- }
-
- /**
- * The article URI.
- *
- * Generated from protobuf field string uri = 2;
- * @param string $var
- * @return $this
- */
- public function setUri($var)
- {
- GPBUtil::checkString($var, True);
- $this->uri = $var;
-
- return $this;
- }
-
- /**
- * Article snippets.
- *
- * Generated from protobuf field repeated string snippets = 3;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getSnippets()
- {
- return $this->snippets;
- }
-
- /**
- * Article snippets.
- *
- * Generated from protobuf field repeated string snippets = 3;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setSnippets($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->snippets = $arr;
-
- return $this;
- }
-
- /**
- * Article match confidence.
- * The system's confidence score that this article is a good match for this
- * conversation, as a value from 0.0 (completely uncertain) to 1.0
- * (completely certain).
- *
- * Generated from protobuf field float confidence = 4;
- * @return float
- */
- public function getConfidence()
- {
- return $this->confidence;
- }
-
- /**
- * Article match confidence.
- * The system's confidence score that this article is a good match for this
- * conversation, as a value from 0.0 (completely uncertain) to 1.0
- * (completely certain).
- *
- * Generated from protobuf field float confidence = 4;
- * @param float $var
- * @return $this
- */
- public function setConfidence($var)
- {
- GPBUtil::checkFloat($var);
- $this->confidence = $var;
-
- return $this;
- }
-
- /**
- * A map that contains metadata about the answer and the
- * document from which it originates.
- *
- * Generated from protobuf field map metadata = 5;
- * @return \Google\Protobuf\Internal\MapField
- */
- public function getMetadata()
- {
- return $this->metadata;
- }
-
- /**
- * A map that contains metadata about the answer and the
- * document from which it originates.
- *
- * Generated from protobuf field map metadata = 5;
- * @param array|\Google\Protobuf\Internal\MapField $var
- * @return $this
- */
- public function setMetadata($var)
- {
- $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
- $this->metadata = $arr;
-
- return $this;
- }
-
- /**
- * The name of answer record, in the format of
- * "projects//locations//answerRecords/"
- *
- * Generated from protobuf field string answer_record = 6;
- * @return string
- */
- public function getAnswerRecord()
- {
- return $this->answer_record;
- }
-
- /**
- * The name of answer record, in the format of
- * "projects//locations//answerRecords/"
- *
- * Generated from protobuf field string answer_record = 6;
- * @param string $var
- * @return $this
- */
- public function setAnswerRecord($var)
- {
- GPBUtil::checkString($var, True);
- $this->answer_record = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/ArticleSuggestionModelMetadata.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/ArticleSuggestionModelMetadata.php
deleted file mode 100644
index 615d7a2cde86..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/ArticleSuggestionModelMetadata.php
+++ /dev/null
@@ -1,71 +0,0 @@
-google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata
- */
-class ArticleSuggestionModelMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * Optional. Type of the article suggestion model. If not provided, model_type
- * is used.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.ConversationModel.ModelType training_model_type = 3 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $training_model_type = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $training_model_type
- * Optional. Type of the article suggestion model. If not provided, model_type
- * is used.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\ConversationModel::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Optional. Type of the article suggestion model. If not provided, model_type
- * is used.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.ConversationModel.ModelType training_model_type = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @return int
- */
- public function getTrainingModelType()
- {
- return $this->training_model_type;
- }
-
- /**
- * Optional. Type of the article suggestion model. If not provided, model_type
- * is used.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.ConversationModel.ModelType training_model_type = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @param int $var
- * @return $this
- */
- public function setTrainingModelType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\ConversationModel\ModelType::class);
- $this->training_model_type = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AssistQueryParameters.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AssistQueryParameters.php
deleted file mode 100644
index 2deb569bf5cd..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AssistQueryParameters.php
+++ /dev/null
@@ -1,131 +0,0 @@
-google.cloud.dialogflow.v2.AssistQueryParameters
- */
-class AssistQueryParameters extends \Google\Protobuf\Internal\Message
-{
- /**
- * Key-value filters on the metadata of documents returned by article
- * suggestion. If specified, article suggestion only returns suggested
- * documents that match all filters in their
- * [Document.metadata][google.cloud.dialogflow.v2.Document.metadata]. Multiple
- * values for a metadata key should be concatenated by comma. For example,
- * filters to match all documents that have 'US' or 'CA' in their market
- * metadata values and 'agent' in their user metadata values will be
- * ```
- * documents_metadata_filters {
- * key: "market"
- * value: "US,CA"
- * }
- * documents_metadata_filters {
- * key: "user"
- * value: "agent"
- * }
- * ```
- *
- * Generated from protobuf field map documents_metadata_filters = 1;
- */
- private $documents_metadata_filters;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array|\Google\Protobuf\Internal\MapField $documents_metadata_filters
- * Key-value filters on the metadata of documents returned by article
- * suggestion. If specified, article suggestion only returns suggested
- * documents that match all filters in their
- * [Document.metadata][google.cloud.dialogflow.v2.Document.metadata]. Multiple
- * values for a metadata key should be concatenated by comma. For example,
- * filters to match all documents that have 'US' or 'CA' in their market
- * metadata values and 'agent' in their user metadata values will be
- * ```
- * documents_metadata_filters {
- * key: "market"
- * value: "US,CA"
- * }
- * documents_metadata_filters {
- * key: "user"
- * value: "agent"
- * }
- * ```
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\Participant::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Key-value filters on the metadata of documents returned by article
- * suggestion. If specified, article suggestion only returns suggested
- * documents that match all filters in their
- * [Document.metadata][google.cloud.dialogflow.v2.Document.metadata]. Multiple
- * values for a metadata key should be concatenated by comma. For example,
- * filters to match all documents that have 'US' or 'CA' in their market
- * metadata values and 'agent' in their user metadata values will be
- * ```
- * documents_metadata_filters {
- * key: "market"
- * value: "US,CA"
- * }
- * documents_metadata_filters {
- * key: "user"
- * value: "agent"
- * }
- * ```
- *
- * Generated from protobuf field map documents_metadata_filters = 1;
- * @return \Google\Protobuf\Internal\MapField
- */
- public function getDocumentsMetadataFilters()
- {
- return $this->documents_metadata_filters;
- }
-
- /**
- * Key-value filters on the metadata of documents returned by article
- * suggestion. If specified, article suggestion only returns suggested
- * documents that match all filters in their
- * [Document.metadata][google.cloud.dialogflow.v2.Document.metadata]. Multiple
- * values for a metadata key should be concatenated by comma. For example,
- * filters to match all documents that have 'US' or 'CA' in their market
- * metadata values and 'agent' in their user metadata values will be
- * ```
- * documents_metadata_filters {
- * key: "market"
- * value: "US,CA"
- * }
- * documents_metadata_filters {
- * key: "user"
- * value: "agent"
- * }
- * ```
- *
- * Generated from protobuf field map documents_metadata_filters = 1;
- * @param array|\Google\Protobuf\Internal\MapField $var
- * @return $this
- */
- public function setDocumentsMetadataFilters($var)
- {
- $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
- $this->documents_metadata_filters = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AudioEncoding.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AudioEncoding.php
deleted file mode 100644
index e630d149e731..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AudioEncoding.php
+++ /dev/null
@@ -1,125 +0,0 @@
-google.cloud.dialogflow.v2.AudioEncoding
- */
-class AudioEncoding
-{
- /**
- * Not specified.
- *
- * Generated from protobuf enum AUDIO_ENCODING_UNSPECIFIED = 0;
- */
- const AUDIO_ENCODING_UNSPECIFIED = 0;
- /**
- * Uncompressed 16-bit signed little-endian samples (Linear PCM).
- *
- * Generated from protobuf enum AUDIO_ENCODING_LINEAR_16 = 1;
- */
- const AUDIO_ENCODING_LINEAR_16 = 1;
- /**
- * [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio
- * Codec) is the recommended encoding because it is lossless (therefore
- * recognition is not compromised) and requires only about half the
- * bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and
- * 24-bit samples, however, not all fields in `STREAMINFO` are supported.
- *
- * Generated from protobuf enum AUDIO_ENCODING_FLAC = 2;
- */
- const AUDIO_ENCODING_FLAC = 2;
- /**
- * 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.
- *
- * Generated from protobuf enum AUDIO_ENCODING_MULAW = 3;
- */
- const AUDIO_ENCODING_MULAW = 3;
- /**
- * Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000.
- *
- * Generated from protobuf enum AUDIO_ENCODING_AMR = 4;
- */
- const AUDIO_ENCODING_AMR = 4;
- /**
- * Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000.
- *
- * Generated from protobuf enum AUDIO_ENCODING_AMR_WB = 5;
- */
- const AUDIO_ENCODING_AMR_WB = 5;
- /**
- * Opus encoded audio frames in Ogg container
- * ([OggOpus](https://wiki.xiph.org/OggOpus)).
- * `sample_rate_hertz` must be 16000.
- *
- * Generated from protobuf enum AUDIO_ENCODING_OGG_OPUS = 6;
- */
- const AUDIO_ENCODING_OGG_OPUS = 6;
- /**
- * Although the use of lossy encodings is not recommended, if a very low
- * bitrate encoding is required, `OGG_OPUS` is highly preferred over
- * Speex encoding. The [Speex](https://speex.org/) encoding supported by
- * Dialogflow API has a header byte in each block, as in MIME type
- * `audio/x-speex-with-header-byte`.
- * It is a variant of the RTP Speex encoding defined in
- * [RFC 5574](https://tools.ietf.org/html/rfc5574).
- * The stream is a sequence of blocks, one block per RTP packet. Each block
- * starts with a byte containing the length of the block, in bytes, followed
- * by one or more frames of Speex data, padded to an integral number of
- * bytes (octets) as specified in RFC 5574. In other words, each RTP header
- * is replaced with a single byte containing the block length. Only Speex
- * wideband is supported. `sample_rate_hertz` must be 16000.
- *
- * Generated from protobuf enum AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7;
- */
- const AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7;
- /**
- * 8-bit samples that compand 13-bit audio samples using G.711 PCMU/a-law.
- *
- * Generated from protobuf enum AUDIO_ENCODING_ALAW = 8;
- */
- const AUDIO_ENCODING_ALAW = 8;
-
- private static $valueToName = [
- self::AUDIO_ENCODING_UNSPECIFIED => 'AUDIO_ENCODING_UNSPECIFIED',
- self::AUDIO_ENCODING_LINEAR_16 => 'AUDIO_ENCODING_LINEAR_16',
- self::AUDIO_ENCODING_FLAC => 'AUDIO_ENCODING_FLAC',
- self::AUDIO_ENCODING_MULAW => 'AUDIO_ENCODING_MULAW',
- self::AUDIO_ENCODING_AMR => 'AUDIO_ENCODING_AMR',
- self::AUDIO_ENCODING_AMR_WB => 'AUDIO_ENCODING_AMR_WB',
- self::AUDIO_ENCODING_OGG_OPUS => 'AUDIO_ENCODING_OGG_OPUS',
- self::AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE => 'AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE',
- self::AUDIO_ENCODING_ALAW => 'AUDIO_ENCODING_ALAW',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AutomatedAgentConfig.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AutomatedAgentConfig.php
deleted file mode 100644
index 9c86f69649d9..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AutomatedAgentConfig.php
+++ /dev/null
@@ -1,175 +0,0 @@
-google.cloud.dialogflow.v2.AutomatedAgentConfig
- */
-class AutomatedAgentConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. ID of the Dialogflow agent environment to use.
- * This project needs to either be the same project as the conversation or you
- * need to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow API
- * Service Agent` role in this project.
- * - For ES agents, use format: `projects//locations//agent/environments/`. If environment is not
- * specified, the default `draft` environment is used. Refer to
- * [DetectIntentRequest](/dialogflow/docs/reference/rpc/google.cloud.dialogflow.v2#google.cloud.dialogflow.v2.DetectIntentRequest)
- * for more details.
- * - For CX agents, use format `projects//locations//agents//environments/`. If environment is not specified, the default `draft` environment
- * is used.
- *
- * Generated from protobuf field string agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $agent = '';
- /**
- * Optional. Configure lifetime of the Dialogflow session.
- * By default, a Dialogflow CX session remains active and its data is stored
- * for 30 minutes after the last request is sent for the session.
- * This value should be no longer than 1 day.
- *
- * Generated from protobuf field .google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $session_ttl = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $agent
- * Required. ID of the Dialogflow agent environment to use.
- * This project needs to either be the same project as the conversation or you
- * need to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow API
- * Service Agent` role in this project.
- * - For ES agents, use format: `projects//locations//agent/environments/`. If environment is not
- * specified, the default `draft` environment is used. Refer to
- * [DetectIntentRequest](/dialogflow/docs/reference/rpc/google.cloud.dialogflow.v2#google.cloud.dialogflow.v2.DetectIntentRequest)
- * for more details.
- * - For CX agents, use format `projects//locations//agents//environments/`. If environment is not specified, the default `draft` environment
- * is used.
- * @type \Google\Protobuf\Duration $session_ttl
- * Optional. Configure lifetime of the Dialogflow session.
- * By default, a Dialogflow CX session remains active and its data is stored
- * for 30 minutes after the last request is sent for the session.
- * This value should be no longer than 1 day.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\ConversationProfile::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. ID of the Dialogflow agent environment to use.
- * This project needs to either be the same project as the conversation or you
- * need to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow API
- * Service Agent` role in this project.
- * - For ES agents, use format: `projects//locations//agent/environments/`. If environment is not
- * specified, the default `draft` environment is used. Refer to
- * [DetectIntentRequest](/dialogflow/docs/reference/rpc/google.cloud.dialogflow.v2#google.cloud.dialogflow.v2.DetectIntentRequest)
- * for more details.
- * - For CX agents, use format `projects//locations//agents//environments/`. If environment is not specified, the default `draft` environment
- * is used.
- *
- * Generated from protobuf field string agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getAgent()
- {
- return $this->agent;
- }
-
- /**
- * Required. ID of the Dialogflow agent environment to use.
- * This project needs to either be the same project as the conversation or you
- * need to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow API
- * Service Agent` role in this project.
- * - For ES agents, use format: `projects//locations//agent/environments/`. If environment is not
- * specified, the default `draft` environment is used. Refer to
- * [DetectIntentRequest](/dialogflow/docs/reference/rpc/google.cloud.dialogflow.v2#google.cloud.dialogflow.v2.DetectIntentRequest)
- * for more details.
- * - For CX agents, use format `projects//locations//agents//environments/`. If environment is not specified, the default `draft` environment
- * is used.
- *
- * Generated from protobuf field string agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setAgent($var)
- {
- GPBUtil::checkString($var, True);
- $this->agent = $var;
-
- return $this;
- }
-
- /**
- * Optional. Configure lifetime of the Dialogflow session.
- * By default, a Dialogflow CX session remains active and its data is stored
- * for 30 minutes after the last request is sent for the session.
- * This value should be no longer than 1 day.
- *
- * Generated from protobuf field .google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Duration|null
- */
- public function getSessionTtl()
- {
- return $this->session_ttl;
- }
-
- public function hasSessionTtl()
- {
- return isset($this->session_ttl);
- }
-
- public function clearSessionTtl()
- {
- unset($this->session_ttl);
- }
-
- /**
- * Optional. Configure lifetime of the Dialogflow session.
- * By default, a Dialogflow CX session remains active and its data is stored
- * for 30 minutes after the last request is sent for the session.
- * This value should be no longer than 1 day.
- *
- * Generated from protobuf field .google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setSessionTtl($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->session_ttl = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AutomatedAgentReply.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AutomatedAgentReply.php
deleted file mode 100644
index a7eb6d7bb899..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AutomatedAgentReply.php
+++ /dev/null
@@ -1,203 +0,0 @@
-google.cloud.dialogflow.v2.AutomatedAgentReply
- */
-class AutomatedAgentReply extends \Google\Protobuf\Internal\Message
-{
- /**
- * Response of the Dialogflow
- * [Sessions.DetectIntent][google.cloud.dialogflow.v2.Sessions.DetectIntent]
- * call.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
- */
- protected $detect_intent_response = null;
- /**
- * AutomatedAgentReply type.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
- */
- protected $automated_agent_reply_type = 0;
- /**
- * Indicates whether the partial automated agent reply is interruptible when a
- * later reply message arrives. e.g. if the agent specified some music as
- * partial response, it can be cancelled.
- *
- * Generated from protobuf field bool allow_cancellation = 8;
- */
- protected $allow_cancellation = false;
- /**
- * The unique identifier of the current Dialogflow CX conversation page.
- * Format: `projects//locations//agents//flows//pages/`.
- *
- * Generated from protobuf field string cx_current_page = 11;
- */
- protected $cx_current_page = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Dialogflow\V2\DetectIntentResponse $detect_intent_response
- * Response of the Dialogflow
- * [Sessions.DetectIntent][google.cloud.dialogflow.v2.Sessions.DetectIntent]
- * call.
- * @type int $automated_agent_reply_type
- * AutomatedAgentReply type.
- * @type bool $allow_cancellation
- * Indicates whether the partial automated agent reply is interruptible when a
- * later reply message arrives. e.g. if the agent specified some music as
- * partial response, it can be cancelled.
- * @type string $cx_current_page
- * The unique identifier of the current Dialogflow CX conversation page.
- * Format: `projects//locations//agents//flows//pages/`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\Participant::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Response of the Dialogflow
- * [Sessions.DetectIntent][google.cloud.dialogflow.v2.Sessions.DetectIntent]
- * call.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
- * @return \Google\Cloud\Dialogflow\V2\DetectIntentResponse|null
- */
- public function getDetectIntentResponse()
- {
- return $this->detect_intent_response;
- }
-
- public function hasDetectIntentResponse()
- {
- return isset($this->detect_intent_response);
- }
-
- public function clearDetectIntentResponse()
- {
- unset($this->detect_intent_response);
- }
-
- /**
- * Response of the Dialogflow
- * [Sessions.DetectIntent][google.cloud.dialogflow.v2.Sessions.DetectIntent]
- * call.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
- * @param \Google\Cloud\Dialogflow\V2\DetectIntentResponse $var
- * @return $this
- */
- public function setDetectIntentResponse($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\DetectIntentResponse::class);
- $this->detect_intent_response = $var;
-
- return $this;
- }
-
- /**
- * AutomatedAgentReply type.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
- * @return int
- */
- public function getAutomatedAgentReplyType()
- {
- return $this->automated_agent_reply_type;
- }
-
- /**
- * AutomatedAgentReply type.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
- * @param int $var
- * @return $this
- */
- public function setAutomatedAgentReplyType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\AutomatedAgentReply\AutomatedAgentReplyType::class);
- $this->automated_agent_reply_type = $var;
-
- return $this;
- }
-
- /**
- * Indicates whether the partial automated agent reply is interruptible when a
- * later reply message arrives. e.g. if the agent specified some music as
- * partial response, it can be cancelled.
- *
- * Generated from protobuf field bool allow_cancellation = 8;
- * @return bool
- */
- public function getAllowCancellation()
- {
- return $this->allow_cancellation;
- }
-
- /**
- * Indicates whether the partial automated agent reply is interruptible when a
- * later reply message arrives. e.g. if the agent specified some music as
- * partial response, it can be cancelled.
- *
- * Generated from protobuf field bool allow_cancellation = 8;
- * @param bool $var
- * @return $this
- */
- public function setAllowCancellation($var)
- {
- GPBUtil::checkBool($var);
- $this->allow_cancellation = $var;
-
- return $this;
- }
-
- /**
- * The unique identifier of the current Dialogflow CX conversation page.
- * Format: `projects//locations//agents//flows//pages/`.
- *
- * Generated from protobuf field string cx_current_page = 11;
- * @return string
- */
- public function getCxCurrentPage()
- {
- return $this->cx_current_page;
- }
-
- /**
- * The unique identifier of the current Dialogflow CX conversation page.
- * Format: `projects//locations//agents//flows//pages/`.
- *
- * Generated from protobuf field string cx_current_page = 11;
- * @param string $var
- * @return $this
- */
- public function setCxCurrentPage($var)
- {
- GPBUtil::checkString($var, True);
- $this->cx_current_page = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AutomatedAgentReply/AutomatedAgentReplyType.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AutomatedAgentReply/AutomatedAgentReplyType.php
deleted file mode 100644
index a82ee1df28e1..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/AutomatedAgentReply/AutomatedAgentReplyType.php
+++ /dev/null
@@ -1,70 +0,0 @@
-google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType
- */
-class AutomatedAgentReplyType
-{
- /**
- * Not specified. This should never happen.
- *
- * Generated from protobuf enum AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED = 0;
- */
- const AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED = 0;
- /**
- * Partial reply. e.g. Aggregated responses in a `Fulfillment` that enables
- * `return_partial_response` can be returned as partial reply.
- * WARNING: partial reply is not eligible for barge-in.
- *
- * Generated from protobuf enum PARTIAL = 1;
- */
- const PARTIAL = 1;
- /**
- * Final reply.
- *
- * Generated from protobuf enum FINAL = 2;
- */
- const PBFINAL = 2;
-
- private static $valueToName = [
- self::AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED => 'AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED',
- self::PARTIAL => 'PARTIAL',
- self::PBFINAL => 'FINAL',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- $pbconst = __CLASS__. '::PB' . strtoupper($name);
- if (!defined($pbconst)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($pbconst);
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(AutomatedAgentReplyType::class, \Google\Cloud\Dialogflow\V2\AutomatedAgentReply_AutomatedAgentReplyType::class);
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchCreateEntitiesRequest.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchCreateEntitiesRequest.php
deleted file mode 100644
index c78351121644..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchCreateEntitiesRequest.php
+++ /dev/null
@@ -1,196 +0,0 @@
-google.cloud.dialogflow.v2.BatchCreateEntitiesRequest
- */
-class BatchCreateEntitiesRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The name of the entity type to create entities in. Format:
- * `projects//agent/entityTypes/`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Required. The entities to create.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- private $entities;
- /**
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- *
- * Generated from protobuf field string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $language_code = '';
-
- /**
- * @param string $parent Required. The name of the entity type to create entities in. Format:
- * `projects//agent/entityTypes/`. Please see
- * {@see EntityTypesClient::entityTypeName()} for help formatting this field.
- * @param \Google\Cloud\Dialogflow\V2\EntityType\Entity[] $entities Required. The entities to create.
- *
- * @return \Google\Cloud\Dialogflow\V2\BatchCreateEntitiesRequest
- *
- * @experimental
- */
- public static function build(string $parent, array $entities): self
- {
- return (new self())
- ->setParent($parent)
- ->setEntities($entities);
- }
-
- /**
- * @param string $parent Required. The name of the entity type to create entities in. Format:
- * `projects//agent/entityTypes/`. Please see
- * {@see EntityTypesClient::entityTypeName()} for help formatting this field.
- * @param \Google\Cloud\Dialogflow\V2\EntityType\Entity[] $entities Required. The entities to create.
- * @param string $languageCode Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- *
- * @return \Google\Cloud\Dialogflow\V2\BatchCreateEntitiesRequest
- *
- * @experimental
- */
- public static function buildFromParentEntitiesLanguageCode(string $parent, array $entities, string $languageCode): self
- {
- return (new self())
- ->setParent($parent)
- ->setEntities($entities)
- ->setLanguageCode($languageCode);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The name of the entity type to create entities in. Format:
- * `projects//agent/entityTypes/`.
- * @type array<\Google\Cloud\Dialogflow\V2\EntityType\Entity>|\Google\Protobuf\Internal\RepeatedField $entities
- * Required. The entities to create.
- * @type string $language_code
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\EntityType::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The name of the entity type to create entities in. Format:
- * `projects//agent/entityTypes/`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The name of the entity type to create entities in. Format:
- * `projects//agent/entityTypes/`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Required. The entities to create.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getEntities()
- {
- return $this->entities;
- }
-
- /**
- * Required. The entities to create.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param array<\Google\Cloud\Dialogflow\V2\EntityType\Entity>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setEntities($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\EntityType\Entity::class);
- $this->entities = $arr;
-
- return $this;
- }
-
- /**
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- *
- * Generated from protobuf field string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getLanguageCode()
- {
- return $this->language_code;
- }
-
- /**
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- *
- * Generated from protobuf field string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setLanguageCode($var)
- {
- GPBUtil::checkString($var, True);
- $this->language_code = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchDeleteEntitiesRequest.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchDeleteEntitiesRequest.php
deleted file mode 100644
index 5eca1fa7c49d..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchDeleteEntitiesRequest.php
+++ /dev/null
@@ -1,208 +0,0 @@
-google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest
- */
-class BatchDeleteEntitiesRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The name of the entity type to delete entries for. Format:
- * `projects//agent/entityTypes/`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Required. The reference `values` of the entities to delete. Note that
- * these are not fully-qualified names, i.e. they don't start with
- * `projects/`.
- *
- * Generated from protobuf field repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- private $entity_values;
- /**
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- *
- * Generated from protobuf field string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $language_code = '';
-
- /**
- * @param string $parent Required. The name of the entity type to delete entries for. Format:
- * `projects//agent/entityTypes/`. Please see
- * {@see EntityTypesClient::entityTypeName()} for help formatting this field.
- * @param string[] $entityValues Required. The reference `values` of the entities to delete. Note that
- * these are not fully-qualified names, i.e. they don't start with
- * `projects/`.
- *
- * @return \Google\Cloud\Dialogflow\V2\BatchDeleteEntitiesRequest
- *
- * @experimental
- */
- public static function build(string $parent, array $entityValues): self
- {
- return (new self())
- ->setParent($parent)
- ->setEntityValues($entityValues);
- }
-
- /**
- * @param string $parent Required. The name of the entity type to delete entries for. Format:
- * `projects//agent/entityTypes/`. Please see
- * {@see EntityTypesClient::entityTypeName()} for help formatting this field.
- * @param string[] $entityValues Required. The reference `values` of the entities to delete. Note that
- * these are not fully-qualified names, i.e. they don't start with
- * `projects/`.
- * @param string $languageCode Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- *
- * @return \Google\Cloud\Dialogflow\V2\BatchDeleteEntitiesRequest
- *
- * @experimental
- */
- public static function buildFromParentEntityValuesLanguageCode(string $parent, array $entityValues, string $languageCode): self
- {
- return (new self())
- ->setParent($parent)
- ->setEntityValues($entityValues)
- ->setLanguageCode($languageCode);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The name of the entity type to delete entries for. Format:
- * `projects//agent/entityTypes/`.
- * @type array|\Google\Protobuf\Internal\RepeatedField $entity_values
- * Required. The reference `values` of the entities to delete. Note that
- * these are not fully-qualified names, i.e. they don't start with
- * `projects/`.
- * @type string $language_code
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\EntityType::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The name of the entity type to delete entries for. Format:
- * `projects//agent/entityTypes/`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The name of the entity type to delete entries for. Format:
- * `projects//agent/entityTypes/`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Required. The reference `values` of the entities to delete. Note that
- * these are not fully-qualified names, i.e. they don't start with
- * `projects/`.
- *
- * Generated from protobuf field repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getEntityValues()
- {
- return $this->entity_values;
- }
-
- /**
- * Required. The reference `values` of the entities to delete. Note that
- * these are not fully-qualified names, i.e. they don't start with
- * `projects/`.
- *
- * Generated from protobuf field repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setEntityValues($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->entity_values = $arr;
-
- return $this;
- }
-
- /**
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- *
- * Generated from protobuf field string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getLanguageCode()
- {
- return $this->language_code;
- }
-
- /**
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- *
- * Generated from protobuf field string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setLanguageCode($var)
- {
- GPBUtil::checkString($var, True);
- $this->language_code = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchDeleteEntityTypesRequest.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchDeleteEntityTypesRequest.php
deleted file mode 100644
index cd9bed492c1e..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchDeleteEntityTypesRequest.php
+++ /dev/null
@@ -1,128 +0,0 @@
-google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest
- */
-class BatchDeleteEntityTypesRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The name of the agent to delete all entities types for. Format:
- * `projects//agent`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Required. The names entity types to delete. All names must point to the
- * same agent as `parent`.
- *
- * Generated from protobuf field repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- private $entity_type_names;
-
- /**
- * @param string $parent Required. The name of the agent to delete all entities types for. Format:
- * `projects//agent`. Please see
- * {@see EntityTypesClient::agentName()} for help formatting this field.
- * @param string[] $entityTypeNames Required. The names entity types to delete. All names must point to the
- * same agent as `parent`.
- *
- * @return \Google\Cloud\Dialogflow\V2\BatchDeleteEntityTypesRequest
- *
- * @experimental
- */
- public static function build(string $parent, array $entityTypeNames): self
- {
- return (new self())
- ->setParent($parent)
- ->setEntityTypeNames($entityTypeNames);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The name of the agent to delete all entities types for. Format:
- * `projects//agent`.
- * @type array|\Google\Protobuf\Internal\RepeatedField $entity_type_names
- * Required. The names entity types to delete. All names must point to the
- * same agent as `parent`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\EntityType::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The name of the agent to delete all entities types for. Format:
- * `projects//agent`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The name of the agent to delete all entities types for. Format:
- * `projects//agent`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Required. The names entity types to delete. All names must point to the
- * same agent as `parent`.
- *
- * Generated from protobuf field repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getEntityTypeNames()
- {
- return $this->entity_type_names;
- }
-
- /**
- * Required. The names entity types to delete. All names must point to the
- * same agent as `parent`.
- *
- * Generated from protobuf field repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setEntityTypeNames($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->entity_type_names = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchDeleteIntentsRequest.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchDeleteIntentsRequest.php
deleted file mode 100644
index 268ec6c84a48..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchDeleteIntentsRequest.php
+++ /dev/null
@@ -1,128 +0,0 @@
-google.cloud.dialogflow.v2.BatchDeleteIntentsRequest
- */
-class BatchDeleteIntentsRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The name of the agent to delete all entities types for. Format:
- * `projects//agent`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Required. The collection of intents to delete. Only intent `name` must be
- * filled in.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- private $intents;
-
- /**
- * @param string $parent Required. The name of the agent to delete all entities types for. Format:
- * `projects//agent`. Please see
- * {@see IntentsClient::agentName()} for help formatting this field.
- * @param \Google\Cloud\Dialogflow\V2\Intent[] $intents Required. The collection of intents to delete. Only intent `name` must be
- * filled in.
- *
- * @return \Google\Cloud\Dialogflow\V2\BatchDeleteIntentsRequest
- *
- * @experimental
- */
- public static function build(string $parent, array $intents): self
- {
- return (new self())
- ->setParent($parent)
- ->setIntents($intents);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The name of the agent to delete all entities types for. Format:
- * `projects//agent`.
- * @type array<\Google\Cloud\Dialogflow\V2\Intent>|\Google\Protobuf\Internal\RepeatedField $intents
- * Required. The collection of intents to delete. Only intent `name` must be
- * filled in.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\Intent::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The name of the agent to delete all entities types for. Format:
- * `projects//agent`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The name of the agent to delete all entities types for. Format:
- * `projects//agent`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Required. The collection of intents to delete. Only intent `name` must be
- * filled in.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getIntents()
- {
- return $this->intents;
- }
-
- /**
- * Required. The collection of intents to delete. Only intent `name` must be
- * filled in.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param array<\Google\Cloud\Dialogflow\V2\Intent>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setIntents($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\Intent::class);
- $this->intents = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchUpdateEntitiesRequest.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchUpdateEntitiesRequest.php
deleted file mode 100644
index 3a34274aa00a..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchUpdateEntitiesRequest.php
+++ /dev/null
@@ -1,240 +0,0 @@
-google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest
- */
-class BatchUpdateEntitiesRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The name of the entity type to update or create entities in.
- * Format: `projects//agent/entityTypes/`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Required. The entities to update or create.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- private $entities;
- /**
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- *
- * Generated from protobuf field string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $language_code = '';
- /**
- * Optional. The mask to control which fields get updated.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $update_mask = null;
-
- /**
- * @param string $parent Required. The name of the entity type to update or create entities in.
- * Format: `projects//agent/entityTypes/`. Please see
- * {@see EntityTypesClient::entityTypeName()} for help formatting this field.
- * @param \Google\Cloud\Dialogflow\V2\EntityType\Entity[] $entities Required. The entities to update or create.
- *
- * @return \Google\Cloud\Dialogflow\V2\BatchUpdateEntitiesRequest
- *
- * @experimental
- */
- public static function build(string $parent, array $entities): self
- {
- return (new self())
- ->setParent($parent)
- ->setEntities($entities);
- }
-
- /**
- * @param string $parent Required. The name of the entity type to update or create entities in.
- * Format: `projects//agent/entityTypes/`. Please see
- * {@see EntityTypesClient::entityTypeName()} for help formatting this field.
- * @param \Google\Cloud\Dialogflow\V2\EntityType\Entity[] $entities Required. The entities to update or create.
- * @param string $languageCode Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- *
- * @return \Google\Cloud\Dialogflow\V2\BatchUpdateEntitiesRequest
- *
- * @experimental
- */
- public static function buildFromParentEntitiesLanguageCode(string $parent, array $entities, string $languageCode): self
- {
- return (new self())
- ->setParent($parent)
- ->setEntities($entities)
- ->setLanguageCode($languageCode);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The name of the entity type to update or create entities in.
- * Format: `projects//agent/entityTypes/`.
- * @type array<\Google\Cloud\Dialogflow\V2\EntityType\Entity>|\Google\Protobuf\Internal\RepeatedField $entities
- * Required. The entities to update or create.
- * @type string $language_code
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- * @type \Google\Protobuf\FieldMask $update_mask
- * Optional. The mask to control which fields get updated.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\EntityType::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The name of the entity type to update or create entities in.
- * Format: `projects//agent/entityTypes/`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The name of the entity type to update or create entities in.
- * Format: `projects//agent/entityTypes/`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Required. The entities to update or create.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getEntities()
- {
- return $this->entities;
- }
-
- /**
- * Required. The entities to update or create.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param array<\Google\Cloud\Dialogflow\V2\EntityType\Entity>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setEntities($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\EntityType\Entity::class);
- $this->entities = $arr;
-
- return $this;
- }
-
- /**
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- *
- * Generated from protobuf field string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getLanguageCode()
- {
- return $this->language_code;
- }
-
- /**
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- *
- * Generated from protobuf field string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setLanguageCode($var)
- {
- GPBUtil::checkString($var, True);
- $this->language_code = $var;
-
- return $this;
- }
-
- /**
- * Optional. The mask to control which fields get updated.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\FieldMask|null
- */
- public function getUpdateMask()
- {
- return $this->update_mask;
- }
-
- public function hasUpdateMask()
- {
- return isset($this->update_mask);
- }
-
- public function clearUpdateMask()
- {
- unset($this->update_mask);
- }
-
- /**
- * Optional. The mask to control which fields get updated.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\FieldMask $var
- * @return $this
- */
- public function setUpdateMask($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
- $this->update_mask = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchUpdateEntityTypesRequest.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchUpdateEntityTypesRequest.php
deleted file mode 100644
index 6a281fc67777..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchUpdateEntityTypesRequest.php
+++ /dev/null
@@ -1,250 +0,0 @@
-google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest
- */
-class BatchUpdateEntityTypesRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The name of the agent to update or create entity types in.
- * Format: `projects//agent`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- *
- * Generated from protobuf field string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $language_code = '';
- /**
- * Optional. The mask to control which fields get updated.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $update_mask = null;
- protected $entity_type_batch;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The name of the agent to update or create entity types in.
- * Format: `projects//agent`.
- * @type string $entity_type_batch_uri
- * The URI to a Google Cloud Storage file containing entity types to update
- * or create. The file format can either be a serialized proto (of
- * EntityBatch type) or a JSON object. Note: The URI must start with
- * "gs://".
- * @type \Google\Cloud\Dialogflow\V2\EntityTypeBatch $entity_type_batch_inline
- * The collection of entity types to update or create.
- * @type string $language_code
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- * @type \Google\Protobuf\FieldMask $update_mask
- * Optional. The mask to control which fields get updated.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\EntityType::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The name of the agent to update or create entity types in.
- * Format: `projects//agent`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The name of the agent to update or create entity types in.
- * Format: `projects//agent`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * The URI to a Google Cloud Storage file containing entity types to update
- * or create. The file format can either be a serialized proto (of
- * EntityBatch type) or a JSON object. Note: The URI must start with
- * "gs://".
- *
- * Generated from protobuf field string entity_type_batch_uri = 2;
- * @return string
- */
- public function getEntityTypeBatchUri()
- {
- return $this->readOneof(2);
- }
-
- public function hasEntityTypeBatchUri()
- {
- return $this->hasOneof(2);
- }
-
- /**
- * The URI to a Google Cloud Storage file containing entity types to update
- * or create. The file format can either be a serialized proto (of
- * EntityBatch type) or a JSON object. Note: The URI must start with
- * "gs://".
- *
- * Generated from protobuf field string entity_type_batch_uri = 2;
- * @param string $var
- * @return $this
- */
- public function setEntityTypeBatchUri($var)
- {
- GPBUtil::checkString($var, True);
- $this->writeOneof(2, $var);
-
- return $this;
- }
-
- /**
- * The collection of entity types to update or create.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;
- * @return \Google\Cloud\Dialogflow\V2\EntityTypeBatch|null
- */
- public function getEntityTypeBatchInline()
- {
- return $this->readOneof(3);
- }
-
- public function hasEntityTypeBatchInline()
- {
- return $this->hasOneof(3);
- }
-
- /**
- * The collection of entity types to update or create.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;
- * @param \Google\Cloud\Dialogflow\V2\EntityTypeBatch $var
- * @return $this
- */
- public function setEntityTypeBatchInline($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\EntityTypeBatch::class);
- $this->writeOneof(3, $var);
-
- return $this;
- }
-
- /**
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- *
- * Generated from protobuf field string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getLanguageCode()
- {
- return $this->language_code;
- }
-
- /**
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- *
- * Generated from protobuf field string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setLanguageCode($var)
- {
- GPBUtil::checkString($var, True);
- $this->language_code = $var;
-
- return $this;
- }
-
- /**
- * Optional. The mask to control which fields get updated.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\FieldMask|null
- */
- public function getUpdateMask()
- {
- return $this->update_mask;
- }
-
- public function hasUpdateMask()
- {
- return isset($this->update_mask);
- }
-
- public function clearUpdateMask()
- {
- unset($this->update_mask);
- }
-
- /**
- * Optional. The mask to control which fields get updated.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\FieldMask $var
- * @return $this
- */
- public function setUpdateMask($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
- $this->update_mask = $var;
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getEntityTypeBatch()
- {
- return $this->whichOneof("entity_type_batch");
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchUpdateEntityTypesResponse.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchUpdateEntityTypesResponse.php
deleted file mode 100644
index b73eca89fee6..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchUpdateEntityTypesResponse.php
+++ /dev/null
@@ -1,68 +0,0 @@
-google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse
- */
-class BatchUpdateEntityTypesResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * The collection of updated or created entity types.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
- */
- private $entity_types;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Cloud\Dialogflow\V2\EntityType>|\Google\Protobuf\Internal\RepeatedField $entity_types
- * The collection of updated or created entity types.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\EntityType::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The collection of updated or created entity types.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getEntityTypes()
- {
- return $this->entity_types;
- }
-
- /**
- * The collection of updated or created entity types.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
- * @param array<\Google\Cloud\Dialogflow\V2\EntityType>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setEntityTypes($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\EntityType::class);
- $this->entity_types = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchUpdateIntentsRequest.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchUpdateIntentsRequest.php
deleted file mode 100644
index 1420d0617909..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchUpdateIntentsRequest.php
+++ /dev/null
@@ -1,314 +0,0 @@
-google.cloud.dialogflow.v2.BatchUpdateIntentsRequest
- */
-class BatchUpdateIntentsRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The name of the agent to update or create intents in.
- * Format: `projects//agent`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- *
- * Generated from protobuf field string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $language_code = '';
- /**
- * Optional. The mask to control which fields get updated.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $update_mask = null;
- /**
- * Optional. The resource view to apply to the returned intent.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.IntentView intent_view = 6 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $intent_view = 0;
- protected $intent_batch;
-
- /**
- * @param string $parent Required. The name of the agent to update or create intents in.
- * Format: `projects//agent`. Please see
- * {@see IntentsClient::agentName()} for help formatting this field.
- * @param string $intentBatchUri The URI to a Google Cloud Storage file containing intents to update or
- * create. The file format can either be a serialized proto (of IntentBatch
- * type) or JSON object. Note: The URI must start with "gs://".
- *
- * @return \Google\Cloud\Dialogflow\V2\BatchUpdateIntentsRequest
- *
- * @experimental
- */
- public static function build(string $parent, string $intentBatchUri): self
- {
- return (new self())
- ->setParent($parent)
- ->setIntentBatchUri($intentBatchUri);
- }
-
- /**
- * @param string $parent Required. The name of the agent to update or create intents in.
- * Format: `projects//agent`. Please see
- * {@see IntentsClient::agentName()} for help formatting this field.
- * @param \Google\Cloud\Dialogflow\V2\IntentBatch $intentBatchInline The collection of intents to update or create.
- *
- * @return \Google\Cloud\Dialogflow\V2\BatchUpdateIntentsRequest
- *
- * @experimental
- */
- public static function buildFromParentIntentBatchInline(string $parent, \Google\Cloud\Dialogflow\V2\IntentBatch $intentBatchInline): self
- {
- return (new self())
- ->setParent($parent)
- ->setIntentBatchInline($intentBatchInline);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The name of the agent to update or create intents in.
- * Format: `projects//agent`.
- * @type string $intent_batch_uri
- * The URI to a Google Cloud Storage file containing intents to update or
- * create. The file format can either be a serialized proto (of IntentBatch
- * type) or JSON object. Note: The URI must start with "gs://".
- * @type \Google\Cloud\Dialogflow\V2\IntentBatch $intent_batch_inline
- * The collection of intents to update or create.
- * @type string $language_code
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- * @type \Google\Protobuf\FieldMask $update_mask
- * Optional. The mask to control which fields get updated.
- * @type int $intent_view
- * Optional. The resource view to apply to the returned intent.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\Intent::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The name of the agent to update or create intents in.
- * Format: `projects//agent`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The name of the agent to update or create intents in.
- * Format: `projects//agent`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * The URI to a Google Cloud Storage file containing intents to update or
- * create. The file format can either be a serialized proto (of IntentBatch
- * type) or JSON object. Note: The URI must start with "gs://".
- *
- * Generated from protobuf field string intent_batch_uri = 2;
- * @return string
- */
- public function getIntentBatchUri()
- {
- return $this->readOneof(2);
- }
-
- public function hasIntentBatchUri()
- {
- return $this->hasOneof(2);
- }
-
- /**
- * The URI to a Google Cloud Storage file containing intents to update or
- * create. The file format can either be a serialized proto (of IntentBatch
- * type) or JSON object. Note: The URI must start with "gs://".
- *
- * Generated from protobuf field string intent_batch_uri = 2;
- * @param string $var
- * @return $this
- */
- public function setIntentBatchUri($var)
- {
- GPBUtil::checkString($var, True);
- $this->writeOneof(2, $var);
-
- return $this;
- }
-
- /**
- * The collection of intents to update or create.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3;
- * @return \Google\Cloud\Dialogflow\V2\IntentBatch|null
- */
- public function getIntentBatchInline()
- {
- return $this->readOneof(3);
- }
-
- public function hasIntentBatchInline()
- {
- return $this->hasOneof(3);
- }
-
- /**
- * The collection of intents to update or create.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3;
- * @param \Google\Cloud\Dialogflow\V2\IntentBatch $var
- * @return $this
- */
- public function setIntentBatchInline($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\IntentBatch::class);
- $this->writeOneof(3, $var);
-
- return $this;
- }
-
- /**
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- *
- * Generated from protobuf field string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getLanguageCode()
- {
- return $this->language_code;
- }
-
- /**
- * Optional. The language used to access language-specific data.
- * If not specified, the agent's default language is used.
- * For more information, see
- * [Multilingual intent and entity
- * data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- *
- * Generated from protobuf field string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setLanguageCode($var)
- {
- GPBUtil::checkString($var, True);
- $this->language_code = $var;
-
- return $this;
- }
-
- /**
- * Optional. The mask to control which fields get updated.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\FieldMask|null
- */
- public function getUpdateMask()
- {
- return $this->update_mask;
- }
-
- public function hasUpdateMask()
- {
- return isset($this->update_mask);
- }
-
- public function clearUpdateMask()
- {
- unset($this->update_mask);
- }
-
- /**
- * Optional. The mask to control which fields get updated.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\FieldMask $var
- * @return $this
- */
- public function setUpdateMask($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
- $this->update_mask = $var;
-
- return $this;
- }
-
- /**
- * Optional. The resource view to apply to the returned intent.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.IntentView intent_view = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @return int
- */
- public function getIntentView()
- {
- return $this->intent_view;
- }
-
- /**
- * Optional. The resource view to apply to the returned intent.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.IntentView intent_view = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @param int $var
- * @return $this
- */
- public function setIntentView($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\IntentView::class);
- $this->intent_view = $var;
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getIntentBatch()
- {
- return $this->whichOneof("intent_batch");
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchUpdateIntentsResponse.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchUpdateIntentsResponse.php
deleted file mode 100644
index fe289de698ad..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/BatchUpdateIntentsResponse.php
+++ /dev/null
@@ -1,68 +0,0 @@
-google.cloud.dialogflow.v2.BatchUpdateIntentsResponse
- */
-class BatchUpdateIntentsResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * The collection of updated or created intents.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.Intent intents = 1;
- */
- private $intents;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Cloud\Dialogflow\V2\Intent>|\Google\Protobuf\Internal\RepeatedField $intents
- * The collection of updated or created intents.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\Intent::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The collection of updated or created intents.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.Intent intents = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getIntents()
- {
- return $this->intents;
- }
-
- /**
- * The collection of updated or created intents.
- *
- * Generated from protobuf field repeated .google.cloud.dialogflow.v2.Intent intents = 1;
- * @param array<\Google\Cloud\Dialogflow\V2\Intent>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setIntents($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\Intent::class);
- $this->intents = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/ClearSuggestionFeatureConfigOperationMetadata.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/ClearSuggestionFeatureConfigOperationMetadata.php
deleted file mode 100644
index ffff95f24c72..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/ClearSuggestionFeatureConfigOperationMetadata.php
+++ /dev/null
@@ -1,192 +0,0 @@
-google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigOperationMetadata
- */
-class ClearSuggestionFeatureConfigOperationMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * The resource name of the conversation profile. Format:
- * `projects//locations//conversationProfiles/`
- *
- * Generated from protobuf field string conversation_profile = 1;
- */
- protected $conversation_profile = '';
- /**
- * Required. The participant role to remove the suggestion feature
- * config. Only HUMAN_AGENT or END_USER can be used.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $participant_role = 0;
- /**
- * Required. The type of the suggestion feature to remove.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $suggestion_feature_type = 0;
- /**
- * Timestamp whe the request was created. The time is measured on server side.
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 4;
- */
- protected $create_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $conversation_profile
- * The resource name of the conversation profile. Format:
- * `projects//locations//conversationProfiles/`
- * @type int $participant_role
- * Required. The participant role to remove the suggestion feature
- * config. Only HUMAN_AGENT or END_USER can be used.
- * @type int $suggestion_feature_type
- * Required. The type of the suggestion feature to remove.
- * @type \Google\Protobuf\Timestamp $create_time
- * Timestamp whe the request was created. The time is measured on server side.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\ConversationProfile::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The resource name of the conversation profile. Format:
- * `projects//locations//conversationProfiles/`
- *
- * Generated from protobuf field string conversation_profile = 1;
- * @return string
- */
- public function getConversationProfile()
- {
- return $this->conversation_profile;
- }
-
- /**
- * The resource name of the conversation profile. Format:
- * `projects//locations//conversationProfiles/`
- *
- * Generated from protobuf field string conversation_profile = 1;
- * @param string $var
- * @return $this
- */
- public function setConversationProfile($var)
- {
- GPBUtil::checkString($var, True);
- $this->conversation_profile = $var;
-
- return $this;
- }
-
- /**
- * Required. The participant role to remove the suggestion feature
- * config. Only HUMAN_AGENT or END_USER can be used.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return int
- */
- public function getParticipantRole()
- {
- return $this->participant_role;
- }
-
- /**
- * Required. The participant role to remove the suggestion feature
- * config. Only HUMAN_AGENT or END_USER can be used.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param int $var
- * @return $this
- */
- public function setParticipantRole($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\Participant\Role::class);
- $this->participant_role = $var;
-
- return $this;
- }
-
- /**
- * Required. The type of the suggestion feature to remove.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return int
- */
- public function getSuggestionFeatureType()
- {
- return $this->suggestion_feature_type;
- }
-
- /**
- * Required. The type of the suggestion feature to remove.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param int $var
- * @return $this
- */
- public function setSuggestionFeatureType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\SuggestionFeature\Type::class);
- $this->suggestion_feature_type = $var;
-
- return $this;
- }
-
- /**
- * Timestamp whe the request was created. The time is measured on server side.
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 4;
- * @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 whe the request was created. The time is measured on server side.
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 4;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setCreateTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->create_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/ClearSuggestionFeatureConfigRequest.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/ClearSuggestionFeatureConfigRequest.php
deleted file mode 100644
index 6c9f54d4f8af..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/ClearSuggestionFeatureConfigRequest.php
+++ /dev/null
@@ -1,184 +0,0 @@
-google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigRequest
- */
-class ClearSuggestionFeatureConfigRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The Conversation Profile to add or update the suggestion feature
- * config. Format: `projects//locations//conversationProfiles/`.
- *
- * Generated from protobuf field string conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $conversation_profile = '';
- /**
- * Required. The participant role to remove the suggestion feature
- * config. Only HUMAN_AGENT or END_USER can be used.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $participant_role = 0;
- /**
- * Required. The type of the suggestion feature to remove.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $suggestion_feature_type = 0;
-
- /**
- * @param string $conversationProfile Required. The Conversation Profile to add or update the suggestion feature
- * config. Format: `projects//locations//conversationProfiles/`.
- *
- * @return \Google\Cloud\Dialogflow\V2\ClearSuggestionFeatureConfigRequest
- *
- * @experimental
- */
- public static function build(string $conversationProfile): self
- {
- return (new self())
- ->setConversationProfile($conversationProfile);
- }
-
- /**
- * @param string $conversationProfile Required. The Conversation Profile to add or update the suggestion feature
- * config. Format: `projects//locations//conversationProfiles/`.
- * @param int $participantRole Required. The participant role to remove the suggestion feature
- * config. Only HUMAN_AGENT or END_USER can be used.
- * For allowed values, use constants defined on {@see \Google\Cloud\Dialogflow\V2\Participant\Role}
- * @param int $suggestionFeatureType Required. The type of the suggestion feature to remove.
- * For allowed values, use constants defined on {@see \Google\Cloud\Dialogflow\V2\SuggestionFeature\Type}
- *
- * @return \Google\Cloud\Dialogflow\V2\ClearSuggestionFeatureConfigRequest
- *
- * @experimental
- */
- public static function buildFromConversationProfileParticipantRoleSuggestionFeatureType(string $conversationProfile, int $participantRole, int $suggestionFeatureType): self
- {
- return (new self())
- ->setConversationProfile($conversationProfile)
- ->setParticipantRole($participantRole)
- ->setSuggestionFeatureType($suggestionFeatureType);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $conversation_profile
- * Required. The Conversation Profile to add or update the suggestion feature
- * config. Format: `projects//locations//conversationProfiles/`.
- * @type int $participant_role
- * Required. The participant role to remove the suggestion feature
- * config. Only HUMAN_AGENT or END_USER can be used.
- * @type int $suggestion_feature_type
- * Required. The type of the suggestion feature to remove.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\ConversationProfile::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The Conversation Profile to add or update the suggestion feature
- * config. Format: `projects//locations//conversationProfiles/`.
- *
- * Generated from protobuf field string conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getConversationProfile()
- {
- return $this->conversation_profile;
- }
-
- /**
- * Required. The Conversation Profile to add or update the suggestion feature
- * config. Format: `projects//locations//conversationProfiles/`.
- *
- * Generated from protobuf field string conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setConversationProfile($var)
- {
- GPBUtil::checkString($var, True);
- $this->conversation_profile = $var;
-
- return $this;
- }
-
- /**
- * Required. The participant role to remove the suggestion feature
- * config. Only HUMAN_AGENT or END_USER can be used.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return int
- */
- public function getParticipantRole()
- {
- return $this->participant_role;
- }
-
- /**
- * Required. The participant role to remove the suggestion feature
- * config. Only HUMAN_AGENT or END_USER can be used.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param int $var
- * @return $this
- */
- public function setParticipantRole($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\Participant\Role::class);
- $this->participant_role = $var;
-
- return $this;
- }
-
- /**
- * Required. The type of the suggestion feature to remove.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return int
- */
- public function getSuggestionFeatureType()
- {
- return $this->suggestion_feature_type;
- }
-
- /**
- * Required. The type of the suggestion feature to remove.
- *
- * Generated from protobuf field .google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param int $var
- * @return $this
- */
- public function setSuggestionFeatureType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\SuggestionFeature\Type::class);
- $this->suggestion_feature_type = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/CloudConversationDebuggingInfo.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/CloudConversationDebuggingInfo.php
deleted file mode 100644
index 739ec5a13846..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/CloudConversationDebuggingInfo.php
+++ /dev/null
@@ -1,750 +0,0 @@
-google.cloud.dialogflow.v2.CloudConversationDebuggingInfo
- */
-class CloudConversationDebuggingInfo extends \Google\Protobuf\Internal\Message
-{
- /**
- * Number of input audio data chunks in streaming requests.
- *
- * Generated from protobuf field int32 audio_data_chunks = 1;
- */
- protected $audio_data_chunks = 0;
- /**
- * Time offset of the end of speech utterance relative to the
- * beginning of the first audio chunk.
- *
- * Generated from protobuf field .google.protobuf.Duration result_end_time_offset = 2;
- */
- protected $result_end_time_offset = null;
- /**
- * Duration of first audio chunk.
- *
- * Generated from protobuf field .google.protobuf.Duration first_audio_duration = 3;
- */
- protected $first_audio_duration = null;
- /**
- * Whether client used single utterance mode.
- *
- * Generated from protobuf field bool single_utterance = 5;
- */
- protected $single_utterance = false;
- /**
- * Time offsets of the speech partial results relative to the beginning of
- * the stream.
- *
- * Generated from protobuf field repeated .google.protobuf.Duration speech_partial_results_end_times = 6;
- */
- private $speech_partial_results_end_times;
- /**
- * Time offsets of the speech final results (is_final=true) relative to the
- * beginning of the stream.
- *
- * Generated from protobuf field repeated .google.protobuf.Duration speech_final_results_end_times = 7;
- */
- private $speech_final_results_end_times;
- /**
- * Total number of partial responses.
- *
- * Generated from protobuf field int32 partial_responses = 8;
- */
- protected $partial_responses = 0;
- /**
- * Time offset of Speaker ID stream close time relative to the Speech stream
- * close time in milliseconds. Only meaningful for conversations involving
- * passive verification.
- *
- * Generated from protobuf field int32 speaker_id_passive_latency_ms_offset = 9;
- */
- protected $speaker_id_passive_latency_ms_offset = 0;
- /**
- * Whether a barge-in event is triggered in this request.
- *
- * Generated from protobuf field bool bargein_event_triggered = 10;
- */
- protected $bargein_event_triggered = false;
- /**
- * Whether speech uses single utterance mode.
- *
- * Generated from protobuf field bool speech_single_utterance = 11;
- */
- protected $speech_single_utterance = false;
- /**
- * Time offsets of the DTMF partial results relative to the beginning of
- * the stream.
- *
- * Generated from protobuf field repeated .google.protobuf.Duration dtmf_partial_results_times = 12;
- */
- private $dtmf_partial_results_times;
- /**
- * Time offsets of the DTMF final results relative to the beginning of
- * the stream.
- *
- * Generated from protobuf field repeated .google.protobuf.Duration dtmf_final_results_times = 13;
- */
- private $dtmf_final_results_times;
- /**
- * Time offset of the end-of-single-utterance signal relative to the
- * beginning of the stream.
- *
- * Generated from protobuf field .google.protobuf.Duration single_utterance_end_time_offset = 14;
- */
- protected $single_utterance_end_time_offset = null;
- /**
- * No speech timeout settings for the stream.
- *
- * Generated from protobuf field .google.protobuf.Duration no_speech_timeout = 15;
- */
- protected $no_speech_timeout = null;
- /**
- * Speech endpointing timeout settings for the stream.
- *
- * Generated from protobuf field .google.protobuf.Duration endpointing_timeout = 19;
- */
- protected $endpointing_timeout = null;
- /**
- * Whether the streaming terminates with an injected text query.
- *
- * Generated from protobuf field bool is_input_text = 16;
- */
- protected $is_input_text = false;
- /**
- * Client half close time in terms of input audio duration.
- *
- * Generated from protobuf field .google.protobuf.Duration client_half_close_time_offset = 17;
- */
- protected $client_half_close_time_offset = null;
- /**
- * Client half close time in terms of API streaming duration.
- *
- * Generated from protobuf field .google.protobuf.Duration client_half_close_streaming_time_offset = 18;
- */
- protected $client_half_close_streaming_time_offset = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $audio_data_chunks
- * Number of input audio data chunks in streaming requests.
- * @type \Google\Protobuf\Duration $result_end_time_offset
- * Time offset of the end of speech utterance relative to the
- * beginning of the first audio chunk.
- * @type \Google\Protobuf\Duration $first_audio_duration
- * Duration of first audio chunk.
- * @type bool $single_utterance
- * Whether client used single utterance mode.
- * @type array<\Google\Protobuf\Duration>|\Google\Protobuf\Internal\RepeatedField $speech_partial_results_end_times
- * Time offsets of the speech partial results relative to the beginning of
- * the stream.
- * @type array<\Google\Protobuf\Duration>|\Google\Protobuf\Internal\RepeatedField $speech_final_results_end_times
- * Time offsets of the speech final results (is_final=true) relative to the
- * beginning of the stream.
- * @type int $partial_responses
- * Total number of partial responses.
- * @type int $speaker_id_passive_latency_ms_offset
- * Time offset of Speaker ID stream close time relative to the Speech stream
- * close time in milliseconds. Only meaningful for conversations involving
- * passive verification.
- * @type bool $bargein_event_triggered
- * Whether a barge-in event is triggered in this request.
- * @type bool $speech_single_utterance
- * Whether speech uses single utterance mode.
- * @type array<\Google\Protobuf\Duration>|\Google\Protobuf\Internal\RepeatedField $dtmf_partial_results_times
- * Time offsets of the DTMF partial results relative to the beginning of
- * the stream.
- * @type array<\Google\Protobuf\Duration>|\Google\Protobuf\Internal\RepeatedField $dtmf_final_results_times
- * Time offsets of the DTMF final results relative to the beginning of
- * the stream.
- * @type \Google\Protobuf\Duration $single_utterance_end_time_offset
- * Time offset of the end-of-single-utterance signal relative to the
- * beginning of the stream.
- * @type \Google\Protobuf\Duration $no_speech_timeout
- * No speech timeout settings for the stream.
- * @type \Google\Protobuf\Duration $endpointing_timeout
- * Speech endpointing timeout settings for the stream.
- * @type bool $is_input_text
- * Whether the streaming terminates with an injected text query.
- * @type \Google\Protobuf\Duration $client_half_close_time_offset
- * Client half close time in terms of input audio duration.
- * @type \Google\Protobuf\Duration $client_half_close_streaming_time_offset
- * Client half close time in terms of API streaming duration.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\Session::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Number of input audio data chunks in streaming requests.
- *
- * Generated from protobuf field int32 audio_data_chunks = 1;
- * @return int
- */
- public function getAudioDataChunks()
- {
- return $this->audio_data_chunks;
- }
-
- /**
- * Number of input audio data chunks in streaming requests.
- *
- * Generated from protobuf field int32 audio_data_chunks = 1;
- * @param int $var
- * @return $this
- */
- public function setAudioDataChunks($var)
- {
- GPBUtil::checkInt32($var);
- $this->audio_data_chunks = $var;
-
- return $this;
- }
-
- /**
- * Time offset of the end of speech utterance relative to the
- * beginning of the first audio chunk.
- *
- * Generated from protobuf field .google.protobuf.Duration result_end_time_offset = 2;
- * @return \Google\Protobuf\Duration|null
- */
- public function getResultEndTimeOffset()
- {
- return $this->result_end_time_offset;
- }
-
- public function hasResultEndTimeOffset()
- {
- return isset($this->result_end_time_offset);
- }
-
- public function clearResultEndTimeOffset()
- {
- unset($this->result_end_time_offset);
- }
-
- /**
- * Time offset of the end of speech utterance relative to the
- * beginning of the first audio chunk.
- *
- * Generated from protobuf field .google.protobuf.Duration result_end_time_offset = 2;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setResultEndTimeOffset($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->result_end_time_offset = $var;
-
- return $this;
- }
-
- /**
- * Duration of first audio chunk.
- *
- * Generated from protobuf field .google.protobuf.Duration first_audio_duration = 3;
- * @return \Google\Protobuf\Duration|null
- */
- public function getFirstAudioDuration()
- {
- return $this->first_audio_duration;
- }
-
- public function hasFirstAudioDuration()
- {
- return isset($this->first_audio_duration);
- }
-
- public function clearFirstAudioDuration()
- {
- unset($this->first_audio_duration);
- }
-
- /**
- * Duration of first audio chunk.
- *
- * Generated from protobuf field .google.protobuf.Duration first_audio_duration = 3;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setFirstAudioDuration($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->first_audio_duration = $var;
-
- return $this;
- }
-
- /**
- * Whether client used single utterance mode.
- *
- * Generated from protobuf field bool single_utterance = 5;
- * @return bool
- */
- public function getSingleUtterance()
- {
- return $this->single_utterance;
- }
-
- /**
- * Whether client used single utterance mode.
- *
- * Generated from protobuf field bool single_utterance = 5;
- * @param bool $var
- * @return $this
- */
- public function setSingleUtterance($var)
- {
- GPBUtil::checkBool($var);
- $this->single_utterance = $var;
-
- return $this;
- }
-
- /**
- * Time offsets of the speech partial results relative to the beginning of
- * the stream.
- *
- * Generated from protobuf field repeated .google.protobuf.Duration speech_partial_results_end_times = 6;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getSpeechPartialResultsEndTimes()
- {
- return $this->speech_partial_results_end_times;
- }
-
- /**
- * Time offsets of the speech partial results relative to the beginning of
- * the stream.
- *
- * Generated from protobuf field repeated .google.protobuf.Duration speech_partial_results_end_times = 6;
- * @param array<\Google\Protobuf\Duration>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setSpeechPartialResultsEndTimes($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Duration::class);
- $this->speech_partial_results_end_times = $arr;
-
- return $this;
- }
-
- /**
- * Time offsets of the speech final results (is_final=true) relative to the
- * beginning of the stream.
- *
- * Generated from protobuf field repeated .google.protobuf.Duration speech_final_results_end_times = 7;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getSpeechFinalResultsEndTimes()
- {
- return $this->speech_final_results_end_times;
- }
-
- /**
- * Time offsets of the speech final results (is_final=true) relative to the
- * beginning of the stream.
- *
- * Generated from protobuf field repeated .google.protobuf.Duration speech_final_results_end_times = 7;
- * @param array<\Google\Protobuf\Duration>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setSpeechFinalResultsEndTimes($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Duration::class);
- $this->speech_final_results_end_times = $arr;
-
- return $this;
- }
-
- /**
- * Total number of partial responses.
- *
- * Generated from protobuf field int32 partial_responses = 8;
- * @return int
- */
- public function getPartialResponses()
- {
- return $this->partial_responses;
- }
-
- /**
- * Total number of partial responses.
- *
- * Generated from protobuf field int32 partial_responses = 8;
- * @param int $var
- * @return $this
- */
- public function setPartialResponses($var)
- {
- GPBUtil::checkInt32($var);
- $this->partial_responses = $var;
-
- return $this;
- }
-
- /**
- * Time offset of Speaker ID stream close time relative to the Speech stream
- * close time in milliseconds. Only meaningful for conversations involving
- * passive verification.
- *
- * Generated from protobuf field int32 speaker_id_passive_latency_ms_offset = 9;
- * @return int
- */
- public function getSpeakerIdPassiveLatencyMsOffset()
- {
- return $this->speaker_id_passive_latency_ms_offset;
- }
-
- /**
- * Time offset of Speaker ID stream close time relative to the Speech stream
- * close time in milliseconds. Only meaningful for conversations involving
- * passive verification.
- *
- * Generated from protobuf field int32 speaker_id_passive_latency_ms_offset = 9;
- * @param int $var
- * @return $this
- */
- public function setSpeakerIdPassiveLatencyMsOffset($var)
- {
- GPBUtil::checkInt32($var);
- $this->speaker_id_passive_latency_ms_offset = $var;
-
- return $this;
- }
-
- /**
- * Whether a barge-in event is triggered in this request.
- *
- * Generated from protobuf field bool bargein_event_triggered = 10;
- * @return bool
- */
- public function getBargeinEventTriggered()
- {
- return $this->bargein_event_triggered;
- }
-
- /**
- * Whether a barge-in event is triggered in this request.
- *
- * Generated from protobuf field bool bargein_event_triggered = 10;
- * @param bool $var
- * @return $this
- */
- public function setBargeinEventTriggered($var)
- {
- GPBUtil::checkBool($var);
- $this->bargein_event_triggered = $var;
-
- return $this;
- }
-
- /**
- * Whether speech uses single utterance mode.
- *
- * Generated from protobuf field bool speech_single_utterance = 11;
- * @return bool
- */
- public function getSpeechSingleUtterance()
- {
- return $this->speech_single_utterance;
- }
-
- /**
- * Whether speech uses single utterance mode.
- *
- * Generated from protobuf field bool speech_single_utterance = 11;
- * @param bool $var
- * @return $this
- */
- public function setSpeechSingleUtterance($var)
- {
- GPBUtil::checkBool($var);
- $this->speech_single_utterance = $var;
-
- return $this;
- }
-
- /**
- * Time offsets of the DTMF partial results relative to the beginning of
- * the stream.
- *
- * Generated from protobuf field repeated .google.protobuf.Duration dtmf_partial_results_times = 12;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDtmfPartialResultsTimes()
- {
- return $this->dtmf_partial_results_times;
- }
-
- /**
- * Time offsets of the DTMF partial results relative to the beginning of
- * the stream.
- *
- * Generated from protobuf field repeated .google.protobuf.Duration dtmf_partial_results_times = 12;
- * @param array<\Google\Protobuf\Duration>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setDtmfPartialResultsTimes($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Duration::class);
- $this->dtmf_partial_results_times = $arr;
-
- return $this;
- }
-
- /**
- * Time offsets of the DTMF final results relative to the beginning of
- * the stream.
- *
- * Generated from protobuf field repeated .google.protobuf.Duration dtmf_final_results_times = 13;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDtmfFinalResultsTimes()
- {
- return $this->dtmf_final_results_times;
- }
-
- /**
- * Time offsets of the DTMF final results relative to the beginning of
- * the stream.
- *
- * Generated from protobuf field repeated .google.protobuf.Duration dtmf_final_results_times = 13;
- * @param array<\Google\Protobuf\Duration>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setDtmfFinalResultsTimes($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Duration::class);
- $this->dtmf_final_results_times = $arr;
-
- return $this;
- }
-
- /**
- * Time offset of the end-of-single-utterance signal relative to the
- * beginning of the stream.
- *
- * Generated from protobuf field .google.protobuf.Duration single_utterance_end_time_offset = 14;
- * @return \Google\Protobuf\Duration|null
- */
- public function getSingleUtteranceEndTimeOffset()
- {
- return $this->single_utterance_end_time_offset;
- }
-
- public function hasSingleUtteranceEndTimeOffset()
- {
- return isset($this->single_utterance_end_time_offset);
- }
-
- public function clearSingleUtteranceEndTimeOffset()
- {
- unset($this->single_utterance_end_time_offset);
- }
-
- /**
- * Time offset of the end-of-single-utterance signal relative to the
- * beginning of the stream.
- *
- * Generated from protobuf field .google.protobuf.Duration single_utterance_end_time_offset = 14;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setSingleUtteranceEndTimeOffset($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->single_utterance_end_time_offset = $var;
-
- return $this;
- }
-
- /**
- * No speech timeout settings for the stream.
- *
- * Generated from protobuf field .google.protobuf.Duration no_speech_timeout = 15;
- * @return \Google\Protobuf\Duration|null
- */
- public function getNoSpeechTimeout()
- {
- return $this->no_speech_timeout;
- }
-
- public function hasNoSpeechTimeout()
- {
- return isset($this->no_speech_timeout);
- }
-
- public function clearNoSpeechTimeout()
- {
- unset($this->no_speech_timeout);
- }
-
- /**
- * No speech timeout settings for the stream.
- *
- * Generated from protobuf field .google.protobuf.Duration no_speech_timeout = 15;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setNoSpeechTimeout($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->no_speech_timeout = $var;
-
- return $this;
- }
-
- /**
- * Speech endpointing timeout settings for the stream.
- *
- * Generated from protobuf field .google.protobuf.Duration endpointing_timeout = 19;
- * @return \Google\Protobuf\Duration|null
- */
- public function getEndpointingTimeout()
- {
- return $this->endpointing_timeout;
- }
-
- public function hasEndpointingTimeout()
- {
- return isset($this->endpointing_timeout);
- }
-
- public function clearEndpointingTimeout()
- {
- unset($this->endpointing_timeout);
- }
-
- /**
- * Speech endpointing timeout settings for the stream.
- *
- * Generated from protobuf field .google.protobuf.Duration endpointing_timeout = 19;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setEndpointingTimeout($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->endpointing_timeout = $var;
-
- return $this;
- }
-
- /**
- * Whether the streaming terminates with an injected text query.
- *
- * Generated from protobuf field bool is_input_text = 16;
- * @return bool
- */
- public function getIsInputText()
- {
- return $this->is_input_text;
- }
-
- /**
- * Whether the streaming terminates with an injected text query.
- *
- * Generated from protobuf field bool is_input_text = 16;
- * @param bool $var
- * @return $this
- */
- public function setIsInputText($var)
- {
- GPBUtil::checkBool($var);
- $this->is_input_text = $var;
-
- return $this;
- }
-
- /**
- * Client half close time in terms of input audio duration.
- *
- * Generated from protobuf field .google.protobuf.Duration client_half_close_time_offset = 17;
- * @return \Google\Protobuf\Duration|null
- */
- public function getClientHalfCloseTimeOffset()
- {
- return $this->client_half_close_time_offset;
- }
-
- public function hasClientHalfCloseTimeOffset()
- {
- return isset($this->client_half_close_time_offset);
- }
-
- public function clearClientHalfCloseTimeOffset()
- {
- unset($this->client_half_close_time_offset);
- }
-
- /**
- * Client half close time in terms of input audio duration.
- *
- * Generated from protobuf field .google.protobuf.Duration client_half_close_time_offset = 17;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setClientHalfCloseTimeOffset($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->client_half_close_time_offset = $var;
-
- return $this;
- }
-
- /**
- * Client half close time in terms of API streaming duration.
- *
- * Generated from protobuf field .google.protobuf.Duration client_half_close_streaming_time_offset = 18;
- * @return \Google\Protobuf\Duration|null
- */
- public function getClientHalfCloseStreamingTimeOffset()
- {
- return $this->client_half_close_streaming_time_offset;
- }
-
- public function hasClientHalfCloseStreamingTimeOffset()
- {
- return isset($this->client_half_close_streaming_time_offset);
- }
-
- public function clearClientHalfCloseStreamingTimeOffset()
- {
- unset($this->client_half_close_streaming_time_offset);
- }
-
- /**
- * Client half close time in terms of API streaming duration.
- *
- * Generated from protobuf field .google.protobuf.Duration client_half_close_streaming_time_offset = 18;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setClientHalfCloseStreamingTimeOffset($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->client_half_close_streaming_time_offset = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/CompleteConversationRequest.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/CompleteConversationRequest.php
deleted file mode 100644
index 32ef27e208e7..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/CompleteConversationRequest.php
+++ /dev/null
@@ -1,92 +0,0 @@
-google.cloud.dialogflow.v2.CompleteConversationRequest
- */
-class CompleteConversationRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. Resource identifier of the conversation to close.
- * Format: `projects//locations//conversations/`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
-
- /**
- * @param string $name Required. Resource identifier of the conversation to close.
- * Format: `projects//locations//conversations/`. Please see
- * {@see ConversationsClient::conversationName()} for help formatting this field.
- *
- * @return \Google\Cloud\Dialogflow\V2\CompleteConversationRequest
- *
- * @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. Resource identifier of the conversation to close.
- * Format: `projects//locations//conversations/`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\Conversation::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. Resource identifier of the conversation to close.
- * Format: `projects//locations//conversations/`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. Resource identifier of the conversation to close.
- * Format: `projects//locations//conversations/`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/Context.php b/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/Context.php
deleted file mode 100644
index 917ef8d54609..000000000000
--- a/owl-bot-staging/Dialogflow/v2/proto/src/Google/Cloud/Dialogflow/V2/Context.php
+++ /dev/null
@@ -1,261 +0,0 @@
-google.cloud.dialogflow.v2.Context
- */
-class Context extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique identifier of the context. Format:
- * `projects//agent/sessions//contexts/`,
- * or `projects//agent/environments//users//sessions//contexts/`.
- * The `Context ID` is always converted to lowercase, may only contain
- * characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long.
- * If `Environment ID` is not specified, we assume default 'draft'
- * environment. If `User ID` is not specified, we assume default '-' user.
- * The following context names are reserved for internal use by Dialogflow.
- * You should not use these contexts or create contexts with these names:
- * * `__system_counters__`
- * * `*_id_dialog_context`
- * * `*_dialog_params_size`
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $name = '';
- /**
- * Optional. The number of conversational query requests after which the
- * context expires. The default is `0`. If set to `0`, the context expires
- * immediately. Contexts expire automatically after 20 minutes if there
- * are no matching queries.
- *
- * Generated from protobuf field int32 lifespan_count = 2 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $lifespan_count = 0;
- /**
- * Optional. The collection of parameters associated with this context.
- * Depending on your protocol or client library language, this is a
- * map, associative array, symbol table, dictionary, or JSON object
- * composed of a collection of (MapKey, MapValue) pairs:
- * * MapKey type: string
- * * MapKey value: parameter name
- * * MapValue type: If parameter's entity type is a composite entity then use
- * map, otherwise, depending on the parameter value type, it could be one of
- * string, number, boolean, null, list or map.
- * * MapValue value: If parameter's entity type is a composite entity then use
- * map from composite entity property names to property values, otherwise,
- * use parameter value.
- *
- * Generated from protobuf field .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $parameters = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The unique identifier of the context. Format:
- * `projects//agent/sessions//contexts/`,
- * or `projects//agent/environments//users//sessions//contexts/`.
- * The `Context ID` is always converted to lowercase, may only contain
- * characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long.
- * If `Environment ID` is not specified, we assume default 'draft'
- * environment. If `User ID` is not specified, we assume default '-' user.
- * The following context names are reserved for internal use by Dialogflow.
- * You should not use these contexts or create contexts with these names:
- * * `__system_counters__`
- * * `*_id_dialog_context`
- * * `*_dialog_params_size`
- * @type int $lifespan_count
- * Optional. The number of conversational query requests after which the
- * context expires. The default is `0`. If set to `0`, the context expires
- * immediately. Contexts expire automatically after 20 minutes if there
- * are no matching queries.
- * @type \Google\Protobuf\Struct $parameters
- * Optional. The collection of parameters associated with this context.
- * Depending on your protocol or client library language, this is a
- * map, associative array, symbol table, dictionary, or JSON object
- * composed of a collection of (MapKey, MapValue) pairs:
- * * MapKey type: string
- * * MapKey value: parameter name
- * * MapValue type: If parameter's entity type is a composite entity then use
- * map, otherwise, depending on the parameter value type, it could be one of
- * string, number, boolean, null, list or map.
- * * MapValue value: If parameter's entity type is a composite entity then use
- * map from composite entity property names to property values, otherwise,
- * use parameter value.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dialogflow\V2\Context::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique identifier of the context. Format:
- * `projects//agent/sessions//contexts/`,
- * or `projects//agent/environments//users//sessions/