source: vendor/google/apiclient-services/src/Aiplatform/GoogleCloudAiplatformV1Part.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 3.2 KB
Line 
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
18namespace Google\Service\Aiplatform;
19
20class GoogleCloudAiplatformV1Part extends \Google\Model
21{
22 protected $fileDataType = GoogleCloudAiplatformV1FileData::class;
23 protected $fileDataDataType = '';
24 protected $functionCallType = GoogleCloudAiplatformV1FunctionCall::class;
25 protected $functionCallDataType = '';
26 protected $functionResponseType = GoogleCloudAiplatformV1FunctionResponse::class;
27 protected $functionResponseDataType = '';
28 protected $inlineDataType = GoogleCloudAiplatformV1Blob::class;
29 protected $inlineDataDataType = '';
30 /**
31 * @var string
32 */
33 public $text;
34 protected $videoMetadataType = GoogleCloudAiplatformV1VideoMetadata::class;
35 protected $videoMetadataDataType = '';
36
37 /**
38 * @param GoogleCloudAiplatformV1FileData
39 */
40 public function setFileData(GoogleCloudAiplatformV1FileData $fileData)
41 {
42 $this->fileData = $fileData;
43 }
44 /**
45 * @return GoogleCloudAiplatformV1FileData
46 */
47 public function getFileData()
48 {
49 return $this->fileData;
50 }
51 /**
52 * @param GoogleCloudAiplatformV1FunctionCall
53 */
54 public function setFunctionCall(GoogleCloudAiplatformV1FunctionCall $functionCall)
55 {
56 $this->functionCall = $functionCall;
57 }
58 /**
59 * @return GoogleCloudAiplatformV1FunctionCall
60 */
61 public function getFunctionCall()
62 {
63 return $this->functionCall;
64 }
65 /**
66 * @param GoogleCloudAiplatformV1FunctionResponse
67 */
68 public function setFunctionResponse(GoogleCloudAiplatformV1FunctionResponse $functionResponse)
69 {
70 $this->functionResponse = $functionResponse;
71 }
72 /**
73 * @return GoogleCloudAiplatformV1FunctionResponse
74 */
75 public function getFunctionResponse()
76 {
77 return $this->functionResponse;
78 }
79 /**
80 * @param GoogleCloudAiplatformV1Blob
81 */
82 public function setInlineData(GoogleCloudAiplatformV1Blob $inlineData)
83 {
84 $this->inlineData = $inlineData;
85 }
86 /**
87 * @return GoogleCloudAiplatformV1Blob
88 */
89 public function getInlineData()
90 {
91 return $this->inlineData;
92 }
93 /**
94 * @param string
95 */
96 public function setText($text)
97 {
98 $this->text = $text;
99 }
100 /**
101 * @return string
102 */
103 public function getText()
104 {
105 return $this->text;
106 }
107 /**
108 * @param GoogleCloudAiplatformV1VideoMetadata
109 */
110 public function setVideoMetadata(GoogleCloudAiplatformV1VideoMetadata $videoMetadata)
111 {
112 $this->videoMetadata = $videoMetadata;
113 }
114 /**
115 * @return GoogleCloudAiplatformV1VideoMetadata
116 */
117 public function getVideoMetadata()
118 {
119 return $this->videoMetadata;
120 }
121}
122
123// Adding a class alias for backwards compatibility with the previous class name.
124class_alias(GoogleCloudAiplatformV1Part::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1Part');
Note: See TracBrowser for help on using the repository browser.