google.api.CommonLanguageSettings
*/
class CommonLanguageSettings extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
{
/**
* Link to automatically generated reference documentation. Example:
* https://cloud.google.com/nodejs/docs/reference/asset/latest
*
* Generated from protobuf field string reference_docs_uri = 1 [deprecated = true];
* @deprecated
*/
protected $reference_docs_uri = '';
/**
* The destination where API teams want this client library to be published.
*
* Generated from protobuf field repeated .google.api.ClientLibraryDestination destinations = 2;
*/
private $destinations;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $reference_docs_uri
* Link to automatically generated reference documentation. Example:
* https://cloud.google.com/nodejs/docs/reference/asset/latest
* @type array|\Google\Protobuf\Internal\RepeatedField $destinations
* The destination where API teams want this client library to be published.
* }
*/
public function __construct($data = NULL)
{
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Client::initOnce();
parent::__construct($data);
}
/**
* Link to automatically generated reference documentation. Example:
* https://cloud.google.com/nodejs/docs/reference/asset/latest
*
* Generated from protobuf field string reference_docs_uri = 1 [deprecated = true];
* @return string
* @deprecated
*/
public function getReferenceDocsUri()
{
@\trigger_error('reference_docs_uri is deprecated.', \E_USER_DEPRECATED);
return $this->reference_docs_uri;
}
/**
* Link to automatically generated reference documentation. Example:
* https://cloud.google.com/nodejs/docs/reference/asset/latest
*
* Generated from protobuf field string reference_docs_uri = 1 [deprecated = true];
* @param string $var
* @return $this
* @deprecated
*/
public function setReferenceDocsUri($var)
{
@\trigger_error('reference_docs_uri is deprecated.', \E_USER_DEPRECATED);
GPBUtil::checkString($var, True);
$this->reference_docs_uri = $var;
return $this;
}
/**
* The destination where API teams want this client library to be published.
*
* Generated from protobuf field repeated .google.api.ClientLibraryDestination destinations = 2;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getDestinations()
{
return $this->destinations;
}
/**
* The destination where API teams want this client library to be published.
*
* Generated from protobuf field repeated .google.api.ClientLibraryDestination destinations = 2;
* @param array|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setDestinations($var)
{
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::ENUM, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\ClientLibraryDestination::class);
$this->destinations = $arr;
return $this;
}
}