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\CloudNaturalLanguage;
|
---|
19 |
|
---|
20 | class XPSExportModelOutputConfig extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $coreMlFormatType = XPSCoreMlFormat::class;
|
---|
23 | protected $coreMlFormatDataType = '';
|
---|
24 | protected $dockerFormatType = XPSDockerFormat::class;
|
---|
25 | protected $dockerFormatDataType = '';
|
---|
26 | protected $edgeTpuTfLiteFormatType = XPSEdgeTpuTfLiteFormat::class;
|
---|
27 | protected $edgeTpuTfLiteFormatDataType = '';
|
---|
28 | /**
|
---|
29 | * @var bool
|
---|
30 | */
|
---|
31 | public $exportFirebaseAuxiliaryInfo;
|
---|
32 | /**
|
---|
33 | * @var string
|
---|
34 | */
|
---|
35 | public $outputGcrUri;
|
---|
36 | /**
|
---|
37 | * @var string
|
---|
38 | */
|
---|
39 | public $outputGcsUri;
|
---|
40 | protected $tfJsFormatType = XPSTfJsFormat::class;
|
---|
41 | protected $tfJsFormatDataType = '';
|
---|
42 | protected $tfLiteFormatType = XPSTfLiteFormat::class;
|
---|
43 | protected $tfLiteFormatDataType = '';
|
---|
44 | protected $tfSavedModelFormatType = XPSTfSavedModelFormat::class;
|
---|
45 | protected $tfSavedModelFormatDataType = '';
|
---|
46 |
|
---|
47 | /**
|
---|
48 | * @param XPSCoreMlFormat
|
---|
49 | */
|
---|
50 | public function setCoreMlFormat(XPSCoreMlFormat $coreMlFormat)
|
---|
51 | {
|
---|
52 | $this->coreMlFormat = $coreMlFormat;
|
---|
53 | }
|
---|
54 | /**
|
---|
55 | * @return XPSCoreMlFormat
|
---|
56 | */
|
---|
57 | public function getCoreMlFormat()
|
---|
58 | {
|
---|
59 | return $this->coreMlFormat;
|
---|
60 | }
|
---|
61 | /**
|
---|
62 | * @param XPSDockerFormat
|
---|
63 | */
|
---|
64 | public function setDockerFormat(XPSDockerFormat $dockerFormat)
|
---|
65 | {
|
---|
66 | $this->dockerFormat = $dockerFormat;
|
---|
67 | }
|
---|
68 | /**
|
---|
69 | * @return XPSDockerFormat
|
---|
70 | */
|
---|
71 | public function getDockerFormat()
|
---|
72 | {
|
---|
73 | return $this->dockerFormat;
|
---|
74 | }
|
---|
75 | /**
|
---|
76 | * @param XPSEdgeTpuTfLiteFormat
|
---|
77 | */
|
---|
78 | public function setEdgeTpuTfLiteFormat(XPSEdgeTpuTfLiteFormat $edgeTpuTfLiteFormat)
|
---|
79 | {
|
---|
80 | $this->edgeTpuTfLiteFormat = $edgeTpuTfLiteFormat;
|
---|
81 | }
|
---|
82 | /**
|
---|
83 | * @return XPSEdgeTpuTfLiteFormat
|
---|
84 | */
|
---|
85 | public function getEdgeTpuTfLiteFormat()
|
---|
86 | {
|
---|
87 | return $this->edgeTpuTfLiteFormat;
|
---|
88 | }
|
---|
89 | /**
|
---|
90 | * @param bool
|
---|
91 | */
|
---|
92 | public function setExportFirebaseAuxiliaryInfo($exportFirebaseAuxiliaryInfo)
|
---|
93 | {
|
---|
94 | $this->exportFirebaseAuxiliaryInfo = $exportFirebaseAuxiliaryInfo;
|
---|
95 | }
|
---|
96 | /**
|
---|
97 | * @return bool
|
---|
98 | */
|
---|
99 | public function getExportFirebaseAuxiliaryInfo()
|
---|
100 | {
|
---|
101 | return $this->exportFirebaseAuxiliaryInfo;
|
---|
102 | }
|
---|
103 | /**
|
---|
104 | * @param string
|
---|
105 | */
|
---|
106 | public function setOutputGcrUri($outputGcrUri)
|
---|
107 | {
|
---|
108 | $this->outputGcrUri = $outputGcrUri;
|
---|
109 | }
|
---|
110 | /**
|
---|
111 | * @return string
|
---|
112 | */
|
---|
113 | public function getOutputGcrUri()
|
---|
114 | {
|
---|
115 | return $this->outputGcrUri;
|
---|
116 | }
|
---|
117 | /**
|
---|
118 | * @param string
|
---|
119 | */
|
---|
120 | public function setOutputGcsUri($outputGcsUri)
|
---|
121 | {
|
---|
122 | $this->outputGcsUri = $outputGcsUri;
|
---|
123 | }
|
---|
124 | /**
|
---|
125 | * @return string
|
---|
126 | */
|
---|
127 | public function getOutputGcsUri()
|
---|
128 | {
|
---|
129 | return $this->outputGcsUri;
|
---|
130 | }
|
---|
131 | /**
|
---|
132 | * @param XPSTfJsFormat
|
---|
133 | */
|
---|
134 | public function setTfJsFormat(XPSTfJsFormat $tfJsFormat)
|
---|
135 | {
|
---|
136 | $this->tfJsFormat = $tfJsFormat;
|
---|
137 | }
|
---|
138 | /**
|
---|
139 | * @return XPSTfJsFormat
|
---|
140 | */
|
---|
141 | public function getTfJsFormat()
|
---|
142 | {
|
---|
143 | return $this->tfJsFormat;
|
---|
144 | }
|
---|
145 | /**
|
---|
146 | * @param XPSTfLiteFormat
|
---|
147 | */
|
---|
148 | public function setTfLiteFormat(XPSTfLiteFormat $tfLiteFormat)
|
---|
149 | {
|
---|
150 | $this->tfLiteFormat = $tfLiteFormat;
|
---|
151 | }
|
---|
152 | /**
|
---|
153 | * @return XPSTfLiteFormat
|
---|
154 | */
|
---|
155 | public function getTfLiteFormat()
|
---|
156 | {
|
---|
157 | return $this->tfLiteFormat;
|
---|
158 | }
|
---|
159 | /**
|
---|
160 | * @param XPSTfSavedModelFormat
|
---|
161 | */
|
---|
162 | public function setTfSavedModelFormat(XPSTfSavedModelFormat $tfSavedModelFormat)
|
---|
163 | {
|
---|
164 | $this->tfSavedModelFormat = $tfSavedModelFormat;
|
---|
165 | }
|
---|
166 | /**
|
---|
167 | * @return XPSTfSavedModelFormat
|
---|
168 | */
|
---|
169 | public function getTfSavedModelFormat()
|
---|
170 | {
|
---|
171 | return $this->tfSavedModelFormat;
|
---|
172 | }
|
---|
173 | }
|
---|
174 |
|
---|
175 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
176 | class_alias(XPSExportModelOutputConfig::class, 'Google_Service_CloudNaturalLanguage_XPSExportModelOutputConfig');
|
---|