[e3d4e0a] | 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\Dataproc;
|
---|
| 19 |
|
---|
| 20 | class SourceProgress extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var string
|
---|
| 24 | */
|
---|
| 25 | public $description;
|
---|
| 26 | /**
|
---|
| 27 | * @var string
|
---|
| 28 | */
|
---|
| 29 | public $endOffset;
|
---|
| 30 | public $inputRowsPerSecond;
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $latestOffset;
|
---|
| 35 | /**
|
---|
| 36 | * @var string[]
|
---|
| 37 | */
|
---|
| 38 | public $metrics;
|
---|
| 39 | /**
|
---|
| 40 | * @var string
|
---|
| 41 | */
|
---|
| 42 | public $numInputRows;
|
---|
| 43 | public $processedRowsPerSecond;
|
---|
| 44 | /**
|
---|
| 45 | * @var string
|
---|
| 46 | */
|
---|
| 47 | public $startOffset;
|
---|
| 48 |
|
---|
| 49 | /**
|
---|
| 50 | * @param string
|
---|
| 51 | */
|
---|
| 52 | public function setDescription($description)
|
---|
| 53 | {
|
---|
| 54 | $this->description = $description;
|
---|
| 55 | }
|
---|
| 56 | /**
|
---|
| 57 | * @return string
|
---|
| 58 | */
|
---|
| 59 | public function getDescription()
|
---|
| 60 | {
|
---|
| 61 | return $this->description;
|
---|
| 62 | }
|
---|
| 63 | /**
|
---|
| 64 | * @param string
|
---|
| 65 | */
|
---|
| 66 | public function setEndOffset($endOffset)
|
---|
| 67 | {
|
---|
| 68 | $this->endOffset = $endOffset;
|
---|
| 69 | }
|
---|
| 70 | /**
|
---|
| 71 | * @return string
|
---|
| 72 | */
|
---|
| 73 | public function getEndOffset()
|
---|
| 74 | {
|
---|
| 75 | return $this->endOffset;
|
---|
| 76 | }
|
---|
| 77 | public function setInputRowsPerSecond($inputRowsPerSecond)
|
---|
| 78 | {
|
---|
| 79 | $this->inputRowsPerSecond = $inputRowsPerSecond;
|
---|
| 80 | }
|
---|
| 81 | public function getInputRowsPerSecond()
|
---|
| 82 | {
|
---|
| 83 | return $this->inputRowsPerSecond;
|
---|
| 84 | }
|
---|
| 85 | /**
|
---|
| 86 | * @param string
|
---|
| 87 | */
|
---|
| 88 | public function setLatestOffset($latestOffset)
|
---|
| 89 | {
|
---|
| 90 | $this->latestOffset = $latestOffset;
|
---|
| 91 | }
|
---|
| 92 | /**
|
---|
| 93 | * @return string
|
---|
| 94 | */
|
---|
| 95 | public function getLatestOffset()
|
---|
| 96 | {
|
---|
| 97 | return $this->latestOffset;
|
---|
| 98 | }
|
---|
| 99 | /**
|
---|
| 100 | * @param string[]
|
---|
| 101 | */
|
---|
| 102 | public function setMetrics($metrics)
|
---|
| 103 | {
|
---|
| 104 | $this->metrics = $metrics;
|
---|
| 105 | }
|
---|
| 106 | /**
|
---|
| 107 | * @return string[]
|
---|
| 108 | */
|
---|
| 109 | public function getMetrics()
|
---|
| 110 | {
|
---|
| 111 | return $this->metrics;
|
---|
| 112 | }
|
---|
| 113 | /**
|
---|
| 114 | * @param string
|
---|
| 115 | */
|
---|
| 116 | public function setNumInputRows($numInputRows)
|
---|
| 117 | {
|
---|
| 118 | $this->numInputRows = $numInputRows;
|
---|
| 119 | }
|
---|
| 120 | /**
|
---|
| 121 | * @return string
|
---|
| 122 | */
|
---|
| 123 | public function getNumInputRows()
|
---|
| 124 | {
|
---|
| 125 | return $this->numInputRows;
|
---|
| 126 | }
|
---|
| 127 | public function setProcessedRowsPerSecond($processedRowsPerSecond)
|
---|
| 128 | {
|
---|
| 129 | $this->processedRowsPerSecond = $processedRowsPerSecond;
|
---|
| 130 | }
|
---|
| 131 | public function getProcessedRowsPerSecond()
|
---|
| 132 | {
|
---|
| 133 | return $this->processedRowsPerSecond;
|
---|
| 134 | }
|
---|
| 135 | /**
|
---|
| 136 | * @param string
|
---|
| 137 | */
|
---|
| 138 | public function setStartOffset($startOffset)
|
---|
| 139 | {
|
---|
| 140 | $this->startOffset = $startOffset;
|
---|
| 141 | }
|
---|
| 142 | /**
|
---|
| 143 | * @return string
|
---|
| 144 | */
|
---|
| 145 | public function getStartOffset()
|
---|
| 146 | {
|
---|
| 147 | return $this->startOffset;
|
---|
| 148 | }
|
---|
| 149 | }
|
---|
| 150 |
|
---|
| 151 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 152 | class_alias(SourceProgress::class, 'Google_Service_Dataproc_SourceProgress');
|
---|