source: vendor/google/apiclient-services/src/RemoteBuildExecution/BuildBazelRemoteExecutionV2ExecutionCapabilities.php@ f9c482b

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

Upload new project files

  • Property mode set to 100644
File size: 2.3 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\RemoteBuildExecution;
19
20class BuildBazelRemoteExecutionV2ExecutionCapabilities extends \Google\Collection
21{
22 protected $collection_key = 'supportedNodeProperties';
23 public $digestFunction;
24 public $execEnabled;
25 protected $executionPriorityCapabilitiesType = BuildBazelRemoteExecutionV2PriorityCapabilities::class;
26 protected $executionPriorityCapabilitiesDataType = '';
27 public $supportedNodeProperties;
28
29 public function setDigestFunction($digestFunction)
30 {
31 $this->digestFunction = $digestFunction;
32 }
33 public function getDigestFunction()
34 {
35 return $this->digestFunction;
36 }
37 public function setExecEnabled($execEnabled)
38 {
39 $this->execEnabled = $execEnabled;
40 }
41 public function getExecEnabled()
42 {
43 return $this->execEnabled;
44 }
45 /**
46 * @param BuildBazelRemoteExecutionV2PriorityCapabilities
47 */
48 public function setExecutionPriorityCapabilities(BuildBazelRemoteExecutionV2PriorityCapabilities $executionPriorityCapabilities)
49 {
50 $this->executionPriorityCapabilities = $executionPriorityCapabilities;
51 }
52 /**
53 * @return BuildBazelRemoteExecutionV2PriorityCapabilities
54 */
55 public function getExecutionPriorityCapabilities()
56 {
57 return $this->executionPriorityCapabilities;
58 }
59 public function setSupportedNodeProperties($supportedNodeProperties)
60 {
61 $this->supportedNodeProperties = $supportedNodeProperties;
62 }
63 public function getSupportedNodeProperties()
64 {
65 return $this->supportedNodeProperties;
66 }
67}
68
69// Adding a class alias for backwards compatibility with the previous class name.
70class_alias(BuildBazelRemoteExecutionV2ExecutionCapabilities::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2ExecutionCapabilities');
Note: See TracBrowser for help on using the repository browser.