annotations = $annotations; } /** * @return GoogleCloudDatalabelingV1beta1Annotation[] */ public function getAnnotations() { return $this->annotations; } /** * @param GoogleCloudDatalabelingV1beta1ImagePayload */ public function setImagePayload(GoogleCloudDatalabelingV1beta1ImagePayload $imagePayload) { $this->imagePayload = $imagePayload; } /** * @return GoogleCloudDatalabelingV1beta1ImagePayload */ public function getImagePayload() { return $this->imagePayload; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param GoogleCloudDatalabelingV1beta1TextPayload */ public function setTextPayload(GoogleCloudDatalabelingV1beta1TextPayload $textPayload) { $this->textPayload = $textPayload; } /** * @return GoogleCloudDatalabelingV1beta1TextPayload */ public function getTextPayload() { return $this->textPayload; } /** * @param GoogleCloudDatalabelingV1beta1VideoPayload */ public function setVideoPayload(GoogleCloudDatalabelingV1beta1VideoPayload $videoPayload) { $this->videoPayload = $videoPayload; } /** * @return GoogleCloudDatalabelingV1beta1VideoPayload */ public function getVideoPayload() { return $this->videoPayload; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDatalabelingV1beta1Example::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1Example');