GoogleCloudContactcenterinsightsV1mainCallAnnotation.php 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  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. namespace Google\Service\Contactcenterinsights;
  18. class GoogleCloudContactcenterinsightsV1mainCallAnnotation extends \Google\Model
  19. {
  20. protected $annotationEndBoundaryType = GoogleCloudContactcenterinsightsV1mainAnnotationBoundary::class;
  21. protected $annotationEndBoundaryDataType = '';
  22. protected $annotationStartBoundaryType = GoogleCloudContactcenterinsightsV1mainAnnotationBoundary::class;
  23. protected $annotationStartBoundaryDataType = '';
  24. /**
  25. * The channel of the audio where the annotation occurs. For single-channel
  26. * audio, this field is not populated.
  27. *
  28. * @var int
  29. */
  30. public $channelTag;
  31. protected $entityMentionDataType = GoogleCloudContactcenterinsightsV1mainEntityMentionData::class;
  32. protected $entityMentionDataDataType = '';
  33. protected $holdDataType = GoogleCloudContactcenterinsightsV1mainHoldData::class;
  34. protected $holdDataDataType = '';
  35. protected $intentMatchDataType = GoogleCloudContactcenterinsightsV1mainIntentMatchData::class;
  36. protected $intentMatchDataDataType = '';
  37. protected $interruptionDataType = GoogleCloudContactcenterinsightsV1mainInterruptionData::class;
  38. protected $interruptionDataDataType = '';
  39. protected $issueMatchDataType = GoogleCloudContactcenterinsightsV1mainIssueMatchData::class;
  40. protected $issueMatchDataDataType = '';
  41. protected $phraseMatchDataType = GoogleCloudContactcenterinsightsV1mainPhraseMatchData::class;
  42. protected $phraseMatchDataDataType = '';
  43. protected $sentimentDataType = GoogleCloudContactcenterinsightsV1mainSentimentData::class;
  44. protected $sentimentDataDataType = '';
  45. protected $silenceDataType = GoogleCloudContactcenterinsightsV1mainSilenceData::class;
  46. protected $silenceDataDataType = '';
  47. /**
  48. * The boundary in the conversation where the annotation ends, inclusive.
  49. *
  50. * @param GoogleCloudContactcenterinsightsV1mainAnnotationBoundary $annotationEndBoundary
  51. */
  52. public function setAnnotationEndBoundary(GoogleCloudContactcenterinsightsV1mainAnnotationBoundary $annotationEndBoundary)
  53. {
  54. $this->annotationEndBoundary = $annotationEndBoundary;
  55. }
  56. /**
  57. * @return GoogleCloudContactcenterinsightsV1mainAnnotationBoundary
  58. */
  59. public function getAnnotationEndBoundary()
  60. {
  61. return $this->annotationEndBoundary;
  62. }
  63. /**
  64. * The boundary in the conversation where the annotation starts, inclusive.
  65. *
  66. * @param GoogleCloudContactcenterinsightsV1mainAnnotationBoundary $annotationStartBoundary
  67. */
  68. public function setAnnotationStartBoundary(GoogleCloudContactcenterinsightsV1mainAnnotationBoundary $annotationStartBoundary)
  69. {
  70. $this->annotationStartBoundary = $annotationStartBoundary;
  71. }
  72. /**
  73. * @return GoogleCloudContactcenterinsightsV1mainAnnotationBoundary
  74. */
  75. public function getAnnotationStartBoundary()
  76. {
  77. return $this->annotationStartBoundary;
  78. }
  79. /**
  80. * The channel of the audio where the annotation occurs. For single-channel
  81. * audio, this field is not populated.
  82. *
  83. * @param int $channelTag
  84. */
  85. public function setChannelTag($channelTag)
  86. {
  87. $this->channelTag = $channelTag;
  88. }
  89. /**
  90. * @return int
  91. */
  92. public function getChannelTag()
  93. {
  94. return $this->channelTag;
  95. }
  96. /**
  97. * Data specifying an entity mention.
  98. *
  99. * @param GoogleCloudContactcenterinsightsV1mainEntityMentionData $entityMentionData
  100. */
  101. public function setEntityMentionData(GoogleCloudContactcenterinsightsV1mainEntityMentionData $entityMentionData)
  102. {
  103. $this->entityMentionData = $entityMentionData;
  104. }
  105. /**
  106. * @return GoogleCloudContactcenterinsightsV1mainEntityMentionData
  107. */
  108. public function getEntityMentionData()
  109. {
  110. return $this->entityMentionData;
  111. }
  112. /**
  113. * Data specifying a hold.
  114. *
  115. * @param GoogleCloudContactcenterinsightsV1mainHoldData $holdData
  116. */
  117. public function setHoldData(GoogleCloudContactcenterinsightsV1mainHoldData $holdData)
  118. {
  119. $this->holdData = $holdData;
  120. }
  121. /**
  122. * @return GoogleCloudContactcenterinsightsV1mainHoldData
  123. */
  124. public function getHoldData()
  125. {
  126. return $this->holdData;
  127. }
  128. /**
  129. * Data specifying an intent match.
  130. *
  131. * @param GoogleCloudContactcenterinsightsV1mainIntentMatchData $intentMatchData
  132. */
  133. public function setIntentMatchData(GoogleCloudContactcenterinsightsV1mainIntentMatchData $intentMatchData)
  134. {
  135. $this->intentMatchData = $intentMatchData;
  136. }
  137. /**
  138. * @return GoogleCloudContactcenterinsightsV1mainIntentMatchData
  139. */
  140. public function getIntentMatchData()
  141. {
  142. return $this->intentMatchData;
  143. }
  144. /**
  145. * Data specifying an interruption.
  146. *
  147. * @param GoogleCloudContactcenterinsightsV1mainInterruptionData $interruptionData
  148. */
  149. public function setInterruptionData(GoogleCloudContactcenterinsightsV1mainInterruptionData $interruptionData)
  150. {
  151. $this->interruptionData = $interruptionData;
  152. }
  153. /**
  154. * @return GoogleCloudContactcenterinsightsV1mainInterruptionData
  155. */
  156. public function getInterruptionData()
  157. {
  158. return $this->interruptionData;
  159. }
  160. /**
  161. * Data specifying an issue match.
  162. *
  163. * @param GoogleCloudContactcenterinsightsV1mainIssueMatchData $issueMatchData
  164. */
  165. public function setIssueMatchData(GoogleCloudContactcenterinsightsV1mainIssueMatchData $issueMatchData)
  166. {
  167. $this->issueMatchData = $issueMatchData;
  168. }
  169. /**
  170. * @return GoogleCloudContactcenterinsightsV1mainIssueMatchData
  171. */
  172. public function getIssueMatchData()
  173. {
  174. return $this->issueMatchData;
  175. }
  176. /**
  177. * Data specifying a phrase match.
  178. *
  179. * @param GoogleCloudContactcenterinsightsV1mainPhraseMatchData $phraseMatchData
  180. */
  181. public function setPhraseMatchData(GoogleCloudContactcenterinsightsV1mainPhraseMatchData $phraseMatchData)
  182. {
  183. $this->phraseMatchData = $phraseMatchData;
  184. }
  185. /**
  186. * @return GoogleCloudContactcenterinsightsV1mainPhraseMatchData
  187. */
  188. public function getPhraseMatchData()
  189. {
  190. return $this->phraseMatchData;
  191. }
  192. /**
  193. * Data specifying sentiment.
  194. *
  195. * @param GoogleCloudContactcenterinsightsV1mainSentimentData $sentimentData
  196. */
  197. public function setSentimentData(GoogleCloudContactcenterinsightsV1mainSentimentData $sentimentData)
  198. {
  199. $this->sentimentData = $sentimentData;
  200. }
  201. /**
  202. * @return GoogleCloudContactcenterinsightsV1mainSentimentData
  203. */
  204. public function getSentimentData()
  205. {
  206. return $this->sentimentData;
  207. }
  208. /**
  209. * Data specifying silence.
  210. *
  211. * @param GoogleCloudContactcenterinsightsV1mainSilenceData $silenceData
  212. */
  213. public function setSilenceData(GoogleCloudContactcenterinsightsV1mainSilenceData $silenceData)
  214. {
  215. $this->silenceData = $silenceData;
  216. }
  217. /**
  218. * @return GoogleCloudContactcenterinsightsV1mainSilenceData
  219. */
  220. public function getSilenceData()
  221. {
  222. return $this->silenceData;
  223. }
  224. }
  225. // Adding a class alias for backwards compatibility with the previous class name.
  226. class_alias(GoogleCloudContactcenterinsightsV1mainCallAnnotation::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1mainCallAnnotation');