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\CloudVideoIntelligence;
|
---|
19 |
|
---|
20 | class GoogleCloudVideointelligenceV1VideoContext extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'segments';
|
---|
23 | protected $explicitContentDetectionConfigType = GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig::class;
|
---|
24 | protected $explicitContentDetectionConfigDataType = '';
|
---|
25 | protected $faceDetectionConfigType = GoogleCloudVideointelligenceV1FaceDetectionConfig::class;
|
---|
26 | protected $faceDetectionConfigDataType = '';
|
---|
27 | protected $labelDetectionConfigType = GoogleCloudVideointelligenceV1LabelDetectionConfig::class;
|
---|
28 | protected $labelDetectionConfigDataType = '';
|
---|
29 | protected $objectTrackingConfigType = GoogleCloudVideointelligenceV1ObjectTrackingConfig::class;
|
---|
30 | protected $objectTrackingConfigDataType = '';
|
---|
31 | protected $personDetectionConfigType = GoogleCloudVideointelligenceV1PersonDetectionConfig::class;
|
---|
32 | protected $personDetectionConfigDataType = '';
|
---|
33 | protected $segmentsType = GoogleCloudVideointelligenceV1VideoSegment::class;
|
---|
34 | protected $segmentsDataType = 'array';
|
---|
35 | protected $shotChangeDetectionConfigType = GoogleCloudVideointelligenceV1ShotChangeDetectionConfig::class;
|
---|
36 | protected $shotChangeDetectionConfigDataType = '';
|
---|
37 | protected $speechTranscriptionConfigType = GoogleCloudVideointelligenceV1SpeechTranscriptionConfig::class;
|
---|
38 | protected $speechTranscriptionConfigDataType = '';
|
---|
39 | protected $textDetectionConfigType = GoogleCloudVideointelligenceV1TextDetectionConfig::class;
|
---|
40 | protected $textDetectionConfigDataType = '';
|
---|
41 |
|
---|
42 | /**
|
---|
43 | * @param GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig
|
---|
44 | */
|
---|
45 | public function setExplicitContentDetectionConfig(GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig $explicitContentDetectionConfig)
|
---|
46 | {
|
---|
47 | $this->explicitContentDetectionConfig = $explicitContentDetectionConfig;
|
---|
48 | }
|
---|
49 | /**
|
---|
50 | * @return GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig
|
---|
51 | */
|
---|
52 | public function getExplicitContentDetectionConfig()
|
---|
53 | {
|
---|
54 | return $this->explicitContentDetectionConfig;
|
---|
55 | }
|
---|
56 | /**
|
---|
57 | * @param GoogleCloudVideointelligenceV1FaceDetectionConfig
|
---|
58 | */
|
---|
59 | public function setFaceDetectionConfig(GoogleCloudVideointelligenceV1FaceDetectionConfig $faceDetectionConfig)
|
---|
60 | {
|
---|
61 | $this->faceDetectionConfig = $faceDetectionConfig;
|
---|
62 | }
|
---|
63 | /**
|
---|
64 | * @return GoogleCloudVideointelligenceV1FaceDetectionConfig
|
---|
65 | */
|
---|
66 | public function getFaceDetectionConfig()
|
---|
67 | {
|
---|
68 | return $this->faceDetectionConfig;
|
---|
69 | }
|
---|
70 | /**
|
---|
71 | * @param GoogleCloudVideointelligenceV1LabelDetectionConfig
|
---|
72 | */
|
---|
73 | public function setLabelDetectionConfig(GoogleCloudVideointelligenceV1LabelDetectionConfig $labelDetectionConfig)
|
---|
74 | {
|
---|
75 | $this->labelDetectionConfig = $labelDetectionConfig;
|
---|
76 | }
|
---|
77 | /**
|
---|
78 | * @return GoogleCloudVideointelligenceV1LabelDetectionConfig
|
---|
79 | */
|
---|
80 | public function getLabelDetectionConfig()
|
---|
81 | {
|
---|
82 | return $this->labelDetectionConfig;
|
---|
83 | }
|
---|
84 | /**
|
---|
85 | * @param GoogleCloudVideointelligenceV1ObjectTrackingConfig
|
---|
86 | */
|
---|
87 | public function setObjectTrackingConfig(GoogleCloudVideointelligenceV1ObjectTrackingConfig $objectTrackingConfig)
|
---|
88 | {
|
---|
89 | $this->objectTrackingConfig = $objectTrackingConfig;
|
---|
90 | }
|
---|
91 | /**
|
---|
92 | * @return GoogleCloudVideointelligenceV1ObjectTrackingConfig
|
---|
93 | */
|
---|
94 | public function getObjectTrackingConfig()
|
---|
95 | {
|
---|
96 | return $this->objectTrackingConfig;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @param GoogleCloudVideointelligenceV1PersonDetectionConfig
|
---|
100 | */
|
---|
101 | public function setPersonDetectionConfig(GoogleCloudVideointelligenceV1PersonDetectionConfig $personDetectionConfig)
|
---|
102 | {
|
---|
103 | $this->personDetectionConfig = $personDetectionConfig;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @return GoogleCloudVideointelligenceV1PersonDetectionConfig
|
---|
107 | */
|
---|
108 | public function getPersonDetectionConfig()
|
---|
109 | {
|
---|
110 | return $this->personDetectionConfig;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @param GoogleCloudVideointelligenceV1VideoSegment[]
|
---|
114 | */
|
---|
115 | public function setSegments($segments)
|
---|
116 | {
|
---|
117 | $this->segments = $segments;
|
---|
118 | }
|
---|
119 | /**
|
---|
120 | * @return GoogleCloudVideointelligenceV1VideoSegment[]
|
---|
121 | */
|
---|
122 | public function getSegments()
|
---|
123 | {
|
---|
124 | return $this->segments;
|
---|
125 | }
|
---|
126 | /**
|
---|
127 | * @param GoogleCloudVideointelligenceV1ShotChangeDetectionConfig
|
---|
128 | */
|
---|
129 | public function setShotChangeDetectionConfig(GoogleCloudVideointelligenceV1ShotChangeDetectionConfig $shotChangeDetectionConfig)
|
---|
130 | {
|
---|
131 | $this->shotChangeDetectionConfig = $shotChangeDetectionConfig;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @return GoogleCloudVideointelligenceV1ShotChangeDetectionConfig
|
---|
135 | */
|
---|
136 | public function getShotChangeDetectionConfig()
|
---|
137 | {
|
---|
138 | return $this->shotChangeDetectionConfig;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @param GoogleCloudVideointelligenceV1SpeechTranscriptionConfig
|
---|
142 | */
|
---|
143 | public function setSpeechTranscriptionConfig(GoogleCloudVideointelligenceV1SpeechTranscriptionConfig $speechTranscriptionConfig)
|
---|
144 | {
|
---|
145 | $this->speechTranscriptionConfig = $speechTranscriptionConfig;
|
---|
146 | }
|
---|
147 | /**
|
---|
148 | * @return GoogleCloudVideointelligenceV1SpeechTranscriptionConfig
|
---|
149 | */
|
---|
150 | public function getSpeechTranscriptionConfig()
|
---|
151 | {
|
---|
152 | return $this->speechTranscriptionConfig;
|
---|
153 | }
|
---|
154 | /**
|
---|
155 | * @param GoogleCloudVideointelligenceV1TextDetectionConfig
|
---|
156 | */
|
---|
157 | public function setTextDetectionConfig(GoogleCloudVideointelligenceV1TextDetectionConfig $textDetectionConfig)
|
---|
158 | {
|
---|
159 | $this->textDetectionConfig = $textDetectionConfig;
|
---|
160 | }
|
---|
161 | /**
|
---|
162 | * @return GoogleCloudVideointelligenceV1TextDetectionConfig
|
---|
163 | */
|
---|
164 | public function getTextDetectionConfig()
|
---|
165 | {
|
---|
166 | return $this->textDetectionConfig;
|
---|
167 | }
|
---|
168 | }
|
---|
169 |
|
---|
170 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
171 | class_alias(GoogleCloudVideointelligenceV1VideoContext::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1VideoContext');
|
---|