[e3d4e0a] | 1 | <?php
|
---|
| 2 | /*
|
---|
| 3 | * Copyright 2014 Google Inc.
|
---|
| 4 | *
|
---|
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
| 6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
| 7 | * the License at
|
---|
| 8 | *
|
---|
| 9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
| 10 | *
|
---|
| 11 | * Unless required by applicable law or agreed to in writing, software
|
---|
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
| 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
| 14 | * License for the specific language governing permissions and limitations under
|
---|
| 15 | * the License.
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | namespace Google\Service\Dialogflow;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudDialogflowCxV3DataStoreConnectionSignals extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'searchSnippets';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $answer;
|
---|
| 27 | protected $answerGenerationModelCallSignalsType = GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals::class;
|
---|
| 28 | protected $answerGenerationModelCallSignalsDataType = '';
|
---|
| 29 | protected $answerPartsType = GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart::class;
|
---|
| 30 | protected $answerPartsDataType = 'array';
|
---|
| 31 | protected $citedSnippetsType = GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet::class;
|
---|
| 32 | protected $citedSnippetsDataType = 'array';
|
---|
| 33 | protected $groundingSignalsType = GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals::class;
|
---|
| 34 | protected $groundingSignalsDataType = '';
|
---|
| 35 | protected $rewriterModelCallSignalsType = GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals::class;
|
---|
| 36 | protected $rewriterModelCallSignalsDataType = '';
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $rewrittenQuery;
|
---|
| 41 | protected $safetySignalsType = GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals::class;
|
---|
| 42 | protected $safetySignalsDataType = '';
|
---|
| 43 | protected $searchSnippetsType = GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet::class;
|
---|
| 44 | protected $searchSnippetsDataType = 'array';
|
---|
| 45 |
|
---|
| 46 | /**
|
---|
| 47 | * @param string
|
---|
| 48 | */
|
---|
| 49 | public function setAnswer($answer)
|
---|
| 50 | {
|
---|
| 51 | $this->answer = $answer;
|
---|
| 52 | }
|
---|
| 53 | /**
|
---|
| 54 | * @return string
|
---|
| 55 | */
|
---|
| 56 | public function getAnswer()
|
---|
| 57 | {
|
---|
| 58 | return $this->answer;
|
---|
| 59 | }
|
---|
| 60 | /**
|
---|
| 61 | * @param GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals
|
---|
| 62 | */
|
---|
| 63 | public function setAnswerGenerationModelCallSignals(GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals $answerGenerationModelCallSignals)
|
---|
| 64 | {
|
---|
| 65 | $this->answerGenerationModelCallSignals = $answerGenerationModelCallSignals;
|
---|
| 66 | }
|
---|
| 67 | /**
|
---|
| 68 | * @return GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals
|
---|
| 69 | */
|
---|
| 70 | public function getAnswerGenerationModelCallSignals()
|
---|
| 71 | {
|
---|
| 72 | return $this->answerGenerationModelCallSignals;
|
---|
| 73 | }
|
---|
| 74 | /**
|
---|
| 75 | * @param GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart[]
|
---|
| 76 | */
|
---|
| 77 | public function setAnswerParts($answerParts)
|
---|
| 78 | {
|
---|
| 79 | $this->answerParts = $answerParts;
|
---|
| 80 | }
|
---|
| 81 | /**
|
---|
| 82 | * @return GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart[]
|
---|
| 83 | */
|
---|
| 84 | public function getAnswerParts()
|
---|
| 85 | {
|
---|
| 86 | return $this->answerParts;
|
---|
| 87 | }
|
---|
| 88 | /**
|
---|
| 89 | * @param GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet[]
|
---|
| 90 | */
|
---|
| 91 | public function setCitedSnippets($citedSnippets)
|
---|
| 92 | {
|
---|
| 93 | $this->citedSnippets = $citedSnippets;
|
---|
| 94 | }
|
---|
| 95 | /**
|
---|
| 96 | * @return GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet[]
|
---|
| 97 | */
|
---|
| 98 | public function getCitedSnippets()
|
---|
| 99 | {
|
---|
| 100 | return $this->citedSnippets;
|
---|
| 101 | }
|
---|
| 102 | /**
|
---|
| 103 | * @param GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals
|
---|
| 104 | */
|
---|
| 105 | public function setGroundingSignals(GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals $groundingSignals)
|
---|
| 106 | {
|
---|
| 107 | $this->groundingSignals = $groundingSignals;
|
---|
| 108 | }
|
---|
| 109 | /**
|
---|
| 110 | * @return GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals
|
---|
| 111 | */
|
---|
| 112 | public function getGroundingSignals()
|
---|
| 113 | {
|
---|
| 114 | return $this->groundingSignals;
|
---|
| 115 | }
|
---|
| 116 | /**
|
---|
| 117 | * @param GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals
|
---|
| 118 | */
|
---|
| 119 | public function setRewriterModelCallSignals(GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals $rewriterModelCallSignals)
|
---|
| 120 | {
|
---|
| 121 | $this->rewriterModelCallSignals = $rewriterModelCallSignals;
|
---|
| 122 | }
|
---|
| 123 | /**
|
---|
| 124 | * @return GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals
|
---|
| 125 | */
|
---|
| 126 | public function getRewriterModelCallSignals()
|
---|
| 127 | {
|
---|
| 128 | return $this->rewriterModelCallSignals;
|
---|
| 129 | }
|
---|
| 130 | /**
|
---|
| 131 | * @param string
|
---|
| 132 | */
|
---|
| 133 | public function setRewrittenQuery($rewrittenQuery)
|
---|
| 134 | {
|
---|
| 135 | $this->rewrittenQuery = $rewrittenQuery;
|
---|
| 136 | }
|
---|
| 137 | /**
|
---|
| 138 | * @return string
|
---|
| 139 | */
|
---|
| 140 | public function getRewrittenQuery()
|
---|
| 141 | {
|
---|
| 142 | return $this->rewrittenQuery;
|
---|
| 143 | }
|
---|
| 144 | /**
|
---|
| 145 | * @param GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals
|
---|
| 146 | */
|
---|
| 147 | public function setSafetySignals(GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals $safetySignals)
|
---|
| 148 | {
|
---|
| 149 | $this->safetySignals = $safetySignals;
|
---|
| 150 | }
|
---|
| 151 | /**
|
---|
| 152 | * @return GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals
|
---|
| 153 | */
|
---|
| 154 | public function getSafetySignals()
|
---|
| 155 | {
|
---|
| 156 | return $this->safetySignals;
|
---|
| 157 | }
|
---|
| 158 | /**
|
---|
| 159 | * @param GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet[]
|
---|
| 160 | */
|
---|
| 161 | public function setSearchSnippets($searchSnippets)
|
---|
| 162 | {
|
---|
| 163 | $this->searchSnippets = $searchSnippets;
|
---|
| 164 | }
|
---|
| 165 | /**
|
---|
| 166 | * @return GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet[]
|
---|
| 167 | */
|
---|
| 168 | public function getSearchSnippets()
|
---|
| 169 | {
|
---|
| 170 | return $this->searchSnippets;
|
---|
| 171 | }
|
---|
| 172 | }
|
---|
| 173 |
|
---|
| 174 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 175 | class_alias(GoogleCloudDialogflowCxV3DataStoreConnectionSignals::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DataStoreConnectionSignals');
|
---|