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 BuildBazelRemoteExecutionV2ExecuteRequest extends \Google\Model
21{
22  protected $actionDigestType = BuildBazelRemoteExecutionV2Digest::class;
23  protected $actionDigestDataType = '';
24  protected $executionPolicyType = BuildBazelRemoteExecutionV2ExecutionPolicy::class;
25  protected $executionPolicyDataType = '';
26  protected $resultsCachePolicyType = BuildBazelRemoteExecutionV2ResultsCachePolicy::class;
27  protected $resultsCachePolicyDataType = '';
28  public $skipCacheLookup;
29
30  /**
31   * @param BuildBazelRemoteExecutionV2Digest
32   */
33  public function setActionDigest(BuildBazelRemoteExecutionV2Digest $actionDigest)
34  {
35    $this->actionDigest = $actionDigest;
36  }
37  /**
38   * @return BuildBazelRemoteExecutionV2Digest
39   */
40  public function getActionDigest()
41  {
42    return $this->actionDigest;
43  }
44  /**
45   * @param BuildBazelRemoteExecutionV2ExecutionPolicy
46   */
47  public function setExecutionPolicy(BuildBazelRemoteExecutionV2ExecutionPolicy $executionPolicy)
48  {
49    $this->executionPolicy = $executionPolicy;
50  }
51  /**
52   * @return BuildBazelRemoteExecutionV2ExecutionPolicy
53   */
54  public function getExecutionPolicy()
55  {
56    return $this->executionPolicy;
57  }
58  /**
59   * @param BuildBazelRemoteExecutionV2ResultsCachePolicy
60   */
61  public function setResultsCachePolicy(BuildBazelRemoteExecutionV2ResultsCachePolicy $resultsCachePolicy)
62  {
63    $this->resultsCachePolicy = $resultsCachePolicy;
64  }
65  /**
66   * @return BuildBazelRemoteExecutionV2ResultsCachePolicy
67   */
68  public function getResultsCachePolicy()
69  {
70    return $this->resultsCachePolicy;
71  }
72  public function setSkipCacheLookup($skipCacheLookup)
73  {
74    $this->skipCacheLookup = $skipCacheLookup;
75  }
76  public function getSkipCacheLookup()
77  {
78    return $this->skipCacheLookup;
79  }
80}
81
82// Adding a class alias for backwards compatibility with the previous class name.
83class_alias(BuildBazelRemoteExecutionV2ExecuteRequest::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2ExecuteRequest');
84