source: vendor/google/apiclient-services/src/Document/GoogleCloudDocumentaiV1TrainProcessorVersionRequest.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 4.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\Document;
19
20class GoogleCloudDocumentaiV1TrainProcessorVersionRequest extends \Google\Model
21{
22 /**
23 * @var string
24 */
25 public $baseProcessorVersion;
26 protected $customDocumentExtractionOptionsType = GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions::class;
27 protected $customDocumentExtractionOptionsDataType = '';
28 protected $documentSchemaType = GoogleCloudDocumentaiV1DocumentSchema::class;
29 protected $documentSchemaDataType = '';
30 protected $foundationModelTuningOptionsType = GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions::class;
31 protected $foundationModelTuningOptionsDataType = '';
32 protected $inputDataType = GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData::class;
33 protected $inputDataDataType = '';
34 protected $processorVersionType = GoogleCloudDocumentaiV1ProcessorVersion::class;
35 protected $processorVersionDataType = '';
36
37 /**
38 * @param string
39 */
40 public function setBaseProcessorVersion($baseProcessorVersion)
41 {
42 $this->baseProcessorVersion = $baseProcessorVersion;
43 }
44 /**
45 * @return string
46 */
47 public function getBaseProcessorVersion()
48 {
49 return $this->baseProcessorVersion;
50 }
51 /**
52 * @param GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions
53 */
54 public function setCustomDocumentExtractionOptions(GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions $customDocumentExtractionOptions)
55 {
56 $this->customDocumentExtractionOptions = $customDocumentExtractionOptions;
57 }
58 /**
59 * @return GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions
60 */
61 public function getCustomDocumentExtractionOptions()
62 {
63 return $this->customDocumentExtractionOptions;
64 }
65 /**
66 * @param GoogleCloudDocumentaiV1DocumentSchema
67 */
68 public function setDocumentSchema(GoogleCloudDocumentaiV1DocumentSchema $documentSchema)
69 {
70 $this->documentSchema = $documentSchema;
71 }
72 /**
73 * @return GoogleCloudDocumentaiV1DocumentSchema
74 */
75 public function getDocumentSchema()
76 {
77 return $this->documentSchema;
78 }
79 /**
80 * @param GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
81 */
82 public function setFoundationModelTuningOptions(GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions $foundationModelTuningOptions)
83 {
84 $this->foundationModelTuningOptions = $foundationModelTuningOptions;
85 }
86 /**
87 * @return GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
88 */
89 public function getFoundationModelTuningOptions()
90 {
91 return $this->foundationModelTuningOptions;
92 }
93 /**
94 * @param GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData
95 */
96 public function setInputData(GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData $inputData)
97 {
98 $this->inputData = $inputData;
99 }
100 /**
101 * @return GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData
102 */
103 public function getInputData()
104 {
105 return $this->inputData;
106 }
107 /**
108 * @param GoogleCloudDocumentaiV1ProcessorVersion
109 */
110 public function setProcessorVersion(GoogleCloudDocumentaiV1ProcessorVersion $processorVersion)
111 {
112 $this->processorVersion = $processorVersion;
113 }
114 /**
115 * @return GoogleCloudDocumentaiV1ProcessorVersion
116 */
117 public function getProcessorVersion()
118 {
119 return $this->processorVersion;
120 }
121}
122
123// Adding a class alias for backwards compatibility with the previous class name.
124class_alias(GoogleCloudDocumentaiV1TrainProcessorVersionRequest::class, 'Google_Service_Document_GoogleCloudDocumentaiV1TrainProcessorVersionRequest');
Note: See TracBrowser for help on using the repository browser.