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\RemoteBuildExecution; 19 20class BuildBazelRemoteExecutionV2OutputFile extends \Google\Model 21{ 22 public $contents; 23 protected $digestType = BuildBazelRemoteExecutionV2Digest::class; 24 protected $digestDataType = ''; 25 public $isExecutable; 26 protected $nodePropertiesType = BuildBazelRemoteExecutionV2NodeProperties::class; 27 protected $nodePropertiesDataType = ''; 28 public $path; 29 30 public function setContents($contents) 31 { 32 $this->contents = $contents; 33 } 34 public function getContents() 35 { 36 return $this->contents; 37 } 38 /** 39 * @param BuildBazelRemoteExecutionV2Digest 40 */ 41 public function setDigest(BuildBazelRemoteExecutionV2Digest $digest) 42 { 43 $this->digest = $digest; 44 } 45 /** 46 * @return BuildBazelRemoteExecutionV2Digest 47 */ 48 public function getDigest() 49 { 50 return $this->digest; 51 } 52 public function setIsExecutable($isExecutable) 53 { 54 $this->isExecutable = $isExecutable; 55 } 56 public function getIsExecutable() 57 { 58 return $this->isExecutable; 59 } 60 /** 61 * @param BuildBazelRemoteExecutionV2NodeProperties 62 */ 63 public function setNodeProperties(BuildBazelRemoteExecutionV2NodeProperties $nodeProperties) 64 { 65 $this->nodeProperties = $nodeProperties; 66 } 67 /** 68 * @return BuildBazelRemoteExecutionV2NodeProperties 69 */ 70 public function getNodeProperties() 71 { 72 return $this->nodeProperties; 73 } 74 public function setPath($path) 75 { 76 $this->path = $path; 77 } 78 public function getPath() 79 { 80 return $this->path; 81 } 82} 83 84// Adding a class alias for backwards compatibility with the previous class name. 85class_alias(BuildBazelRemoteExecutionV2OutputFile::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2OutputFile'); 86