source: vendor/google/apiclient-services/src/Aiplatform/GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage.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.7 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 GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage extends \Google\Collection
21{
22 protected $collection_key = 'tools';
23 protected $contentsType = GoogleCloudAiplatformV1Content::class;
24 protected $contentsDataType = 'array';
25 protected $generationConfigType = GoogleCloudAiplatformV1GenerationConfig::class;
26 protected $generationConfigDataType = '';
27 /**
28 * @var string
29 */
30 public $model;
31 protected $safetySettingsType = GoogleCloudAiplatformV1SafetySetting::class;
32 protected $safetySettingsDataType = 'array';
33 protected $systemInstructionType = GoogleCloudAiplatformV1Content::class;
34 protected $systemInstructionDataType = '';
35 protected $toolConfigType = GoogleCloudAiplatformV1ToolConfig::class;
36 protected $toolConfigDataType = '';
37 protected $toolsType = GoogleCloudAiplatformV1Tool::class;
38 protected $toolsDataType = 'array';
39
40 /**
41 * @param GoogleCloudAiplatformV1Content[]
42 */
43 public function setContents($contents)
44 {
45 $this->contents = $contents;
46 }
47 /**
48 * @return GoogleCloudAiplatformV1Content[]
49 */
50 public function getContents()
51 {
52 return $this->contents;
53 }
54 /**
55 * @param GoogleCloudAiplatformV1GenerationConfig
56 */
57 public function setGenerationConfig(GoogleCloudAiplatformV1GenerationConfig $generationConfig)
58 {
59 $this->generationConfig = $generationConfig;
60 }
61 /**
62 * @return GoogleCloudAiplatformV1GenerationConfig
63 */
64 public function getGenerationConfig()
65 {
66 return $this->generationConfig;
67 }
68 /**
69 * @param string
70 */
71 public function setModel($model)
72 {
73 $this->model = $model;
74 }
75 /**
76 * @return string
77 */
78 public function getModel()
79 {
80 return $this->model;
81 }
82 /**
83 * @param GoogleCloudAiplatformV1SafetySetting[]
84 */
85 public function setSafetySettings($safetySettings)
86 {
87 $this->safetySettings = $safetySettings;
88 }
89 /**
90 * @return GoogleCloudAiplatformV1SafetySetting[]
91 */
92 public function getSafetySettings()
93 {
94 return $this->safetySettings;
95 }
96 /**
97 * @param GoogleCloudAiplatformV1Content
98 */
99 public function setSystemInstruction(GoogleCloudAiplatformV1Content $systemInstruction)
100 {
101 $this->systemInstruction = $systemInstruction;
102 }
103 /**
104 * @return GoogleCloudAiplatformV1Content
105 */
106 public function getSystemInstruction()
107 {
108 return $this->systemInstruction;
109 }
110 /**
111 * @param GoogleCloudAiplatformV1ToolConfig
112 */
113 public function setToolConfig(GoogleCloudAiplatformV1ToolConfig $toolConfig)
114 {
115 $this->toolConfig = $toolConfig;
116 }
117 /**
118 * @return GoogleCloudAiplatformV1ToolConfig
119 */
120 public function getToolConfig()
121 {
122 return $this->toolConfig;
123 }
124 /**
125 * @param GoogleCloudAiplatformV1Tool[]
126 */
127 public function setTools($tools)
128 {
129 $this->tools = $tools;
130 }
131 /**
132 * @return GoogleCloudAiplatformV1Tool[]
133 */
134 public function getTools()
135 {
136 return $this->tools;
137 }
138}
139
140// Adding a class alias for backwards compatibility with the previous class name.
141class_alias(GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage');
Note: See TracBrowser for help on using the repository browser.