google.api.Service */ class Service extends \Google\Protobuf\Internal\Message { /** * The service name, which is a DNS-like logical identifier for the * service, such as `calendar.googleapis.com`. The service name * typically goes through DNS verification to make sure the owner * of the service also owns the DNS name. * * Generated from protobuf field string name = 1; */ protected $name = ''; /** * The product title for this service, it is the name displayed in Google * Cloud Console. * * Generated from protobuf field string title = 2; */ protected $title = ''; /** * The Google project that owns this service. * * Generated from protobuf field string producer_project_id = 22; */ protected $producer_project_id = ''; /** * A unique ID for a specific instance of this message, typically assigned * by the client for tracking purpose. Must be no longer than 63 characters * and only lower case letters, digits, '.', '_' and '-' are allowed. If * empty, the server may choose to generate one instead. * * Generated from protobuf field string id = 33; */ protected $id = ''; /** * A list of API interfaces exported by this service. Only the `name` field * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by * the configuration author, as the remaining fields will be derived from the * IDL during the normalization process. It is an error to specify an API * interface here which cannot be resolved against the associated IDL files. * * Generated from protobuf field repeated .google.protobuf.Api apis = 3; */ private $apis; /** * A list of all proto message types included in this API service. * Types referenced directly or indirectly by the `apis` are automatically * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * types: * - name: google.protobuf.Int32 * * Generated from protobuf field repeated .google.protobuf.Type types = 4; */ private $types; /** * A list of all enum types included in this API service. Enums referenced * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * enums: * - name: google.someapi.v1.SomeEnum * * Generated from protobuf field repeated .google.protobuf.Enum enums = 5; */ private $enums; /** * Additional API documentation. * * Generated from protobuf field .google.api.Documentation documentation = 6; */ protected $documentation = null; /** * API backend configuration. * * Generated from protobuf field .google.api.Backend backend = 8; */ protected $backend = null; /** * HTTP configuration. * * Generated from protobuf field .google.api.Http http = 9; */ protected $http = null; /** * Quota configuration. * * Generated from protobuf field .google.api.Quota quota = 10; */ protected $quota = null; /** * Auth configuration. * * Generated from protobuf field .google.api.Authentication authentication = 11; */ protected $authentication = null; /** * Context configuration. * * Generated from protobuf field .google.api.Context context = 12; */ protected $context = null; /** * Configuration controlling usage of this service. * * Generated from protobuf field .google.api.Usage usage = 15; */ protected $usage = null; /** * Configuration for network endpoints. If this is empty, then an endpoint * with the same name as the service is automatically generated to service all * defined APIs. * * Generated from protobuf field repeated .google.api.Endpoint endpoints = 18; */ private $endpoints; /** * Configuration for the service control plane. * * Generated from protobuf field .google.api.Control control = 21; */ protected $control = null; /** * Defines the logs used by this service. * * Generated from protobuf field repeated .google.api.LogDescriptor logs = 23; */ private $logs; /** * Defines the metrics used by this service. * * Generated from protobuf field repeated .google.api.MetricDescriptor metrics = 24; */ private $metrics; /** * Defines the monitored resources used by this service. This is required * by the `Service.monitoring` and `Service.logging` configurations. * * Generated from protobuf field repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; */ private $monitored_resources; /** * Billing configuration. * * Generated from protobuf field .google.api.Billing billing = 26; */ protected $billing = null; /** * Logging configuration. * * Generated from protobuf field .google.api.Logging logging = 27; */ protected $logging = null; /** * Monitoring configuration. * * Generated from protobuf field .google.api.Monitoring monitoring = 28; */ protected $monitoring = null; /** * System parameter configuration. * * Generated from protobuf field .google.api.SystemParameters system_parameters = 29; */ protected $system_parameters = null; /** * Output only. The source information for this configuration if available. * * Generated from protobuf field .google.api.SourceInfo source_info = 37; */ protected $source_info = null; /** * Settings for [Google Cloud Client * libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) * generated from APIs defined as protocol buffers. * * Generated from protobuf field .google.api.Publishing publishing = 45; */ protected $publishing = null; /** * Obsolete. Do not use. * This field has no semantic meaning. The service config compiler always * sets this field to `3`. * * Generated from protobuf field .google.protobuf.UInt32Value config_version = 20; */ protected $config_version = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $name * The service name, which is a DNS-like logical identifier for the * service, such as `calendar.googleapis.com`. The service name * typically goes through DNS verification to make sure the owner * of the service also owns the DNS name. * @type string $title * The product title for this service, it is the name displayed in Google * Cloud Console. * @type string $producer_project_id * The Google project that owns this service. * @type string $id * A unique ID for a specific instance of this message, typically assigned * by the client for tracking purpose. Must be no longer than 63 characters * and only lower case letters, digits, '.', '_' and '-' are allowed. If * empty, the server may choose to generate one instead. * @type \Google\Protobuf\Api[] $apis * A list of API interfaces exported by this service. Only the `name` field * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by * the configuration author, as the remaining fields will be derived from the * IDL during the normalization process. It is an error to specify an API * interface here which cannot be resolved against the associated IDL files. * @type \Google\Protobuf\Type[] $types * A list of all proto message types included in this API service. * Types referenced directly or indirectly by the `apis` are automatically * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * types: * - name: google.protobuf.Int32 * @type \Google\Protobuf\Enum[] $enums * A list of all enum types included in this API service. Enums referenced * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * enums: * - name: google.someapi.v1.SomeEnum * @type \Google\Api\Documentation $documentation * Additional API documentation. * @type \Google\Api\Backend $backend * API backend configuration. * @type \Google\Api\Http $http * HTTP configuration. * @type \Google\Api\Quota $quota * Quota configuration. * @type \Google\Api\Authentication $authentication * Auth configuration. * @type \Google\Api\Context $context * Context configuration. * @type \Google\Api\Usage $usage * Configuration controlling usage of this service. * @type \Google\Api\Endpoint[] $endpoints * Configuration for network endpoints. If this is empty, then an endpoint * with the same name as the service is automatically generated to service all * defined APIs. * @type \Google\Api\Control $control * Configuration for the service control plane. * @type \Google\Api\LogDescriptor[] $logs * Defines the logs used by this service. * @type \Google\Api\MetricDescriptor[] $metrics * Defines the metrics used by this service. * @type \Google\Api\MonitoredResourceDescriptor[] $monitored_resources * Defines the monitored resources used by this service. This is required * by the `Service.monitoring` and `Service.logging` configurations. * @type \Google\Api\Billing $billing * Billing configuration. * @type \Google\Api\Logging $logging * Logging configuration. * @type \Google\Api\Monitoring $monitoring * Monitoring configuration. * @type \Google\Api\SystemParameters $system_parameters * System parameter configuration. * @type \Google\Api\SourceInfo $source_info * Output only. The source information for this configuration if available. * @type \Google\Api\Publishing $publishing * Settings for [Google Cloud Client * libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) * generated from APIs defined as protocol buffers. * @type \Google\Protobuf\UInt32Value $config_version * Obsolete. Do not use. * This field has no semantic meaning. The service config compiler always * sets this field to `3`. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Api\Service::initOnce(); parent::__construct($data); } /** * The service name, which is a DNS-like logical identifier for the * service, such as `calendar.googleapis.com`. The service name * typically goes through DNS verification to make sure the owner * of the service also owns the DNS name. * * Generated from protobuf field string name = 1; * @return string */ public function getName() { return $this->name; } /** * The service name, which is a DNS-like logical identifier for the * service, such as `calendar.googleapis.com`. The service name * typically goes through DNS verification to make sure the owner * of the service also owns the DNS name. * * Generated from protobuf field string name = 1; * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } /** * The product title for this service, it is the name displayed in Google * Cloud Console. * * Generated from protobuf field string title = 2; * @return string */ public function getTitle() { return $this->title; } /** * The product title for this service, it is the name displayed in Google * Cloud Console. * * Generated from protobuf field string title = 2; * @param string $var * @return $this */ public function setTitle($var) { GPBUtil::checkString($var, True); $this->title = $var; return $this; } /** * The Google project that owns this service. * * Generated from protobuf field string producer_project_id = 22; * @return string */ public function getProducerProjectId() { return $this->producer_project_id; } /** * The Google project that owns this service. * * Generated from protobuf field string producer_project_id = 22; * @param string $var * @return $this */ public function setProducerProjectId($var) { GPBUtil::checkString($var, True); $this->producer_project_id = $var; return $this; } /** * A unique ID for a specific instance of this message, typically assigned * by the client for tracking purpose. Must be no longer than 63 characters * and only lower case letters, digits, '.', '_' and '-' are allowed. If * empty, the server may choose to generate one instead. * * Generated from protobuf field string id = 33; * @return string */ public function getId() { return $this->id; } /** * A unique ID for a specific instance of this message, typically assigned * by the client for tracking purpose. Must be no longer than 63 characters * and only lower case letters, digits, '.', '_' and '-' are allowed. If * empty, the server may choose to generate one instead. * * Generated from protobuf field string id = 33; * @param string $var * @return $this */ public function setId($var) { GPBUtil::checkString($var, True); $this->id = $var; return $this; } /** * A list of API interfaces exported by this service. Only the `name` field * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by * the configuration author, as the remaining fields will be derived from the * IDL during the normalization process. It is an error to specify an API * interface here which cannot be resolved against the associated IDL files. * * Generated from protobuf field repeated .google.protobuf.Api apis = 3; * @return RepeatedField<\Google\Protobuf\Api> */ public function getApis() { return $this->apis; } /** * A list of API interfaces exported by this service. Only the `name` field * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by * the configuration author, as the remaining fields will be derived from the * IDL during the normalization process. It is an error to specify an API * interface here which cannot be resolved against the associated IDL files. * * Generated from protobuf field repeated .google.protobuf.Api apis = 3; * @param \Google\Protobuf\Api[] $var * @return $this */ public function setApis($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Api::class); $this->apis = $arr; return $this; } /** * A list of all proto message types included in this API service. * Types referenced directly or indirectly by the `apis` are automatically * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * types: * - name: google.protobuf.Int32 * * Generated from protobuf field repeated .google.protobuf.Type types = 4; * @return RepeatedField<\Google\Protobuf\Type> */ public function getTypes() { return $this->types; } /** * A list of all proto message types included in this API service. * Types referenced directly or indirectly by the `apis` are automatically * included. Messages which are not referenced but shall be included, such as * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * types: * - name: google.protobuf.Int32 * * Generated from protobuf field repeated .google.protobuf.Type types = 4; * @param \Google\Protobuf\Type[] $var * @return $this */ public function setTypes($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Type::class); $this->types = $arr; return $this; } /** * A list of all enum types included in this API service. Enums referenced * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * enums: * - name: google.someapi.v1.SomeEnum * * Generated from protobuf field repeated .google.protobuf.Enum enums = 5; * @return RepeatedField<\Google\Protobuf\Enum> */ public function getEnums() { return $this->enums; } /** * A list of all enum types included in this API service. Enums referenced * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * enums: * - name: google.someapi.v1.SomeEnum * * Generated from protobuf field repeated .google.protobuf.Enum enums = 5; * @param \Google\Protobuf\Enum[] $var * @return $this */ public function setEnums($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Enum::class); $this->enums = $arr; return $this; } /** * Additional API documentation. * * Generated from protobuf field .google.api.Documentation documentation = 6; * @return \Google\Api\Documentation|null */ public function getDocumentation() { return $this->documentation; } public function hasDocumentation() { return isset($this->documentation); } public function clearDocumentation() { unset($this->documentation); } /** * Additional API documentation. * * Generated from protobuf field .google.api.Documentation documentation = 6; * @param \Google\Api\Documentation $var * @return $this */ public function setDocumentation($var) { GPBUtil::checkMessage($var, \Google\Api\Documentation::class); $this->documentation = $var; return $this; } /** * API backend configuration. * * Generated from protobuf field .google.api.Backend backend = 8; * @return \Google\Api\Backend|null */ public function getBackend() { return $this->backend; } public function hasBackend() { return isset($this->backend); } public function clearBackend() { unset($this->backend); } /** * API backend configuration. * * Generated from protobuf field .google.api.Backend backend = 8; * @param \Google\Api\Backend $var * @return $this */ public function setBackend($var) { GPBUtil::checkMessage($var, \Google\Api\Backend::class); $this->backend = $var; return $this; } /** * HTTP configuration. * * Generated from protobuf field .google.api.Http http = 9; * @return \Google\Api\Http|null */ public function getHttp() { return $this->http; } public function hasHttp() { return isset($this->http); } public function clearHttp() { unset($this->http); } /** * HTTP configuration. * * Generated from protobuf field .google.api.Http http = 9; * @param \Google\Api\Http $var * @return $this */ public function setHttp($var) { GPBUtil::checkMessage($var, \Google\Api\Http::class); $this->http = $var; return $this; } /** * Quota configuration. * * Generated from protobuf field .google.api.Quota quota = 10; * @return \Google\Api\Quota|null */ public function getQuota() { return $this->quota; } public function hasQuota() { return isset($this->quota); } public function clearQuota() { unset($this->quota); } /** * Quota configuration. * * Generated from protobuf field .google.api.Quota quota = 10; * @param \Google\Api\Quota $var * @return $this */ public function setQuota($var) { GPBUtil::checkMessage($var, \Google\Api\Quota::class); $this->quota = $var; return $this; } /** * Auth configuration. * * Generated from protobuf field .google.api.Authentication authentication = 11; * @return \Google\Api\Authentication|null */ public function getAuthentication() { return $this->authentication; } public function hasAuthentication() { return isset($this->authentication); } public function clearAuthentication() { unset($this->authentication); } /** * Auth configuration. * * Generated from protobuf field .google.api.Authentication authentication = 11; * @param \Google\Api\Authentication $var * @return $this */ public function setAuthentication($var) { GPBUtil::checkMessage($var, \Google\Api\Authentication::class); $this->authentication = $var; return $this; } /** * Context configuration. * * Generated from protobuf field .google.api.Context context = 12; * @return \Google\Api\Context|null */ public function getContext() { return $this->context; } public function hasContext() { return isset($this->context); } public function clearContext() { unset($this->context); } /** * Context configuration. * * Generated from protobuf field .google.api.Context context = 12; * @param \Google\Api\Context $var * @return $this */ public function setContext($var) { GPBUtil::checkMessage($var, \Google\Api\Context::class); $this->context = $var; return $this; } /** * Configuration controlling usage of this service. * * Generated from protobuf field .google.api.Usage usage = 15; * @return \Google\Api\Usage|null */ public function getUsage() { return $this->usage; } public function hasUsage() { return isset($this->usage); } public function clearUsage() { unset($this->usage); } /** * Configuration controlling usage of this service. * * Generated from protobuf field .google.api.Usage usage = 15; * @param \Google\Api\Usage $var * @return $this */ public function setUsage($var) { GPBUtil::checkMessage($var, \Google\Api\Usage::class); $this->usage = $var; return $this; } /** * Configuration for network endpoints. If this is empty, then an endpoint * with the same name as the service is automatically generated to service all * defined APIs. * * Generated from protobuf field repeated .google.api.Endpoint endpoints = 18; * @return RepeatedField<\Google\Api\Endpoint> */ public function getEndpoints() { return $this->endpoints; } /** * Configuration for network endpoints. If this is empty, then an endpoint * with the same name as the service is automatically generated to service all * defined APIs. * * Generated from protobuf field repeated .google.api.Endpoint endpoints = 18; * @param \Google\Api\Endpoint[] $var * @return $this */ public function setEndpoints($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\Endpoint::class); $this->endpoints = $arr; return $this; } /** * Configuration for the service control plane. * * Generated from protobuf field .google.api.Control control = 21; * @return \Google\Api\Control|null */ public function getControl() { return $this->control; } public function hasControl() { return isset($this->control); } public function clearControl() { unset($this->control); } /** * Configuration for the service control plane. * * Generated from protobuf field .google.api.Control control = 21; * @param \Google\Api\Control $var * @return $this */ public function setControl($var) { GPBUtil::checkMessage($var, \Google\Api\Control::class); $this->control = $var; return $this; } /** * Defines the logs used by this service. * * Generated from protobuf field repeated .google.api.LogDescriptor logs = 23; * @return RepeatedField<\Google\Api\LogDescriptor> */ public function getLogs() { return $this->logs; } /** * Defines the logs used by this service. * * Generated from protobuf field repeated .google.api.LogDescriptor logs = 23; * @param \Google\Api\LogDescriptor[] $var * @return $this */ public function setLogs($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\LogDescriptor::class); $this->logs = $arr; return $this; } /** * Defines the metrics used by this service. * * Generated from protobuf field repeated .google.api.MetricDescriptor metrics = 24; * @return RepeatedField<\Google\Api\MetricDescriptor> */ public function getMetrics() { return $this->metrics; } /** * Defines the metrics used by this service. * * Generated from protobuf field repeated .google.api.MetricDescriptor metrics = 24; * @param \Google\Api\MetricDescriptor[] $var * @return $this */ public function setMetrics($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\MetricDescriptor::class); $this->metrics = $arr; return $this; } /** * Defines the monitored resources used by this service. This is required * by the `Service.monitoring` and `Service.logging` configurations. * * Generated from protobuf field repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; * @return RepeatedField<\Google\Api\MonitoredResourceDescriptor> */ public function getMonitoredResources() { return $this->monitored_resources; } /** * Defines the monitored resources used by this service. This is required * by the `Service.monitoring` and `Service.logging` configurations. * * Generated from protobuf field repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; * @param \Google\Api\MonitoredResourceDescriptor[] $var * @return $this */ public function setMonitoredResources($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\MonitoredResourceDescriptor::class); $this->monitored_resources = $arr; return $this; } /** * Billing configuration. * * Generated from protobuf field .google.api.Billing billing = 26; * @return \Google\Api\Billing|null */ public function getBilling() { return $this->billing; } public function hasBilling() { return isset($this->billing); } public function clearBilling() { unset($this->billing); } /** * Billing configuration. * * Generated from protobuf field .google.api.Billing billing = 26; * @param \Google\Api\Billing $var * @return $this */ public function setBilling($var) { GPBUtil::checkMessage($var, \Google\Api\Billing::class); $this->billing = $var; return $this; } /** * Logging configuration. * * Generated from protobuf field .google.api.Logging logging = 27; * @return \Google\Api\Logging|null */ public function getLogging() { return $this->logging; } public function hasLogging() { return isset($this->logging); } public function clearLogging() { unset($this->logging); } /** * Logging configuration. * * Generated from protobuf field .google.api.Logging logging = 27; * @param \Google\Api\Logging $var * @return $this */ public function setLogging($var) { GPBUtil::checkMessage($var, \Google\Api\Logging::class); $this->logging = $var; return $this; } /** * Monitoring configuration. * * Generated from protobuf field .google.api.Monitoring monitoring = 28; * @return \Google\Api\Monitoring|null */ public function getMonitoring() { return $this->monitoring; } public function hasMonitoring() { return isset($this->monitoring); } public function clearMonitoring() { unset($this->monitoring); } /** * Monitoring configuration. * * Generated from protobuf field .google.api.Monitoring monitoring = 28; * @param \Google\Api\Monitoring $var * @return $this */ public function setMonitoring($var) { GPBUtil::checkMessage($var, \Google\Api\Monitoring::class); $this->monitoring = $var; return $this; } /** * System parameter configuration. * * Generated from protobuf field .google.api.SystemParameters system_parameters = 29; * @return \Google\Api\SystemParameters|null */ public function getSystemParameters() { return $this->system_parameters; } public function hasSystemParameters() { return isset($this->system_parameters); } public function clearSystemParameters() { unset($this->system_parameters); } /** * System parameter configuration. * * Generated from protobuf field .google.api.SystemParameters system_parameters = 29; * @param \Google\Api\SystemParameters $var * @return $this */ public function setSystemParameters($var) { GPBUtil::checkMessage($var, \Google\Api\SystemParameters::class); $this->system_parameters = $var; return $this; } /** * Output only. The source information for this configuration if available. * * Generated from protobuf field .google.api.SourceInfo source_info = 37; * @return \Google\Api\SourceInfo|null */ public function getSourceInfo() { return $this->source_info; } public function hasSourceInfo() { return isset($this->source_info); } public function clearSourceInfo() { unset($this->source_info); } /** * Output only. The source information for this configuration if available. * * Generated from protobuf field .google.api.SourceInfo source_info = 37; * @param \Google\Api\SourceInfo $var * @return $this */ public function setSourceInfo($var) { GPBUtil::checkMessage($var, \Google\Api\SourceInfo::class); $this->source_info = $var; return $this; } /** * Settings for [Google Cloud Client * libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) * generated from APIs defined as protocol buffers. * * Generated from protobuf field .google.api.Publishing publishing = 45; * @return \Google\Api\Publishing|null */ public function getPublishing() { return $this->publishing; } public function hasPublishing() { return isset($this->publishing); } public function clearPublishing() { unset($this->publishing); } /** * Settings for [Google Cloud Client * libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) * generated from APIs defined as protocol buffers. * * Generated from protobuf field .google.api.Publishing publishing = 45; * @param \Google\Api\Publishing $var * @return $this */ public function setPublishing($var) { GPBUtil::checkMessage($var, \Google\Api\Publishing::class); $this->publishing = $var; return $this; } /** * Obsolete. Do not use. * This field has no semantic meaning. The service config compiler always * sets this field to `3`. * * Generated from protobuf field .google.protobuf.UInt32Value config_version = 20; * @return \Google\Protobuf\UInt32Value|null */ public function getConfigVersion() { return $this->config_version; } public function hasConfigVersion() { return isset($this->config_version); } public function clearConfigVersion() { unset($this->config_version); } /** * Returns the unboxed value from getConfigVersion() * Obsolete. Do not use. * This field has no semantic meaning. The service config compiler always * sets this field to `3`. * * Generated from protobuf field .google.protobuf.UInt32Value config_version = 20; * @return int|null */ public function getConfigVersionUnwrapped() { return $this->readWrapperValue("config_version"); } /** * Obsolete. Do not use. * This field has no semantic meaning. The service config compiler always * sets this field to `3`. * * Generated from protobuf field .google.protobuf.UInt32Value config_version = 20; * @param \Google\Protobuf\UInt32Value $var * @return $this */ public function setConfigVersion($var) { GPBUtil::checkMessage($var, \Google\Protobuf\UInt32Value::class); $this->config_version = $var; return $this; } /** * Sets the field by wrapping a primitive type in a Google\Protobuf\UInt32Value object. * Obsolete. Do not use. * This field has no semantic meaning. The service config compiler always * sets this field to `3`. * * Generated from protobuf field .google.protobuf.UInt32Value config_version = 20; * @param int|null $var * @return $this */ public function setConfigVersionUnwrapped($var) { $this->writeWrapperValue("config_version", $var); return $this;} }