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 BuildBazelRemoteExecutionV2CacheCapabilities extends \Google\Collection
21{
22  protected $collection_key = 'supportedCompressor';
23  protected $actionCacheUpdateCapabilitiesType = BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities::class;
24  protected $actionCacheUpdateCapabilitiesDataType = '';
25  protected $cachePriorityCapabilitiesType = BuildBazelRemoteExecutionV2PriorityCapabilities::class;
26  protected $cachePriorityCapabilitiesDataType = '';
27  public $digestFunction;
28  public $maxBatchTotalSizeBytes;
29  public $supportedCompressor;
30  public $symlinkAbsolutePathStrategy;
31
32  /**
33   * @param BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities
34   */
35  public function setActionCacheUpdateCapabilities(BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities $actionCacheUpdateCapabilities)
36  {
37    $this->actionCacheUpdateCapabilities = $actionCacheUpdateCapabilities;
38  }
39  /**
40   * @return BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities
41   */
42  public function getActionCacheUpdateCapabilities()
43  {
44    return $this->actionCacheUpdateCapabilities;
45  }
46  /**
47   * @param BuildBazelRemoteExecutionV2PriorityCapabilities
48   */
49  public function setCachePriorityCapabilities(BuildBazelRemoteExecutionV2PriorityCapabilities $cachePriorityCapabilities)
50  {
51    $this->cachePriorityCapabilities = $cachePriorityCapabilities;
52  }
53  /**
54   * @return BuildBazelRemoteExecutionV2PriorityCapabilities
55   */
56  public function getCachePriorityCapabilities()
57  {
58    return $this->cachePriorityCapabilities;
59  }
60  public function setDigestFunction($digestFunction)
61  {
62    $this->digestFunction = $digestFunction;
63  }
64  public function getDigestFunction()
65  {
66    return $this->digestFunction;
67  }
68  public function setMaxBatchTotalSizeBytes($maxBatchTotalSizeBytes)
69  {
70    $this->maxBatchTotalSizeBytes = $maxBatchTotalSizeBytes;
71  }
72  public function getMaxBatchTotalSizeBytes()
73  {
74    return $this->maxBatchTotalSizeBytes;
75  }
76  public function setSupportedCompressor($supportedCompressor)
77  {
78    $this->supportedCompressor = $supportedCompressor;
79  }
80  public function getSupportedCompressor()
81  {
82    return $this->supportedCompressor;
83  }
84  public function setSymlinkAbsolutePathStrategy($symlinkAbsolutePathStrategy)
85  {
86    $this->symlinkAbsolutePathStrategy = $symlinkAbsolutePathStrategy;
87  }
88  public function getSymlinkAbsolutePathStrategy()
89  {
90    return $this->symlinkAbsolutePathStrategy;
91  }
92}
93
94// Adding a class alias for backwards compatibility with the previous class name.
95class_alias(BuildBazelRemoteExecutionV2CacheCapabilities::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2CacheCapabilities');
96