Initial commit: Complete WooCommerce Smart Google Pricing plugin with vendor dependencies

This commit is contained in:
2025-12-23 07:48:45 +01:00
commit 9b66109ca1
32472 changed files with 4065017 additions and 0 deletions

View File

@@ -0,0 +1,101 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2Action extends \Google\Model
{
protected $commandDigestType = BuildBazelRemoteExecutionV2Digest::class;
protected $commandDigestDataType = '';
public $doNotCache;
protected $inputRootDigestType = BuildBazelRemoteExecutionV2Digest::class;
protected $inputRootDigestDataType = '';
protected $platformType = BuildBazelRemoteExecutionV2Platform::class;
protected $platformDataType = '';
public $salt;
public $timeout;
/**
* @param BuildBazelRemoteExecutionV2Digest
*/
public function setCommandDigest(BuildBazelRemoteExecutionV2Digest $commandDigest)
{
$this->commandDigest = $commandDigest;
}
/**
* @return BuildBazelRemoteExecutionV2Digest
*/
public function getCommandDigest()
{
return $this->commandDigest;
}
public function setDoNotCache($doNotCache)
{
$this->doNotCache = $doNotCache;
}
public function getDoNotCache()
{
return $this->doNotCache;
}
/**
* @param BuildBazelRemoteExecutionV2Digest
*/
public function setInputRootDigest(BuildBazelRemoteExecutionV2Digest $inputRootDigest)
{
$this->inputRootDigest = $inputRootDigest;
}
/**
* @return BuildBazelRemoteExecutionV2Digest
*/
public function getInputRootDigest()
{
return $this->inputRootDigest;
}
/**
* @param BuildBazelRemoteExecutionV2Platform
*/
public function setPlatform(BuildBazelRemoteExecutionV2Platform $platform)
{
$this->platform = $platform;
}
/**
* @return BuildBazelRemoteExecutionV2Platform
*/
public function getPlatform()
{
return $this->platform;
}
public function setSalt($salt)
{
$this->salt = $salt;
}
public function getSalt()
{
return $this->salt;
}
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
public function getTimeout()
{
return $this->timeout;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2Action::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2Action');

View File

@@ -0,0 +1,35 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities extends \Google\Model
{
public $updateEnabled;
public function setUpdateEnabled($updateEnabled)
{
$this->updateEnabled = $updateEnabled;
}
public function getUpdateEnabled()
{
return $this->updateEnabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities');

View File

@@ -0,0 +1,182 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2ActionResult extends \Google\Collection
{
protected $collection_key = 'outputSymlinks';
protected $executionMetadataType = BuildBazelRemoteExecutionV2ExecutedActionMetadata::class;
protected $executionMetadataDataType = '';
public $exitCode;
protected $outputDirectoriesType = BuildBazelRemoteExecutionV2OutputDirectory::class;
protected $outputDirectoriesDataType = 'array';
protected $outputDirectorySymlinksType = BuildBazelRemoteExecutionV2OutputSymlink::class;
protected $outputDirectorySymlinksDataType = 'array';
protected $outputFileSymlinksType = BuildBazelRemoteExecutionV2OutputSymlink::class;
protected $outputFileSymlinksDataType = 'array';
protected $outputFilesType = BuildBazelRemoteExecutionV2OutputFile::class;
protected $outputFilesDataType = 'array';
protected $outputSymlinksType = BuildBazelRemoteExecutionV2OutputSymlink::class;
protected $outputSymlinksDataType = 'array';
protected $stderrDigestType = BuildBazelRemoteExecutionV2Digest::class;
protected $stderrDigestDataType = '';
public $stderrRaw;
protected $stdoutDigestType = BuildBazelRemoteExecutionV2Digest::class;
protected $stdoutDigestDataType = '';
public $stdoutRaw;
/**
* @param BuildBazelRemoteExecutionV2ExecutedActionMetadata
*/
public function setExecutionMetadata(BuildBazelRemoteExecutionV2ExecutedActionMetadata $executionMetadata)
{
$this->executionMetadata = $executionMetadata;
}
/**
* @return BuildBazelRemoteExecutionV2ExecutedActionMetadata
*/
public function getExecutionMetadata()
{
return $this->executionMetadata;
}
public function setExitCode($exitCode)
{
$this->exitCode = $exitCode;
}
public function getExitCode()
{
return $this->exitCode;
}
/**
* @param BuildBazelRemoteExecutionV2OutputDirectory[]
*/
public function setOutputDirectories($outputDirectories)
{
$this->outputDirectories = $outputDirectories;
}
/**
* @return BuildBazelRemoteExecutionV2OutputDirectory[]
*/
public function getOutputDirectories()
{
return $this->outputDirectories;
}
/**
* @param BuildBazelRemoteExecutionV2OutputSymlink[]
*/
public function setOutputDirectorySymlinks($outputDirectorySymlinks)
{
$this->outputDirectorySymlinks = $outputDirectorySymlinks;
}
/**
* @return BuildBazelRemoteExecutionV2OutputSymlink[]
*/
public function getOutputDirectorySymlinks()
{
return $this->outputDirectorySymlinks;
}
/**
* @param BuildBazelRemoteExecutionV2OutputSymlink[]
*/
public function setOutputFileSymlinks($outputFileSymlinks)
{
$this->outputFileSymlinks = $outputFileSymlinks;
}
/**
* @return BuildBazelRemoteExecutionV2OutputSymlink[]
*/
public function getOutputFileSymlinks()
{
return $this->outputFileSymlinks;
}
/**
* @param BuildBazelRemoteExecutionV2OutputFile[]
*/
public function setOutputFiles($outputFiles)
{
$this->outputFiles = $outputFiles;
}
/**
* @return BuildBazelRemoteExecutionV2OutputFile[]
*/
public function getOutputFiles()
{
return $this->outputFiles;
}
/**
* @param BuildBazelRemoteExecutionV2OutputSymlink[]
*/
public function setOutputSymlinks($outputSymlinks)
{
$this->outputSymlinks = $outputSymlinks;
}
/**
* @return BuildBazelRemoteExecutionV2OutputSymlink[]
*/
public function getOutputSymlinks()
{
return $this->outputSymlinks;
}
/**
* @param BuildBazelRemoteExecutionV2Digest
*/
public function setStderrDigest(BuildBazelRemoteExecutionV2Digest $stderrDigest)
{
$this->stderrDigest = $stderrDigest;
}
/**
* @return BuildBazelRemoteExecutionV2Digest
*/
public function getStderrDigest()
{
return $this->stderrDigest;
}
public function setStderrRaw($stderrRaw)
{
$this->stderrRaw = $stderrRaw;
}
public function getStderrRaw()
{
return $this->stderrRaw;
}
/**
* @param BuildBazelRemoteExecutionV2Digest
*/
public function setStdoutDigest(BuildBazelRemoteExecutionV2Digest $stdoutDigest)
{
$this->stdoutDigest = $stdoutDigest;
}
/**
* @return BuildBazelRemoteExecutionV2Digest
*/
public function getStdoutDigest()
{
return $this->stdoutDigest;
}
public function setStdoutRaw($stdoutRaw)
{
$this->stdoutRaw = $stdoutRaw;
}
public function getStdoutRaw()
{
return $this->stdoutRaw;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2ActionResult::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2ActionResult');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2BatchReadBlobsRequest extends \Google\Collection
{
protected $collection_key = 'digests';
protected $digestsType = BuildBazelRemoteExecutionV2Digest::class;
protected $digestsDataType = 'array';
/**
* @param BuildBazelRemoteExecutionV2Digest[]
*/
public function setDigests($digests)
{
$this->digests = $digests;
}
/**
* @return BuildBazelRemoteExecutionV2Digest[]
*/
public function getDigests()
{
return $this->digests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2BatchReadBlobsRequest::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2BatchReadBlobsRequest');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2BatchReadBlobsResponse extends \Google\Collection
{
protected $collection_key = 'responses';
protected $responsesType = BuildBazelRemoteExecutionV2BatchReadBlobsResponseResponse::class;
protected $responsesDataType = 'array';
/**
* @param BuildBazelRemoteExecutionV2BatchReadBlobsResponseResponse[]
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return BuildBazelRemoteExecutionV2BatchReadBlobsResponseResponse[]
*/
public function getResponses()
{
return $this->responses;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2BatchReadBlobsResponse::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2BatchReadBlobsResponse');

View File

@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2BatchReadBlobsResponseResponse extends \Google\Model
{
public $data;
protected $digestType = BuildBazelRemoteExecutionV2Digest::class;
protected $digestDataType = '';
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
public function setData($data)
{
$this->data = $data;
}
public function getData()
{
return $this->data;
}
/**
* @param BuildBazelRemoteExecutionV2Digest
*/
public function setDigest(BuildBazelRemoteExecutionV2Digest $digest)
{
$this->digest = $digest;
}
/**
* @return BuildBazelRemoteExecutionV2Digest
*/
public function getDigest()
{
return $this->digest;
}
/**
* @param GoogleRpcStatus
*/
public function setStatus(GoogleRpcStatus $status)
{
$this->status = $status;
}
/**
* @return GoogleRpcStatus
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2BatchReadBlobsResponseResponse::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2BatchReadBlobsResponseResponse');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest::class;
protected $requestsDataType = 'array';
/**
* @param BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest');

View File

@@ -0,0 +1,51 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest extends \Google\Model
{
public $data;
protected $digestType = BuildBazelRemoteExecutionV2Digest::class;
protected $digestDataType = '';
public function setData($data)
{
$this->data = $data;
}
public function getData()
{
return $this->data;
}
/**
* @param BuildBazelRemoteExecutionV2Digest
*/
public function setDigest(BuildBazelRemoteExecutionV2Digest $digest)
{
$this->digest = $digest;
}
/**
* @return BuildBazelRemoteExecutionV2Digest
*/
public function getDigest()
{
return $this->digest;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2BatchUpdateBlobsResponse extends \Google\Collection
{
protected $collection_key = 'responses';
protected $responsesType = BuildBazelRemoteExecutionV2BatchUpdateBlobsResponseResponse::class;
protected $responsesDataType = 'array';
/**
* @param BuildBazelRemoteExecutionV2BatchUpdateBlobsResponseResponse[]
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return BuildBazelRemoteExecutionV2BatchUpdateBlobsResponseResponse[]
*/
public function getResponses()
{
return $this->responses;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2BatchUpdateBlobsResponse::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2BatchUpdateBlobsResponse');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2BatchUpdateBlobsResponseResponse extends \Google\Model
{
protected $digestType = BuildBazelRemoteExecutionV2Digest::class;
protected $digestDataType = '';
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
/**
* @param BuildBazelRemoteExecutionV2Digest
*/
public function setDigest(BuildBazelRemoteExecutionV2Digest $digest)
{
$this->digest = $digest;
}
/**
* @return BuildBazelRemoteExecutionV2Digest
*/
public function getDigest()
{
return $this->digest;
}
/**
* @param GoogleRpcStatus
*/
public function setStatus(GoogleRpcStatus $status)
{
$this->status = $status;
}
/**
* @return GoogleRpcStatus
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2BatchUpdateBlobsResponseResponse::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2BatchUpdateBlobsResponseResponse');

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2CacheCapabilities extends \Google\Collection
{
protected $collection_key = 'supportedCompressor';
protected $actionCacheUpdateCapabilitiesType = BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities::class;
protected $actionCacheUpdateCapabilitiesDataType = '';
protected $cachePriorityCapabilitiesType = BuildBazelRemoteExecutionV2PriorityCapabilities::class;
protected $cachePriorityCapabilitiesDataType = '';
public $digestFunction;
public $maxBatchTotalSizeBytes;
public $supportedCompressor;
public $symlinkAbsolutePathStrategy;
/**
* @param BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities
*/
public function setActionCacheUpdateCapabilities(BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities $actionCacheUpdateCapabilities)
{
$this->actionCacheUpdateCapabilities = $actionCacheUpdateCapabilities;
}
/**
* @return BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities
*/
public function getActionCacheUpdateCapabilities()
{
return $this->actionCacheUpdateCapabilities;
}
/**
* @param BuildBazelRemoteExecutionV2PriorityCapabilities
*/
public function setCachePriorityCapabilities(BuildBazelRemoteExecutionV2PriorityCapabilities $cachePriorityCapabilities)
{
$this->cachePriorityCapabilities = $cachePriorityCapabilities;
}
/**
* @return BuildBazelRemoteExecutionV2PriorityCapabilities
*/
public function getCachePriorityCapabilities()
{
return $this->cachePriorityCapabilities;
}
public function setDigestFunction($digestFunction)
{
$this->digestFunction = $digestFunction;
}
public function getDigestFunction()
{
return $this->digestFunction;
}
public function setMaxBatchTotalSizeBytes($maxBatchTotalSizeBytes)
{
$this->maxBatchTotalSizeBytes = $maxBatchTotalSizeBytes;
}
public function getMaxBatchTotalSizeBytes()
{
return $this->maxBatchTotalSizeBytes;
}
public function setSupportedCompressor($supportedCompressor)
{
$this->supportedCompressor = $supportedCompressor;
}
public function getSupportedCompressor()
{
return $this->supportedCompressor;
}
public function setSymlinkAbsolutePathStrategy($symlinkAbsolutePathStrategy)
{
$this->symlinkAbsolutePathStrategy = $symlinkAbsolutePathStrategy;
}
public function getSymlinkAbsolutePathStrategy()
{
return $this->symlinkAbsolutePathStrategy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2CacheCapabilities::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2CacheCapabilities');

View File

@@ -0,0 +1,113 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2Command extends \Google\Collection
{
protected $collection_key = 'outputPaths';
public $arguments;
protected $environmentVariablesType = BuildBazelRemoteExecutionV2CommandEnvironmentVariable::class;
protected $environmentVariablesDataType = 'array';
public $outputDirectories;
public $outputFiles;
public $outputNodeProperties;
public $outputPaths;
protected $platformType = BuildBazelRemoteExecutionV2Platform::class;
protected $platformDataType = '';
public $workingDirectory;
public function setArguments($arguments)
{
$this->arguments = $arguments;
}
public function getArguments()
{
return $this->arguments;
}
/**
* @param BuildBazelRemoteExecutionV2CommandEnvironmentVariable[]
*/
public function setEnvironmentVariables($environmentVariables)
{
$this->environmentVariables = $environmentVariables;
}
/**
* @return BuildBazelRemoteExecutionV2CommandEnvironmentVariable[]
*/
public function getEnvironmentVariables()
{
return $this->environmentVariables;
}
public function setOutputDirectories($outputDirectories)
{
$this->outputDirectories = $outputDirectories;
}
public function getOutputDirectories()
{
return $this->outputDirectories;
}
public function setOutputFiles($outputFiles)
{
$this->outputFiles = $outputFiles;
}
public function getOutputFiles()
{
return $this->outputFiles;
}
public function setOutputNodeProperties($outputNodeProperties)
{
$this->outputNodeProperties = $outputNodeProperties;
}
public function getOutputNodeProperties()
{
return $this->outputNodeProperties;
}
public function setOutputPaths($outputPaths)
{
$this->outputPaths = $outputPaths;
}
public function getOutputPaths()
{
return $this->outputPaths;
}
/**
* @param BuildBazelRemoteExecutionV2Platform
*/
public function setPlatform(BuildBazelRemoteExecutionV2Platform $platform)
{
$this->platform = $platform;
}
/**
* @return BuildBazelRemoteExecutionV2Platform
*/
public function getPlatform()
{
return $this->platform;
}
public function setWorkingDirectory($workingDirectory)
{
$this->workingDirectory = $workingDirectory;
}
public function getWorkingDirectory()
{
return $this->workingDirectory;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2Command::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2Command');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2CommandEnvironmentVariable extends \Google\Model
{
public $name;
public $value;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2CommandEnvironmentVariable::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2CommandEnvironmentVariable');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2Digest extends \Google\Model
{
public $hash;
public $sizeBytes;
public function setHash($hash)
{
$this->hash = $hash;
}
public function getHash()
{
return $this->hash;
}
public function setSizeBytes($sizeBytes)
{
$this->sizeBytes = $sizeBytes;
}
public function getSizeBytes()
{
return $this->sizeBytes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2Digest::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2Digest');

View File

@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2Directory extends \Google\Collection
{
protected $collection_key = 'symlinks';
protected $directoriesType = BuildBazelRemoteExecutionV2DirectoryNode::class;
protected $directoriesDataType = 'array';
protected $filesType = BuildBazelRemoteExecutionV2FileNode::class;
protected $filesDataType = 'array';
protected $nodePropertiesType = BuildBazelRemoteExecutionV2NodeProperties::class;
protected $nodePropertiesDataType = '';
protected $symlinksType = BuildBazelRemoteExecutionV2SymlinkNode::class;
protected $symlinksDataType = 'array';
/**
* @param BuildBazelRemoteExecutionV2DirectoryNode[]
*/
public function setDirectories($directories)
{
$this->directories = $directories;
}
/**
* @return BuildBazelRemoteExecutionV2DirectoryNode[]
*/
public function getDirectories()
{
return $this->directories;
}
/**
* @param BuildBazelRemoteExecutionV2FileNode[]
*/
public function setFiles($files)
{
$this->files = $files;
}
/**
* @return BuildBazelRemoteExecutionV2FileNode[]
*/
public function getFiles()
{
return $this->files;
}
/**
* @param BuildBazelRemoteExecutionV2NodeProperties
*/
public function setNodeProperties(BuildBazelRemoteExecutionV2NodeProperties $nodeProperties)
{
$this->nodeProperties = $nodeProperties;
}
/**
* @return BuildBazelRemoteExecutionV2NodeProperties
*/
public function getNodeProperties()
{
return $this->nodeProperties;
}
/**
* @param BuildBazelRemoteExecutionV2SymlinkNode[]
*/
public function setSymlinks($symlinks)
{
$this->symlinks = $symlinks;
}
/**
* @return BuildBazelRemoteExecutionV2SymlinkNode[]
*/
public function getSymlinks()
{
return $this->symlinks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2Directory::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2Directory');

View File

@@ -0,0 +1,51 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2DirectoryNode extends \Google\Model
{
protected $digestType = BuildBazelRemoteExecutionV2Digest::class;
protected $digestDataType = '';
public $name;
/**
* @param BuildBazelRemoteExecutionV2Digest
*/
public function setDigest(BuildBazelRemoteExecutionV2Digest $digest)
{
$this->digest = $digest;
}
/**
* @return BuildBazelRemoteExecutionV2Digest
*/
public function getDigest()
{
return $this->digest;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2DirectoryNode::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2DirectoryNode');

View File

@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2ExecuteOperationMetadata extends \Google\Model
{
protected $actionDigestType = BuildBazelRemoteExecutionV2Digest::class;
protected $actionDigestDataType = '';
public $stage;
public $stderrStreamName;
public $stdoutStreamName;
/**
* @param BuildBazelRemoteExecutionV2Digest
*/
public function setActionDigest(BuildBazelRemoteExecutionV2Digest $actionDigest)
{
$this->actionDigest = $actionDigest;
}
/**
* @return BuildBazelRemoteExecutionV2Digest
*/
public function getActionDigest()
{
return $this->actionDigest;
}
public function setStage($stage)
{
$this->stage = $stage;
}
public function getStage()
{
return $this->stage;
}
public function setStderrStreamName($stderrStreamName)
{
$this->stderrStreamName = $stderrStreamName;
}
public function getStderrStreamName()
{
return $this->stderrStreamName;
}
public function setStdoutStreamName($stdoutStreamName)
{
$this->stdoutStreamName = $stdoutStreamName;
}
public function getStdoutStreamName()
{
return $this->stdoutStreamName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2ExecuteOperationMetadata::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2ExecuteOperationMetadata');

View File

@@ -0,0 +1,83 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2ExecuteRequest extends \Google\Model
{
protected $actionDigestType = BuildBazelRemoteExecutionV2Digest::class;
protected $actionDigestDataType = '';
protected $executionPolicyType = BuildBazelRemoteExecutionV2ExecutionPolicy::class;
protected $executionPolicyDataType = '';
protected $resultsCachePolicyType = BuildBazelRemoteExecutionV2ResultsCachePolicy::class;
protected $resultsCachePolicyDataType = '';
public $skipCacheLookup;
/**
* @param BuildBazelRemoteExecutionV2Digest
*/
public function setActionDigest(BuildBazelRemoteExecutionV2Digest $actionDigest)
{
$this->actionDigest = $actionDigest;
}
/**
* @return BuildBazelRemoteExecutionV2Digest
*/
public function getActionDigest()
{
return $this->actionDigest;
}
/**
* @param BuildBazelRemoteExecutionV2ExecutionPolicy
*/
public function setExecutionPolicy(BuildBazelRemoteExecutionV2ExecutionPolicy $executionPolicy)
{
$this->executionPolicy = $executionPolicy;
}
/**
* @return BuildBazelRemoteExecutionV2ExecutionPolicy
*/
public function getExecutionPolicy()
{
return $this->executionPolicy;
}
/**
* @param BuildBazelRemoteExecutionV2ResultsCachePolicy
*/
public function setResultsCachePolicy(BuildBazelRemoteExecutionV2ResultsCachePolicy $resultsCachePolicy)
{
$this->resultsCachePolicy = $resultsCachePolicy;
}
/**
* @return BuildBazelRemoteExecutionV2ResultsCachePolicy
*/
public function getResultsCachePolicy()
{
return $this->resultsCachePolicy;
}
public function setSkipCacheLookup($skipCacheLookup)
{
$this->skipCacheLookup = $skipCacheLookup;
}
public function getSkipCacheLookup()
{
return $this->skipCacheLookup;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2ExecuteRequest::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2ExecuteRequest');

View File

@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2ExecuteResponse extends \Google\Model
{
public $cachedResult;
public $message;
protected $resultType = BuildBazelRemoteExecutionV2ActionResult::class;
protected $resultDataType = '';
protected $serverLogsType = BuildBazelRemoteExecutionV2LogFile::class;
protected $serverLogsDataType = 'map';
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
public function setCachedResult($cachedResult)
{
$this->cachedResult = $cachedResult;
}
public function getCachedResult()
{
return $this->cachedResult;
}
public function setMessage($message)
{
$this->message = $message;
}
public function getMessage()
{
return $this->message;
}
/**
* @param BuildBazelRemoteExecutionV2ActionResult
*/
public function setResult(BuildBazelRemoteExecutionV2ActionResult $result)
{
$this->result = $result;
}
/**
* @return BuildBazelRemoteExecutionV2ActionResult
*/
public function getResult()
{
return $this->result;
}
/**
* @param BuildBazelRemoteExecutionV2LogFile[]
*/
public function setServerLogs($serverLogs)
{
$this->serverLogs = $serverLogs;
}
/**
* @return BuildBazelRemoteExecutionV2LogFile[]
*/
public function getServerLogs()
{
return $this->serverLogs;
}
/**
* @param GoogleRpcStatus
*/
public function setStatus(GoogleRpcStatus $status)
{
$this->status = $status;
}
/**
* @return GoogleRpcStatus
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2ExecuteResponse::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2ExecuteResponse');

View File

@@ -0,0 +1,126 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2ExecutedActionMetadata extends \Google\Collection
{
protected $collection_key = 'auxiliaryMetadata';
public $auxiliaryMetadata;
public $executionCompletedTimestamp;
public $executionStartTimestamp;
public $inputFetchCompletedTimestamp;
public $inputFetchStartTimestamp;
public $outputUploadCompletedTimestamp;
public $outputUploadStartTimestamp;
public $queuedTimestamp;
public $worker;
public $workerCompletedTimestamp;
public $workerStartTimestamp;
public function setAuxiliaryMetadata($auxiliaryMetadata)
{
$this->auxiliaryMetadata = $auxiliaryMetadata;
}
public function getAuxiliaryMetadata()
{
return $this->auxiliaryMetadata;
}
public function setExecutionCompletedTimestamp($executionCompletedTimestamp)
{
$this->executionCompletedTimestamp = $executionCompletedTimestamp;
}
public function getExecutionCompletedTimestamp()
{
return $this->executionCompletedTimestamp;
}
public function setExecutionStartTimestamp($executionStartTimestamp)
{
$this->executionStartTimestamp = $executionStartTimestamp;
}
public function getExecutionStartTimestamp()
{
return $this->executionStartTimestamp;
}
public function setInputFetchCompletedTimestamp($inputFetchCompletedTimestamp)
{
$this->inputFetchCompletedTimestamp = $inputFetchCompletedTimestamp;
}
public function getInputFetchCompletedTimestamp()
{
return $this->inputFetchCompletedTimestamp;
}
public function setInputFetchStartTimestamp($inputFetchStartTimestamp)
{
$this->inputFetchStartTimestamp = $inputFetchStartTimestamp;
}
public function getInputFetchStartTimestamp()
{
return $this->inputFetchStartTimestamp;
}
public function setOutputUploadCompletedTimestamp($outputUploadCompletedTimestamp)
{
$this->outputUploadCompletedTimestamp = $outputUploadCompletedTimestamp;
}
public function getOutputUploadCompletedTimestamp()
{
return $this->outputUploadCompletedTimestamp;
}
public function setOutputUploadStartTimestamp($outputUploadStartTimestamp)
{
$this->outputUploadStartTimestamp = $outputUploadStartTimestamp;
}
public function getOutputUploadStartTimestamp()
{
return $this->outputUploadStartTimestamp;
}
public function setQueuedTimestamp($queuedTimestamp)
{
$this->queuedTimestamp = $queuedTimestamp;
}
public function getQueuedTimestamp()
{
return $this->queuedTimestamp;
}
public function setWorker($worker)
{
$this->worker = $worker;
}
public function getWorker()
{
return $this->worker;
}
public function setWorkerCompletedTimestamp($workerCompletedTimestamp)
{
$this->workerCompletedTimestamp = $workerCompletedTimestamp;
}
public function getWorkerCompletedTimestamp()
{
return $this->workerCompletedTimestamp;
}
public function setWorkerStartTimestamp($workerStartTimestamp)
{
$this->workerStartTimestamp = $workerStartTimestamp;
}
public function getWorkerStartTimestamp()
{
return $this->workerStartTimestamp;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2ExecutedActionMetadata::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2ExecutedActionMetadata');

View File

@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2ExecutionCapabilities extends \Google\Collection
{
protected $collection_key = 'supportedNodeProperties';
public $digestFunction;
public $execEnabled;
protected $executionPriorityCapabilitiesType = BuildBazelRemoteExecutionV2PriorityCapabilities::class;
protected $executionPriorityCapabilitiesDataType = '';
public $supportedNodeProperties;
public function setDigestFunction($digestFunction)
{
$this->digestFunction = $digestFunction;
}
public function getDigestFunction()
{
return $this->digestFunction;
}
public function setExecEnabled($execEnabled)
{
$this->execEnabled = $execEnabled;
}
public function getExecEnabled()
{
return $this->execEnabled;
}
/**
* @param BuildBazelRemoteExecutionV2PriorityCapabilities
*/
public function setExecutionPriorityCapabilities(BuildBazelRemoteExecutionV2PriorityCapabilities $executionPriorityCapabilities)
{
$this->executionPriorityCapabilities = $executionPriorityCapabilities;
}
/**
* @return BuildBazelRemoteExecutionV2PriorityCapabilities
*/
public function getExecutionPriorityCapabilities()
{
return $this->executionPriorityCapabilities;
}
public function setSupportedNodeProperties($supportedNodeProperties)
{
$this->supportedNodeProperties = $supportedNodeProperties;
}
public function getSupportedNodeProperties()
{
return $this->supportedNodeProperties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2ExecutionCapabilities::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2ExecutionCapabilities');

View File

@@ -0,0 +1,35 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2ExecutionPolicy extends \Google\Model
{
public $priority;
public function setPriority($priority)
{
$this->priority = $priority;
}
public function getPriority()
{
return $this->priority;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2ExecutionPolicy::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2ExecutionPolicy');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2FileNode extends \Google\Model
{
protected $digestType = BuildBazelRemoteExecutionV2Digest::class;
protected $digestDataType = '';
public $isExecutable;
public $name;
protected $nodePropertiesType = BuildBazelRemoteExecutionV2NodeProperties::class;
protected $nodePropertiesDataType = '';
/**
* @param BuildBazelRemoteExecutionV2Digest
*/
public function setDigest(BuildBazelRemoteExecutionV2Digest $digest)
{
$this->digest = $digest;
}
/**
* @return BuildBazelRemoteExecutionV2Digest
*/
public function getDigest()
{
return $this->digest;
}
public function setIsExecutable($isExecutable)
{
$this->isExecutable = $isExecutable;
}
public function getIsExecutable()
{
return $this->isExecutable;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
/**
* @param BuildBazelRemoteExecutionV2NodeProperties
*/
public function setNodeProperties(BuildBazelRemoteExecutionV2NodeProperties $nodeProperties)
{
$this->nodeProperties = $nodeProperties;
}
/**
* @return BuildBazelRemoteExecutionV2NodeProperties
*/
public function getNodeProperties()
{
return $this->nodeProperties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2FileNode::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2FileNode');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2FindMissingBlobsRequest extends \Google\Collection
{
protected $collection_key = 'blobDigests';
protected $blobDigestsType = BuildBazelRemoteExecutionV2Digest::class;
protected $blobDigestsDataType = 'array';
/**
* @param BuildBazelRemoteExecutionV2Digest[]
*/
public function setBlobDigests($blobDigests)
{
$this->blobDigests = $blobDigests;
}
/**
* @return BuildBazelRemoteExecutionV2Digest[]
*/
public function getBlobDigests()
{
return $this->blobDigests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2FindMissingBlobsRequest::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2FindMissingBlobsRequest');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2FindMissingBlobsResponse extends \Google\Collection
{
protected $collection_key = 'missingBlobDigests';
protected $missingBlobDigestsType = BuildBazelRemoteExecutionV2Digest::class;
protected $missingBlobDigestsDataType = 'array';
/**
* @param BuildBazelRemoteExecutionV2Digest[]
*/
public function setMissingBlobDigests($missingBlobDigests)
{
$this->missingBlobDigests = $missingBlobDigests;
}
/**
* @return BuildBazelRemoteExecutionV2Digest[]
*/
public function getMissingBlobDigests()
{
return $this->missingBlobDigests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2FindMissingBlobsResponse::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2FindMissingBlobsResponse');

View File

@@ -0,0 +1,52 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2GetTreeResponse extends \Google\Collection
{
protected $collection_key = 'directories';
protected $directoriesType = BuildBazelRemoteExecutionV2Directory::class;
protected $directoriesDataType = 'array';
public $nextPageToken;
/**
* @param BuildBazelRemoteExecutionV2Directory[]
*/
public function setDirectories($directories)
{
$this->directories = $directories;
}
/**
* @return BuildBazelRemoteExecutionV2Directory[]
*/
public function getDirectories()
{
return $this->directories;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2GetTreeResponse::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2GetTreeResponse');

View File

@@ -0,0 +1,51 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2LogFile extends \Google\Model
{
protected $digestType = BuildBazelRemoteExecutionV2Digest::class;
protected $digestDataType = '';
public $humanReadable;
/**
* @param BuildBazelRemoteExecutionV2Digest
*/
public function setDigest(BuildBazelRemoteExecutionV2Digest $digest)
{
$this->digest = $digest;
}
/**
* @return BuildBazelRemoteExecutionV2Digest
*/
public function getDigest()
{
return $this->digest;
}
public function setHumanReadable($humanReadable)
{
$this->humanReadable = $humanReadable;
}
public function getHumanReadable()
{
return $this->humanReadable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2LogFile::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2LogFile');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2NodeProperties extends \Google\Collection
{
protected $collection_key = 'properties';
public $mtime;
protected $propertiesType = BuildBazelRemoteExecutionV2NodeProperty::class;
protected $propertiesDataType = 'array';
public $unixMode;
public function setMtime($mtime)
{
$this->mtime = $mtime;
}
public function getMtime()
{
return $this->mtime;
}
/**
* @param BuildBazelRemoteExecutionV2NodeProperty[]
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return BuildBazelRemoteExecutionV2NodeProperty[]
*/
public function getProperties()
{
return $this->properties;
}
public function setUnixMode($unixMode)
{
$this->unixMode = $unixMode;
}
public function getUnixMode()
{
return $this->unixMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2NodeProperties::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2NodeProperties');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2NodeProperty extends \Google\Model
{
public $name;
public $value;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2NodeProperty::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2NodeProperty');

View File

@@ -0,0 +1,51 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2OutputDirectory extends \Google\Model
{
public $path;
protected $treeDigestType = BuildBazelRemoteExecutionV2Digest::class;
protected $treeDigestDataType = '';
public function setPath($path)
{
$this->path = $path;
}
public function getPath()
{
return $this->path;
}
/**
* @param BuildBazelRemoteExecutionV2Digest
*/
public function setTreeDigest(BuildBazelRemoteExecutionV2Digest $treeDigest)
{
$this->treeDigest = $treeDigest;
}
/**
* @return BuildBazelRemoteExecutionV2Digest
*/
public function getTreeDigest()
{
return $this->treeDigest;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2OutputDirectory::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2OutputDirectory');

View File

@@ -0,0 +1,85 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2OutputFile extends \Google\Model
{
public $contents;
protected $digestType = BuildBazelRemoteExecutionV2Digest::class;
protected $digestDataType = '';
public $isExecutable;
protected $nodePropertiesType = BuildBazelRemoteExecutionV2NodeProperties::class;
protected $nodePropertiesDataType = '';
public $path;
public function setContents($contents)
{
$this->contents = $contents;
}
public function getContents()
{
return $this->contents;
}
/**
* @param BuildBazelRemoteExecutionV2Digest
*/
public function setDigest(BuildBazelRemoteExecutionV2Digest $digest)
{
$this->digest = $digest;
}
/**
* @return BuildBazelRemoteExecutionV2Digest
*/
public function getDigest()
{
return $this->digest;
}
public function setIsExecutable($isExecutable)
{
$this->isExecutable = $isExecutable;
}
public function getIsExecutable()
{
return $this->isExecutable;
}
/**
* @param BuildBazelRemoteExecutionV2NodeProperties
*/
public function setNodeProperties(BuildBazelRemoteExecutionV2NodeProperties $nodeProperties)
{
$this->nodeProperties = $nodeProperties;
}
/**
* @return BuildBazelRemoteExecutionV2NodeProperties
*/
public function getNodeProperties()
{
return $this->nodeProperties;
}
public function setPath($path)
{
$this->path = $path;
}
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2OutputFile::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2OutputFile');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2OutputSymlink extends \Google\Model
{
protected $nodePropertiesType = BuildBazelRemoteExecutionV2NodeProperties::class;
protected $nodePropertiesDataType = '';
public $path;
public $target;
/**
* @param BuildBazelRemoteExecutionV2NodeProperties
*/
public function setNodeProperties(BuildBazelRemoteExecutionV2NodeProperties $nodeProperties)
{
$this->nodeProperties = $nodeProperties;
}
/**
* @return BuildBazelRemoteExecutionV2NodeProperties
*/
public function getNodeProperties()
{
return $this->nodeProperties;
}
public function setPath($path)
{
$this->path = $path;
}
public function getPath()
{
return $this->path;
}
public function setTarget($target)
{
$this->target = $target;
}
public function getTarget()
{
return $this->target;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2OutputSymlink::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2OutputSymlink');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2Platform extends \Google\Collection
{
protected $collection_key = 'properties';
protected $propertiesType = BuildBazelRemoteExecutionV2PlatformProperty::class;
protected $propertiesDataType = 'array';
/**
* @param BuildBazelRemoteExecutionV2PlatformProperty[]
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return BuildBazelRemoteExecutionV2PlatformProperty[]
*/
public function getProperties()
{
return $this->properties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2Platform::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2Platform');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2PlatformProperty extends \Google\Model
{
public $name;
public $value;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2PlatformProperty::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2PlatformProperty');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2PriorityCapabilities extends \Google\Collection
{
protected $collection_key = 'priorities';
protected $prioritiesType = BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange::class;
protected $prioritiesDataType = 'array';
/**
* @param BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange[]
*/
public function setPriorities($priorities)
{
$this->priorities = $priorities;
}
/**
* @return BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange[]
*/
public function getPriorities()
{
return $this->priorities;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2PriorityCapabilities::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2PriorityCapabilities');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange extends \Google\Model
{
public $maxPriority;
public $minPriority;
public function setMaxPriority($maxPriority)
{
$this->maxPriority = $maxPriority;
}
public function getMaxPriority()
{
return $this->maxPriority;
}
public function setMinPriority($minPriority)
{
$this->minPriority = $minPriority;
}
public function getMinPriority()
{
return $this->minPriority;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange');

View File

@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2RequestMetadata extends \Google\Model
{
public $actionId;
public $actionMnemonic;
public $configurationId;
public $correlatedInvocationsId;
public $targetId;
protected $toolDetailsType = BuildBazelRemoteExecutionV2ToolDetails::class;
protected $toolDetailsDataType = '';
public $toolInvocationId;
public function setActionId($actionId)
{
$this->actionId = $actionId;
}
public function getActionId()
{
return $this->actionId;
}
public function setActionMnemonic($actionMnemonic)
{
$this->actionMnemonic = $actionMnemonic;
}
public function getActionMnemonic()
{
return $this->actionMnemonic;
}
public function setConfigurationId($configurationId)
{
$this->configurationId = $configurationId;
}
public function getConfigurationId()
{
return $this->configurationId;
}
public function setCorrelatedInvocationsId($correlatedInvocationsId)
{
$this->correlatedInvocationsId = $correlatedInvocationsId;
}
public function getCorrelatedInvocationsId()
{
return $this->correlatedInvocationsId;
}
public function setTargetId($targetId)
{
$this->targetId = $targetId;
}
public function getTargetId()
{
return $this->targetId;
}
/**
* @param BuildBazelRemoteExecutionV2ToolDetails
*/
public function setToolDetails(BuildBazelRemoteExecutionV2ToolDetails $toolDetails)
{
$this->toolDetails = $toolDetails;
}
/**
* @return BuildBazelRemoteExecutionV2ToolDetails
*/
public function getToolDetails()
{
return $this->toolDetails;
}
public function setToolInvocationId($toolInvocationId)
{
$this->toolInvocationId = $toolInvocationId;
}
public function getToolInvocationId()
{
return $this->toolInvocationId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2RequestMetadata::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2RequestMetadata');

View File

@@ -0,0 +1,35 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2ResultsCachePolicy extends \Google\Model
{
public $priority;
public function setPriority($priority)
{
$this->priority = $priority;
}
public function getPriority()
{
return $this->priority;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2ResultsCachePolicy::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2ResultsCachePolicy');

View File

@@ -0,0 +1,106 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2ServerCapabilities extends \Google\Model
{
protected $cacheCapabilitiesType = BuildBazelRemoteExecutionV2CacheCapabilities::class;
protected $cacheCapabilitiesDataType = '';
protected $deprecatedApiVersionType = BuildBazelSemverSemVer::class;
protected $deprecatedApiVersionDataType = '';
protected $executionCapabilitiesType = BuildBazelRemoteExecutionV2ExecutionCapabilities::class;
protected $executionCapabilitiesDataType = '';
protected $highApiVersionType = BuildBazelSemverSemVer::class;
protected $highApiVersionDataType = '';
protected $lowApiVersionType = BuildBazelSemverSemVer::class;
protected $lowApiVersionDataType = '';
/**
* @param BuildBazelRemoteExecutionV2CacheCapabilities
*/
public function setCacheCapabilities(BuildBazelRemoteExecutionV2CacheCapabilities $cacheCapabilities)
{
$this->cacheCapabilities = $cacheCapabilities;
}
/**
* @return BuildBazelRemoteExecutionV2CacheCapabilities
*/
public function getCacheCapabilities()
{
return $this->cacheCapabilities;
}
/**
* @param BuildBazelSemverSemVer
*/
public function setDeprecatedApiVersion(BuildBazelSemverSemVer $deprecatedApiVersion)
{
$this->deprecatedApiVersion = $deprecatedApiVersion;
}
/**
* @return BuildBazelSemverSemVer
*/
public function getDeprecatedApiVersion()
{
return $this->deprecatedApiVersion;
}
/**
* @param BuildBazelRemoteExecutionV2ExecutionCapabilities
*/
public function setExecutionCapabilities(BuildBazelRemoteExecutionV2ExecutionCapabilities $executionCapabilities)
{
$this->executionCapabilities = $executionCapabilities;
}
/**
* @return BuildBazelRemoteExecutionV2ExecutionCapabilities
*/
public function getExecutionCapabilities()
{
return $this->executionCapabilities;
}
/**
* @param BuildBazelSemverSemVer
*/
public function setHighApiVersion(BuildBazelSemverSemVer $highApiVersion)
{
$this->highApiVersion = $highApiVersion;
}
/**
* @return BuildBazelSemverSemVer
*/
public function getHighApiVersion()
{
return $this->highApiVersion;
}
/**
* @param BuildBazelSemverSemVer
*/
public function setLowApiVersion(BuildBazelSemverSemVer $lowApiVersion)
{
$this->lowApiVersion = $lowApiVersion;
}
/**
* @return BuildBazelSemverSemVer
*/
public function getLowApiVersion()
{
return $this->lowApiVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2ServerCapabilities::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2ServerCapabilities');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2SymlinkNode extends \Google\Model
{
public $name;
protected $nodePropertiesType = BuildBazelRemoteExecutionV2NodeProperties::class;
protected $nodePropertiesDataType = '';
public $target;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
/**
* @param BuildBazelRemoteExecutionV2NodeProperties
*/
public function setNodeProperties(BuildBazelRemoteExecutionV2NodeProperties $nodeProperties)
{
$this->nodeProperties = $nodeProperties;
}
/**
* @return BuildBazelRemoteExecutionV2NodeProperties
*/
public function getNodeProperties()
{
return $this->nodeProperties;
}
public function setTarget($target)
{
$this->target = $target;
}
public function getTarget()
{
return $this->target;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2SymlinkNode::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2SymlinkNode');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2ToolDetails extends \Google\Model
{
public $toolName;
public $toolVersion;
public function setToolName($toolName)
{
$this->toolName = $toolName;
}
public function getToolName()
{
return $this->toolName;
}
public function setToolVersion($toolVersion)
{
$this->toolVersion = $toolVersion;
}
public function getToolVersion()
{
return $this->toolVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2ToolDetails::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2ToolDetails');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2Tree extends \Google\Collection
{
protected $collection_key = 'children';
protected $childrenType = BuildBazelRemoteExecutionV2Directory::class;
protected $childrenDataType = 'array';
protected $rootType = BuildBazelRemoteExecutionV2Directory::class;
protected $rootDataType = '';
/**
* @param BuildBazelRemoteExecutionV2Directory[]
*/
public function setChildren($children)
{
$this->children = $children;
}
/**
* @return BuildBazelRemoteExecutionV2Directory[]
*/
public function getChildren()
{
return $this->children;
}
/**
* @param BuildBazelRemoteExecutionV2Directory
*/
public function setRoot(BuildBazelRemoteExecutionV2Directory $root)
{
$this->root = $root;
}
/**
* @return BuildBazelRemoteExecutionV2Directory
*/
public function getRoot()
{
return $this->root;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2Tree::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2Tree');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelRemoteExecutionV2WaitExecutionRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelRemoteExecutionV2WaitExecutionRequest::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2WaitExecutionRequest');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class BuildBazelSemverSemVer extends \Google\Model
{
public $major;
public $minor;
public $patch;
public $prerelease;
public function setMajor($major)
{
$this->major = $major;
}
public function getMajor()
{
return $this->major;
}
public function setMinor($minor)
{
$this->minor = $minor;
}
public function getMinor()
{
return $this->minor;
}
public function setPatch($patch)
{
$this->patch = $patch;
}
public function getPatch()
{
return $this->patch;
}
public function setPrerelease($prerelease)
{
$this->prerelease = $prerelease;
}
public function getPrerelease()
{
return $this->prerelease;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildBazelSemverSemVer::class, 'Google_Service_RemoteBuildExecution_BuildBazelSemverSemVer');

View File

@@ -0,0 +1,143 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildbotCommandDurations extends \Google\Model
{
public $casRelease;
public $cmWaitForAssignment;
public $dockerPrep;
public $dockerPrepStartTime;
public $download;
public $downloadStartTime;
public $execStartTime;
public $execution;
public $isoPrepDone;
public $overall;
public $stdout;
public $upload;
public $uploadStartTime;
public function setCasRelease($casRelease)
{
$this->casRelease = $casRelease;
}
public function getCasRelease()
{
return $this->casRelease;
}
public function setCmWaitForAssignment($cmWaitForAssignment)
{
$this->cmWaitForAssignment = $cmWaitForAssignment;
}
public function getCmWaitForAssignment()
{
return $this->cmWaitForAssignment;
}
public function setDockerPrep($dockerPrep)
{
$this->dockerPrep = $dockerPrep;
}
public function getDockerPrep()
{
return $this->dockerPrep;
}
public function setDockerPrepStartTime($dockerPrepStartTime)
{
$this->dockerPrepStartTime = $dockerPrepStartTime;
}
public function getDockerPrepStartTime()
{
return $this->dockerPrepStartTime;
}
public function setDownload($download)
{
$this->download = $download;
}
public function getDownload()
{
return $this->download;
}
public function setDownloadStartTime($downloadStartTime)
{
$this->downloadStartTime = $downloadStartTime;
}
public function getDownloadStartTime()
{
return $this->downloadStartTime;
}
public function setExecStartTime($execStartTime)
{
$this->execStartTime = $execStartTime;
}
public function getExecStartTime()
{
return $this->execStartTime;
}
public function setExecution($execution)
{
$this->execution = $execution;
}
public function getExecution()
{
return $this->execution;
}
public function setIsoPrepDone($isoPrepDone)
{
$this->isoPrepDone = $isoPrepDone;
}
public function getIsoPrepDone()
{
return $this->isoPrepDone;
}
public function setOverall($overall)
{
$this->overall = $overall;
}
public function getOverall()
{
return $this->overall;
}
public function setStdout($stdout)
{
$this->stdout = $stdout;
}
public function getStdout()
{
return $this->stdout;
}
public function setUpload($upload)
{
$this->upload = $upload;
}
public function getUpload()
{
return $this->upload;
}
public function setUploadStartTime($uploadStartTime)
{
$this->uploadStartTime = $uploadStartTime;
}
public function getUploadStartTime()
{
return $this->uploadStartTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildbotCommandDurations::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildbotCommandDurations');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildbotCommandEvents extends \Google\Model
{
public $cmUsage;
public $dockerCacheHit;
public $dockerImageName;
public $inputCacheMiss;
public $numErrors;
public $numWarnings;
public $outputLocation;
public $usedAsyncContainer;
public function setCmUsage($cmUsage)
{
$this->cmUsage = $cmUsage;
}
public function getCmUsage()
{
return $this->cmUsage;
}
public function setDockerCacheHit($dockerCacheHit)
{
$this->dockerCacheHit = $dockerCacheHit;
}
public function getDockerCacheHit()
{
return $this->dockerCacheHit;
}
public function setDockerImageName($dockerImageName)
{
$this->dockerImageName = $dockerImageName;
}
public function getDockerImageName()
{
return $this->dockerImageName;
}
public function setInputCacheMiss($inputCacheMiss)
{
$this->inputCacheMiss = $inputCacheMiss;
}
public function getInputCacheMiss()
{
return $this->inputCacheMiss;
}
public function setNumErrors($numErrors)
{
$this->numErrors = $numErrors;
}
public function getNumErrors()
{
return $this->numErrors;
}
public function setNumWarnings($numWarnings)
{
$this->numWarnings = $numWarnings;
}
public function getNumWarnings()
{
return $this->numWarnings;
}
public function setOutputLocation($outputLocation)
{
$this->outputLocation = $outputLocation;
}
public function getOutputLocation()
{
return $this->outputLocation;
}
public function setUsedAsyncContainer($usedAsyncContainer)
{
$this->usedAsyncContainer = $usedAsyncContainer;
}
public function getUsedAsyncContainer()
{
return $this->usedAsyncContainer;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildbotCommandEvents::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildbotCommandEvents');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildbotCommandStatus extends \Google\Model
{
public $code;
public $message;
public function setCode($code)
{
$this->code = $code;
}
public function getCode()
{
return $this->code;
}
public function setMessage($message)
{
$this->message = $message;
}
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildbotCommandStatus::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildbotCommandStatus');

View File

@@ -0,0 +1,83 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildbotResourceUsage extends \Google\Model
{
public $cpuUsedPercent;
protected $diskUsageType = GoogleDevtoolsRemotebuildbotResourceUsageStat::class;
protected $diskUsageDataType = '';
protected $memoryUsageType = GoogleDevtoolsRemotebuildbotResourceUsageStat::class;
protected $memoryUsageDataType = '';
protected $totalDiskIoStatsType = GoogleDevtoolsRemotebuildbotResourceUsageIOStats::class;
protected $totalDiskIoStatsDataType = '';
public function setCpuUsedPercent($cpuUsedPercent)
{
$this->cpuUsedPercent = $cpuUsedPercent;
}
public function getCpuUsedPercent()
{
return $this->cpuUsedPercent;
}
/**
* @param GoogleDevtoolsRemotebuildbotResourceUsageStat
*/
public function setDiskUsage(GoogleDevtoolsRemotebuildbotResourceUsageStat $diskUsage)
{
$this->diskUsage = $diskUsage;
}
/**
* @return GoogleDevtoolsRemotebuildbotResourceUsageStat
*/
public function getDiskUsage()
{
return $this->diskUsage;
}
/**
* @param GoogleDevtoolsRemotebuildbotResourceUsageStat
*/
public function setMemoryUsage(GoogleDevtoolsRemotebuildbotResourceUsageStat $memoryUsage)
{
$this->memoryUsage = $memoryUsage;
}
/**
* @return GoogleDevtoolsRemotebuildbotResourceUsageStat
*/
public function getMemoryUsage()
{
return $this->memoryUsage;
}
/**
* @param GoogleDevtoolsRemotebuildbotResourceUsageIOStats
*/
public function setTotalDiskIoStats(GoogleDevtoolsRemotebuildbotResourceUsageIOStats $totalDiskIoStats)
{
$this->totalDiskIoStats = $totalDiskIoStats;
}
/**
* @return GoogleDevtoolsRemotebuildbotResourceUsageIOStats
*/
public function getTotalDiskIoStats()
{
return $this->totalDiskIoStats;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildbotResourceUsage::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildbotResourceUsage');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildbotResourceUsageIOStats extends \Google\Model
{
public $readBytesCount;
public $readCount;
public $readTimeMs;
public $writeBytesCount;
public $writeCount;
public $writeTimeMs;
public function setReadBytesCount($readBytesCount)
{
$this->readBytesCount = $readBytesCount;
}
public function getReadBytesCount()
{
return $this->readBytesCount;
}
public function setReadCount($readCount)
{
$this->readCount = $readCount;
}
public function getReadCount()
{
return $this->readCount;
}
public function setReadTimeMs($readTimeMs)
{
$this->readTimeMs = $readTimeMs;
}
public function getReadTimeMs()
{
return $this->readTimeMs;
}
public function setWriteBytesCount($writeBytesCount)
{
$this->writeBytesCount = $writeBytesCount;
}
public function getWriteBytesCount()
{
return $this->writeBytesCount;
}
public function setWriteCount($writeCount)
{
$this->writeCount = $writeCount;
}
public function getWriteCount()
{
return $this->writeCount;
}
public function setWriteTimeMs($writeTimeMs)
{
$this->writeTimeMs = $writeTimeMs;
}
public function getWriteTimeMs()
{
return $this->writeTimeMs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildbotResourceUsageIOStats::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildbotResourceUsageIOStats');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildbotResourceUsageStat extends \Google\Model
{
public $total;
public $used;
public function setTotal($total)
{
$this->total = $total;
}
public function getTotal()
{
return $this->total;
}
public function setUsed($used)
{
$this->used = $used;
}
public function getUsed()
{
return $this->used;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildbotResourceUsageStat::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildbotResourceUsageStat');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig extends \Google\Model
{
public $acceleratorCount;
public $acceleratorType;
public function setAcceleratorCount($acceleratorCount)
{
$this->acceleratorCount = $acceleratorCount;
}
public function getAcceleratorCount()
{
return $this->acceleratorCount;
}
public function setAcceleratorType($acceleratorType)
{
$this->acceleratorType = $acceleratorType;
}
public function getAcceleratorType()
{
return $this->acceleratorType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale extends \Google\Model
{
public $maxSize;
public $minSize;
public function setMaxSize($maxSize)
{
$this->maxSize = $maxSize;
}
public function getMaxSize()
{
return $this->maxSize;
}
public function setMinSize($minSize)
{
$this->minSize = $minSize;
}
public function getMinSize()
{
return $this->minSize;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest extends \Google\Model
{
protected $instanceType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance::class;
protected $instanceDataType = '';
public $instanceId;
public $parent;
/**
* @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance
*/
public function setInstance(GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance $instance)
{
$this->instance = $instance;
}
/**
* @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance
*/
public function getInstance()
{
return $this->instance;
}
public function setInstanceId($instanceId)
{
$this->instanceId = $instanceId;
}
public function getInstanceId()
{
return $this->instanceId;
}
public function setParent($parent)
{
$this->parent = $parent;
}
public function getParent()
{
return $this->parent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest extends \Google\Model
{
public $parent;
public $poolId;
protected $workerPoolType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool::class;
protected $workerPoolDataType = '';
public function setParent($parent)
{
$this->parent = $parent;
}
public function getParent()
{
return $this->parent;
}
public function setPoolId($poolId)
{
$this->poolId = $poolId;
}
public function getPoolId()
{
return $this->poolId;
}
/**
* @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool
*/
public function setWorkerPool(GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool $workerPool)
{
$this->workerPool = $workerPool;
}
/**
* @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool
*/
public function getWorkerPool()
{
return $this->workerPool;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest');

View File

@@ -0,0 +1,35 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest extends \Google\Model
{
public $name;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest');

View File

@@ -0,0 +1,35 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest extends \Google\Model
{
public $name;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest');

View File

@@ -0,0 +1,163 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy extends \Google\Model
{
protected $containerImageSourcesType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature::class;
protected $containerImageSourcesDataType = '';
protected $dockerAddCapabilitiesType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature::class;
protected $dockerAddCapabilitiesDataType = '';
protected $dockerChrootPathType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature::class;
protected $dockerChrootPathDataType = '';
protected $dockerNetworkType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature::class;
protected $dockerNetworkDataType = '';
protected $dockerPrivilegedType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature::class;
protected $dockerPrivilegedDataType = '';
protected $dockerRunAsRootType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature::class;
protected $dockerRunAsRootDataType = '';
protected $dockerRuntimeType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature::class;
protected $dockerRuntimeDataType = '';
protected $dockerSiblingContainersType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature::class;
protected $dockerSiblingContainersDataType = '';
public $linuxIsolation;
/**
* @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
*/
public function setContainerImageSources(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature $containerImageSources)
{
$this->containerImageSources = $containerImageSources;
}
/**
* @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
*/
public function getContainerImageSources()
{
return $this->containerImageSources;
}
/**
* @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
*/
public function setDockerAddCapabilities(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature $dockerAddCapabilities)
{
$this->dockerAddCapabilities = $dockerAddCapabilities;
}
/**
* @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
*/
public function getDockerAddCapabilities()
{
return $this->dockerAddCapabilities;
}
/**
* @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
*/
public function setDockerChrootPath(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature $dockerChrootPath)
{
$this->dockerChrootPath = $dockerChrootPath;
}
/**
* @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
*/
public function getDockerChrootPath()
{
return $this->dockerChrootPath;
}
/**
* @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
*/
public function setDockerNetwork(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature $dockerNetwork)
{
$this->dockerNetwork = $dockerNetwork;
}
/**
* @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
*/
public function getDockerNetwork()
{
return $this->dockerNetwork;
}
/**
* @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
*/
public function setDockerPrivileged(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature $dockerPrivileged)
{
$this->dockerPrivileged = $dockerPrivileged;
}
/**
* @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
*/
public function getDockerPrivileged()
{
return $this->dockerPrivileged;
}
/**
* @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
*/
public function setDockerRunAsRoot(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature $dockerRunAsRoot)
{
$this->dockerRunAsRoot = $dockerRunAsRoot;
}
/**
* @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
*/
public function getDockerRunAsRoot()
{
return $this->dockerRunAsRoot;
}
/**
* @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
*/
public function setDockerRuntime(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature $dockerRuntime)
{
$this->dockerRuntime = $dockerRuntime;
}
/**
* @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
*/
public function getDockerRuntime()
{
return $this->dockerRuntime;
}
/**
* @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
*/
public function setDockerSiblingContainers(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature $dockerSiblingContainers)
{
$this->dockerSiblingContainers = $dockerSiblingContainers;
}
/**
* @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
*/
public function getDockerSiblingContainers()
{
return $this->dockerSiblingContainers;
}
public function setLinuxIsolation($linuxIsolation)
{
$this->linuxIsolation = $linuxIsolation;
}
public function getLinuxIsolation()
{
return $this->linuxIsolation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature extends \Google\Collection
{
protected $collection_key = 'allowedValues';
public $allowedValues;
public $policy;
public function setAllowedValues($allowedValues)
{
$this->allowedValues = $allowedValues;
}
public function getAllowedValues()
{
return $this->allowedValues;
}
public function setPolicy($policy)
{
$this->policy = $policy;
}
public function getPolicy()
{
return $this->policy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature');

View File

@@ -0,0 +1,35 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest extends \Google\Model
{
public $name;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest');

View File

@@ -0,0 +1,35 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest extends \Google\Model
{
public $name;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance extends \Google\Model
{
protected $featurePolicyType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy::class;
protected $featurePolicyDataType = '';
public $location;
public $loggingEnabled;
public $name;
public $state;
/**
* @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy
*/
public function setFeaturePolicy(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy $featurePolicy)
{
$this->featurePolicy = $featurePolicy;
}
/**
* @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy
*/
public function getFeaturePolicy()
{
return $this->featurePolicy;
}
public function setLocation($location)
{
$this->location = $location;
}
public function getLocation()
{
return $this->location;
}
public function setLoggingEnabled($loggingEnabled)
{
$this->loggingEnabled = $loggingEnabled;
}
public function getLoggingEnabled()
{
return $this->loggingEnabled;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setState($state)
{
$this->state = $state;
}
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance');

View File

@@ -0,0 +1,35 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequest extends \Google\Model
{
public $parent;
public function setParent($parent)
{
$this->parent = $parent;
}
public function getParent()
{
return $this->parent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequest::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequest');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse extends \Google\Collection
{
protected $collection_key = 'instances';
protected $instancesType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance::class;
protected $instancesDataType = 'array';
/**
* @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance[]
*/
public function setInstances($instances)
{
$this->instances = $instances;
}
/**
* @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance[]
*/
public function getInstances()
{
return $this->instances;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest extends \Google\Model
{
public $filter;
public $parent;
public function setFilter($filter)
{
$this->filter = $filter;
}
public function getFilter()
{
return $this->filter;
}
public function setParent($parent)
{
$this->parent = $parent;
}
public function getParent()
{
return $this->parent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse extends \Google\Collection
{
protected $collection_key = 'workerPools';
protected $workerPoolsType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool::class;
protected $workerPoolsDataType = 'array';
/**
* @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool[]
*/
public function setWorkerPools($workerPools)
{
$this->workerPools = $workerPools;
}
/**
* @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool[]
*/
public function getWorkerPools()
{
return $this->workerPools;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse');

View File

@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest extends \Google\Model
{
protected $instanceType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance::class;
protected $instanceDataType = '';
public $loggingEnabled;
public $name;
public $updateMask;
/**
* @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance
*/
public function setInstance(GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance $instance)
{
$this->instance = $instance;
}
/**
* @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance
*/
public function getInstance()
{
return $this->instance;
}
public function setLoggingEnabled($loggingEnabled)
{
$this->loggingEnabled = $loggingEnabled;
}
public function getLoggingEnabled()
{
return $this->loggingEnabled;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest');

View File

@@ -0,0 +1,51 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest extends \Google\Model
{
public $updateMask;
protected $workerPoolType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool::class;
protected $workerPoolDataType = '';
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
public function getUpdateMask()
{
return $this->updateMask;
}
/**
* @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool
*/
public function setWorkerPool(GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool $workerPool)
{
$this->workerPool = $workerPool;
}
/**
* @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool
*/
public function getWorkerPool()
{
return $this->workerPool;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest');

View File

@@ -0,0 +1,132 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig extends \Google\Model
{
protected $acceleratorType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig::class;
protected $acceleratorDataType = '';
public $diskSizeGb;
public $diskType;
public $labels;
public $machineType;
public $maxConcurrentActions;
public $minCpuPlatform;
public $networkAccess;
public $reserved;
public $soleTenantNodeType;
public $vmImage;
/**
* @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
*/
public function setAccelerator(GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig $accelerator)
{
$this->accelerator = $accelerator;
}
/**
* @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
*/
public function getAccelerator()
{
return $this->accelerator;
}
public function setDiskSizeGb($diskSizeGb)
{
$this->diskSizeGb = $diskSizeGb;
}
public function getDiskSizeGb()
{
return $this->diskSizeGb;
}
public function setDiskType($diskType)
{
$this->diskType = $diskType;
}
public function getDiskType()
{
return $this->diskType;
}
public function setLabels($labels)
{
$this->labels = $labels;
}
public function getLabels()
{
return $this->labels;
}
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
public function getMachineType()
{
return $this->machineType;
}
public function setMaxConcurrentActions($maxConcurrentActions)
{
$this->maxConcurrentActions = $maxConcurrentActions;
}
public function getMaxConcurrentActions()
{
return $this->maxConcurrentActions;
}
public function setMinCpuPlatform($minCpuPlatform)
{
$this->minCpuPlatform = $minCpuPlatform;
}
public function getMinCpuPlatform()
{
return $this->minCpuPlatform;
}
public function setNetworkAccess($networkAccess)
{
$this->networkAccess = $networkAccess;
}
public function getNetworkAccess()
{
return $this->networkAccess;
}
public function setReserved($reserved)
{
$this->reserved = $reserved;
}
public function getReserved()
{
return $this->reserved;
}
public function setSoleTenantNodeType($soleTenantNodeType)
{
$this->soleTenantNodeType = $soleTenantNodeType;
}
public function getSoleTenantNodeType()
{
return $this->soleTenantNodeType;
}
public function setVmImage($vmImage)
{
$this->vmImage = $vmImage;
}
public function getVmImage()
{
return $this->vmImage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig');

View File

@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool extends \Google\Model
{
protected $autoscaleType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale::class;
protected $autoscaleDataType = '';
public $channel;
public $name;
public $state;
protected $workerConfigType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig::class;
protected $workerConfigDataType = '';
public $workerCount;
/**
* @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale
*/
public function setAutoscale(GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale $autoscale)
{
$this->autoscale = $autoscale;
}
/**
* @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale
*/
public function getAutoscale()
{
return $this->autoscale;
}
public function setChannel($channel)
{
$this->channel = $channel;
}
public function getChannel()
{
return $this->channel;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setState($state)
{
$this->state = $state;
}
public function getState()
{
return $this->state;
}
/**
* @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig
*/
public function setWorkerConfig(GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig $workerConfig)
{
$this->workerConfig = $workerConfig;
}
/**
* @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig
*/
public function getWorkerConfig()
{
return $this->workerConfig;
}
public function setWorkerCount($workerCount)
{
$this->workerCount = $workerCount;
}
public function getWorkerCount()
{
return $this->workerCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemoteworkersV1test2AdminTemp extends \Google\Model
{
public $arg;
public $command;
public function setArg($arg)
{
$this->arg = $arg;
}
public function getArg()
{
return $this->arg;
}
public function setCommand($command)
{
$this->command = $command;
}
public function getCommand()
{
return $this->command;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemoteworkersV1test2AdminTemp::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2AdminTemp');

View File

@@ -0,0 +1,51 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemoteworkersV1test2Blob extends \Google\Model
{
public $contents;
protected $digestType = GoogleDevtoolsRemoteworkersV1test2Digest::class;
protected $digestDataType = '';
public function setContents($contents)
{
$this->contents = $contents;
}
public function getContents()
{
return $this->contents;
}
/**
* @param GoogleDevtoolsRemoteworkersV1test2Digest
*/
public function setDigest(GoogleDevtoolsRemoteworkersV1test2Digest $digest)
{
$this->digest = $digest;
}
/**
* @return GoogleDevtoolsRemoteworkersV1test2Digest
*/
public function getDigest()
{
return $this->digest;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemoteworkersV1test2Blob::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2Blob');

View File

@@ -0,0 +1,51 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemoteworkersV1test2CommandOutputs extends \Google\Model
{
public $exitCode;
protected $outputsType = GoogleDevtoolsRemoteworkersV1test2Digest::class;
protected $outputsDataType = '';
public function setExitCode($exitCode)
{
$this->exitCode = $exitCode;
}
public function getExitCode()
{
return $this->exitCode;
}
/**
* @param GoogleDevtoolsRemoteworkersV1test2Digest
*/
public function setOutputs(GoogleDevtoolsRemoteworkersV1test2Digest $outputs)
{
$this->outputs = $outputs;
}
/**
* @return GoogleDevtoolsRemoteworkersV1test2Digest
*/
public function getOutputs()
{
return $this->outputs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemoteworkersV1test2CommandOutputs::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandOutputs');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemoteworkersV1test2CommandOverhead extends \Google\Model
{
public $duration;
public $overhead;
public function setDuration($duration)
{
$this->duration = $duration;
}
public function getDuration()
{
return $this->duration;
}
public function setOverhead($overhead)
{
$this->overhead = $overhead;
}
public function getOverhead()
{
return $this->overhead;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemoteworkersV1test2CommandOverhead::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandOverhead');

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemoteworkersV1test2CommandResult extends \Google\Collection
{
protected $collection_key = 'metadata';
public $duration;
public $exitCode;
public $metadata;
protected $outputsType = GoogleDevtoolsRemoteworkersV1test2Digest::class;
protected $outputsDataType = '';
public $overhead;
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
public function setDuration($duration)
{
$this->duration = $duration;
}
public function getDuration()
{
return $this->duration;
}
public function setExitCode($exitCode)
{
$this->exitCode = $exitCode;
}
public function getExitCode()
{
return $this->exitCode;
}
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
public function getMetadata()
{
return $this->metadata;
}
/**
* @param GoogleDevtoolsRemoteworkersV1test2Digest
*/
public function setOutputs(GoogleDevtoolsRemoteworkersV1test2Digest $outputs)
{
$this->outputs = $outputs;
}
/**
* @return GoogleDevtoolsRemoteworkersV1test2Digest
*/
public function getOutputs()
{
return $this->outputs;
}
public function setOverhead($overhead)
{
$this->overhead = $overhead;
}
public function getOverhead()
{
return $this->overhead;
}
/**
* @param GoogleRpcStatus
*/
public function setStatus(GoogleRpcStatus $status)
{
$this->status = $status;
}
/**
* @return GoogleRpcStatus
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemoteworkersV1test2CommandResult::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandResult');

View File

@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemoteworkersV1test2CommandTask extends \Google\Model
{
protected $expectedOutputsType = GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs::class;
protected $expectedOutputsDataType = '';
protected $inputsType = GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs::class;
protected $inputsDataType = '';
protected $timeoutsType = GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts::class;
protected $timeoutsDataType = '';
/**
* @param GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs
*/
public function setExpectedOutputs(GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs $expectedOutputs)
{
$this->expectedOutputs = $expectedOutputs;
}
/**
* @return GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs
*/
public function getExpectedOutputs()
{
return $this->expectedOutputs;
}
/**
* @param GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs
*/
public function setInputs(GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs $inputs)
{
$this->inputs = $inputs;
}
/**
* @return GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs
*/
public function getInputs()
{
return $this->inputs;
}
/**
* @param GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts
*/
public function setTimeouts(GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts $timeouts)
{
$this->timeouts = $timeouts;
}
/**
* @return GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts
*/
public function getTimeouts()
{
return $this->timeouts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemoteworkersV1test2CommandTask::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandTask');

View File

@@ -0,0 +1,93 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs extends \Google\Collection
{
protected $collection_key = 'inlineBlobs';
public $arguments;
protected $environmentVariablesType = GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable::class;
protected $environmentVariablesDataType = 'array';
protected $filesType = GoogleDevtoolsRemoteworkersV1test2Digest::class;
protected $filesDataType = 'array';
protected $inlineBlobsType = GoogleDevtoolsRemoteworkersV1test2Blob::class;
protected $inlineBlobsDataType = 'array';
public $workingDirectory;
public function setArguments($arguments)
{
$this->arguments = $arguments;
}
public function getArguments()
{
return $this->arguments;
}
/**
* @param GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable[]
*/
public function setEnvironmentVariables($environmentVariables)
{
$this->environmentVariables = $environmentVariables;
}
/**
* @return GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable[]
*/
public function getEnvironmentVariables()
{
return $this->environmentVariables;
}
/**
* @param GoogleDevtoolsRemoteworkersV1test2Digest[]
*/
public function setFiles($files)
{
$this->files = $files;
}
/**
* @return GoogleDevtoolsRemoteworkersV1test2Digest[]
*/
public function getFiles()
{
return $this->files;
}
/**
* @param GoogleDevtoolsRemoteworkersV1test2Blob[]
*/
public function setInlineBlobs($inlineBlobs)
{
$this->inlineBlobs = $inlineBlobs;
}
/**
* @return GoogleDevtoolsRemoteworkersV1test2Blob[]
*/
public function getInlineBlobs()
{
return $this->inlineBlobs;
}
public function setWorkingDirectory($workingDirectory)
{
$this->workingDirectory = $workingDirectory;
}
public function getWorkingDirectory()
{
return $this->workingDirectory;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable extends \Google\Model
{
public $name;
public $value;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable');

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs extends \Google\Collection
{
protected $collection_key = 'files';
public $directories;
public $files;
public $stderrDestination;
public $stdoutDestination;
public function setDirectories($directories)
{
$this->directories = $directories;
}
public function getDirectories()
{
return $this->directories;
}
public function setFiles($files)
{
$this->files = $files;
}
public function getFiles()
{
return $this->files;
}
public function setStderrDestination($stderrDestination)
{
$this->stderrDestination = $stderrDestination;
}
public function getStderrDestination()
{
return $this->stderrDestination;
}
public function setStdoutDestination($stdoutDestination)
{
$this->stdoutDestination = $stdoutDestination;
}
public function getStdoutDestination()
{
return $this->stdoutDestination;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs');

View File

@@ -0,0 +1,53 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts extends \Google\Model
{
public $execution;
public $idle;
public $shutdown;
public function setExecution($execution)
{
$this->execution = $execution;
}
public function getExecution()
{
return $this->execution;
}
public function setIdle($idle)
{
$this->idle = $idle;
}
public function getIdle()
{
return $this->idle;
}
public function setShutdown($shutdown)
{
$this->shutdown = $shutdown;
}
public function getShutdown()
{
return $this->shutdown;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemoteworkersV1test2Digest extends \Google\Model
{
public $hash;
public $sizeBytes;
public function setHash($hash)
{
$this->hash = $hash;
}
public function getHash()
{
return $this->hash;
}
public function setSizeBytes($sizeBytes)
{
$this->sizeBytes = $sizeBytes;
}
public function getSizeBytes()
{
return $this->sizeBytes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemoteworkersV1test2Digest::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2Digest');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemoteworkersV1test2Directory extends \Google\Collection
{
protected $collection_key = 'files';
protected $directoriesType = GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata::class;
protected $directoriesDataType = 'array';
protected $filesType = GoogleDevtoolsRemoteworkersV1test2FileMetadata::class;
protected $filesDataType = 'array';
/**
* @param GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata[]
*/
public function setDirectories($directories)
{
$this->directories = $directories;
}
/**
* @return GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata[]
*/
public function getDirectories()
{
return $this->directories;
}
/**
* @param GoogleDevtoolsRemoteworkersV1test2FileMetadata[]
*/
public function setFiles($files)
{
$this->files = $files;
}
/**
* @return GoogleDevtoolsRemoteworkersV1test2FileMetadata[]
*/
public function getFiles()
{
return $this->files;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemoteworkersV1test2Directory::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2Directory');

View File

@@ -0,0 +1,51 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata extends \Google\Model
{
protected $digestType = GoogleDevtoolsRemoteworkersV1test2Digest::class;
protected $digestDataType = '';
public $path;
/**
* @param GoogleDevtoolsRemoteworkersV1test2Digest
*/
public function setDigest(GoogleDevtoolsRemoteworkersV1test2Digest $digest)
{
$this->digest = $digest;
}
/**
* @return GoogleDevtoolsRemoteworkersV1test2Digest
*/
public function getDigest()
{
return $this->digest;
}
public function setPath($path)
{
$this->path = $path;
}
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata');

View File

@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleDevtoolsRemoteworkersV1test2FileMetadata extends \Google\Model
{
public $contents;
protected $digestType = GoogleDevtoolsRemoteworkersV1test2Digest::class;
protected $digestDataType = '';
public $isExecutable;
public $path;
public function setContents($contents)
{
$this->contents = $contents;
}
public function getContents()
{
return $this->contents;
}
/**
* @param GoogleDevtoolsRemoteworkersV1test2Digest
*/
public function setDigest(GoogleDevtoolsRemoteworkersV1test2Digest $digest)
{
$this->digest = $digest;
}
/**
* @return GoogleDevtoolsRemoteworkersV1test2Digest
*/
public function getDigest()
{
return $this->digest;
}
public function setIsExecutable($isExecutable)
{
$this->isExecutable = $isExecutable;
}
public function getIsExecutable()
{
return $this->isExecutable;
}
public function setPath($path)
{
$this->path = $path;
}
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleDevtoolsRemoteworkersV1test2FileMetadata::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2FileMetadata');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleLongrunningOperation extends \Google\Model
{
public $done;
protected $errorType = GoogleRpcStatus::class;
protected $errorDataType = '';
public $metadata;
public $name;
public $response;
public function setDone($done)
{
$this->done = $done;
}
public function getDone()
{
return $this->done;
}
/**
* @param GoogleRpcStatus
*/
public function setError(GoogleRpcStatus $error)
{
$this->error = $error;
}
/**
* @return GoogleRpcStatus
*/
public function getError()
{
return $this->error;
}
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
public function getMetadata()
{
return $this->metadata;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setResponse($response)
{
$this->response = $response;
}
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleLongrunningOperation::class, 'Google_Service_RemoteBuildExecution_GoogleLongrunningOperation');

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution;
class GoogleRpcStatus extends \Google\Collection
{
protected $collection_key = 'details';
public $code;
public $details;
public $message;
public function setCode($code)
{
$this->code = $code;
}
public function getCode()
{
return $this->code;
}
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setMessage($message)
{
$this->message = $message;
}
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleRpcStatus::class, 'Google_Service_RemoteBuildExecution_GoogleRpcStatus');

View File

@@ -0,0 +1,107 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution\Resource;
use Google\Service\RemoteBuildExecution\BuildBazelRemoteExecutionV2ActionResult;
/**
* The "actionResults" collection of methods.
* Typical usage is:
* <code>
* $remotebuildexecutionService = new Google\Service\RemoteBuildExecution(...);
* $actionResults = $remotebuildexecutionService->actionResults;
* </code>
*/
class ActionResults extends \Google\Service\Resource
{
/**
* Retrieve a cached execution result. Implementations SHOULD ensure that any
* blobs referenced from the ContentAddressableStorage are available at the time
* of returning the ActionResult and will be for some period of time afterwards.
* The lifetimes of the referenced blobs SHOULD be increased if necessary and
* applicable. Errors: * `NOT_FOUND`: The requested `ActionResult` is not in the
* cache. (actionResults.get)
*
* @param string $instanceName The instance of the execution system to operate
* against. A server may support multiple instances of the execution system
* (with their own workers, storage, caches, etc.). The server MAY require use
* of this field to select between them in an implementation-defined fashion,
* otherwise it can be omitted.
* @param string $hash The hash. In the case of SHA-256, it will always be a
* lowercase hex string exactly 64 characters long.
* @param string $sizeBytes The size of the blob, in bytes.
* @param array $optParams Optional parameters.
*
* @opt_param string inlineOutputFiles A hint to the server to inline the
* contents of the listed output files. Each path needs to exactly match one
* file path in either `output_paths` or `output_files` (DEPRECATED since v2.1)
* in the Command message.
* @opt_param bool inlineStderr A hint to the server to request inlining stderr
* in the ActionResult message.
* @opt_param bool inlineStdout A hint to the server to request inlining stdout
* in the ActionResult message.
* @return BuildBazelRemoteExecutionV2ActionResult
*/
public function get($instanceName, $hash, $sizeBytes, $optParams = [])
{
$params = ['instanceName' => $instanceName, 'hash' => $hash, 'sizeBytes' => $sizeBytes];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], BuildBazelRemoteExecutionV2ActionResult::class);
}
/**
* Upload a new execution result. In order to allow the server to perform access
* control based on the type of action, and to assist with client debugging, the
* client MUST first upload the Action that produced the result, along with its
* Command, into the `ContentAddressableStorage`. Server implementations MAY
* modify the `UpdateActionResultRequest.action_result` and return an equivalent
* value. Errors: * `INVALID_ARGUMENT`: One or more arguments are invalid. *
* `FAILED_PRECONDITION`: One or more errors occurred in updating the action
* result, such as a missing command or action. * `RESOURCE_EXHAUSTED`: There is
* insufficient storage space to add the entry to the cache.
* (actionResults.update)
*
* @param string $instanceName The instance of the execution system to operate
* against. A server may support multiple instances of the execution system
* (with their own workers, storage, caches, etc.). The server MAY require use
* of this field to select between them in an implementation-defined fashion,
* otherwise it can be omitted.
* @param string $hash The hash. In the case of SHA-256, it will always be a
* lowercase hex string exactly 64 characters long.
* @param string $sizeBytes The size of the blob, in bytes.
* @param BuildBazelRemoteExecutionV2ActionResult $postBody
* @param array $optParams Optional parameters.
*
* @opt_param int resultsCachePolicy.priority The priority (relative importance)
* of this content in the overall cache. Generally, a lower value means a longer
* retention time or other advantage, but the interpretation of a given value is
* server-dependent. A priority of 0 means a *default* value, decided by the
* server. The particular semantics of this field is up to the server. In
* particular, every server will have their own supported range of priorities,
* and will decide how these map into retention/eviction policy.
* @return BuildBazelRemoteExecutionV2ActionResult
*/
public function update($instanceName, $hash, $sizeBytes, BuildBazelRemoteExecutionV2ActionResult $postBody, $optParams = [])
{
$params = ['instanceName' => $instanceName, 'hash' => $hash, 'sizeBytes' => $sizeBytes, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], BuildBazelRemoteExecutionV2ActionResult::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ActionResults::class, 'Google_Service_RemoteBuildExecution_Resource_ActionResults');

View File

@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution\Resource;
use Google\Service\RemoteBuildExecution\BuildBazelRemoteExecutionV2ExecuteRequest;
use Google\Service\RemoteBuildExecution\GoogleLongrunningOperation;
/**
* The "actions" collection of methods.
* Typical usage is:
* <code>
* $remotebuildexecutionService = new Google\Service\RemoteBuildExecution(...);
* $actions = $remotebuildexecutionService->actions;
* </code>
*/
class Actions extends \Google\Service\Resource
{
/**
* Execute an action remotely. In order to execute an action, the client must
* first upload all of the inputs, the Command to run, and the Action into the
* ContentAddressableStorage. It then calls `Execute` with an `action_digest`
* referring to them. The server will run the action and eventually return the
* result. The input `Action`'s fields MUST meet the various canonicalization
* requirements specified in the documentation for their types so that it has
* the same digest as other logically equivalent `Action`s. The server MAY
* enforce the requirements and return errors if a non-canonical input is
* received. It MAY also proceed without verifying some or all of the
* requirements, such as for performance reasons. If the server does not verify
* the requirement, then it will treat the `Action` as distinct from another
* logically equivalent action if they hash differently. Returns a stream of
* google.longrunning.Operation messages describing the resulting execution,
* with eventual `response` ExecuteResponse. The `metadata` on the operation is
* of type ExecuteOperationMetadata. If the client remains connected after the
* first response is returned after the server, then updates are streamed as if
* the client had called WaitExecution until the execution completes or the
* request reaches an error. The operation can also be queried using Operations
* API. The server NEED NOT implement other methods or functionality of the
* Operations API. Errors discovered during creation of the `Operation` will be
* reported as gRPC Status errors, while errors that occurred while running the
* action will be reported in the `status` field of the `ExecuteResponse`. The
* server MUST NOT set the `error` field of the `Operation` proto. The possible
* errors include: * `INVALID_ARGUMENT`: One or more arguments are invalid. *
* `FAILED_PRECONDITION`: One or more errors occurred in setting up the action
* requested, such as a missing input or command or no worker being available.
* The client may be able to fix the errors and retry. * `RESOURCE_EXHAUSTED`:
* There is insufficient quota of some resource to run the action. *
* `UNAVAILABLE`: Due to a transient condition, such as all workers being
* occupied (and the server does not support a queue), the action could not be
* started. The client should retry. * `INTERNAL`: An internal error occurred in
* the execution engine or the worker. * `DEADLINE_EXCEEDED`: The execution
* timed out. * `CANCELLED`: The operation was cancelled by the client. This
* status is only possible if the server implements the Operations API
* CancelOperation method, and it was called for the current execution. In the
* case of a missing input or command, the server SHOULD additionally send a
* PreconditionFailure error detail where, for each requested blob not present
* in the CAS, there is a `Violation` with a `type` of `MISSING` and a `subject`
* of `"blobs/{hash}/{size}"` indicating the digest of the missing blob. The
* server does not need to guarantee that a call to this method leads to at most
* one execution of the action. The server MAY execute the action multiple
* times, potentially in parallel. These redundant executions MAY continue to
* run, even if the operation is completed. (actions.execute)
*
* @param string $instanceName The instance of the execution system to operate
* against. A server may support multiple instances of the execution system
* (with their own workers, storage, caches, etc.). The server MAY require use
* of this field to select between them in an implementation-defined fashion,
* otherwise it can be omitted.
* @param BuildBazelRemoteExecutionV2ExecuteRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleLongrunningOperation
*/
public function execute($instanceName, BuildBazelRemoteExecutionV2ExecuteRequest $postBody, $optParams = [])
{
$params = ['instanceName' => $instanceName, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('execute', [$params], GoogleLongrunningOperation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Actions::class, 'Google_Service_RemoteBuildExecution_Resource_Actions');

View File

@@ -0,0 +1,158 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution\Resource;
use Google\Service\RemoteBuildExecution\BuildBazelRemoteExecutionV2BatchReadBlobsRequest;
use Google\Service\RemoteBuildExecution\BuildBazelRemoteExecutionV2BatchReadBlobsResponse;
use Google\Service\RemoteBuildExecution\BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest;
use Google\Service\RemoteBuildExecution\BuildBazelRemoteExecutionV2BatchUpdateBlobsResponse;
use Google\Service\RemoteBuildExecution\BuildBazelRemoteExecutionV2FindMissingBlobsRequest;
use Google\Service\RemoteBuildExecution\BuildBazelRemoteExecutionV2FindMissingBlobsResponse;
use Google\Service\RemoteBuildExecution\BuildBazelRemoteExecutionV2GetTreeResponse;
/**
* The "blobs" collection of methods.
* Typical usage is:
* <code>
* $remotebuildexecutionService = new Google\Service\RemoteBuildExecution(...);
* $blobs = $remotebuildexecutionService->blobs;
* </code>
*/
class Blobs extends \Google\Service\Resource
{
/**
* Download many blobs at once. The server may enforce a limit of the combined
* total size of blobs to be downloaded using this API. This limit may be
* obtained using the Capabilities API. Requests exceeding the limit should
* either be split into smaller chunks or downloaded using the ByteStream API,
* as appropriate. This request is equivalent to calling a Bytestream `Read`
* request on each individual blob, in parallel. The requests may succeed or
* fail independently. Errors: * `INVALID_ARGUMENT`: The client attempted to
* read more than the server supported limit. Every error on individual read
* will be returned in the corresponding digest status. (blobs.batchRead)
*
* @param string $instanceName The instance of the execution system to operate
* against. A server may support multiple instances of the execution system
* (with their own workers, storage, caches, etc.). The server MAY require use
* of this field to select between them in an implementation-defined fashion,
* otherwise it can be omitted.
* @param BuildBazelRemoteExecutionV2BatchReadBlobsRequest $postBody
* @param array $optParams Optional parameters.
* @return BuildBazelRemoteExecutionV2BatchReadBlobsResponse
*/
public function batchRead($instanceName, BuildBazelRemoteExecutionV2BatchReadBlobsRequest $postBody, $optParams = [])
{
$params = ['instanceName' => $instanceName, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchRead', [$params], BuildBazelRemoteExecutionV2BatchReadBlobsResponse::class);
}
/**
* Upload many blobs at once. The server may enforce a limit of the combined
* total size of blobs to be uploaded using this API. This limit may be obtained
* using the Capabilities API. Requests exceeding the limit should either be
* split into smaller chunks or uploaded using the ByteStream API, as
* appropriate. This request is equivalent to calling a Bytestream `Write`
* request on each individual blob, in parallel. The requests may succeed or
* fail independently. Errors: * `INVALID_ARGUMENT`: The client attempted to
* upload more than the server supported limit. Individual requests may return
* the following errors, additionally: * `RESOURCE_EXHAUSTED`: There is
* insufficient disk quota to store the blob. * `INVALID_ARGUMENT`: The Digest
* does not match the provided data. (blobs.batchUpdate)
*
* @param string $instanceName The instance of the execution system to operate
* against. A server may support multiple instances of the execution system
* (with their own workers, storage, caches, etc.). The server MAY require use
* of this field to select between them in an implementation-defined fashion,
* otherwise it can be omitted.
* @param BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest $postBody
* @param array $optParams Optional parameters.
* @return BuildBazelRemoteExecutionV2BatchUpdateBlobsResponse
*/
public function batchUpdate($instanceName, BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest $postBody, $optParams = [])
{
$params = ['instanceName' => $instanceName, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchUpdate', [$params], BuildBazelRemoteExecutionV2BatchUpdateBlobsResponse::class);
}
/**
* Determine if blobs are present in the CAS. Clients can use this API before
* uploading blobs to determine which ones are already present in the CAS and do
* not need to be uploaded again. Servers SHOULD increase the lifetimes of the
* referenced blobs if necessary and applicable. There are no method-specific
* errors. (blobs.findMissing)
*
* @param string $instanceName The instance of the execution system to operate
* against. A server may support multiple instances of the execution system
* (with their own workers, storage, caches, etc.). The server MAY require use
* of this field to select between them in an implementation-defined fashion,
* otherwise it can be omitted.
* @param BuildBazelRemoteExecutionV2FindMissingBlobsRequest $postBody
* @param array $optParams Optional parameters.
* @return BuildBazelRemoteExecutionV2FindMissingBlobsResponse
*/
public function findMissing($instanceName, BuildBazelRemoteExecutionV2FindMissingBlobsRequest $postBody, $optParams = [])
{
$params = ['instanceName' => $instanceName, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('findMissing', [$params], BuildBazelRemoteExecutionV2FindMissingBlobsResponse::class);
}
/**
* Fetch the entire directory tree rooted at a node. This request must be
* targeted at a Directory stored in the ContentAddressableStorage (CAS). The
* server will enumerate the `Directory` tree recursively and return every node
* descended from the root. The GetTreeRequest.page_token parameter can be used
* to skip ahead in the stream (e.g. when retrying a partially completed and
* aborted request), by setting it to a value taken from
* GetTreeResponse.next_page_token of the last successfully processed
* GetTreeResponse). The exact traversal order is unspecified and, unless
* retrieving subsequent pages from an earlier request, is not guaranteed to be
* stable across multiple invocations of `GetTree`. If part of the tree is
* missing from the CAS, the server will return the portion present and omit the
* rest. Errors: * `NOT_FOUND`: The requested tree root is not present in the
* CAS. (blobs.getTree)
*
* @param string $instanceName The instance of the execution system to operate
* against. A server may support multiple instances of the execution system
* (with their own workers, storage, caches, etc.). The server MAY require use
* of this field to select between them in an implementation-defined fashion,
* otherwise it can be omitted.
* @param string $hash The hash. In the case of SHA-256, it will always be a
* lowercase hex string exactly 64 characters long.
* @param string $sizeBytes The size of the blob, in bytes.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize A maximum page size to request. If present, the
* server will request no more than this many items. Regardless of whether a
* page size is specified, the server may place its own limit on the number of
* items to be returned and require the client to retrieve more items using a
* subsequent request.
* @opt_param string pageToken A page token, which must be a value received in a
* previous GetTreeResponse. If present, the server will use that token as an
* offset, returning only that page and the ones that succeed it.
* @return BuildBazelRemoteExecutionV2GetTreeResponse
*/
public function getTree($instanceName, $hash, $sizeBytes, $optParams = [])
{
$params = ['instanceName' => $instanceName, 'hash' => $hash, 'sizeBytes' => $sizeBytes];
$params = array_merge($params, $optParams);
return $this->call('getTree', [$params], BuildBazelRemoteExecutionV2GetTreeResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Blobs::class, 'Google_Service_RemoteBuildExecution_Resource_Blobs');

View File

@@ -0,0 +1,56 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution\Resource;
use Google\Service\RemoteBuildExecution\BuildBazelRemoteExecutionV2WaitExecutionRequest;
use Google\Service\RemoteBuildExecution\GoogleLongrunningOperation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $remotebuildexecutionService = new Google\Service\RemoteBuildExecution(...);
* $operations = $remotebuildexecutionService->operations;
* </code>
*/
class Operations extends \Google\Service\Resource
{
/**
* Wait for an execution operation to complete. When the client initially makes
* the request, the server immediately responds with the current status of the
* execution. The server will leave the request stream open until the operation
* completes, and then respond with the completed operation. The server MAY
* choose to stream additional updates as execution progresses, such as to
* provide an update as to the state of the execution.
* (operations.waitExecution)
*
* @param string $name The name of the Operation returned by Execute.
* @param BuildBazelRemoteExecutionV2WaitExecutionRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleLongrunningOperation
*/
public function waitExecution($name, BuildBazelRemoteExecutionV2WaitExecutionRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('waitExecution', [$params], GoogleLongrunningOperation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operations::class, 'Google_Service_RemoteBuildExecution_Resource_Operations');

View File

@@ -0,0 +1,57 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RemoteBuildExecution\Resource;
use Google\Service\RemoteBuildExecution\BuildBazelRemoteExecutionV2ServerCapabilities;
/**
* The "v2" collection of methods.
* Typical usage is:
* <code>
* $remotebuildexecutionService = new Google\Service\RemoteBuildExecution(...);
* $v2 = $remotebuildexecutionService->v2;
* </code>
*/
class V2 extends \Google\Service\Resource
{
/**
* GetCapabilities returns the server capabilities configuration of the remote
* endpoint. Only the capabilities of the services supported by the endpoint
* will be returned: * Execution + CAS + Action Cache endpoints should return
* both CacheCapabilities and ExecutionCapabilities. * Execution only endpoints
* should return ExecutionCapabilities. * CAS + Action Cache only endpoints
* should return CacheCapabilities. (v2.getCapabilities)
*
* @param string $instanceName The instance of the execution system to operate
* against. A server may support multiple instances of the execution system
* (with their own workers, storage, caches, etc.). The server MAY require use
* of this field to select between them in an implementation-defined fashion,
* otherwise it can be omitted.
* @param array $optParams Optional parameters.
* @return BuildBazelRemoteExecutionV2ServerCapabilities
*/
public function getCapabilities($instanceName, $optParams = [])
{
$params = ['instanceName' => $instanceName];
$params = array_merge($params, $optParams);
return $this->call('getCapabilities', [$params], BuildBazelRemoteExecutionV2ServerCapabilities::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(V2::class, 'Google_Service_RemoteBuildExecution_Resource_V2');