[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\RemoteBuildExecution;
|
---|
| 19 |
|
---|
| 20 | class BuildBazelRemoteExecutionV2Action extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $commandDigestType = BuildBazelRemoteExecutionV2Digest::class;
|
---|
| 23 | protected $commandDigestDataType = '';
|
---|
| 24 | public $doNotCache;
|
---|
| 25 | protected $inputRootDigestType = BuildBazelRemoteExecutionV2Digest::class;
|
---|
| 26 | protected $inputRootDigestDataType = '';
|
---|
| 27 | protected $platformType = BuildBazelRemoteExecutionV2Platform::class;
|
---|
| 28 | protected $platformDataType = '';
|
---|
| 29 | public $salt;
|
---|
| 30 | public $timeout;
|
---|
| 31 |
|
---|
| 32 | /**
|
---|
| 33 | * @param BuildBazelRemoteExecutionV2Digest
|
---|
| 34 | */
|
---|
| 35 | public function setCommandDigest(BuildBazelRemoteExecutionV2Digest $commandDigest)
|
---|
| 36 | {
|
---|
| 37 | $this->commandDigest = $commandDigest;
|
---|
| 38 | }
|
---|
| 39 | /**
|
---|
| 40 | * @return BuildBazelRemoteExecutionV2Digest
|
---|
| 41 | */
|
---|
| 42 | public function getCommandDigest()
|
---|
| 43 | {
|
---|
| 44 | return $this->commandDigest;
|
---|
| 45 | }
|
---|
| 46 | public function setDoNotCache($doNotCache)
|
---|
| 47 | {
|
---|
| 48 | $this->doNotCache = $doNotCache;
|
---|
| 49 | }
|
---|
| 50 | public function getDoNotCache()
|
---|
| 51 | {
|
---|
| 52 | return $this->doNotCache;
|
---|
| 53 | }
|
---|
| 54 | /**
|
---|
| 55 | * @param BuildBazelRemoteExecutionV2Digest
|
---|
| 56 | */
|
---|
| 57 | public function setInputRootDigest(BuildBazelRemoteExecutionV2Digest $inputRootDigest)
|
---|
| 58 | {
|
---|
| 59 | $this->inputRootDigest = $inputRootDigest;
|
---|
| 60 | }
|
---|
| 61 | /**
|
---|
| 62 | * @return BuildBazelRemoteExecutionV2Digest
|
---|
| 63 | */
|
---|
| 64 | public function getInputRootDigest()
|
---|
| 65 | {
|
---|
| 66 | return $this->inputRootDigest;
|
---|
| 67 | }
|
---|
| 68 | /**
|
---|
| 69 | * @param BuildBazelRemoteExecutionV2Platform
|
---|
| 70 | */
|
---|
| 71 | public function setPlatform(BuildBazelRemoteExecutionV2Platform $platform)
|
---|
| 72 | {
|
---|
| 73 | $this->platform = $platform;
|
---|
| 74 | }
|
---|
| 75 | /**
|
---|
| 76 | * @return BuildBazelRemoteExecutionV2Platform
|
---|
| 77 | */
|
---|
| 78 | public function getPlatform()
|
---|
| 79 | {
|
---|
| 80 | return $this->platform;
|
---|
| 81 | }
|
---|
| 82 | public function setSalt($salt)
|
---|
| 83 | {
|
---|
| 84 | $this->salt = $salt;
|
---|
| 85 | }
|
---|
| 86 | public function getSalt()
|
---|
| 87 | {
|
---|
| 88 | return $this->salt;
|
---|
| 89 | }
|
---|
| 90 | public function setTimeout($timeout)
|
---|
| 91 | {
|
---|
| 92 | $this->timeout = $timeout;
|
---|
| 93 | }
|
---|
| 94 | public function getTimeout()
|
---|
| 95 | {
|
---|
| 96 | return $this->timeout;
|
---|
| 97 | }
|
---|
| 98 | }
|
---|
| 99 |
|
---|
| 100 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 101 | class_alias(BuildBazelRemoteExecutionV2Action::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2Action');
|
---|