diff --git a/Bigtable/metadata/V2/FeatureFlags.php b/Bigtable/metadata/V2/FeatureFlags.php
index 955fbb3fe5e2..fd70d1524270 100644
--- a/Bigtable/metadata/V2/FeatureFlags.php
+++ b/Bigtable/metadata/V2/FeatureFlags.php
@@ -16,8 +16,8 @@ public static function initOnce() {
}
$pool->internalAddGeneratedFile(
'
-à
-&google/bigtable/v2/feature_flags.protogoogle.bigtable.v2"Û
+£
+&google/bigtable/v2/feature_flags.protogoogle.bigtable.v2"ž
FeatureFlags
reverse_scans (
mutate_rows_rate_limit (
@@ -26,7 +26,10 @@ public static function initOnce() {
routing_cookie (
retry_info (#
-client_side_metrics_enabled (B»
+client_side_metrics_enabled (
+traffic_director_enabled (
+direct_access_requested
+ (B»
com.google.bigtable.v2BFeatureFlagsProtoPZ8cloud.google.com/go/bigtable/apiv2/bigtablepb;bigtablepbªGoogle.Cloud.Bigtable.V2ÊGoogle\\Cloud\\Bigtable\\V2êGoogle::Cloud::Bigtable::V2bproto3'
, true);
diff --git a/Bigtable/src/V2/FeatureFlags.php b/Bigtable/src/V2/FeatureFlags.php
index 06504aadd20c..51c17b64d53f 100644
--- a/Bigtable/src/V2/FeatureFlags.php
+++ b/Bigtable/src/V2/FeatureFlags.php
@@ -72,6 +72,18 @@ class FeatureFlags extends \Google\Protobuf\Internal\Message
* Generated from protobuf field bool client_side_metrics_enabled = 8;
*/
protected $client_side_metrics_enabled = false;
+ /**
+ * Notify the server that the client using Traffic Director endpoint.
+ *
+ * Generated from protobuf field bool traffic_director_enabled = 9;
+ */
+ protected $traffic_director_enabled = false;
+ /**
+ * Notify the server that the client explicitly opted in for Direct Access.
+ *
+ * Generated from protobuf field bool direct_access_requested = 10;
+ */
+ protected $direct_access_requested = false;
/**
* Constructor.
@@ -101,6 +113,10 @@ class FeatureFlags extends \Google\Protobuf\Internal\Message
* durations to retry requests with.
* @type bool $client_side_metrics_enabled
* Notify the server that the client has client side metrics enabled.
+ * @type bool $traffic_director_enabled
+ * Notify the server that the client using Traffic Director endpoint.
+ * @type bool $direct_access_requested
+ * Notify the server that the client explicitly opted in for Direct Access.
* }
*/
public function __construct($data = NULL) {
@@ -306,5 +322,57 @@ public function setClientSideMetricsEnabled($var)
return $this;
}
+ /**
+ * Notify the server that the client using Traffic Director endpoint.
+ *
+ * Generated from protobuf field bool traffic_director_enabled = 9;
+ * @return bool
+ */
+ public function getTrafficDirectorEnabled()
+ {
+ return $this->traffic_director_enabled;
+ }
+
+ /**
+ * Notify the server that the client using Traffic Director endpoint.
+ *
+ * Generated from protobuf field bool traffic_director_enabled = 9;
+ * @param bool $var
+ * @return $this
+ */
+ public function setTrafficDirectorEnabled($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->traffic_director_enabled = $var;
+
+ return $this;
+ }
+
+ /**
+ * Notify the server that the client explicitly opted in for Direct Access.
+ *
+ * Generated from protobuf field bool direct_access_requested = 10;
+ * @return bool
+ */
+ public function getDirectAccessRequested()
+ {
+ return $this->direct_access_requested;
+ }
+
+ /**
+ * Notify the server that the client explicitly opted in for Direct Access.
+ *
+ * Generated from protobuf field bool direct_access_requested = 10;
+ * @param bool $var
+ * @return $this
+ */
+ public function setDirectAccessRequested($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->direct_access_requested = $var;
+
+ return $this;
+ }
+
}
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/GPBMetadata/Google/Bigtable/Admin/V2/BigtableInstanceAdmin.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/GPBMetadata/Google/Bigtable/Admin/V2/BigtableInstanceAdmin.php
deleted file mode 100644
index 6b6c3b1fe5b0..000000000000
Binary files a/owl-bot-staging/Bigtable/v2/Admin/proto/src/GPBMetadata/Google/Bigtable/Admin/V2/BigtableInstanceAdmin.php and /dev/null differ
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/GPBMetadata/Google/Bigtable/Admin/V2/BigtableTableAdmin.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/GPBMetadata/Google/Bigtable/Admin/V2/BigtableTableAdmin.php
deleted file mode 100644
index 6b8f62546804..000000000000
Binary files a/owl-bot-staging/Bigtable/v2/Admin/proto/src/GPBMetadata/Google/Bigtable/Admin/V2/BigtableTableAdmin.php and /dev/null differ
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/GPBMetadata/Google/Bigtable/Admin/V2/Common.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/GPBMetadata/Google/Bigtable/Admin/V2/Common.php
deleted file mode 100644
index 3fe1a1d11e7f..000000000000
Binary files a/owl-bot-staging/Bigtable/v2/Admin/proto/src/GPBMetadata/Google/Bigtable/Admin/V2/Common.php and /dev/null differ
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/GPBMetadata/Google/Bigtable/Admin/V2/Instance.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/GPBMetadata/Google/Bigtable/Admin/V2/Instance.php
deleted file mode 100644
index 7cfcef682206..000000000000
Binary files a/owl-bot-staging/Bigtable/v2/Admin/proto/src/GPBMetadata/Google/Bigtable/Admin/V2/Instance.php and /dev/null differ
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/GPBMetadata/Google/Bigtable/Admin/V2/Table.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/GPBMetadata/Google/Bigtable/Admin/V2/Table.php
deleted file mode 100644
index 8bd9c50772af..000000000000
Binary files a/owl-bot-staging/Bigtable/v2/Admin/proto/src/GPBMetadata/Google/Bigtable/Admin/V2/Table.php and /dev/null differ
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/GPBMetadata/Google/Bigtable/Admin/V2/Types.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/GPBMetadata/Google/Bigtable/Admin/V2/Types.php
deleted file mode 100644
index 1dcd7b40b1da..000000000000
Binary files a/owl-bot-staging/Bigtable/v2/Admin/proto/src/GPBMetadata/Google/Bigtable/Admin/V2/Types.php and /dev/null differ
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile.php
deleted file mode 100644
index 4eb3ef034a7e..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile.php
+++ /dev/null
@@ -1,368 +0,0 @@
-google.bigtable.admin.v2.AppProfile
- */
-class AppProfile extends \Google\Protobuf\Internal\Message
-{
- /**
- * The unique name of the app profile. Values are of the form
- * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * Strongly validated etag for optimistic concurrency control. Preserve the
- * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
- * fail the request if there has been a modification in the mean time. The
- * `update_mask` of the request need not include `etag` for this protection
- * to apply.
- * See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and
- * [RFC 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more
- * details.
- *
- * Generated from protobuf field string etag = 2;
- */
- protected $etag = '';
- /**
- * Long form description of the use case for this AppProfile.
- *
- * Generated from protobuf field string description = 3;
- */
- protected $description = '';
- protected $routing_policy;
- protected $isolation;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The unique name of the app profile. Values are of the form
- * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
- * @type string $etag
- * Strongly validated etag for optimistic concurrency control. Preserve the
- * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
- * fail the request if there has been a modification in the mean time. The
- * `update_mask` of the request need not include `etag` for this protection
- * to apply.
- * See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and
- * [RFC 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more
- * details.
- * @type string $description
- * Long form description of the use case for this AppProfile.
- * @type \Google\Cloud\Bigtable\Admin\V2\AppProfile\MultiClusterRoutingUseAny $multi_cluster_routing_use_any
- * Use a multi-cluster routing policy.
- * @type \Google\Cloud\Bigtable\Admin\V2\AppProfile\SingleClusterRouting $single_cluster_routing
- * Use a single-cluster routing policy.
- * @type int $priority
- * This field has been deprecated in favor of `standard_isolation.priority`.
- * If you set this field, `standard_isolation.priority` will be set instead.
- * The priority of requests sent using this app profile.
- * @type \Google\Cloud\Bigtable\Admin\V2\AppProfile\StandardIsolation $standard_isolation
- * The standard options used for isolating this app profile's traffic from
- * other use cases.
- * @type \Google\Cloud\Bigtable\Admin\V2\AppProfile\DataBoostIsolationReadOnly $data_boost_isolation_read_only
- * Specifies that this app profile is intended for read-only usage via the
- * Data Boost feature.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Instance::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The unique name of the app profile. Values are of the form
- * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The unique name of the app profile. Values are of the form
- * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
- *
- * 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;
- }
-
- /**
- * Strongly validated etag for optimistic concurrency control. Preserve the
- * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
- * fail the request if there has been a modification in the mean time. The
- * `update_mask` of the request need not include `etag` for this protection
- * to apply.
- * See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and
- * [RFC 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more
- * details.
- *
- * Generated from protobuf field string etag = 2;
- * @return string
- */
- public function getEtag()
- {
- return $this->etag;
- }
-
- /**
- * Strongly validated etag for optimistic concurrency control. Preserve the
- * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
- * fail the request if there has been a modification in the mean time. The
- * `update_mask` of the request need not include `etag` for this protection
- * to apply.
- * See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and
- * [RFC 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more
- * details.
- *
- * Generated from protobuf field string etag = 2;
- * @param string $var
- * @return $this
- */
- public function setEtag($var)
- {
- GPBUtil::checkString($var, True);
- $this->etag = $var;
-
- return $this;
- }
-
- /**
- * Long form description of the use case for this AppProfile.
- *
- * Generated from protobuf field string description = 3;
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
-
- /**
- * Long form description of the use case for this AppProfile.
- *
- * Generated from protobuf field string description = 3;
- * @param string $var
- * @return $this
- */
- public function setDescription($var)
- {
- GPBUtil::checkString($var, True);
- $this->description = $var;
-
- return $this;
- }
-
- /**
- * Use a multi-cluster routing policy.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;
- * @return \Google\Cloud\Bigtable\Admin\V2\AppProfile\MultiClusterRoutingUseAny|null
- */
- public function getMultiClusterRoutingUseAny()
- {
- return $this->readOneof(5);
- }
-
- public function hasMultiClusterRoutingUseAny()
- {
- return $this->hasOneof(5);
- }
-
- /**
- * Use a multi-cluster routing policy.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;
- * @param \Google\Cloud\Bigtable\Admin\V2\AppProfile\MultiClusterRoutingUseAny $var
- * @return $this
- */
- public function setMultiClusterRoutingUseAny($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\AppProfile\MultiClusterRoutingUseAny::class);
- $this->writeOneof(5, $var);
-
- return $this;
- }
-
- /**
- * Use a single-cluster routing policy.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
- * @return \Google\Cloud\Bigtable\Admin\V2\AppProfile\SingleClusterRouting|null
- */
- public function getSingleClusterRouting()
- {
- return $this->readOneof(6);
- }
-
- public function hasSingleClusterRouting()
- {
- return $this->hasOneof(6);
- }
-
- /**
- * Use a single-cluster routing policy.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
- * @param \Google\Cloud\Bigtable\Admin\V2\AppProfile\SingleClusterRouting $var
- * @return $this
- */
- public function setSingleClusterRouting($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\AppProfile\SingleClusterRouting::class);
- $this->writeOneof(6, $var);
-
- return $this;
- }
-
- /**
- * This field has been deprecated in favor of `standard_isolation.priority`.
- * If you set this field, `standard_isolation.priority` will be set instead.
- * The priority of requests sent using this app profile.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];
- * @return int
- * @deprecated
- */
- public function getPriority()
- {
- @trigger_error('priority is deprecated.', E_USER_DEPRECATED);
- return $this->readOneof(7);
- }
-
- public function hasPriority()
- {
- @trigger_error('priority is deprecated.', E_USER_DEPRECATED);
- return $this->hasOneof(7);
- }
-
- /**
- * This field has been deprecated in favor of `standard_isolation.priority`.
- * If you set this field, `standard_isolation.priority` will be set instead.
- * The priority of requests sent using this app profile.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];
- * @param int $var
- * @return $this
- * @deprecated
- */
- public function setPriority($var)
- {
- @trigger_error('priority is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\AppProfile\Priority::class);
- $this->writeOneof(7, $var);
-
- return $this;
- }
-
- /**
- * The standard options used for isolating this app profile's traffic from
- * other use cases.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
- * @return \Google\Cloud\Bigtable\Admin\V2\AppProfile\StandardIsolation|null
- */
- public function getStandardIsolation()
- {
- return $this->readOneof(11);
- }
-
- public function hasStandardIsolation()
- {
- return $this->hasOneof(11);
- }
-
- /**
- * The standard options used for isolating this app profile's traffic from
- * other use cases.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
- * @param \Google\Cloud\Bigtable\Admin\V2\AppProfile\StandardIsolation $var
- * @return $this
- */
- public function setStandardIsolation($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\AppProfile\StandardIsolation::class);
- $this->writeOneof(11, $var);
-
- return $this;
- }
-
- /**
- * Specifies that this app profile is intended for read-only usage via the
- * Data Boost feature.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.DataBoostIsolationReadOnly data_boost_isolation_read_only = 10;
- * @return \Google\Cloud\Bigtable\Admin\V2\AppProfile\DataBoostIsolationReadOnly|null
- */
- public function getDataBoostIsolationReadOnly()
- {
- return $this->readOneof(10);
- }
-
- public function hasDataBoostIsolationReadOnly()
- {
- return $this->hasOneof(10);
- }
-
- /**
- * Specifies that this app profile is intended for read-only usage via the
- * Data Boost feature.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.DataBoostIsolationReadOnly data_boost_isolation_read_only = 10;
- * @param \Google\Cloud\Bigtable\Admin\V2\AppProfile\DataBoostIsolationReadOnly $var
- * @return $this
- */
- public function setDataBoostIsolationReadOnly($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\AppProfile\DataBoostIsolationReadOnly::class);
- $this->writeOneof(10, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getRoutingPolicy()
- {
- return $this->whichOneof("routing_policy");
- }
-
- /**
- * @return string
- */
- public function getIsolation()
- {
- return $this->whichOneof("isolation");
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/DataBoostIsolationReadOnly.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/DataBoostIsolationReadOnly.php
deleted file mode 100644
index 7a8e71fd8019..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/DataBoostIsolationReadOnly.php
+++ /dev/null
@@ -1,90 +0,0 @@
-google.bigtable.admin.v2.AppProfile.DataBoostIsolationReadOnly
- */
-class DataBoostIsolationReadOnly extends \Google\Protobuf\Internal\Message
-{
- /**
- * The Compute Billing Owner for this Data Boost App Profile.
- *
- * Generated from protobuf field optional .google.bigtable.admin.v2.AppProfile.DataBoostIsolationReadOnly.ComputeBillingOwner compute_billing_owner = 1;
- */
- protected $compute_billing_owner = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $compute_billing_owner
- * The Compute Billing Owner for this Data Boost App Profile.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Instance::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The Compute Billing Owner for this Data Boost App Profile.
- *
- * Generated from protobuf field optional .google.bigtable.admin.v2.AppProfile.DataBoostIsolationReadOnly.ComputeBillingOwner compute_billing_owner = 1;
- * @return int
- */
- public function getComputeBillingOwner()
- {
- return isset($this->compute_billing_owner) ? $this->compute_billing_owner : 0;
- }
-
- public function hasComputeBillingOwner()
- {
- return isset($this->compute_billing_owner);
- }
-
- public function clearComputeBillingOwner()
- {
- unset($this->compute_billing_owner);
- }
-
- /**
- * The Compute Billing Owner for this Data Boost App Profile.
- *
- * Generated from protobuf field optional .google.bigtable.admin.v2.AppProfile.DataBoostIsolationReadOnly.ComputeBillingOwner compute_billing_owner = 1;
- * @param int $var
- * @return $this
- */
- public function setComputeBillingOwner($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\AppProfile\DataBoostIsolationReadOnly\ComputeBillingOwner::class);
- $this->compute_billing_owner = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(DataBoostIsolationReadOnly::class, \Google\Cloud\Bigtable\Admin\V2\AppProfile_DataBoostIsolationReadOnly::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/DataBoostIsolationReadOnly/ComputeBillingOwner.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/DataBoostIsolationReadOnly/ComputeBillingOwner.php
deleted file mode 100644
index 7da3c3942452..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/DataBoostIsolationReadOnly/ComputeBillingOwner.php
+++ /dev/null
@@ -1,60 +0,0 @@
-google.bigtable.admin.v2.AppProfile.DataBoostIsolationReadOnly.ComputeBillingOwner
- */
-class ComputeBillingOwner
-{
- /**
- * Unspecified value.
- *
- * Generated from protobuf enum COMPUTE_BILLING_OWNER_UNSPECIFIED = 0;
- */
- const COMPUTE_BILLING_OWNER_UNSPECIFIED = 0;
- /**
- * The host Cloud Project containing the targeted Bigtable Instance /
- * Table pays for compute.
- *
- * Generated from protobuf enum HOST_PAYS = 1;
- */
- const HOST_PAYS = 1;
-
- private static $valueToName = [
- self::COMPUTE_BILLING_OWNER_UNSPECIFIED => 'COMPUTE_BILLING_OWNER_UNSPECIFIED',
- self::HOST_PAYS => 'HOST_PAYS',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(ComputeBillingOwner::class, \Google\Cloud\Bigtable\Admin\V2\AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/MultiClusterRoutingUseAny.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/MultiClusterRoutingUseAny.php
deleted file mode 100644
index 455a007dbf2b..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/MultiClusterRoutingUseAny.php
+++ /dev/null
@@ -1,123 +0,0 @@
-google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny
- */
-class MultiClusterRoutingUseAny extends \Google\Protobuf\Internal\Message
-{
- /**
- * The set of clusters to route to. The order is ignored; clusters will be
- * tried in order of distance. If left empty, all clusters are eligible.
- *
- * Generated from protobuf field repeated string cluster_ids = 1;
- */
- private $cluster_ids;
- protected $affinity;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array|\Google\Protobuf\Internal\RepeatedField $cluster_ids
- * The set of clusters to route to. The order is ignored; clusters will be
- * tried in order of distance. If left empty, all clusters are eligible.
- * @type \Google\Cloud\Bigtable\Admin\V2\AppProfile\MultiClusterRoutingUseAny\RowAffinity $row_affinity
- * Row affinity sticky routing based on the row key of the request.
- * Requests that span multiple rows are routed non-deterministically.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Instance::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The set of clusters to route to. The order is ignored; clusters will be
- * tried in order of distance. If left empty, all clusters are eligible.
- *
- * Generated from protobuf field repeated string cluster_ids = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getClusterIds()
- {
- return $this->cluster_ids;
- }
-
- /**
- * The set of clusters to route to. The order is ignored; clusters will be
- * tried in order of distance. If left empty, all clusters are eligible.
- *
- * Generated from protobuf field repeated string cluster_ids = 1;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setClusterIds($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->cluster_ids = $arr;
-
- return $this;
- }
-
- /**
- * Row affinity sticky routing based on the row key of the request.
- * Requests that span multiple rows are routed non-deterministically.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.RowAffinity row_affinity = 3;
- * @return \Google\Cloud\Bigtable\Admin\V2\AppProfile\MultiClusterRoutingUseAny\RowAffinity|null
- */
- public function getRowAffinity()
- {
- return $this->readOneof(3);
- }
-
- public function hasRowAffinity()
- {
- return $this->hasOneof(3);
- }
-
- /**
- * Row affinity sticky routing based on the row key of the request.
- * Requests that span multiple rows are routed non-deterministically.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.RowAffinity row_affinity = 3;
- * @param \Google\Cloud\Bigtable\Admin\V2\AppProfile\MultiClusterRoutingUseAny\RowAffinity $var
- * @return $this
- */
- public function setRowAffinity($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\AppProfile\MultiClusterRoutingUseAny\RowAffinity::class);
- $this->writeOneof(3, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getAffinity()
- {
- return $this->whichOneof("affinity");
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(MultiClusterRoutingUseAny::class, \Google\Cloud\Bigtable\Admin\V2\AppProfile_MultiClusterRoutingUseAny::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/MultiClusterRoutingUseAny/RowAffinity.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/MultiClusterRoutingUseAny/RowAffinity.php
deleted file mode 100644
index f553b0a42fad..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/MultiClusterRoutingUseAny/RowAffinity.php
+++ /dev/null
@@ -1,44 +0,0 @@
-google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.RowAffinity
- */
-class RowAffinity extends \Google\Protobuf\Internal\Message
-{
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Instance::initOnce();
- parent::__construct($data);
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(RowAffinity::class, \Google\Cloud\Bigtable\Admin\V2\AppProfile_MultiClusterRoutingUseAny_RowAffinity::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/Priority.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/Priority.php
deleted file mode 100644
index df376e17c64e..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/Priority.php
+++ /dev/null
@@ -1,67 +0,0 @@
-google.bigtable.admin.v2.AppProfile.Priority
- */
-class Priority
-{
- /**
- * Default value. Mapped to PRIORITY_HIGH (the legacy behavior) on creation.
- *
- * Generated from protobuf enum PRIORITY_UNSPECIFIED = 0;
- */
- const PRIORITY_UNSPECIFIED = 0;
- /**
- * Generated from protobuf enum PRIORITY_LOW = 1;
- */
- const PRIORITY_LOW = 1;
- /**
- * Generated from protobuf enum PRIORITY_MEDIUM = 2;
- */
- const PRIORITY_MEDIUM = 2;
- /**
- * Generated from protobuf enum PRIORITY_HIGH = 3;
- */
- const PRIORITY_HIGH = 3;
-
- private static $valueToName = [
- self::PRIORITY_UNSPECIFIED => 'PRIORITY_UNSPECIFIED',
- self::PRIORITY_LOW => 'PRIORITY_LOW',
- self::PRIORITY_MEDIUM => 'PRIORITY_MEDIUM',
- self::PRIORITY_HIGH => 'PRIORITY_HIGH',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Priority::class, \Google\Cloud\Bigtable\Admin\V2\AppProfile_Priority::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/SingleClusterRouting.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/SingleClusterRouting.php
deleted file mode 100644
index 5bd27b02ed0b..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/SingleClusterRouting.php
+++ /dev/null
@@ -1,114 +0,0 @@
-google.bigtable.admin.v2.AppProfile.SingleClusterRouting
- */
-class SingleClusterRouting extends \Google\Protobuf\Internal\Message
-{
- /**
- * The cluster to which read/write requests should be routed.
- *
- * Generated from protobuf field string cluster_id = 1;
- */
- protected $cluster_id = '';
- /**
- * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
- * allowed by this app profile. It is unsafe to send these requests to
- * the same table/row/column in multiple clusters.
- *
- * Generated from protobuf field bool allow_transactional_writes = 2;
- */
- protected $allow_transactional_writes = false;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $cluster_id
- * The cluster to which read/write requests should be routed.
- * @type bool $allow_transactional_writes
- * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
- * allowed by this app profile. It is unsafe to send these requests to
- * the same table/row/column in multiple clusters.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Instance::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The cluster to which read/write requests should be routed.
- *
- * Generated from protobuf field string cluster_id = 1;
- * @return string
- */
- public function getClusterId()
- {
- return $this->cluster_id;
- }
-
- /**
- * The cluster to which read/write requests should be routed.
- *
- * Generated from protobuf field string cluster_id = 1;
- * @param string $var
- * @return $this
- */
- public function setClusterId($var)
- {
- GPBUtil::checkString($var, True);
- $this->cluster_id = $var;
-
- return $this;
- }
-
- /**
- * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
- * allowed by this app profile. It is unsafe to send these requests to
- * the same table/row/column in multiple clusters.
- *
- * Generated from protobuf field bool allow_transactional_writes = 2;
- * @return bool
- */
- public function getAllowTransactionalWrites()
- {
- return $this->allow_transactional_writes;
- }
-
- /**
- * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
- * allowed by this app profile. It is unsafe to send these requests to
- * the same table/row/column in multiple clusters.
- *
- * Generated from protobuf field bool allow_transactional_writes = 2;
- * @param bool $var
- * @return $this
- */
- public function setAllowTransactionalWrites($var)
- {
- GPBUtil::checkBool($var);
- $this->allow_transactional_writes = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SingleClusterRouting::class, \Google\Cloud\Bigtable\Admin\V2\AppProfile_SingleClusterRouting::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/StandardIsolation.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/StandardIsolation.php
deleted file mode 100644
index 3638ebc75214..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AppProfile/StandardIsolation.php
+++ /dev/null
@@ -1,71 +0,0 @@
-google.bigtable.admin.v2.AppProfile.StandardIsolation
- */
-class StandardIsolation extends \Google\Protobuf\Internal\Message
-{
- /**
- * The priority of requests sent using this app profile.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.Priority priority = 1;
- */
- protected $priority = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $priority
- * The priority of requests sent using this app profile.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Instance::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The priority of requests sent using this app profile.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.Priority priority = 1;
- * @return int
- */
- public function getPriority()
- {
- return $this->priority;
- }
-
- /**
- * The priority of requests sent using this app profile.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.Priority priority = 1;
- * @param int $var
- * @return $this
- */
- public function setPriority($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\AppProfile\Priority::class);
- $this->priority = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(StandardIsolation::class, \Google\Cloud\Bigtable\Admin\V2\AppProfile_StandardIsolation::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AuthorizedView.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AuthorizedView.php
deleted file mode 100644
index a5533981fbc1..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AuthorizedView.php
+++ /dev/null
@@ -1,203 +0,0 @@
-google.bigtable.admin.v2.AuthorizedView
- */
-class AuthorizedView extends \Google\Protobuf\Internal\Message
-{
- /**
- * Identifier. The name of this AuthorizedView.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
- */
- protected $name = '';
- /**
- * The etag for this AuthorizedView.
- * If this is provided on update, it must match the server's etag. The server
- * returns ABORTED error on a mismatched etag.
- *
- * Generated from protobuf field string etag = 3;
- */
- protected $etag = '';
- /**
- * Set to true to make the AuthorizedView protected against deletion.
- * The parent Table and containing Instance cannot be deleted if an
- * AuthorizedView has this bit set.
- *
- * Generated from protobuf field bool deletion_protection = 4;
- */
- protected $deletion_protection = false;
- protected $authorized_view;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Identifier. The name of this AuthorizedView.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`
- * @type \Google\Cloud\Bigtable\Admin\V2\AuthorizedView\SubsetView $subset_view
- * An AuthorizedView permitting access to an explicit subset of a Table.
- * @type string $etag
- * The etag for this AuthorizedView.
- * If this is provided on update, it must match the server's etag. The server
- * returns ABORTED error on a mismatched etag.
- * @type bool $deletion_protection
- * Set to true to make the AuthorizedView protected against deletion.
- * The parent Table and containing Instance cannot be deleted if an
- * AuthorizedView has this bit set.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Table::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Identifier. The name of this AuthorizedView.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Identifier. The name of this AuthorizedView.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * An AuthorizedView permitting access to an explicit subset of a Table.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AuthorizedView.SubsetView subset_view = 2;
- * @return \Google\Cloud\Bigtable\Admin\V2\AuthorizedView\SubsetView|null
- */
- public function getSubsetView()
- {
- return $this->readOneof(2);
- }
-
- public function hasSubsetView()
- {
- return $this->hasOneof(2);
- }
-
- /**
- * An AuthorizedView permitting access to an explicit subset of a Table.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AuthorizedView.SubsetView subset_view = 2;
- * @param \Google\Cloud\Bigtable\Admin\V2\AuthorizedView\SubsetView $var
- * @return $this
- */
- public function setSubsetView($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\AuthorizedView\SubsetView::class);
- $this->writeOneof(2, $var);
-
- return $this;
- }
-
- /**
- * The etag for this AuthorizedView.
- * If this is provided on update, it must match the server's etag. The server
- * returns ABORTED error on a mismatched etag.
- *
- * Generated from protobuf field string etag = 3;
- * @return string
- */
- public function getEtag()
- {
- return $this->etag;
- }
-
- /**
- * The etag for this AuthorizedView.
- * If this is provided on update, it must match the server's etag. The server
- * returns ABORTED error on a mismatched etag.
- *
- * Generated from protobuf field string etag = 3;
- * @param string $var
- * @return $this
- */
- public function setEtag($var)
- {
- GPBUtil::checkString($var, True);
- $this->etag = $var;
-
- return $this;
- }
-
- /**
- * Set to true to make the AuthorizedView protected against deletion.
- * The parent Table and containing Instance cannot be deleted if an
- * AuthorizedView has this bit set.
- *
- * Generated from protobuf field bool deletion_protection = 4;
- * @return bool
- */
- public function getDeletionProtection()
- {
- return $this->deletion_protection;
- }
-
- /**
- * Set to true to make the AuthorizedView protected against deletion.
- * The parent Table and containing Instance cannot be deleted if an
- * AuthorizedView has this bit set.
- *
- * Generated from protobuf field bool deletion_protection = 4;
- * @param bool $var
- * @return $this
- */
- public function setDeletionProtection($var)
- {
- GPBUtil::checkBool($var);
- $this->deletion_protection = $var;
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getAuthorizedView()
- {
- return $this->whichOneof("authorized_view");
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AuthorizedView/FamilySubsets.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AuthorizedView/FamilySubsets.php
deleted file mode 100644
index 3a6359fca96d..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AuthorizedView/FamilySubsets.php
+++ /dev/null
@@ -1,120 +0,0 @@
-google.bigtable.admin.v2.AuthorizedView.FamilySubsets
- */
-class FamilySubsets extends \Google\Protobuf\Internal\Message
-{
- /**
- * Individual exact column qualifiers to be included in the AuthorizedView.
- *
- * Generated from protobuf field repeated bytes qualifiers = 1;
- */
- private $qualifiers;
- /**
- * Prefixes for qualifiers to be included in the AuthorizedView. Every
- * qualifier starting with one of these prefixes is included in the
- * AuthorizedView. To provide access to all qualifiers, include the empty
- * string as a prefix
- * ("").
- *
- * Generated from protobuf field repeated bytes qualifier_prefixes = 2;
- */
- private $qualifier_prefixes;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array|\Google\Protobuf\Internal\RepeatedField $qualifiers
- * Individual exact column qualifiers to be included in the AuthorizedView.
- * @type array|\Google\Protobuf\Internal\RepeatedField $qualifier_prefixes
- * Prefixes for qualifiers to be included in the AuthorizedView. Every
- * qualifier starting with one of these prefixes is included in the
- * AuthorizedView. To provide access to all qualifiers, include the empty
- * string as a prefix
- * ("").
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Table::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Individual exact column qualifiers to be included in the AuthorizedView.
- *
- * Generated from protobuf field repeated bytes qualifiers = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getQualifiers()
- {
- return $this->qualifiers;
- }
-
- /**
- * Individual exact column qualifiers to be included in the AuthorizedView.
- *
- * Generated from protobuf field repeated bytes qualifiers = 1;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setQualifiers($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::BYTES);
- $this->qualifiers = $arr;
-
- return $this;
- }
-
- /**
- * Prefixes for qualifiers to be included in the AuthorizedView. Every
- * qualifier starting with one of these prefixes is included in the
- * AuthorizedView. To provide access to all qualifiers, include the empty
- * string as a prefix
- * ("").
- *
- * Generated from protobuf field repeated bytes qualifier_prefixes = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getQualifierPrefixes()
- {
- return $this->qualifier_prefixes;
- }
-
- /**
- * Prefixes for qualifiers to be included in the AuthorizedView. Every
- * qualifier starting with one of these prefixes is included in the
- * AuthorizedView. To provide access to all qualifiers, include the empty
- * string as a prefix
- * ("").
- *
- * Generated from protobuf field repeated bytes qualifier_prefixes = 2;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setQualifierPrefixes($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::BYTES);
- $this->qualifier_prefixes = $arr;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(FamilySubsets::class, \Google\Cloud\Bigtable\Admin\V2\AuthorizedView_FamilySubsets::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AuthorizedView/ResponseView.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AuthorizedView/ResponseView.php
deleted file mode 100644
index de81a7c072d4..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AuthorizedView/ResponseView.php
+++ /dev/null
@@ -1,72 +0,0 @@
-google.bigtable.admin.v2.AuthorizedView.ResponseView
- */
-class ResponseView
-{
- /**
- * Uses the default view for each method as documented in the request.
- *
- * Generated from protobuf enum RESPONSE_VIEW_UNSPECIFIED = 0;
- */
- const RESPONSE_VIEW_UNSPECIFIED = 0;
- /**
- * Only populates `name`.
- *
- * Generated from protobuf enum NAME_ONLY = 1;
- */
- const NAME_ONLY = 1;
- /**
- * Only populates the AuthorizedView's basic metadata. This includes:
- * name, deletion_protection, etag.
- *
- * Generated from protobuf enum BASIC = 2;
- */
- const BASIC = 2;
- /**
- * Populates every fields.
- *
- * Generated from protobuf enum FULL = 3;
- */
- const FULL = 3;
-
- private static $valueToName = [
- self::RESPONSE_VIEW_UNSPECIFIED => 'RESPONSE_VIEW_UNSPECIFIED',
- self::NAME_ONLY => 'NAME_ONLY',
- self::BASIC => 'BASIC',
- self::FULL => 'FULL',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(ResponseView::class, \Google\Cloud\Bigtable\Admin\V2\AuthorizedView_ResponseView::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AuthorizedView/SubsetView.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AuthorizedView/SubsetView.php
deleted file mode 100644
index e20712a5b644..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AuthorizedView/SubsetView.php
+++ /dev/null
@@ -1,112 +0,0 @@
-google.bigtable.admin.v2.AuthorizedView.SubsetView
- */
-class SubsetView extends \Google\Protobuf\Internal\Message
-{
- /**
- * Row prefixes to be included in the AuthorizedView.
- * To provide access to all rows, include the empty string as a prefix ("").
- *
- * Generated from protobuf field repeated bytes row_prefixes = 1;
- */
- private $row_prefixes;
- /**
- * Map from column family name to the columns in this family to be included
- * in the AuthorizedView.
- *
- * Generated from protobuf field map family_subsets = 2;
- */
- private $family_subsets;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array|\Google\Protobuf\Internal\RepeatedField $row_prefixes
- * Row prefixes to be included in the AuthorizedView.
- * To provide access to all rows, include the empty string as a prefix ("").
- * @type array|\Google\Protobuf\Internal\MapField $family_subsets
- * Map from column family name to the columns in this family to be included
- * in the AuthorizedView.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Table::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Row prefixes to be included in the AuthorizedView.
- * To provide access to all rows, include the empty string as a prefix ("").
- *
- * Generated from protobuf field repeated bytes row_prefixes = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getRowPrefixes()
- {
- return $this->row_prefixes;
- }
-
- /**
- * Row prefixes to be included in the AuthorizedView.
- * To provide access to all rows, include the empty string as a prefix ("").
- *
- * Generated from protobuf field repeated bytes row_prefixes = 1;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setRowPrefixes($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::BYTES);
- $this->row_prefixes = $arr;
-
- return $this;
- }
-
- /**
- * Map from column family name to the columns in this family to be included
- * in the AuthorizedView.
- *
- * Generated from protobuf field map family_subsets = 2;
- * @return \Google\Protobuf\Internal\MapField
- */
- public function getFamilySubsets()
- {
- return $this->family_subsets;
- }
-
- /**
- * Map from column family name to the columns in this family to be included
- * in the AuthorizedView.
- *
- * Generated from protobuf field map family_subsets = 2;
- * @param array|\Google\Protobuf\Internal\MapField $var
- * @return $this
- */
- public function setFamilySubsets($var)
- {
- $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\AuthorizedView\FamilySubsets::class);
- $this->family_subsets = $arr;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SubsetView::class, \Google\Cloud\Bigtable\Admin\V2\AuthorizedView_SubsetView::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AutoscalingLimits.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AutoscalingLimits.php
deleted file mode 100644
index 87c9350253d9..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AutoscalingLimits.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.bigtable.admin.v2.AutoscalingLimits
- */
-class AutoscalingLimits extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. Minimum number of nodes to scale down to.
- *
- * Generated from protobuf field int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $min_serve_nodes = 0;
- /**
- * Required. Maximum number of nodes to scale up to.
- *
- * Generated from protobuf field int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $max_serve_nodes = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $min_serve_nodes
- * Required. Minimum number of nodes to scale down to.
- * @type int $max_serve_nodes
- * Required. Maximum number of nodes to scale up to.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Instance::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. Minimum number of nodes to scale down to.
- *
- * Generated from protobuf field int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return int
- */
- public function getMinServeNodes()
- {
- return $this->min_serve_nodes;
- }
-
- /**
- * Required. Minimum number of nodes to scale down to.
- *
- * Generated from protobuf field int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param int $var
- * @return $this
- */
- public function setMinServeNodes($var)
- {
- GPBUtil::checkInt32($var);
- $this->min_serve_nodes = $var;
-
- return $this;
- }
-
- /**
- * Required. Maximum number of nodes to scale up to.
- *
- * Generated from protobuf field int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return int
- */
- public function getMaxServeNodes()
- {
- return $this->max_serve_nodes;
- }
-
- /**
- * Required. Maximum number of nodes to scale up to.
- *
- * Generated from protobuf field int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param int $var
- * @return $this
- */
- public function setMaxServeNodes($var)
- {
- GPBUtil::checkInt32($var);
- $this->max_serve_nodes = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AutoscalingTargets.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AutoscalingTargets.php
deleted file mode 100644
index 4825251531fe..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/AutoscalingTargets.php
+++ /dev/null
@@ -1,133 +0,0 @@
-google.bigtable.admin.v2.AutoscalingTargets
- */
-class AutoscalingTargets extends \Google\Protobuf\Internal\Message
-{
- /**
- * The cpu utilization that the Autoscaler should be trying to achieve.
- * This number is on a scale from 0 (no utilization) to
- * 100 (total utilization), and is limited between 10 and 80, otherwise it
- * will return INVALID_ARGUMENT error.
- *
- * Generated from protobuf field int32 cpu_utilization_percent = 2;
- */
- protected $cpu_utilization_percent = 0;
- /**
- * The storage utilization that the Autoscaler should be trying to achieve.
- * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
- * cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster,
- * otherwise it will return INVALID_ARGUMENT error. If this value is set to 0,
- * it will be treated as if it were set to the default value: 2560 for SSD,
- * 8192 for HDD.
- *
- * Generated from protobuf field int32 storage_utilization_gib_per_node = 3;
- */
- protected $storage_utilization_gib_per_node = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $cpu_utilization_percent
- * The cpu utilization that the Autoscaler should be trying to achieve.
- * This number is on a scale from 0 (no utilization) to
- * 100 (total utilization), and is limited between 10 and 80, otherwise it
- * will return INVALID_ARGUMENT error.
- * @type int $storage_utilization_gib_per_node
- * The storage utilization that the Autoscaler should be trying to achieve.
- * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
- * cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster,
- * otherwise it will return INVALID_ARGUMENT error. If this value is set to 0,
- * it will be treated as if it were set to the default value: 2560 for SSD,
- * 8192 for HDD.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Instance::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The cpu utilization that the Autoscaler should be trying to achieve.
- * This number is on a scale from 0 (no utilization) to
- * 100 (total utilization), and is limited between 10 and 80, otherwise it
- * will return INVALID_ARGUMENT error.
- *
- * Generated from protobuf field int32 cpu_utilization_percent = 2;
- * @return int
- */
- public function getCpuUtilizationPercent()
- {
- return $this->cpu_utilization_percent;
- }
-
- /**
- * The cpu utilization that the Autoscaler should be trying to achieve.
- * This number is on a scale from 0 (no utilization) to
- * 100 (total utilization), and is limited between 10 and 80, otherwise it
- * will return INVALID_ARGUMENT error.
- *
- * Generated from protobuf field int32 cpu_utilization_percent = 2;
- * @param int $var
- * @return $this
- */
- public function setCpuUtilizationPercent($var)
- {
- GPBUtil::checkInt32($var);
- $this->cpu_utilization_percent = $var;
-
- return $this;
- }
-
- /**
- * The storage utilization that the Autoscaler should be trying to achieve.
- * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
- * cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster,
- * otherwise it will return INVALID_ARGUMENT error. If this value is set to 0,
- * it will be treated as if it were set to the default value: 2560 for SSD,
- * 8192 for HDD.
- *
- * Generated from protobuf field int32 storage_utilization_gib_per_node = 3;
- * @return int
- */
- public function getStorageUtilizationGibPerNode()
- {
- return $this->storage_utilization_gib_per_node;
- }
-
- /**
- * The storage utilization that the Autoscaler should be trying to achieve.
- * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
- * cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster,
- * otherwise it will return INVALID_ARGUMENT error. If this value is set to 0,
- * it will be treated as if it were set to the default value: 2560 for SSD,
- * 8192 for HDD.
- *
- * Generated from protobuf field int32 storage_utilization_gib_per_node = 3;
- * @param int $var
- * @return $this
- */
- public function setStorageUtilizationGibPerNode($var)
- {
- GPBUtil::checkInt32($var);
- $this->storage_utilization_gib_per_node = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Backup.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Backup.php
deleted file mode 100644
index f5dc03ee44e3..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Backup.php
+++ /dev/null
@@ -1,573 +0,0 @@
-google.bigtable.admin.v2.Backup
- */
-class Backup extends \Google\Protobuf\Internal\Message
-{
- /**
- * A globally unique identifier for the backup which cannot be
- * changed. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/
- * backups/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
- * The final segment of the name must be between 1 and 50 characters
- * in length.
- * The backup is stored in the cluster identified by the prefix of the backup
- * name of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * Required. Immutable. Name of the table from which this backup was created.
- * This needs to be in the same instance as the backup. Values are of the form
- * `projects/{project}/instances/{instance}/tables/{source_table}`.
- *
- * Generated from protobuf field string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
- */
- protected $source_table = '';
- /**
- * Output only. Name of the backup from which this backup was copied. If a
- * backup is not created by copying a backup, this field will be empty. Values
- * are of the form:
- * projects//instances//clusters//backups/
- *
- * Generated from protobuf field string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $source_backup = '';
- /**
- * Required. The expiration time of the backup.
- * When creating a backup or updating its `expire_time`, the value must be
- * greater than the backup creation time by:
- * - At least 6 hours
- * - At most 90 days
- * Once the `expire_time` has passed, Cloud Bigtable will delete the backup.
- *
- * Generated from protobuf field .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $expire_time = null;
- /**
- * Output only. `start_time` is the time that the backup was started
- * (i.e. approximately the time the
- * [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup]
- * request is received). The row data in this backup will be no older than
- * this timestamp.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $start_time = null;
- /**
- * Output only. `end_time` is the time that the backup was finished. The row
- * data in the backup will be no newer than this timestamp.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $end_time = null;
- /**
- * Output only. Size of the backup in bytes.
- *
- * Generated from protobuf field int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $size_bytes = 0;
- /**
- * Output only. The current state of the backup.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $state = 0;
- /**
- * Output only. The encryption information for the backup.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $encryption_info = null;
- /**
- * Indicates the backup type of the backup.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Backup.BackupType backup_type = 11;
- */
- protected $backup_type = 0;
- /**
- * The time at which the hot backup will be converted to a standard backup.
- * Once the `hot_to_standard_time` has passed, Cloud Bigtable will convert the
- * hot backup to a standard backup. This value must be greater than the backup
- * creation time by:
- * - At least 24 hours
- * This field only applies for hot backups. When creating or updating a
- * standard backup, attempting to set this field will fail the request.
- *
- * Generated from protobuf field .google.protobuf.Timestamp hot_to_standard_time = 12;
- */
- protected $hot_to_standard_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * A globally unique identifier for the backup which cannot be
- * changed. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/
- * backups/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
- * The final segment of the name must be between 1 and 50 characters
- * in length.
- * The backup is stored in the cluster identified by the prefix of the backup
- * name of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- * @type string $source_table
- * Required. Immutable. Name of the table from which this backup was created.
- * This needs to be in the same instance as the backup. Values are of the form
- * `projects/{project}/instances/{instance}/tables/{source_table}`.
- * @type string $source_backup
- * Output only. Name of the backup from which this backup was copied. If a
- * backup is not created by copying a backup, this field will be empty. Values
- * are of the form:
- * projects//instances//clusters//backups/
- * @type \Google\Protobuf\Timestamp $expire_time
- * Required. The expiration time of the backup.
- * When creating a backup or updating its `expire_time`, the value must be
- * greater than the backup creation time by:
- * - At least 6 hours
- * - At most 90 days
- * Once the `expire_time` has passed, Cloud Bigtable will delete the backup.
- * @type \Google\Protobuf\Timestamp $start_time
- * Output only. `start_time` is the time that the backup was started
- * (i.e. approximately the time the
- * [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup]
- * request is received). The row data in this backup will be no older than
- * this timestamp.
- * @type \Google\Protobuf\Timestamp $end_time
- * Output only. `end_time` is the time that the backup was finished. The row
- * data in the backup will be no newer than this timestamp.
- * @type int|string $size_bytes
- * Output only. Size of the backup in bytes.
- * @type int $state
- * Output only. The current state of the backup.
- * @type \Google\Cloud\Bigtable\Admin\V2\EncryptionInfo $encryption_info
- * Output only. The encryption information for the backup.
- * @type int $backup_type
- * Indicates the backup type of the backup.
- * @type \Google\Protobuf\Timestamp $hot_to_standard_time
- * The time at which the hot backup will be converted to a standard backup.
- * Once the `hot_to_standard_time` has passed, Cloud Bigtable will convert the
- * hot backup to a standard backup. This value must be greater than the backup
- * creation time by:
- * - At least 24 hours
- * This field only applies for hot backups. When creating or updating a
- * standard backup, attempting to set this field will fail the request.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Table::initOnce();
- parent::__construct($data);
- }
-
- /**
- * A globally unique identifier for the backup which cannot be
- * changed. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/
- * backups/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
- * The final segment of the name must be between 1 and 50 characters
- * in length.
- * The backup is stored in the cluster identified by the prefix of the backup
- * name of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * A globally unique identifier for the backup which cannot be
- * changed. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/
- * backups/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
- * The final segment of the name must be between 1 and 50 characters
- * in length.
- * The backup is stored in the cluster identified by the prefix of the backup
- * name of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * 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;
- }
-
- /**
- * Required. Immutable. Name of the table from which this backup was created.
- * This needs to be in the same instance as the backup. Values are of the form
- * `projects/{project}/instances/{instance}/tables/{source_table}`.
- *
- * Generated from protobuf field string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getSourceTable()
- {
- return $this->source_table;
- }
-
- /**
- * Required. Immutable. Name of the table from which this backup was created.
- * This needs to be in the same instance as the backup. Values are of the form
- * `projects/{project}/instances/{instance}/tables/{source_table}`.
- *
- * Generated from protobuf field string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setSourceTable($var)
- {
- GPBUtil::checkString($var, True);
- $this->source_table = $var;
-
- return $this;
- }
-
- /**
- * Output only. Name of the backup from which this backup was copied. If a
- * backup is not created by copying a backup, this field will be empty. Values
- * are of the form:
- * projects//instances//clusters//backups/
- *
- * Generated from protobuf field string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return string
- */
- public function getSourceBackup()
- {
- return $this->source_backup;
- }
-
- /**
- * Output only. Name of the backup from which this backup was copied. If a
- * backup is not created by copying a backup, this field will be empty. Values
- * are of the form:
- * projects//instances//clusters//backups/
- *
- * Generated from protobuf field string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param string $var
- * @return $this
- */
- public function setSourceBackup($var)
- {
- GPBUtil::checkString($var, True);
- $this->source_backup = $var;
-
- return $this;
- }
-
- /**
- * Required. The expiration time of the backup.
- * When creating a backup or updating its `expire_time`, the value must be
- * greater than the backup creation time by:
- * - At least 6 hours
- * - At most 90 days
- * Once the `expire_time` has passed, Cloud Bigtable will delete the backup.
- *
- * Generated from protobuf field .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getExpireTime()
- {
- return $this->expire_time;
- }
-
- public function hasExpireTime()
- {
- return isset($this->expire_time);
- }
-
- public function clearExpireTime()
- {
- unset($this->expire_time);
- }
-
- /**
- * Required. The expiration time of the backup.
- * When creating a backup or updating its `expire_time`, the value must be
- * greater than the backup creation time by:
- * - At least 6 hours
- * - At most 90 days
- * Once the `expire_time` has passed, Cloud Bigtable will delete the backup.
- *
- * Generated from protobuf field .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setExpireTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->expire_time = $var;
-
- return $this;
- }
-
- /**
- * Output only. `start_time` is the time that the backup was started
- * (i.e. approximately the time the
- * [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup]
- * request is received). The row data in this backup will be no older than
- * this timestamp.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getStartTime()
- {
- return $this->start_time;
- }
-
- public function hasStartTime()
- {
- return isset($this->start_time);
- }
-
- public function clearStartTime()
- {
- unset($this->start_time);
- }
-
- /**
- * Output only. `start_time` is the time that the backup was started
- * (i.e. approximately the time the
- * [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup]
- * request is received). The row data in this backup will be no older than
- * this timestamp.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setStartTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->start_time = $var;
-
- return $this;
- }
-
- /**
- * Output only. `end_time` is the time that the backup was finished. The row
- * data in the backup will be no newer than this timestamp.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getEndTime()
- {
- return $this->end_time;
- }
-
- public function hasEndTime()
- {
- return isset($this->end_time);
- }
-
- public function clearEndTime()
- {
- unset($this->end_time);
- }
-
- /**
- * Output only. `end_time` is the time that the backup was finished. The row
- * data in the backup will be no newer than this timestamp.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setEndTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->end_time = $var;
-
- return $this;
- }
-
- /**
- * Output only. Size of the backup in bytes.
- *
- * Generated from protobuf field int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return int|string
- */
- public function getSizeBytes()
- {
- return $this->size_bytes;
- }
-
- /**
- * Output only. Size of the backup in bytes.
- *
- * Generated from protobuf field int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param int|string $var
- * @return $this
- */
- public function setSizeBytes($var)
- {
- GPBUtil::checkInt64($var);
- $this->size_bytes = $var;
-
- return $this;
- }
-
- /**
- * Output only. The current state of the backup.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return int
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * Output only. The current state of the backup.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param int $var
- * @return $this
- */
- public function setState($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\Backup\State::class);
- $this->state = $var;
-
- return $this;
- }
-
- /**
- * Output only. The encryption information for the backup.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Cloud\Bigtable\Admin\V2\EncryptionInfo|null
- */
- public function getEncryptionInfo()
- {
- return $this->encryption_info;
- }
-
- public function hasEncryptionInfo()
- {
- return isset($this->encryption_info);
- }
-
- public function clearEncryptionInfo()
- {
- unset($this->encryption_info);
- }
-
- /**
- * Output only. The encryption information for the backup.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Cloud\Bigtable\Admin\V2\EncryptionInfo $var
- * @return $this
- */
- public function setEncryptionInfo($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\EncryptionInfo::class);
- $this->encryption_info = $var;
-
- return $this;
- }
-
- /**
- * Indicates the backup type of the backup.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Backup.BackupType backup_type = 11;
- * @return int
- */
- public function getBackupType()
- {
- return $this->backup_type;
- }
-
- /**
- * Indicates the backup type of the backup.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Backup.BackupType backup_type = 11;
- * @param int $var
- * @return $this
- */
- public function setBackupType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\Backup\BackupType::class);
- $this->backup_type = $var;
-
- return $this;
- }
-
- /**
- * The time at which the hot backup will be converted to a standard backup.
- * Once the `hot_to_standard_time` has passed, Cloud Bigtable will convert the
- * hot backup to a standard backup. This value must be greater than the backup
- * creation time by:
- * - At least 24 hours
- * This field only applies for hot backups. When creating or updating a
- * standard backup, attempting to set this field will fail the request.
- *
- * Generated from protobuf field .google.protobuf.Timestamp hot_to_standard_time = 12;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getHotToStandardTime()
- {
- return $this->hot_to_standard_time;
- }
-
- public function hasHotToStandardTime()
- {
- return isset($this->hot_to_standard_time);
- }
-
- public function clearHotToStandardTime()
- {
- unset($this->hot_to_standard_time);
- }
-
- /**
- * The time at which the hot backup will be converted to a standard backup.
- * Once the `hot_to_standard_time` has passed, Cloud Bigtable will convert the
- * hot backup to a standard backup. This value must be greater than the backup
- * creation time by:
- * - At least 24 hours
- * This field only applies for hot backups. When creating or updating a
- * standard backup, attempting to set this field will fail the request.
- *
- * Generated from protobuf field .google.protobuf.Timestamp hot_to_standard_time = 12;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setHotToStandardTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->hot_to_standard_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Backup/BackupType.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Backup/BackupType.php
deleted file mode 100644
index cf2244ea9b7e..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Backup/BackupType.php
+++ /dev/null
@@ -1,69 +0,0 @@
-google.bigtable.admin.v2.Backup.BackupType
- */
-class BackupType
-{
- /**
- * Not specified.
- *
- * Generated from protobuf enum BACKUP_TYPE_UNSPECIFIED = 0;
- */
- const BACKUP_TYPE_UNSPECIFIED = 0;
- /**
- * The default type for Cloud Bigtable managed backups. Supported for
- * backups created in both HDD and SSD instances. Requires optimization when
- * restored to a table in an SSD instance.
- *
- * Generated from protobuf enum STANDARD = 1;
- */
- const STANDARD = 1;
- /**
- * A backup type with faster restore to SSD performance. Only supported for
- * backups created in SSD instances. A new SSD table restored from a hot
- * backup reaches production performance more quickly than a standard
- * backup.
- *
- * Generated from protobuf enum HOT = 2;
- */
- const HOT = 2;
-
- private static $valueToName = [
- self::BACKUP_TYPE_UNSPECIFIED => 'BACKUP_TYPE_UNSPECIFIED',
- self::STANDARD => 'STANDARD',
- self::HOT => 'HOT',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(BackupType::class, \Google\Cloud\Bigtable\Admin\V2\Backup_BackupType::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Backup/State.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Backup/State.php
deleted file mode 100644
index 1e7867d2bd8a..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Backup/State.php
+++ /dev/null
@@ -1,65 +0,0 @@
-google.bigtable.admin.v2.Backup.State
- */
-class State
-{
- /**
- * Not specified.
- *
- * Generated from protobuf enum STATE_UNSPECIFIED = 0;
- */
- const STATE_UNSPECIFIED = 0;
- /**
- * The pending backup is still being created. Operations on the
- * backup may fail with `FAILED_PRECONDITION` in this state.
- *
- * Generated from protobuf enum CREATING = 1;
- */
- const CREATING = 1;
- /**
- * The backup is complete and ready for use.
- *
- * Generated from protobuf enum READY = 2;
- */
- const READY = 2;
-
- private static $valueToName = [
- self::STATE_UNSPECIFIED => 'STATE_UNSPECIFIED',
- self::CREATING => 'CREATING',
- self::READY => 'READY',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(State::class, \Google\Cloud\Bigtable\Admin\V2\Backup_State::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/BackupInfo.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/BackupInfo.php
deleted file mode 100644
index a9680225f63e..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/BackupInfo.php
+++ /dev/null
@@ -1,243 +0,0 @@
-google.bigtable.admin.v2.BackupInfo
- */
-class BackupInfo extends \Google\Protobuf\Internal\Message
-{
- /**
- * Output only. Name of the backup.
- *
- * Generated from protobuf field string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $backup = '';
- /**
- * Output only. The time that the backup was started. Row data in the backup
- * will be no older than this timestamp.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $start_time = null;
- /**
- * Output only. This time that the backup was finished. Row data in the
- * backup will be no newer than this timestamp.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $end_time = null;
- /**
- * Output only. Name of the table the backup was created from.
- *
- * Generated from protobuf field string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $source_table = '';
- /**
- * Output only. Name of the backup from which this backup was copied. If a
- * backup is not created by copying a backup, this field will be empty. Values
- * are of the form:
- * projects//instances//clusters//backups/
- *
- * Generated from protobuf field string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $source_backup = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $backup
- * Output only. Name of the backup.
- * @type \Google\Protobuf\Timestamp $start_time
- * Output only. The time that the backup was started. Row data in the backup
- * will be no older than this timestamp.
- * @type \Google\Protobuf\Timestamp $end_time
- * Output only. This time that the backup was finished. Row data in the
- * backup will be no newer than this timestamp.
- * @type string $source_table
- * Output only. Name of the table the backup was created from.
- * @type string $source_backup
- * Output only. Name of the backup from which this backup was copied. If a
- * backup is not created by copying a backup, this field will be empty. Values
- * are of the form:
- * projects//instances//clusters//backups/
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Table::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Output only. Name of the backup.
- *
- * Generated from protobuf field string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return string
- */
- public function getBackup()
- {
- return $this->backup;
- }
-
- /**
- * Output only. Name of the backup.
- *
- * Generated from protobuf field string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param string $var
- * @return $this
- */
- public function setBackup($var)
- {
- GPBUtil::checkString($var, True);
- $this->backup = $var;
-
- return $this;
- }
-
- /**
- * Output only. The time that the backup was started. Row data in the backup
- * will be no older than this timestamp.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getStartTime()
- {
- return $this->start_time;
- }
-
- public function hasStartTime()
- {
- return isset($this->start_time);
- }
-
- public function clearStartTime()
- {
- unset($this->start_time);
- }
-
- /**
- * Output only. The time that the backup was started. Row data in the backup
- * will be no older than this timestamp.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setStartTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->start_time = $var;
-
- return $this;
- }
-
- /**
- * Output only. This time that the backup was finished. Row data in the
- * backup will be no newer than this timestamp.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getEndTime()
- {
- return $this->end_time;
- }
-
- public function hasEndTime()
- {
- return isset($this->end_time);
- }
-
- public function clearEndTime()
- {
- unset($this->end_time);
- }
-
- /**
- * Output only. This time that the backup was finished. Row data in the
- * backup will be no newer than this timestamp.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setEndTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->end_time = $var;
-
- return $this;
- }
-
- /**
- * Output only. Name of the table the backup was created from.
- *
- * Generated from protobuf field string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return string
- */
- public function getSourceTable()
- {
- return $this->source_table;
- }
-
- /**
- * Output only. Name of the table the backup was created from.
- *
- * Generated from protobuf field string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param string $var
- * @return $this
- */
- public function setSourceTable($var)
- {
- GPBUtil::checkString($var, True);
- $this->source_table = $var;
-
- return $this;
- }
-
- /**
- * Output only. Name of the backup from which this backup was copied. If a
- * backup is not created by copying a backup, this field will be empty. Values
- * are of the form:
- * projects//instances//clusters//backups/
- *
- * Generated from protobuf field string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return string
- */
- public function getSourceBackup()
- {
- return $this->source_backup;
- }
-
- /**
- * Output only. Name of the backup from which this backup was copied. If a
- * backup is not created by copying a backup, this field will be empty. Values
- * are of the form:
- * projects//instances//clusters//backups/
- *
- * Generated from protobuf field string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param string $var
- * @return $this
- */
- public function setSourceBackup($var)
- {
- GPBUtil::checkString($var, True);
- $this->source_backup = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ChangeStreamConfig.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ChangeStreamConfig.php
deleted file mode 100644
index 49dbf3a36659..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ChangeStreamConfig.php
+++ /dev/null
@@ -1,93 +0,0 @@
-google.bigtable.admin.v2.ChangeStreamConfig
- */
-class ChangeStreamConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * How long the change stream should be retained. Change stream data older
- * than the retention period will not be returned when reading the change
- * stream from the table.
- * Values must be at least 1 day and at most 7 days, and will be truncated to
- * microsecond granularity.
- *
- * Generated from protobuf field .google.protobuf.Duration retention_period = 1;
- */
- protected $retention_period = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\Duration $retention_period
- * How long the change stream should be retained. Change stream data older
- * than the retention period will not be returned when reading the change
- * stream from the table.
- * Values must be at least 1 day and at most 7 days, and will be truncated to
- * microsecond granularity.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Table::initOnce();
- parent::__construct($data);
- }
-
- /**
- * How long the change stream should be retained. Change stream data older
- * than the retention period will not be returned when reading the change
- * stream from the table.
- * Values must be at least 1 day and at most 7 days, and will be truncated to
- * microsecond granularity.
- *
- * Generated from protobuf field .google.protobuf.Duration retention_period = 1;
- * @return \Google\Protobuf\Duration|null
- */
- public function getRetentionPeriod()
- {
- return $this->retention_period;
- }
-
- public function hasRetentionPeriod()
- {
- return isset($this->retention_period);
- }
-
- public function clearRetentionPeriod()
- {
- unset($this->retention_period);
- }
-
- /**
- * How long the change stream should be retained. Change stream data older
- * than the retention period will not be returned when reading the change
- * stream from the table.
- * Values must be at least 1 day and at most 7 days, and will be truncated to
- * microsecond granularity.
- *
- * Generated from protobuf field .google.protobuf.Duration retention_period = 1;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setRetentionPeriod($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->retention_period = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CheckConsistencyRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CheckConsistencyRequest.php
deleted file mode 100644
index 543b4f861565..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CheckConsistencyRequest.php
+++ /dev/null
@@ -1,215 +0,0 @@
-google.bigtable.admin.v2.CheckConsistencyRequest
- */
-class CheckConsistencyRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the Table for which to check replication
- * consistency. Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
- /**
- * Required. The token created using GenerateConsistencyToken for the Table.
- *
- * Generated from protobuf field string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $consistency_token = '';
- protected $mode;
-
- /**
- * @param string $name Required. The unique name of the Table for which to check replication
- * consistency. Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`. Please see
- * {@see BigtableTableAdminClient::tableName()} for help formatting this field.
- * @param string $consistencyToken Required. The token created using GenerateConsistencyToken for the Table.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\CheckConsistencyRequest
- *
- * @experimental
- */
- public static function build(string $name, string $consistencyToken): self
- {
- return (new self())
- ->setName($name)
- ->setConsistencyToken($consistencyToken);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The unique name of the Table for which to check replication
- * consistency. Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- * @type string $consistency_token
- * Required. The token created using GenerateConsistencyToken for the Table.
- * @type \Google\Cloud\Bigtable\Admin\V2\StandardReadRemoteWrites $standard_read_remote_writes
- * Checks that reads using an app profile with `StandardIsolation` can
- * see all writes committed before the token was created, even if the
- * read and write target different clusters.
- * @type \Google\Cloud\Bigtable\Admin\V2\DataBoostReadLocalWrites $data_boost_read_local_writes
- * Checks that reads using an app profile with `DataBoostIsolationReadOnly`
- * can see all writes committed before the token was created, but only if
- * the read and write target the same cluster.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the Table for which to check replication
- * consistency. Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The unique name of the Table for which to check replication
- * consistency. Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Required. The token created using GenerateConsistencyToken for the Table.
- *
- * Generated from protobuf field string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getConsistencyToken()
- {
- return $this->consistency_token;
- }
-
- /**
- * Required. The token created using GenerateConsistencyToken for the Table.
- *
- * Generated from protobuf field string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setConsistencyToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->consistency_token = $var;
-
- return $this;
- }
-
- /**
- * Checks that reads using an app profile with `StandardIsolation` can
- * see all writes committed before the token was created, even if the
- * read and write target different clusters.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.StandardReadRemoteWrites standard_read_remote_writes = 3;
- * @return \Google\Cloud\Bigtable\Admin\V2\StandardReadRemoteWrites|null
- */
- public function getStandardReadRemoteWrites()
- {
- return $this->readOneof(3);
- }
-
- public function hasStandardReadRemoteWrites()
- {
- return $this->hasOneof(3);
- }
-
- /**
- * Checks that reads using an app profile with `StandardIsolation` can
- * see all writes committed before the token was created, even if the
- * read and write target different clusters.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.StandardReadRemoteWrites standard_read_remote_writes = 3;
- * @param \Google\Cloud\Bigtable\Admin\V2\StandardReadRemoteWrites $var
- * @return $this
- */
- public function setStandardReadRemoteWrites($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\StandardReadRemoteWrites::class);
- $this->writeOneof(3, $var);
-
- return $this;
- }
-
- /**
- * Checks that reads using an app profile with `DataBoostIsolationReadOnly`
- * can see all writes committed before the token was created, but only if
- * the read and write target the same cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.DataBoostReadLocalWrites data_boost_read_local_writes = 4;
- * @return \Google\Cloud\Bigtable\Admin\V2\DataBoostReadLocalWrites|null
- */
- public function getDataBoostReadLocalWrites()
- {
- return $this->readOneof(4);
- }
-
- public function hasDataBoostReadLocalWrites()
- {
- return $this->hasOneof(4);
- }
-
- /**
- * Checks that reads using an app profile with `DataBoostIsolationReadOnly`
- * can see all writes committed before the token was created, but only if
- * the read and write target the same cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.DataBoostReadLocalWrites data_boost_read_local_writes = 4;
- * @param \Google\Cloud\Bigtable\Admin\V2\DataBoostReadLocalWrites $var
- * @return $this
- */
- public function setDataBoostReadLocalWrites($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\DataBoostReadLocalWrites::class);
- $this->writeOneof(4, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getMode()
- {
- return $this->whichOneof("mode");
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CheckConsistencyResponse.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CheckConsistencyResponse.php
deleted file mode 100644
index 86e789432683..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CheckConsistencyResponse.php
+++ /dev/null
@@ -1,72 +0,0 @@
-google.bigtable.admin.v2.CheckConsistencyResponse
- */
-class CheckConsistencyResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * True only if the token is consistent. A token is consistent if replication
- * has caught up with the restrictions specified in the request.
- *
- * Generated from protobuf field bool consistent = 1;
- */
- protected $consistent = false;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type bool $consistent
- * True only if the token is consistent. A token is consistent if replication
- * has caught up with the restrictions specified in the request.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * True only if the token is consistent. A token is consistent if replication
- * has caught up with the restrictions specified in the request.
- *
- * Generated from protobuf field bool consistent = 1;
- * @return bool
- */
- public function getConsistent()
- {
- return $this->consistent;
- }
-
- /**
- * True only if the token is consistent. A token is consistent if replication
- * has caught up with the restrictions specified in the request.
- *
- * Generated from protobuf field bool consistent = 1;
- * @param bool $var
- * @return $this
- */
- public function setConsistent($var)
- {
- GPBUtil::checkBool($var);
- $this->consistent = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Cluster.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Cluster.php
deleted file mode 100644
index f85b6bce6a47..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Cluster.php
+++ /dev/null
@@ -1,349 +0,0 @@
-google.bigtable.admin.v2.Cluster
- */
-class Cluster extends \Google\Protobuf\Internal\Message
-{
- /**
- * The unique name of the cluster. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * Immutable. The location where this cluster's nodes and storage reside. For
- * best performance, clients should be located as close as possible to this
- * cluster. Currently only zones are supported, so values should be of the
- * form `projects/{project}/locations/{zone}`.
- *
- * Generated from protobuf field string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
- */
- protected $location = '';
- /**
- * Output only. The current state of the cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $state = 0;
- /**
- * The number of nodes allocated to this cluster. More nodes enable higher
- * throughput and more consistent performance.
- *
- * Generated from protobuf field int32 serve_nodes = 4;
- */
- protected $serve_nodes = 0;
- /**
- * Immutable. The node scaling factor of this cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster.NodeScalingFactor node_scaling_factor = 9 [(.google.api.field_behavior) = IMMUTABLE];
- */
- protected $node_scaling_factor = 0;
- /**
- * Immutable. The type of storage used by this cluster to serve its
- * parent instance's tables, unless explicitly overridden.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE];
- */
- protected $default_storage_type = 0;
- /**
- * Immutable. The encryption configuration for CMEK-protected clusters.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE];
- */
- protected $encryption_config = null;
- protected $config;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The unique name of the cluster. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
- * @type string $location
- * Immutable. The location where this cluster's nodes and storage reside. For
- * best performance, clients should be located as close as possible to this
- * cluster. Currently only zones are supported, so values should be of the
- * form `projects/{project}/locations/{zone}`.
- * @type int $state
- * Output only. The current state of the cluster.
- * @type int $serve_nodes
- * The number of nodes allocated to this cluster. More nodes enable higher
- * throughput and more consistent performance.
- * @type int $node_scaling_factor
- * Immutable. The node scaling factor of this cluster.
- * @type \Google\Cloud\Bigtable\Admin\V2\Cluster\ClusterConfig $cluster_config
- * Configuration for this cluster.
- * @type int $default_storage_type
- * Immutable. The type of storage used by this cluster to serve its
- * parent instance's tables, unless explicitly overridden.
- * @type \Google\Cloud\Bigtable\Admin\V2\Cluster\EncryptionConfig $encryption_config
- * Immutable. The encryption configuration for CMEK-protected clusters.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Instance::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The unique name of the cluster. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The unique name of the cluster. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
- *
- * 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;
- }
-
- /**
- * Immutable. The location where this cluster's nodes and storage reside. For
- * best performance, clients should be located as close as possible to this
- * cluster. Currently only zones are supported, so values should be of the
- * form `projects/{project}/locations/{zone}`.
- *
- * Generated from protobuf field string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
- * @return string
- */
- public function getLocation()
- {
- return $this->location;
- }
-
- /**
- * Immutable. The location where this cluster's nodes and storage reside. For
- * best performance, clients should be located as close as possible to this
- * cluster. Currently only zones are supported, so values should be of the
- * form `projects/{project}/locations/{zone}`.
- *
- * Generated from protobuf field string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setLocation($var)
- {
- GPBUtil::checkString($var, True);
- $this->location = $var;
-
- return $this;
- }
-
- /**
- * Output only. The current state of the cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return int
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * Output only. The current state of the cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param int $var
- * @return $this
- */
- public function setState($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\Cluster\State::class);
- $this->state = $var;
-
- return $this;
- }
-
- /**
- * The number of nodes allocated to this cluster. More nodes enable higher
- * throughput and more consistent performance.
- *
- * Generated from protobuf field int32 serve_nodes = 4;
- * @return int
- */
- public function getServeNodes()
- {
- return $this->serve_nodes;
- }
-
- /**
- * The number of nodes allocated to this cluster. More nodes enable higher
- * throughput and more consistent performance.
- *
- * Generated from protobuf field int32 serve_nodes = 4;
- * @param int $var
- * @return $this
- */
- public function setServeNodes($var)
- {
- GPBUtil::checkInt32($var);
- $this->serve_nodes = $var;
-
- return $this;
- }
-
- /**
- * Immutable. The node scaling factor of this cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster.NodeScalingFactor node_scaling_factor = 9 [(.google.api.field_behavior) = IMMUTABLE];
- * @return int
- */
- public function getNodeScalingFactor()
- {
- return $this->node_scaling_factor;
- }
-
- /**
- * Immutable. The node scaling factor of this cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster.NodeScalingFactor node_scaling_factor = 9 [(.google.api.field_behavior) = IMMUTABLE];
- * @param int $var
- * @return $this
- */
- public function setNodeScalingFactor($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\Cluster\NodeScalingFactor::class);
- $this->node_scaling_factor = $var;
-
- return $this;
- }
-
- /**
- * Configuration for this cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7;
- * @return \Google\Cloud\Bigtable\Admin\V2\Cluster\ClusterConfig|null
- */
- public function getClusterConfig()
- {
- return $this->readOneof(7);
- }
-
- public function hasClusterConfig()
- {
- return $this->hasOneof(7);
- }
-
- /**
- * Configuration for this cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7;
- * @param \Google\Cloud\Bigtable\Admin\V2\Cluster\ClusterConfig $var
- * @return $this
- */
- public function setClusterConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Cluster\ClusterConfig::class);
- $this->writeOneof(7, $var);
-
- return $this;
- }
-
- /**
- * Immutable. The type of storage used by this cluster to serve its
- * parent instance's tables, unless explicitly overridden.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE];
- * @return int
- */
- public function getDefaultStorageType()
- {
- return $this->default_storage_type;
- }
-
- /**
- * Immutable. The type of storage used by this cluster to serve its
- * parent instance's tables, unless explicitly overridden.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE];
- * @param int $var
- * @return $this
- */
- public function setDefaultStorageType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\StorageType::class);
- $this->default_storage_type = $var;
-
- return $this;
- }
-
- /**
- * Immutable. The encryption configuration for CMEK-protected clusters.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE];
- * @return \Google\Cloud\Bigtable\Admin\V2\Cluster\EncryptionConfig|null
- */
- public function getEncryptionConfig()
- {
- return $this->encryption_config;
- }
-
- public function hasEncryptionConfig()
- {
- return isset($this->encryption_config);
- }
-
- public function clearEncryptionConfig()
- {
- unset($this->encryption_config);
- }
-
- /**
- * Immutable. The encryption configuration for CMEK-protected clusters.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE];
- * @param \Google\Cloud\Bigtable\Admin\V2\Cluster\EncryptionConfig $var
- * @return $this
- */
- public function setEncryptionConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Cluster\EncryptionConfig::class);
- $this->encryption_config = $var;
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getConfig()
- {
- return $this->whichOneof("config");
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Cluster/ClusterAutoscalingConfig.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Cluster/ClusterAutoscalingConfig.php
deleted file mode 100644
index 997961367dd3..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Cluster/ClusterAutoscalingConfig.php
+++ /dev/null
@@ -1,124 +0,0 @@
-google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig
- */
-class ClusterAutoscalingConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. Autoscaling limits for this cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $autoscaling_limits = null;
- /**
- * Required. Autoscaling targets for this cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $autoscaling_targets = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\AutoscalingLimits $autoscaling_limits
- * Required. Autoscaling limits for this cluster.
- * @type \Google\Cloud\Bigtable\Admin\V2\AutoscalingTargets $autoscaling_targets
- * Required. Autoscaling targets for this cluster.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Instance::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. Autoscaling limits for this cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Bigtable\Admin\V2\AutoscalingLimits|null
- */
- public function getAutoscalingLimits()
- {
- return $this->autoscaling_limits;
- }
-
- public function hasAutoscalingLimits()
- {
- return isset($this->autoscaling_limits);
- }
-
- public function clearAutoscalingLimits()
- {
- unset($this->autoscaling_limits);
- }
-
- /**
- * Required. Autoscaling limits for this cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Bigtable\Admin\V2\AutoscalingLimits $var
- * @return $this
- */
- public function setAutoscalingLimits($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\AutoscalingLimits::class);
- $this->autoscaling_limits = $var;
-
- return $this;
- }
-
- /**
- * Required. Autoscaling targets for this cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Bigtable\Admin\V2\AutoscalingTargets|null
- */
- public function getAutoscalingTargets()
- {
- return $this->autoscaling_targets;
- }
-
- public function hasAutoscalingTargets()
- {
- return isset($this->autoscaling_targets);
- }
-
- public function clearAutoscalingTargets()
- {
- unset($this->autoscaling_targets);
- }
-
- /**
- * Required. Autoscaling targets for this cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Bigtable\Admin\V2\AutoscalingTargets $var
- * @return $this
- */
- public function setAutoscalingTargets($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\AutoscalingTargets::class);
- $this->autoscaling_targets = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(ClusterAutoscalingConfig::class, \Google\Cloud\Bigtable\Admin\V2\Cluster_ClusterAutoscalingConfig::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Cluster/ClusterConfig.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Cluster/ClusterConfig.php
deleted file mode 100644
index b8856b291e62..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Cluster/ClusterConfig.php
+++ /dev/null
@@ -1,80 +0,0 @@
-google.bigtable.admin.v2.Cluster.ClusterConfig
- */
-class ClusterConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * Autoscaling configuration for this cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1;
- */
- protected $cluster_autoscaling_config = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\Cluster\ClusterAutoscalingConfig $cluster_autoscaling_config
- * Autoscaling configuration for this cluster.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Instance::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Autoscaling configuration for this cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\Cluster\ClusterAutoscalingConfig|null
- */
- public function getClusterAutoscalingConfig()
- {
- return $this->cluster_autoscaling_config;
- }
-
- public function hasClusterAutoscalingConfig()
- {
- return isset($this->cluster_autoscaling_config);
- }
-
- public function clearClusterAutoscalingConfig()
- {
- unset($this->cluster_autoscaling_config);
- }
-
- /**
- * Autoscaling configuration for this cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\Cluster\ClusterAutoscalingConfig $var
- * @return $this
- */
- public function setClusterAutoscalingConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Cluster\ClusterAutoscalingConfig::class);
- $this->cluster_autoscaling_config = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(ClusterConfig::class, \Google\Cloud\Bigtable\Admin\V2\Cluster_ClusterConfig::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Cluster/EncryptionConfig.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Cluster/EncryptionConfig.php
deleted file mode 100644
index 3294a44ba562..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Cluster/EncryptionConfig.php
+++ /dev/null
@@ -1,107 +0,0 @@
-google.bigtable.admin.v2.Cluster.EncryptionConfig
- */
-class EncryptionConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * Describes the Cloud KMS encryption key that will be used to protect the
- * destination Bigtable cluster. The requirements for this key are:
- * 1) The Cloud Bigtable service account associated with the project that
- * contains this cluster must be granted the
- * `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key.
- * 2) Only regional keys can be used and the region of the CMEK key must
- * match the region of the cluster.
- * 3) All clusters within an instance must use the same CMEK key.
- * Values are of the form
- * `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}`
- *
- * Generated from protobuf field string kms_key_name = 1 [(.google.api.resource_reference) = {
- */
- protected $kms_key_name = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kms_key_name
- * Describes the Cloud KMS encryption key that will be used to protect the
- * destination Bigtable cluster. The requirements for this key are:
- * 1) The Cloud Bigtable service account associated with the project that
- * contains this cluster must be granted the
- * `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key.
- * 2) Only regional keys can be used and the region of the CMEK key must
- * match the region of the cluster.
- * 3) All clusters within an instance must use the same CMEK key.
- * Values are of the form
- * `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}`
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Instance::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Describes the Cloud KMS encryption key that will be used to protect the
- * destination Bigtable cluster. The requirements for this key are:
- * 1) The Cloud Bigtable service account associated with the project that
- * contains this cluster must be granted the
- * `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key.
- * 2) Only regional keys can be used and the region of the CMEK key must
- * match the region of the cluster.
- * 3) All clusters within an instance must use the same CMEK key.
- * Values are of the form
- * `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}`
- *
- * Generated from protobuf field string kms_key_name = 1 [(.google.api.resource_reference) = {
- * @return string
- */
- public function getKmsKeyName()
- {
- return $this->kms_key_name;
- }
-
- /**
- * Describes the Cloud KMS encryption key that will be used to protect the
- * destination Bigtable cluster. The requirements for this key are:
- * 1) The Cloud Bigtable service account associated with the project that
- * contains this cluster must be granted the
- * `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key.
- * 2) Only regional keys can be used and the region of the CMEK key must
- * match the region of the cluster.
- * 3) All clusters within an instance must use the same CMEK key.
- * Values are of the form
- * `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}`
- *
- * Generated from protobuf field string kms_key_name = 1 [(.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setKmsKeyName($var)
- {
- GPBUtil::checkString($var, True);
- $this->kms_key_name = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(EncryptionConfig::class, \Google\Cloud\Bigtable\Admin\V2\Cluster_EncryptionConfig::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Cluster/NodeScalingFactor.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Cluster/NodeScalingFactor.php
deleted file mode 100644
index c5f625fd27e6..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Cluster/NodeScalingFactor.php
+++ /dev/null
@@ -1,67 +0,0 @@
-google.bigtable.admin.v2.Cluster.NodeScalingFactor
- */
-class NodeScalingFactor
-{
- /**
- * No node scaling specified. Defaults to NODE_SCALING_FACTOR_1X.
- *
- * Generated from protobuf enum NODE_SCALING_FACTOR_UNSPECIFIED = 0;
- */
- const NODE_SCALING_FACTOR_UNSPECIFIED = 0;
- /**
- * The cluster is running with a scaling factor of 1.
- *
- * Generated from protobuf enum NODE_SCALING_FACTOR_1X = 1;
- */
- const NODE_SCALING_FACTOR_1X = 1;
- /**
- * The cluster is running with a scaling factor of 2.
- * All node count values must be in increments of 2 with this scaling factor
- * enabled, otherwise an INVALID_ARGUMENT error will be returned.
- *
- * Generated from protobuf enum NODE_SCALING_FACTOR_2X = 2;
- */
- const NODE_SCALING_FACTOR_2X = 2;
-
- private static $valueToName = [
- self::NODE_SCALING_FACTOR_UNSPECIFIED => 'NODE_SCALING_FACTOR_UNSPECIFIED',
- self::NODE_SCALING_FACTOR_1X => 'NODE_SCALING_FACTOR_1X',
- self::NODE_SCALING_FACTOR_2X => 'NODE_SCALING_FACTOR_2X',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(NodeScalingFactor::class, \Google\Cloud\Bigtable\Admin\V2\Cluster_NodeScalingFactor::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Cluster/State.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Cluster/State.php
deleted file mode 100644
index fc392006912f..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Cluster/State.php
+++ /dev/null
@@ -1,85 +0,0 @@
-google.bigtable.admin.v2.Cluster.State
- */
-class State
-{
- /**
- * The state of the cluster could not be determined.
- *
- * Generated from protobuf enum STATE_NOT_KNOWN = 0;
- */
- const STATE_NOT_KNOWN = 0;
- /**
- * The cluster has been successfully created and is ready to serve requests.
- *
- * Generated from protobuf enum READY = 1;
- */
- const READY = 1;
- /**
- * The cluster is currently being created, and may be destroyed
- * if the creation process encounters an error.
- * A cluster may not be able to serve requests while being created.
- *
- * Generated from protobuf enum CREATING = 2;
- */
- const CREATING = 2;
- /**
- * The cluster is currently being resized, and may revert to its previous
- * node count if the process encounters an error.
- * A cluster is still capable of serving requests while being resized,
- * but may exhibit performance as if its number of allocated nodes is
- * between the starting and requested states.
- *
- * Generated from protobuf enum RESIZING = 3;
- */
- const RESIZING = 3;
- /**
- * The cluster has no backing nodes. The data (tables) still
- * exist, but no operations can be performed on the cluster.
- *
- * Generated from protobuf enum DISABLED = 4;
- */
- const DISABLED = 4;
-
- private static $valueToName = [
- self::STATE_NOT_KNOWN => 'STATE_NOT_KNOWN',
- self::READY => 'READY',
- self::CREATING => 'CREATING',
- self::RESIZING => 'RESIZING',
- self::DISABLED => 'DISABLED',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(State::class, \Google\Cloud\Bigtable\Admin\V2\Cluster_State::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ColumnFamily.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ColumnFamily.php
deleted file mode 100644
index 12959e605d65..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ColumnFamily.php
+++ /dev/null
@@ -1,157 +0,0 @@
-google.bigtable.admin.v2.ColumnFamily
- */
-class ColumnFamily extends \Google\Protobuf\Internal\Message
-{
- /**
- * Garbage collection rule specified as a protobuf.
- * Must serialize to at most 500 bytes.
- * NOTE: Garbage collection executes opportunistically in the background, and
- * so it's possible for reads to return a cell even if it matches the active
- * GC expression for its family.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.GcRule gc_rule = 1;
- */
- protected $gc_rule = null;
- /**
- * The type of data stored in each of this family's cell values, including its
- * full encoding. If omitted, the family only serves raw untyped bytes.
- * For now, only the `Aggregate` type is supported.
- * `Aggregate` can only be set at family creation and is immutable afterwards.
- * If `value_type` is `Aggregate`, written data must be compatible with:
- * * `value_type.input_type` for `AddInput` mutations
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type value_type = 3;
- */
- protected $value_type = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\GcRule $gc_rule
- * Garbage collection rule specified as a protobuf.
- * Must serialize to at most 500 bytes.
- * NOTE: Garbage collection executes opportunistically in the background, and
- * so it's possible for reads to return a cell even if it matches the active
- * GC expression for its family.
- * @type \Google\Cloud\Bigtable\Admin\V2\Type $value_type
- * The type of data stored in each of this family's cell values, including its
- * full encoding. If omitted, the family only serves raw untyped bytes.
- * For now, only the `Aggregate` type is supported.
- * `Aggregate` can only be set at family creation and is immutable afterwards.
- * If `value_type` is `Aggregate`, written data must be compatible with:
- * * `value_type.input_type` for `AddInput` mutations
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Table::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Garbage collection rule specified as a protobuf.
- * Must serialize to at most 500 bytes.
- * NOTE: Garbage collection executes opportunistically in the background, and
- * so it's possible for reads to return a cell even if it matches the active
- * GC expression for its family.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.GcRule gc_rule = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\GcRule|null
- */
- public function getGcRule()
- {
- return $this->gc_rule;
- }
-
- public function hasGcRule()
- {
- return isset($this->gc_rule);
- }
-
- public function clearGcRule()
- {
- unset($this->gc_rule);
- }
-
- /**
- * Garbage collection rule specified as a protobuf.
- * Must serialize to at most 500 bytes.
- * NOTE: Garbage collection executes opportunistically in the background, and
- * so it's possible for reads to return a cell even if it matches the active
- * GC expression for its family.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.GcRule gc_rule = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\GcRule $var
- * @return $this
- */
- public function setGcRule($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\GcRule::class);
- $this->gc_rule = $var;
-
- return $this;
- }
-
- /**
- * The type of data stored in each of this family's cell values, including its
- * full encoding. If omitted, the family only serves raw untyped bytes.
- * For now, only the `Aggregate` type is supported.
- * `Aggregate` can only be set at family creation and is immutable afterwards.
- * If `value_type` is `Aggregate`, written data must be compatible with:
- * * `value_type.input_type` for `AddInput` mutations
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type value_type = 3;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type|null
- */
- public function getValueType()
- {
- return $this->value_type;
- }
-
- public function hasValueType()
- {
- return isset($this->value_type);
- }
-
- public function clearValueType()
- {
- unset($this->value_type);
- }
-
- /**
- * The type of data stored in each of this family's cell values, including its
- * full encoding. If omitted, the family only serves raw untyped bytes.
- * For now, only the `Aggregate` type is supported.
- * `Aggregate` can only be set at family creation and is immutable afterwards.
- * If `value_type` is `Aggregate`, written data must be compatible with:
- * * `value_type.input_type` for `AddInput` mutations
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type value_type = 3;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type $var
- * @return $this
- */
- public function setValueType($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type::class);
- $this->value_type = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CopyBackupMetadata.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CopyBackupMetadata.php
deleted file mode 100644
index 0efc355bd7d8..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CopyBackupMetadata.php
+++ /dev/null
@@ -1,172 +0,0 @@
-google.bigtable.admin.v2.CopyBackupMetadata
- */
-class CopyBackupMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * The name of the backup being created through the copy operation.
- * Values are of the form
- * `projects//instances//clusters//backups/`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.resource_reference) = {
- */
- protected $name = '';
- /**
- * Information about the source backup that is being copied from.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.BackupInfo source_backup_info = 2;
- */
- protected $source_backup_info = null;
- /**
- * The progress of the
- * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
- * operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.OperationProgress progress = 3;
- */
- protected $progress = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The name of the backup being created through the copy operation.
- * Values are of the form
- * `projects//instances//clusters//backups/`.
- * @type \Google\Cloud\Bigtable\Admin\V2\BackupInfo $source_backup_info
- * Information about the source backup that is being copied from.
- * @type \Google\Cloud\Bigtable\Admin\V2\OperationProgress $progress
- * The progress of the
- * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
- * operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The name of the backup being created through the copy operation.
- * Values are of the form
- * `projects//instances//clusters//backups/`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The name of the backup being created through the copy operation.
- * Values are of the form
- * `projects//instances//clusters//backups/`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Information about the source backup that is being copied from.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.BackupInfo source_backup_info = 2;
- * @return \Google\Cloud\Bigtable\Admin\V2\BackupInfo|null
- */
- public function getSourceBackupInfo()
- {
- return $this->source_backup_info;
- }
-
- public function hasSourceBackupInfo()
- {
- return isset($this->source_backup_info);
- }
-
- public function clearSourceBackupInfo()
- {
- unset($this->source_backup_info);
- }
-
- /**
- * Information about the source backup that is being copied from.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.BackupInfo source_backup_info = 2;
- * @param \Google\Cloud\Bigtable\Admin\V2\BackupInfo $var
- * @return $this
- */
- public function setSourceBackupInfo($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\BackupInfo::class);
- $this->source_backup_info = $var;
-
- return $this;
- }
-
- /**
- * The progress of the
- * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
- * operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.OperationProgress progress = 3;
- * @return \Google\Cloud\Bigtable\Admin\V2\OperationProgress|null
- */
- public function getProgress()
- {
- return $this->progress;
- }
-
- public function hasProgress()
- {
- return isset($this->progress);
- }
-
- public function clearProgress()
- {
- unset($this->progress);
- }
-
- /**
- * The progress of the
- * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
- * operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.OperationProgress progress = 3;
- * @param \Google\Cloud\Bigtable\Admin\V2\OperationProgress $var
- * @return $this
- */
- public function setProgress($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\OperationProgress::class);
- $this->progress = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CopyBackupRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CopyBackupRequest.php
deleted file mode 100644
index 8f004b2b6ee0..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CopyBackupRequest.php
+++ /dev/null
@@ -1,286 +0,0 @@
-google.bigtable.admin.v2.CopyBackupRequest
- */
-class CopyBackupRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The name of the destination cluster that will contain the backup
- * copy. The cluster must already exist. Values are of the form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Required. The id of the new backup. The `backup_id` along with `parent`
- * are combined as {parent}/backups/{backup_id} to create the full backup
- * name, of the form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
- * This string must be between 1 and 50 characters in length and match the
- * regex [_a-zA-Z0-9][-_.a-zA-Z0-9]*.
- *
- * Generated from protobuf field string backup_id = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $backup_id = '';
- /**
- * Required. The source backup to be copied from.
- * The source backup needs to be in READY state for it to be copied.
- * Copying a copied backup is not allowed.
- * Once CopyBackup is in progress, the source backup cannot be deleted or
- * cleaned up on expiration until CopyBackup is finished.
- * Values are of the form:
- * `projects//instances//clusters//backups/`.
- *
- * Generated from protobuf field string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $source_backup = '';
- /**
- * Required. Required. The expiration time of the copied backup with
- * microsecond granularity that must be at least 6 hours and at most 30 days
- * from the time the request is received. Once the `expire_time` has
- * passed, Cloud Bigtable will delete the backup and free the resources used
- * by the backup.
- *
- * Generated from protobuf field .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $expire_time = null;
-
- /**
- * @param string $parent Required. The name of the destination cluster that will contain the backup
- * copy. The cluster must already exist. Values are of the form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}`. Please see
- * {@see BigtableTableAdminClient::clusterName()} for help formatting this field.
- * @param string $backupId Required. The id of the new backup. The `backup_id` along with `parent`
- * are combined as {parent}/backups/{backup_id} to create the full backup
- * name, of the form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
- * This string must be between 1 and 50 characters in length and match the
- * regex [_a-zA-Z0-9][-_.a-zA-Z0-9]*.
- * @param string $sourceBackup Required. The source backup to be copied from.
- * The source backup needs to be in READY state for it to be copied.
- * Copying a copied backup is not allowed.
- * Once CopyBackup is in progress, the source backup cannot be deleted or
- * cleaned up on expiration until CopyBackup is finished.
- * Values are of the form:
- * `projects//instances//clusters//backups/`. Please see
- * {@see BigtableTableAdminClient::backupName()} for help formatting this field.
- * @param \Google\Protobuf\Timestamp $expireTime Required. Required. The expiration time of the copied backup with
- * microsecond granularity that must be at least 6 hours and at most 30 days
- * from the time the request is received. Once the `expire_time` has
- * passed, Cloud Bigtable will delete the backup and free the resources used
- * by the backup.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\CopyBackupRequest
- *
- * @experimental
- */
- public static function build(string $parent, string $backupId, string $sourceBackup, \Google\Protobuf\Timestamp $expireTime): self
- {
- return (new self())
- ->setParent($parent)
- ->setBackupId($backupId)
- ->setSourceBackup($sourceBackup)
- ->setExpireTime($expireTime);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The name of the destination cluster that will contain the backup
- * copy. The cluster must already exist. Values are of the form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- * @type string $backup_id
- * Required. The id of the new backup. The `backup_id` along with `parent`
- * are combined as {parent}/backups/{backup_id} to create the full backup
- * name, of the form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
- * This string must be between 1 and 50 characters in length and match the
- * regex [_a-zA-Z0-9][-_.a-zA-Z0-9]*.
- * @type string $source_backup
- * Required. The source backup to be copied from.
- * The source backup needs to be in READY state for it to be copied.
- * Copying a copied backup is not allowed.
- * Once CopyBackup is in progress, the source backup cannot be deleted or
- * cleaned up on expiration until CopyBackup is finished.
- * Values are of the form:
- * `projects//instances//clusters//backups/`.
- * @type \Google\Protobuf\Timestamp $expire_time
- * Required. Required. The expiration time of the copied backup with
- * microsecond granularity that must be at least 6 hours and at most 30 days
- * from the time the request is received. Once the `expire_time` has
- * passed, Cloud Bigtable will delete the backup and free the resources used
- * by the backup.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The name of the destination cluster that will contain the backup
- * copy. The cluster must already exist. Values are of the form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The name of the destination cluster that will contain the backup
- * copy. The cluster must already exist. Values are of the form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Required. The id of the new backup. The `backup_id` along with `parent`
- * are combined as {parent}/backups/{backup_id} to create the full backup
- * name, of the form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
- * This string must be between 1 and 50 characters in length and match the
- * regex [_a-zA-Z0-9][-_.a-zA-Z0-9]*.
- *
- * Generated from protobuf field string backup_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getBackupId()
- {
- return $this->backup_id;
- }
-
- /**
- * Required. The id of the new backup. The `backup_id` along with `parent`
- * are combined as {parent}/backups/{backup_id} to create the full backup
- * name, of the form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
- * This string must be between 1 and 50 characters in length and match the
- * regex [_a-zA-Z0-9][-_.a-zA-Z0-9]*.
- *
- * Generated from protobuf field string backup_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setBackupId($var)
- {
- GPBUtil::checkString($var, True);
- $this->backup_id = $var;
-
- return $this;
- }
-
- /**
- * Required. The source backup to be copied from.
- * The source backup needs to be in READY state for it to be copied.
- * Copying a copied backup is not allowed.
- * Once CopyBackup is in progress, the source backup cannot be deleted or
- * cleaned up on expiration until CopyBackup is finished.
- * Values are of the form:
- * `projects//instances//clusters//backups/`.
- *
- * Generated from protobuf field string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getSourceBackup()
- {
- return $this->source_backup;
- }
-
- /**
- * Required. The source backup to be copied from.
- * The source backup needs to be in READY state for it to be copied.
- * Copying a copied backup is not allowed.
- * Once CopyBackup is in progress, the source backup cannot be deleted or
- * cleaned up on expiration until CopyBackup is finished.
- * Values are of the form:
- * `projects//instances//clusters//backups/`.
- *
- * Generated from protobuf field string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setSourceBackup($var)
- {
- GPBUtil::checkString($var, True);
- $this->source_backup = $var;
-
- return $this;
- }
-
- /**
- * Required. Required. The expiration time of the copied backup with
- * microsecond granularity that must be at least 6 hours and at most 30 days
- * from the time the request is received. Once the `expire_time` has
- * passed, Cloud Bigtable will delete the backup and free the resources used
- * by the backup.
- *
- * Generated from protobuf field .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getExpireTime()
- {
- return $this->expire_time;
- }
-
- public function hasExpireTime()
- {
- return isset($this->expire_time);
- }
-
- public function clearExpireTime()
- {
- unset($this->expire_time);
- }
-
- /**
- * Required. Required. The expiration time of the copied backup with
- * microsecond granularity that must be at least 6 hours and at most 30 days
- * from the time the request is received. Once the `expire_time` has
- * passed, Cloud Bigtable will delete the backup and free the resources used
- * by the backup.
- *
- * Generated from protobuf field .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setExpireTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->expire_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateAppProfileRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateAppProfileRequest.php
deleted file mode 100644
index 12b67e4093aa..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateAppProfileRequest.php
+++ /dev/null
@@ -1,217 +0,0 @@
-google.bigtable.admin.v2.CreateAppProfileRequest
- */
-class CreateAppProfileRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the instance in which to create the new app
- * profile. Values are of the form `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Required. The ID to be used when referring to the new app profile within
- * its instance, e.g., just `myprofile` rather than
- * `projects/myproject/instances/myinstance/appProfiles/myprofile`.
- *
- * Generated from protobuf field string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $app_profile_id = '';
- /**
- * Required. The app profile to be created.
- * Fields marked `OutputOnly` will be ignored.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $app_profile = null;
- /**
- * If true, ignore safety checks when creating the app profile.
- *
- * Generated from protobuf field bool ignore_warnings = 4;
- */
- protected $ignore_warnings = false;
-
- /**
- * @param string $parent Required. The unique name of the instance in which to create the new app
- * profile. Values are of the form `projects/{project}/instances/{instance}`. Please see
- * {@see BigtableInstanceAdminClient::instanceName()} for help formatting this field.
- * @param string $appProfileId Required. The ID to be used when referring to the new app profile within
- * its instance, e.g., just `myprofile` rather than
- * `projects/myproject/instances/myinstance/appProfiles/myprofile`.
- * @param \Google\Cloud\Bigtable\Admin\V2\AppProfile $appProfile Required. The app profile to be created.
- * Fields marked `OutputOnly` will be ignored.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\CreateAppProfileRequest
- *
- * @experimental
- */
- public static function build(string $parent, string $appProfileId, \Google\Cloud\Bigtable\Admin\V2\AppProfile $appProfile): self
- {
- return (new self())
- ->setParent($parent)
- ->setAppProfileId($appProfileId)
- ->setAppProfile($appProfile);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The unique name of the instance in which to create the new app
- * profile. Values are of the form `projects/{project}/instances/{instance}`.
- * @type string $app_profile_id
- * Required. The ID to be used when referring to the new app profile within
- * its instance, e.g., just `myprofile` rather than
- * `projects/myproject/instances/myinstance/appProfiles/myprofile`.
- * @type \Google\Cloud\Bigtable\Admin\V2\AppProfile $app_profile
- * Required. The app profile to be created.
- * Fields marked `OutputOnly` will be ignored.
- * @type bool $ignore_warnings
- * If true, ignore safety checks when creating the app profile.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the instance in which to create the new app
- * profile. Values are of the form `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The unique name of the instance in which to create the new app
- * profile. Values are of the form `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Required. The ID to be used when referring to the new app profile within
- * its instance, e.g., just `myprofile` rather than
- * `projects/myproject/instances/myinstance/appProfiles/myprofile`.
- *
- * Generated from protobuf field string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getAppProfileId()
- {
- return $this->app_profile_id;
- }
-
- /**
- * Required. The ID to be used when referring to the new app profile within
- * its instance, e.g., just `myprofile` rather than
- * `projects/myproject/instances/myinstance/appProfiles/myprofile`.
- *
- * Generated from protobuf field string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setAppProfileId($var)
- {
- GPBUtil::checkString($var, True);
- $this->app_profile_id = $var;
-
- return $this;
- }
-
- /**
- * Required. The app profile to be created.
- * Fields marked `OutputOnly` will be ignored.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Bigtable\Admin\V2\AppProfile|null
- */
- public function getAppProfile()
- {
- return $this->app_profile;
- }
-
- public function hasAppProfile()
- {
- return isset($this->app_profile);
- }
-
- public function clearAppProfile()
- {
- unset($this->app_profile);
- }
-
- /**
- * Required. The app profile to be created.
- * Fields marked `OutputOnly` will be ignored.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Bigtable\Admin\V2\AppProfile $var
- * @return $this
- */
- public function setAppProfile($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\AppProfile::class);
- $this->app_profile = $var;
-
- return $this;
- }
-
- /**
- * If true, ignore safety checks when creating the app profile.
- *
- * Generated from protobuf field bool ignore_warnings = 4;
- * @return bool
- */
- public function getIgnoreWarnings()
- {
- return $this->ignore_warnings;
- }
-
- /**
- * If true, ignore safety checks when creating the app profile.
- *
- * Generated from protobuf field bool ignore_warnings = 4;
- * @param bool $var
- * @return $this
- */
- public function setIgnoreWarnings($var)
- {
- GPBUtil::checkBool($var);
- $this->ignore_warnings = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateAuthorizedViewMetadata.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateAuthorizedViewMetadata.php
deleted file mode 100644
index e2172d832ac3..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateAuthorizedViewMetadata.php
+++ /dev/null
@@ -1,165 +0,0 @@
-google.bigtable.admin.v2.CreateAuthorizedViewMetadata
- */
-class CreateAuthorizedViewMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * The request that prompted the initiation of this CreateInstance operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.CreateAuthorizedViewRequest original_request = 1;
- */
- protected $original_request = null;
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- */
- protected $request_time = null;
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- */
- protected $finish_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\CreateAuthorizedViewRequest $original_request
- * The request that prompted the initiation of this CreateInstance operation.
- * @type \Google\Protobuf\Timestamp $request_time
- * The time at which the original request was received.
- * @type \Google\Protobuf\Timestamp $finish_time
- * The time at which the operation failed or was completed successfully.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The request that prompted the initiation of this CreateInstance operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.CreateAuthorizedViewRequest original_request = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\CreateAuthorizedViewRequest|null
- */
- public function getOriginalRequest()
- {
- return $this->original_request;
- }
-
- public function hasOriginalRequest()
- {
- return isset($this->original_request);
- }
-
- public function clearOriginalRequest()
- {
- unset($this->original_request);
- }
-
- /**
- * The request that prompted the initiation of this CreateInstance operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.CreateAuthorizedViewRequest original_request = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\CreateAuthorizedViewRequest $var
- * @return $this
- */
- public function setOriginalRequest($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\CreateAuthorizedViewRequest::class);
- $this->original_request = $var;
-
- return $this;
- }
-
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getRequestTime()
- {
- return $this->request_time;
- }
-
- public function hasRequestTime()
- {
- return isset($this->request_time);
- }
-
- public function clearRequestTime()
- {
- unset($this->request_time);
- }
-
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setRequestTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->request_time = $var;
-
- return $this;
- }
-
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getFinishTime()
- {
- return $this->finish_time;
- }
-
- public function hasFinishTime()
- {
- return isset($this->finish_time);
- }
-
- public function clearFinishTime()
- {
- unset($this->finish_time);
- }
-
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setFinishTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->finish_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateAuthorizedViewRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateAuthorizedViewRequest.php
deleted file mode 100644
index 0329adcb6e04..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateAuthorizedViewRequest.php
+++ /dev/null
@@ -1,189 +0,0 @@
-google.bigtable.admin.v2.CreateAuthorizedViewRequest
- */
-class CreateAuthorizedViewRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. This is the name of the table the AuthorizedView belongs to.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Required. The id of the AuthorizedView to create. This AuthorizedView must
- * not already exist. The `authorized_view_id` appended to `parent` forms the
- * full AuthorizedView name of the form
- * `projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}`.
- *
- * Generated from protobuf field string authorized_view_id = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $authorized_view_id = '';
- /**
- * Required. The AuthorizedView to create.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AuthorizedView authorized_view = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $authorized_view = null;
-
- /**
- * @param string $parent Required. This is the name of the table the AuthorizedView belongs to.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`. Please see
- * {@see BigtableTableAdminClient::tableName()} for help formatting this field.
- * @param \Google\Cloud\Bigtable\Admin\V2\AuthorizedView $authorizedView Required. The AuthorizedView to create.
- * @param string $authorizedViewId Required. The id of the AuthorizedView to create. This AuthorizedView must
- * not already exist. The `authorized_view_id` appended to `parent` forms the
- * full AuthorizedView name of the form
- * `projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}`.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\CreateAuthorizedViewRequest
- *
- * @experimental
- */
- public static function build(string $parent, \Google\Cloud\Bigtable\Admin\V2\AuthorizedView $authorizedView, string $authorizedViewId): self
- {
- return (new self())
- ->setParent($parent)
- ->setAuthorizedView($authorizedView)
- ->setAuthorizedViewId($authorizedViewId);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. This is the name of the table the AuthorizedView belongs to.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- * @type string $authorized_view_id
- * Required. The id of the AuthorizedView to create. This AuthorizedView must
- * not already exist. The `authorized_view_id` appended to `parent` forms the
- * full AuthorizedView name of the form
- * `projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}`.
- * @type \Google\Cloud\Bigtable\Admin\V2\AuthorizedView $authorized_view
- * Required. The AuthorizedView to create.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. This is the name of the table the AuthorizedView belongs to.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. This is the name of the table the AuthorizedView belongs to.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Required. The id of the AuthorizedView to create. This AuthorizedView must
- * not already exist. The `authorized_view_id` appended to `parent` forms the
- * full AuthorizedView name of the form
- * `projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}`.
- *
- * Generated from protobuf field string authorized_view_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getAuthorizedViewId()
- {
- return $this->authorized_view_id;
- }
-
- /**
- * Required. The id of the AuthorizedView to create. This AuthorizedView must
- * not already exist. The `authorized_view_id` appended to `parent` forms the
- * full AuthorizedView name of the form
- * `projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}`.
- *
- * Generated from protobuf field string authorized_view_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setAuthorizedViewId($var)
- {
- GPBUtil::checkString($var, True);
- $this->authorized_view_id = $var;
-
- return $this;
- }
-
- /**
- * Required. The AuthorizedView to create.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AuthorizedView authorized_view = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Bigtable\Admin\V2\AuthorizedView|null
- */
- public function getAuthorizedView()
- {
- return $this->authorized_view;
- }
-
- public function hasAuthorizedView()
- {
- return isset($this->authorized_view);
- }
-
- public function clearAuthorizedView()
- {
- unset($this->authorized_view);
- }
-
- /**
- * Required. The AuthorizedView to create.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AuthorizedView authorized_view = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Bigtable\Admin\V2\AuthorizedView $var
- * @return $this
- */
- public function setAuthorizedView($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\AuthorizedView::class);
- $this->authorized_view = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateBackupMetadata.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateBackupMetadata.php
deleted file mode 100644
index 557de786e6de..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateBackupMetadata.php
+++ /dev/null
@@ -1,190 +0,0 @@
-google.bigtable.admin.v2.CreateBackupMetadata
- */
-class CreateBackupMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * The name of the backup being created.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * The name of the table the backup is created from.
- *
- * Generated from protobuf field string source_table = 2;
- */
- protected $source_table = '';
- /**
- * The time at which this operation started.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 3;
- */
- protected $start_time = null;
- /**
- * If set, the time at which this operation finished or was cancelled.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 4;
- */
- protected $end_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The name of the backup being created.
- * @type string $source_table
- * The name of the table the backup is created from.
- * @type \Google\Protobuf\Timestamp $start_time
- * The time at which this operation started.
- * @type \Google\Protobuf\Timestamp $end_time
- * If set, the time at which this operation finished or was cancelled.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The name of the backup being created.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The name of the backup being created.
- *
- * 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 name of the table the backup is created from.
- *
- * Generated from protobuf field string source_table = 2;
- * @return string
- */
- public function getSourceTable()
- {
- return $this->source_table;
- }
-
- /**
- * The name of the table the backup is created from.
- *
- * Generated from protobuf field string source_table = 2;
- * @param string $var
- * @return $this
- */
- public function setSourceTable($var)
- {
- GPBUtil::checkString($var, True);
- $this->source_table = $var;
-
- return $this;
- }
-
- /**
- * The time at which this operation started.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 3;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getStartTime()
- {
- return $this->start_time;
- }
-
- public function hasStartTime()
- {
- return isset($this->start_time);
- }
-
- public function clearStartTime()
- {
- unset($this->start_time);
- }
-
- /**
- * The time at which this operation started.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 3;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setStartTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->start_time = $var;
-
- return $this;
- }
-
- /**
- * If set, the time at which this operation finished or was cancelled.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 4;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getEndTime()
- {
- return $this->end_time;
- }
-
- public function hasEndTime()
- {
- return isset($this->end_time);
- }
-
- public function clearEndTime()
- {
- unset($this->end_time);
- }
-
- /**
- * If set, the time at which this operation finished or was cancelled.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 4;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setEndTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->end_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateBackupRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateBackupRequest.php
deleted file mode 100644
index 8022a0ae61ec..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateBackupRequest.php
+++ /dev/null
@@ -1,199 +0,0 @@
-google.bigtable.admin.v2.CreateBackupRequest
- */
-class CreateBackupRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. This must be one of the clusters in the instance in which this
- * table is located. The backup will be stored in this cluster. Values are
- * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Required. The id of the backup to be created. The `backup_id` along with
- * the parent `parent` are combined as {parent}/backups/{backup_id} to create
- * the full backup name, of the form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
- * This string must be between 1 and 50 characters in length and match the
- * regex [_a-zA-Z0-9][-_.a-zA-Z0-9]*.
- *
- * Generated from protobuf field string backup_id = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $backup_id = '';
- /**
- * Required. The backup to create.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $backup = null;
-
- /**
- * @param string $parent Required. This must be one of the clusters in the instance in which this
- * table is located. The backup will be stored in this cluster. Values are
- * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. Please see
- * {@see BigtableTableAdminClient::clusterName()} for help formatting this field.
- * @param string $backupId Required. The id of the backup to be created. The `backup_id` along with
- * the parent `parent` are combined as {parent}/backups/{backup_id} to create
- * the full backup name, of the form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
- * This string must be between 1 and 50 characters in length and match the
- * regex [_a-zA-Z0-9][-_.a-zA-Z0-9]*.
- * @param \Google\Cloud\Bigtable\Admin\V2\Backup $backup Required. The backup to create.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\CreateBackupRequest
- *
- * @experimental
- */
- public static function build(string $parent, string $backupId, \Google\Cloud\Bigtable\Admin\V2\Backup $backup): self
- {
- return (new self())
- ->setParent($parent)
- ->setBackupId($backupId)
- ->setBackup($backup);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. This must be one of the clusters in the instance in which this
- * table is located. The backup will be stored in this cluster. Values are
- * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
- * @type string $backup_id
- * Required. The id of the backup to be created. The `backup_id` along with
- * the parent `parent` are combined as {parent}/backups/{backup_id} to create
- * the full backup name, of the form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
- * This string must be between 1 and 50 characters in length and match the
- * regex [_a-zA-Z0-9][-_.a-zA-Z0-9]*.
- * @type \Google\Cloud\Bigtable\Admin\V2\Backup $backup
- * Required. The backup to create.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. This must be one of the clusters in the instance in which this
- * table is located. The backup will be stored in this cluster. Values are
- * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. This must be one of the clusters in the instance in which this
- * table is located. The backup will be stored in this cluster. Values are
- * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Required. The id of the backup to be created. The `backup_id` along with
- * the parent `parent` are combined as {parent}/backups/{backup_id} to create
- * the full backup name, of the form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
- * This string must be between 1 and 50 characters in length and match the
- * regex [_a-zA-Z0-9][-_.a-zA-Z0-9]*.
- *
- * Generated from protobuf field string backup_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getBackupId()
- {
- return $this->backup_id;
- }
-
- /**
- * Required. The id of the backup to be created. The `backup_id` along with
- * the parent `parent` are combined as {parent}/backups/{backup_id} to create
- * the full backup name, of the form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
- * This string must be between 1 and 50 characters in length and match the
- * regex [_a-zA-Z0-9][-_.a-zA-Z0-9]*.
- *
- * Generated from protobuf field string backup_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setBackupId($var)
- {
- GPBUtil::checkString($var, True);
- $this->backup_id = $var;
-
- return $this;
- }
-
- /**
- * Required. The backup to create.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Bigtable\Admin\V2\Backup|null
- */
- public function getBackup()
- {
- return $this->backup;
- }
-
- public function hasBackup()
- {
- return isset($this->backup);
- }
-
- public function clearBackup()
- {
- unset($this->backup);
- }
-
- /**
- * Required. The backup to create.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Bigtable\Admin\V2\Backup $var
- * @return $this
- */
- public function setBackup($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Backup::class);
- $this->backup = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateClusterMetadata.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateClusterMetadata.php
deleted file mode 100644
index c752a40618c5..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateClusterMetadata.php
+++ /dev/null
@@ -1,223 +0,0 @@
-google.bigtable.admin.v2.CreateClusterMetadata
- */
-class CreateClusterMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * The request that prompted the initiation of this CreateCluster operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.CreateClusterRequest original_request = 1;
- */
- protected $original_request = null;
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- */
- protected $request_time = null;
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- */
- protected $finish_time = null;
- /**
- * Keys: the full `name` of each table that existed in the instance when
- * CreateCluster was first called, i.e.
- * `projects//instances//tables/`. Any table added
- * to the instance by a later API call will be created in the new cluster by
- * that API call, not this one.
- * Values: information on how much of a table's data has been copied to the
- * newly-created cluster so far.
- *
- * Generated from protobuf field map tables = 4;
- */
- private $tables;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\CreateClusterRequest $original_request
- * The request that prompted the initiation of this CreateCluster operation.
- * @type \Google\Protobuf\Timestamp $request_time
- * The time at which the original request was received.
- * @type \Google\Protobuf\Timestamp $finish_time
- * The time at which the operation failed or was completed successfully.
- * @type array|\Google\Protobuf\Internal\MapField $tables
- * Keys: the full `name` of each table that existed in the instance when
- * CreateCluster was first called, i.e.
- * `projects//instances//tables/`. Any table added
- * to the instance by a later API call will be created in the new cluster by
- * that API call, not this one.
- * Values: information on how much of a table's data has been copied to the
- * newly-created cluster so far.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The request that prompted the initiation of this CreateCluster operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.CreateClusterRequest original_request = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\CreateClusterRequest|null
- */
- public function getOriginalRequest()
- {
- return $this->original_request;
- }
-
- public function hasOriginalRequest()
- {
- return isset($this->original_request);
- }
-
- public function clearOriginalRequest()
- {
- unset($this->original_request);
- }
-
- /**
- * The request that prompted the initiation of this CreateCluster operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.CreateClusterRequest original_request = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\CreateClusterRequest $var
- * @return $this
- */
- public function setOriginalRequest($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\CreateClusterRequest::class);
- $this->original_request = $var;
-
- return $this;
- }
-
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getRequestTime()
- {
- return $this->request_time;
- }
-
- public function hasRequestTime()
- {
- return isset($this->request_time);
- }
-
- public function clearRequestTime()
- {
- unset($this->request_time);
- }
-
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setRequestTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->request_time = $var;
-
- return $this;
- }
-
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getFinishTime()
- {
- return $this->finish_time;
- }
-
- public function hasFinishTime()
- {
- return isset($this->finish_time);
- }
-
- public function clearFinishTime()
- {
- unset($this->finish_time);
- }
-
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setFinishTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->finish_time = $var;
-
- return $this;
- }
-
- /**
- * Keys: the full `name` of each table that existed in the instance when
- * CreateCluster was first called, i.e.
- * `projects//instances//tables/`. Any table added
- * to the instance by a later API call will be created in the new cluster by
- * that API call, not this one.
- * Values: information on how much of a table's data has been copied to the
- * newly-created cluster so far.
- *
- * Generated from protobuf field map tables = 4;
- * @return \Google\Protobuf\Internal\MapField
- */
- public function getTables()
- {
- return $this->tables;
- }
-
- /**
- * Keys: the full `name` of each table that existed in the instance when
- * CreateCluster was first called, i.e.
- * `projects//instances//tables/`. Any table added
- * to the instance by a later API call will be created in the new cluster by
- * that API call, not this one.
- * Values: information on how much of a table's data has been copied to the
- * newly-created cluster so far.
- *
- * Generated from protobuf field map tables = 4;
- * @param array|\Google\Protobuf\Internal\MapField $var
- * @return $this
- */
- public function setTables($var)
- {
- $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\CreateClusterMetadata\TableProgress::class);
- $this->tables = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateClusterMetadata/TableProgress.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateClusterMetadata/TableProgress.php
deleted file mode 100644
index 6fbf11f7cc3b..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateClusterMetadata/TableProgress.php
+++ /dev/null
@@ -1,139 +0,0 @@
-google.bigtable.admin.v2.CreateClusterMetadata.TableProgress
- */
-class TableProgress extends \Google\Protobuf\Internal\Message
-{
- /**
- * Estimate of the size of the table to be copied.
- *
- * Generated from protobuf field int64 estimated_size_bytes = 2;
- */
- protected $estimated_size_bytes = 0;
- /**
- * Estimate of the number of bytes copied so far for this table.
- * This will eventually reach 'estimated_size_bytes' unless the table copy
- * is CANCELLED.
- *
- * Generated from protobuf field int64 estimated_copied_bytes = 3;
- */
- protected $estimated_copied_bytes = 0;
- /**
- * Generated from protobuf field .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4;
- */
- protected $state = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $estimated_size_bytes
- * Estimate of the size of the table to be copied.
- * @type int|string $estimated_copied_bytes
- * Estimate of the number of bytes copied so far for this table.
- * This will eventually reach 'estimated_size_bytes' unless the table copy
- * is CANCELLED.
- * @type int $state
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Estimate of the size of the table to be copied.
- *
- * Generated from protobuf field int64 estimated_size_bytes = 2;
- * @return int|string
- */
- public function getEstimatedSizeBytes()
- {
- return $this->estimated_size_bytes;
- }
-
- /**
- * Estimate of the size of the table to be copied.
- *
- * Generated from protobuf field int64 estimated_size_bytes = 2;
- * @param int|string $var
- * @return $this
- */
- public function setEstimatedSizeBytes($var)
- {
- GPBUtil::checkInt64($var);
- $this->estimated_size_bytes = $var;
-
- return $this;
- }
-
- /**
- * Estimate of the number of bytes copied so far for this table.
- * This will eventually reach 'estimated_size_bytes' unless the table copy
- * is CANCELLED.
- *
- * Generated from protobuf field int64 estimated_copied_bytes = 3;
- * @return int|string
- */
- public function getEstimatedCopiedBytes()
- {
- return $this->estimated_copied_bytes;
- }
-
- /**
- * Estimate of the number of bytes copied so far for this table.
- * This will eventually reach 'estimated_size_bytes' unless the table copy
- * is CANCELLED.
- *
- * Generated from protobuf field int64 estimated_copied_bytes = 3;
- * @param int|string $var
- * @return $this
- */
- public function setEstimatedCopiedBytes($var)
- {
- GPBUtil::checkInt64($var);
- $this->estimated_copied_bytes = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4;
- * @return int
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * Generated from protobuf field .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4;
- * @param int $var
- * @return $this
- */
- public function setState($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\CreateClusterMetadata\TableProgress\State::class);
- $this->state = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(TableProgress::class, \Google\Cloud\Bigtable\Admin\V2\CreateClusterMetadata_TableProgress::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateClusterMetadata/TableProgress/State.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateClusterMetadata/TableProgress/State.php
deleted file mode 100644
index f5fc34634589..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateClusterMetadata/TableProgress/State.php
+++ /dev/null
@@ -1,76 +0,0 @@
-google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State
- */
-class State
-{
- /**
- * Generated from protobuf enum STATE_UNSPECIFIED = 0;
- */
- const STATE_UNSPECIFIED = 0;
- /**
- * The table has not yet begun copying to the new cluster.
- *
- * Generated from protobuf enum PENDING = 1;
- */
- const PENDING = 1;
- /**
- * The table is actively being copied to the new cluster.
- *
- * Generated from protobuf enum COPYING = 2;
- */
- const COPYING = 2;
- /**
- * The table has been fully copied to the new cluster.
- *
- * Generated from protobuf enum COMPLETED = 3;
- */
- const COMPLETED = 3;
- /**
- * The table was deleted before it finished copying to the new cluster.
- * Note that tables deleted after completion will stay marked as
- * COMPLETED, not CANCELLED.
- *
- * Generated from protobuf enum CANCELLED = 4;
- */
- const CANCELLED = 4;
-
- private static $valueToName = [
- self::STATE_UNSPECIFIED => 'STATE_UNSPECIFIED',
- self::PENDING => 'PENDING',
- self::COPYING => 'COPYING',
- self::COMPLETED => 'COMPLETED',
- self::CANCELLED => 'CANCELLED',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(State::class, \Google\Cloud\Bigtable\Admin\V2\CreateClusterMetadata_TableProgress_State::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateClusterRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateClusterRequest.php
deleted file mode 100644
index 8a849b579320..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateClusterRequest.php
+++ /dev/null
@@ -1,183 +0,0 @@
-google.bigtable.admin.v2.CreateClusterRequest
- */
-class CreateClusterRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the instance in which to create the new
- * cluster. Values are of the form `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Required. The ID to be used when referring to the new cluster within its
- * instance, e.g., just `mycluster` rather than
- * `projects/myproject/instances/myinstance/clusters/mycluster`.
- *
- * Generated from protobuf field string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $cluster_id = '';
- /**
- * Required. The cluster to be created.
- * Fields marked `OutputOnly` must be left blank.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $cluster = null;
-
- /**
- * @param string $parent Required. The unique name of the instance in which to create the new
- * cluster. Values are of the form `projects/{project}/instances/{instance}`. Please see
- * {@see BigtableInstanceAdminClient::instanceName()} for help formatting this field.
- * @param string $clusterId Required. The ID to be used when referring to the new cluster within its
- * instance, e.g., just `mycluster` rather than
- * `projects/myproject/instances/myinstance/clusters/mycluster`.
- * @param \Google\Cloud\Bigtable\Admin\V2\Cluster $cluster Required. The cluster to be created.
- * Fields marked `OutputOnly` must be left blank.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\CreateClusterRequest
- *
- * @experimental
- */
- public static function build(string $parent, string $clusterId, \Google\Cloud\Bigtable\Admin\V2\Cluster $cluster): self
- {
- return (new self())
- ->setParent($parent)
- ->setClusterId($clusterId)
- ->setCluster($cluster);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The unique name of the instance in which to create the new
- * cluster. Values are of the form `projects/{project}/instances/{instance}`.
- * @type string $cluster_id
- * Required. The ID to be used when referring to the new cluster within its
- * instance, e.g., just `mycluster` rather than
- * `projects/myproject/instances/myinstance/clusters/mycluster`.
- * @type \Google\Cloud\Bigtable\Admin\V2\Cluster $cluster
- * Required. The cluster to be created.
- * Fields marked `OutputOnly` must be left blank.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the instance in which to create the new
- * cluster. Values are of the form `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The unique name of the instance in which to create the new
- * cluster. Values are of the form `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Required. The ID to be used when referring to the new cluster within its
- * instance, e.g., just `mycluster` rather than
- * `projects/myproject/instances/myinstance/clusters/mycluster`.
- *
- * Generated from protobuf field string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getClusterId()
- {
- return $this->cluster_id;
- }
-
- /**
- * Required. The ID to be used when referring to the new cluster within its
- * instance, e.g., just `mycluster` rather than
- * `projects/myproject/instances/myinstance/clusters/mycluster`.
- *
- * Generated from protobuf field string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setClusterId($var)
- {
- GPBUtil::checkString($var, True);
- $this->cluster_id = $var;
-
- return $this;
- }
-
- /**
- * Required. The cluster to be created.
- * Fields marked `OutputOnly` must be left blank.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Bigtable\Admin\V2\Cluster|null
- */
- public function getCluster()
- {
- return $this->cluster;
- }
-
- public function hasCluster()
- {
- return isset($this->cluster);
- }
-
- public function clearCluster()
- {
- unset($this->cluster);
- }
-
- /**
- * Required. The cluster to be created.
- * Fields marked `OutputOnly` must be left blank.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Bigtable\Admin\V2\Cluster $var
- * @return $this
- */
- public function setCluster($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Cluster::class);
- $this->cluster = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateInstanceMetadata.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateInstanceMetadata.php
deleted file mode 100644
index dd7f505c0775..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateInstanceMetadata.php
+++ /dev/null
@@ -1,165 +0,0 @@
-google.bigtable.admin.v2.CreateInstanceMetadata
- */
-class CreateInstanceMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * The request that prompted the initiation of this CreateInstance operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1;
- */
- protected $original_request = null;
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- */
- protected $request_time = null;
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- */
- protected $finish_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\CreateInstanceRequest $original_request
- * The request that prompted the initiation of this CreateInstance operation.
- * @type \Google\Protobuf\Timestamp $request_time
- * The time at which the original request was received.
- * @type \Google\Protobuf\Timestamp $finish_time
- * The time at which the operation failed or was completed successfully.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The request that prompted the initiation of this CreateInstance operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\CreateInstanceRequest|null
- */
- public function getOriginalRequest()
- {
- return $this->original_request;
- }
-
- public function hasOriginalRequest()
- {
- return isset($this->original_request);
- }
-
- public function clearOriginalRequest()
- {
- unset($this->original_request);
- }
-
- /**
- * The request that prompted the initiation of this CreateInstance operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\CreateInstanceRequest $var
- * @return $this
- */
- public function setOriginalRequest($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\CreateInstanceRequest::class);
- $this->original_request = $var;
-
- return $this;
- }
-
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getRequestTime()
- {
- return $this->request_time;
- }
-
- public function hasRequestTime()
- {
- return isset($this->request_time);
- }
-
- public function clearRequestTime()
- {
- unset($this->request_time);
- }
-
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setRequestTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->request_time = $var;
-
- return $this;
- }
-
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getFinishTime()
- {
- return $this->finish_time;
- }
-
- public function hasFinishTime()
- {
- return isset($this->finish_time);
- }
-
- public function clearFinishTime()
- {
- unset($this->finish_time);
- }
-
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setFinishTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->finish_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateInstanceRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateInstanceRequest.php
deleted file mode 100644
index 7af92a99c778..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateInstanceRequest.php
+++ /dev/null
@@ -1,239 +0,0 @@
-google.bigtable.admin.v2.CreateInstanceRequest
- */
-class CreateInstanceRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the project in which to create the new
- * instance. Values are of the form `projects/{project}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Required. The ID to be used when referring to the new instance within its
- * project, e.g., just `myinstance` rather than
- * `projects/myproject/instances/myinstance`.
- *
- * Generated from protobuf field string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $instance_id = '';
- /**
- * Required. The instance to create.
- * Fields marked `OutputOnly` must be left blank.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $instance = null;
- /**
- * Required. The clusters to be created within the instance, mapped by desired
- * cluster ID, e.g., just `mycluster` rather than
- * `projects/myproject/instances/myinstance/clusters/mycluster`.
- * Fields marked `OutputOnly` must be left blank.
- * Currently, at most four clusters can be specified.
- *
- * Generated from protobuf field map clusters = 4 [(.google.api.field_behavior) = REQUIRED];
- */
- private $clusters;
-
- /**
- * @param string $parent Required. The unique name of the project in which to create the new
- * instance. Values are of the form `projects/{project}`. Please see
- * {@see BigtableInstanceAdminClient::projectName()} for help formatting this field.
- * @param string $instanceId Required. The ID to be used when referring to the new instance within its
- * project, e.g., just `myinstance` rather than
- * `projects/myproject/instances/myinstance`.
- * @param \Google\Cloud\Bigtable\Admin\V2\Instance $instance Required. The instance to create.
- * Fields marked `OutputOnly` must be left blank.
- * @param array $clusters Required. The clusters to be created within the instance, mapped by desired
- * cluster ID, e.g., just `mycluster` rather than
- * `projects/myproject/instances/myinstance/clusters/mycluster`.
- * Fields marked `OutputOnly` must be left blank.
- * Currently, at most four clusters can be specified.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\CreateInstanceRequest
- *
- * @experimental
- */
- public static function build(string $parent, string $instanceId, \Google\Cloud\Bigtable\Admin\V2\Instance $instance, array $clusters): self
- {
- return (new self())
- ->setParent($parent)
- ->setInstanceId($instanceId)
- ->setInstance($instance)
- ->setClusters($clusters);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The unique name of the project in which to create the new
- * instance. Values are of the form `projects/{project}`.
- * @type string $instance_id
- * Required. The ID to be used when referring to the new instance within its
- * project, e.g., just `myinstance` rather than
- * `projects/myproject/instances/myinstance`.
- * @type \Google\Cloud\Bigtable\Admin\V2\Instance $instance
- * Required. The instance to create.
- * Fields marked `OutputOnly` must be left blank.
- * @type array|\Google\Protobuf\Internal\MapField $clusters
- * Required. The clusters to be created within the instance, mapped by desired
- * cluster ID, e.g., just `mycluster` rather than
- * `projects/myproject/instances/myinstance/clusters/mycluster`.
- * Fields marked `OutputOnly` must be left blank.
- * Currently, at most four clusters can be specified.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the project in which to create the new
- * instance. Values are of the form `projects/{project}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The unique name of the project in which to create the new
- * instance. Values are of the form `projects/{project}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Required. The ID to be used when referring to the new instance within its
- * project, e.g., just `myinstance` rather than
- * `projects/myproject/instances/myinstance`.
- *
- * Generated from protobuf field string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getInstanceId()
- {
- return $this->instance_id;
- }
-
- /**
- * Required. The ID to be used when referring to the new instance within its
- * project, e.g., just `myinstance` rather than
- * `projects/myproject/instances/myinstance`.
- *
- * Generated from protobuf field string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setInstanceId($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance_id = $var;
-
- return $this;
- }
-
- /**
- * Required. The instance to create.
- * Fields marked `OutputOnly` must be left blank.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Bigtable\Admin\V2\Instance|null
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- public function hasInstance()
- {
- return isset($this->instance);
- }
-
- public function clearInstance()
- {
- unset($this->instance);
- }
-
- /**
- * Required. The instance to create.
- * Fields marked `OutputOnly` must be left blank.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Bigtable\Admin\V2\Instance $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Instance::class);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Required. The clusters to be created within the instance, mapped by desired
- * cluster ID, e.g., just `mycluster` rather than
- * `projects/myproject/instances/myinstance/clusters/mycluster`.
- * Fields marked `OutputOnly` must be left blank.
- * Currently, at most four clusters can be specified.
- *
- * Generated from protobuf field map clusters = 4 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\Internal\MapField
- */
- public function getClusters()
- {
- return $this->clusters;
- }
-
- /**
- * Required. The clusters to be created within the instance, mapped by desired
- * cluster ID, e.g., just `mycluster` rather than
- * `projects/myproject/instances/myinstance/clusters/mycluster`.
- * Fields marked `OutputOnly` must be left blank.
- * Currently, at most four clusters can be specified.
- *
- * Generated from protobuf field map clusters = 4 [(.google.api.field_behavior) = REQUIRED];
- * @param array|\Google\Protobuf\Internal\MapField $var
- * @return $this
- */
- public function setClusters($var)
- {
- $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\Cluster::class);
- $this->clusters = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateTableFromSnapshotMetadata.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateTableFromSnapshotMetadata.php
deleted file mode 100644
index ad6178e78b9b..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateTableFromSnapshotMetadata.php
+++ /dev/null
@@ -1,173 +0,0 @@
-google.bigtable.admin.v2.CreateTableFromSnapshotMetadata
- */
-class CreateTableFromSnapshotMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * The request that prompted the initiation of this CreateTableFromSnapshot
- * operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
- */
- protected $original_request = null;
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- */
- protected $request_time = null;
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- */
- protected $finish_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\CreateTableFromSnapshotRequest $original_request
- * The request that prompted the initiation of this CreateTableFromSnapshot
- * operation.
- * @type \Google\Protobuf\Timestamp $request_time
- * The time at which the original request was received.
- * @type \Google\Protobuf\Timestamp $finish_time
- * The time at which the operation failed or was completed successfully.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The request that prompted the initiation of this CreateTableFromSnapshot
- * operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\CreateTableFromSnapshotRequest|null
- */
- public function getOriginalRequest()
- {
- return $this->original_request;
- }
-
- public function hasOriginalRequest()
- {
- return isset($this->original_request);
- }
-
- public function clearOriginalRequest()
- {
- unset($this->original_request);
- }
-
- /**
- * The request that prompted the initiation of this CreateTableFromSnapshot
- * operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\CreateTableFromSnapshotRequest $var
- * @return $this
- */
- public function setOriginalRequest($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\CreateTableFromSnapshotRequest::class);
- $this->original_request = $var;
-
- return $this;
- }
-
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getRequestTime()
- {
- return $this->request_time;
- }
-
- public function hasRequestTime()
- {
- return isset($this->request_time);
- }
-
- public function clearRequestTime()
- {
- unset($this->request_time);
- }
-
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setRequestTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->request_time = $var;
-
- return $this;
- }
-
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getFinishTime()
- {
- return $this->finish_time;
- }
-
- public function hasFinishTime()
- {
- return isset($this->finish_time);
- }
-
- public function clearFinishTime()
- {
- unset($this->finish_time);
- }
-
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setFinishTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->finish_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateTableFromSnapshotRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateTableFromSnapshotRequest.php
deleted file mode 100644
index 2dfa7bc94901..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateTableFromSnapshotRequest.php
+++ /dev/null
@@ -1,184 +0,0 @@
-google.bigtable.admin.v2.CreateTableFromSnapshotRequest
- */
-class CreateTableFromSnapshotRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the instance in which to create the table.
- * Values are of the form `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Required. The name by which the new table should be referred to within the
- * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
- *
- * Generated from protobuf field string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $table_id = '';
- /**
- * Required. The unique name of the snapshot from which to restore the table.
- * The snapshot and the table must be in the same instance. Values are of the
- * form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
- *
- * Generated from protobuf field string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $source_snapshot = '';
-
- /**
- * @param string $parent Required. The unique name of the instance in which to create the table.
- * Values are of the form `projects/{project}/instances/{instance}`. Please see
- * {@see BigtableTableAdminClient::instanceName()} for help formatting this field.
- * @param string $tableId Required. The name by which the new table should be referred to within the
- * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
- * @param string $sourceSnapshot Required. The unique name of the snapshot from which to restore the table.
- * The snapshot and the table must be in the same instance. Values are of the
- * form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. Please see
- * {@see BigtableTableAdminClient::snapshotName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\CreateTableFromSnapshotRequest
- *
- * @experimental
- */
- public static function build(string $parent, string $tableId, string $sourceSnapshot): self
- {
- return (new self())
- ->setParent($parent)
- ->setTableId($tableId)
- ->setSourceSnapshot($sourceSnapshot);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The unique name of the instance in which to create the table.
- * Values are of the form `projects/{project}/instances/{instance}`.
- * @type string $table_id
- * Required. The name by which the new table should be referred to within the
- * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
- * @type string $source_snapshot
- * Required. The unique name of the snapshot from which to restore the table.
- * The snapshot and the table must be in the same instance. Values are of the
- * form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the instance in which to create the table.
- * Values are of the form `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The unique name of the instance in which to create the table.
- * Values are of the form `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Required. The name by which the new table should be referred to within the
- * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
- *
- * Generated from protobuf field string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getTableId()
- {
- return $this->table_id;
- }
-
- /**
- * Required. The name by which the new table should be referred to within the
- * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
- *
- * Generated from protobuf field string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setTableId($var)
- {
- GPBUtil::checkString($var, True);
- $this->table_id = $var;
-
- return $this;
- }
-
- /**
- * Required. The unique name of the snapshot from which to restore the table.
- * The snapshot and the table must be in the same instance. Values are of the
- * form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
- *
- * Generated from protobuf field string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getSourceSnapshot()
- {
- return $this->source_snapshot;
- }
-
- /**
- * Required. The unique name of the snapshot from which to restore the table.
- * The snapshot and the table must be in the same instance. Values are of the
- * form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
- *
- * Generated from protobuf field string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setSourceSnapshot($var)
- {
- GPBUtil::checkString($var, True);
- $this->source_snapshot = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateTableRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateTableRequest.php
deleted file mode 100644
index 06608297cf48..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateTableRequest.php
+++ /dev/null
@@ -1,265 +0,0 @@
-google.bigtable.admin.v2.CreateTableRequest
- */
-class CreateTableRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the instance in which to create the table.
- * Values are of the form `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Required. The name by which the new table should be referred to within the
- * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
- * Maximum 50 characters.
- *
- * Generated from protobuf field string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $table_id = '';
- /**
- * Required. The Table to create.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $table = null;
- /**
- * The optional list of row keys that will be used to initially split the
- * table into several tablets (tablets are similar to HBase regions).
- * Given two split keys, `s1` and `s2`, three tablets will be created,
- * spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
- * Example:
- * * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
- * `"other", "zz"]`
- * * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
- * * Key assignment:
- * - Tablet 1 `[, apple) => {"a"}.`
- * - Tablet 2 `[apple, customer_1) => {"apple", "custom"}.`
- * - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
- * - Tablet 4 `[customer_2, other) => {"customer_2"}.`
- * - Tablet 5 `[other, ) => {"other", "zz"}.`
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
- */
- private $initial_splits;
-
- /**
- * @param string $parent Required. The unique name of the instance in which to create the table.
- * Values are of the form `projects/{project}/instances/{instance}`. Please see
- * {@see BigtableTableAdminClient::instanceName()} for help formatting this field.
- * @param string $tableId Required. The name by which the new table should be referred to within the
- * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
- * Maximum 50 characters.
- * @param \Google\Cloud\Bigtable\Admin\V2\Table $table Required. The Table to create.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\CreateTableRequest
- *
- * @experimental
- */
- public static function build(string $parent, string $tableId, \Google\Cloud\Bigtable\Admin\V2\Table $table): self
- {
- return (new self())
- ->setParent($parent)
- ->setTableId($tableId)
- ->setTable($table);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The unique name of the instance in which to create the table.
- * Values are of the form `projects/{project}/instances/{instance}`.
- * @type string $table_id
- * Required. The name by which the new table should be referred to within the
- * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
- * Maximum 50 characters.
- * @type \Google\Cloud\Bigtable\Admin\V2\Table $table
- * Required. The Table to create.
- * @type array<\Google\Cloud\Bigtable\Admin\V2\CreateTableRequest\Split>|\Google\Protobuf\Internal\RepeatedField $initial_splits
- * The optional list of row keys that will be used to initially split the
- * table into several tablets (tablets are similar to HBase regions).
- * Given two split keys, `s1` and `s2`, three tablets will be created,
- * spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
- * Example:
- * * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
- * `"other", "zz"]`
- * * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
- * * Key assignment:
- * - Tablet 1 `[, apple) => {"a"}.`
- * - Tablet 2 `[apple, customer_1) => {"apple", "custom"}.`
- * - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
- * - Tablet 4 `[customer_2, other) => {"customer_2"}.`
- * - Tablet 5 `[other, ) => {"other", "zz"}.`
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the instance in which to create the table.
- * Values are of the form `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The unique name of the instance in which to create the table.
- * Values are of the form `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Required. The name by which the new table should be referred to within the
- * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
- * Maximum 50 characters.
- *
- * Generated from protobuf field string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getTableId()
- {
- return $this->table_id;
- }
-
- /**
- * Required. The name by which the new table should be referred to within the
- * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
- * Maximum 50 characters.
- *
- * Generated from protobuf field string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setTableId($var)
- {
- GPBUtil::checkString($var, True);
- $this->table_id = $var;
-
- return $this;
- }
-
- /**
- * Required. The Table to create.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Bigtable\Admin\V2\Table|null
- */
- public function getTable()
- {
- return $this->table;
- }
-
- public function hasTable()
- {
- return isset($this->table);
- }
-
- public function clearTable()
- {
- unset($this->table);
- }
-
- /**
- * Required. The Table to create.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Bigtable\Admin\V2\Table $var
- * @return $this
- */
- public function setTable($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Table::class);
- $this->table = $var;
-
- return $this;
- }
-
- /**
- * The optional list of row keys that will be used to initially split the
- * table into several tablets (tablets are similar to HBase regions).
- * Given two split keys, `s1` and `s2`, three tablets will be created,
- * spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
- * Example:
- * * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
- * `"other", "zz"]`
- * * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
- * * Key assignment:
- * - Tablet 1 `[, apple) => {"a"}.`
- * - Tablet 2 `[apple, customer_1) => {"apple", "custom"}.`
- * - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
- * - Tablet 4 `[customer_2, other) => {"customer_2"}.`
- * - Tablet 5 `[other, ) => {"other", "zz"}.`
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getInitialSplits()
- {
- return $this->initial_splits;
- }
-
- /**
- * The optional list of row keys that will be used to initially split the
- * table into several tablets (tablets are similar to HBase regions).
- * Given two split keys, `s1` and `s2`, three tablets will be created,
- * spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
- * Example:
- * * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
- * `"other", "zz"]`
- * * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
- * * Key assignment:
- * - Tablet 1 `[, apple) => {"a"}.`
- * - Tablet 2 `[apple, customer_1) => {"apple", "custom"}.`
- * - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
- * - Tablet 4 `[customer_2, other) => {"customer_2"}.`
- * - Tablet 5 `[other, ) => {"other", "zz"}.`
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
- * @param array<\Google\Cloud\Bigtable\Admin\V2\CreateTableRequest\Split>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setInitialSplits($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\CreateTableRequest\Split::class);
- $this->initial_splits = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateTableRequest/Split.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateTableRequest/Split.php
deleted file mode 100644
index af1990b8531e..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/CreateTableRequest/Split.php
+++ /dev/null
@@ -1,70 +0,0 @@
-google.bigtable.admin.v2.CreateTableRequest.Split
- */
-class Split extends \Google\Protobuf\Internal\Message
-{
- /**
- * Row key to use as an initial tablet boundary.
- *
- * Generated from protobuf field bytes key = 1;
- */
- protected $key = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $key
- * Row key to use as an initial tablet boundary.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Row key to use as an initial tablet boundary.
- *
- * Generated from protobuf field bytes key = 1;
- * @return string
- */
- public function getKey()
- {
- return $this->key;
- }
-
- /**
- * Row key to use as an initial tablet boundary.
- *
- * Generated from protobuf field bytes key = 1;
- * @param string $var
- * @return $this
- */
- public function setKey($var)
- {
- GPBUtil::checkString($var, False);
- $this->key = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Split::class, \Google\Cloud\Bigtable\Admin\V2\CreateTableRequest_Split::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DataBoostReadLocalWrites.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DataBoostReadLocalWrites.php
deleted file mode 100644
index 6d8e2927312c..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DataBoostReadLocalWrites.php
+++ /dev/null
@@ -1,34 +0,0 @@
-google.bigtable.admin.v2.DataBoostReadLocalWrites
- */
-class DataBoostReadLocalWrites extends \Google\Protobuf\Internal\Message
-{
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteAppProfileRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteAppProfileRequest.php
deleted file mode 100644
index d5e04caa49fc..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteAppProfileRequest.php
+++ /dev/null
@@ -1,125 +0,0 @@
-google.bigtable.admin.v2.DeleteAppProfileRequest
- */
-class DeleteAppProfileRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the app profile to be deleted. Values are of
- * the form
- * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
- /**
- * Required. If true, ignore safety checks when deleting the app profile.
- *
- * Generated from protobuf field bool ignore_warnings = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $ignore_warnings = false;
-
- /**
- * @param string $name Required. The unique name of the app profile to be deleted. Values are of
- * the form
- * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. Please see
- * {@see BigtableInstanceAdminClient::appProfileName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\DeleteAppProfileRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The unique name of the app profile to be deleted. Values are of
- * the form
- * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
- * @type bool $ignore_warnings
- * Required. If true, ignore safety checks when deleting the app profile.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the app profile to be deleted. Values are of
- * the form
- * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The unique name of the app profile to be deleted. Values are of
- * the form
- * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Required. If true, ignore safety checks when deleting the app profile.
- *
- * Generated from protobuf field bool ignore_warnings = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return bool
- */
- public function getIgnoreWarnings()
- {
- return $this->ignore_warnings;
- }
-
- /**
- * Required. If true, ignore safety checks when deleting the app profile.
- *
- * Generated from protobuf field bool ignore_warnings = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param bool $var
- * @return $this
- */
- public function setIgnoreWarnings($var)
- {
- GPBUtil::checkBool($var);
- $this->ignore_warnings = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteAuthorizedViewRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteAuthorizedViewRequest.php
deleted file mode 100644
index e623fe8ebb9d..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteAuthorizedViewRequest.php
+++ /dev/null
@@ -1,138 +0,0 @@
-google.bigtable.admin.v2.DeleteAuthorizedViewRequest
- */
-class DeleteAuthorizedViewRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the AuthorizedView to be deleted.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
- /**
- * Optional. The current etag of the AuthorizedView.
- * If an etag is provided and does not match the current etag of the
- * AuthorizedView, deletion will be blocked and an ABORTED error will be
- * returned.
- *
- * Generated from protobuf field string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $etag = '';
-
- /**
- * @param string $name Required. The unique name of the AuthorizedView to be deleted.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`. Please see
- * {@see BigtableTableAdminClient::authorizedViewName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\DeleteAuthorizedViewRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The unique name of the AuthorizedView to be deleted.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.
- * @type string $etag
- * Optional. The current etag of the AuthorizedView.
- * If an etag is provided and does not match the current etag of the
- * AuthorizedView, deletion will be blocked and an ABORTED error will be
- * returned.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the AuthorizedView to be deleted.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The unique name of the AuthorizedView to be deleted.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Optional. The current etag of the AuthorizedView.
- * If an etag is provided and does not match the current etag of the
- * AuthorizedView, deletion will be blocked and an ABORTED error will be
- * returned.
- *
- * Generated from protobuf field string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getEtag()
- {
- return $this->etag;
- }
-
- /**
- * Optional. The current etag of the AuthorizedView.
- * If an etag is provided and does not match the current etag of the
- * AuthorizedView, deletion will be blocked and an ABORTED error will be
- * returned.
- *
- * Generated from protobuf field string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setEtag($var)
- {
- GPBUtil::checkString($var, True);
- $this->etag = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteBackupRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteBackupRequest.php
deleted file mode 100644
index 6bd500313c94..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteBackupRequest.php
+++ /dev/null
@@ -1,92 +0,0 @@
-google.bigtable.admin.v2.DeleteBackupRequest
- */
-class DeleteBackupRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. Name of the backup to delete.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
-
- /**
- * @param string $name Required. Name of the backup to delete.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. Please see
- * {@see BigtableTableAdminClient::backupName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\DeleteBackupRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. Name of the backup to delete.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. Name of the backup to delete.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. Name of the backup to delete.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteClusterRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteClusterRequest.php
deleted file mode 100644
index 690cdb21a15f..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteClusterRequest.php
+++ /dev/null
@@ -1,86 +0,0 @@
-google.bigtable.admin.v2.DeleteClusterRequest
- */
-class DeleteClusterRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the cluster to be deleted. Values are of the
- * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
-
- /**
- * @param string $name Required. The unique name of the cluster to be deleted. Values are of the
- * form `projects/{project}/instances/{instance}/clusters/{cluster}`. Please see
- * {@see BigtableInstanceAdminClient::clusterName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\DeleteClusterRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The unique name of the cluster to be deleted. Values are of the
- * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the cluster to be deleted. Values are of the
- * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The unique name of the cluster to be deleted. Values are of the
- * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteInstanceRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteInstanceRequest.php
deleted file mode 100644
index bcbc1c1a1e58..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteInstanceRequest.php
+++ /dev/null
@@ -1,86 +0,0 @@
-google.bigtable.admin.v2.DeleteInstanceRequest
- */
-class DeleteInstanceRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the instance to be deleted.
- * Values are of the form `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
-
- /**
- * @param string $name Required. The unique name of the instance to be deleted.
- * Values are of the form `projects/{project}/instances/{instance}`. Please see
- * {@see BigtableInstanceAdminClient::instanceName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\DeleteInstanceRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The unique name of the instance to be deleted.
- * Values are of the form `projects/{project}/instances/{instance}`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the instance to be deleted.
- * Values are of the form `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The unique name of the instance to be deleted.
- * Values are of the form `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteSnapshotRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteSnapshotRequest.php
deleted file mode 100644
index b83ec8b2043b..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteSnapshotRequest.php
+++ /dev/null
@@ -1,96 +0,0 @@
-google.bigtable.admin.v2.DeleteSnapshotRequest
- */
-class DeleteSnapshotRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the snapshot to be deleted.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
-
- /**
- * @param string $name Required. The unique name of the snapshot to be deleted.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. Please see
- * {@see BigtableTableAdminClient::snapshotName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\DeleteSnapshotRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The unique name of the snapshot to be deleted.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the snapshot to be deleted.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The unique name of the snapshot to be deleted.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteTableRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteTableRequest.php
deleted file mode 100644
index 3bd4eac51dc3..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DeleteTableRequest.php
+++ /dev/null
@@ -1,92 +0,0 @@
-google.bigtable.admin.v2.DeleteTableRequest
- */
-class DeleteTableRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the table to be deleted.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
-
- /**
- * @param string $name Required. The unique name of the table to be deleted.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`. Please see
- * {@see BigtableTableAdminClient::tableName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\DeleteTableRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The unique name of the table to be deleted.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the table to be deleted.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The unique name of the table to be deleted.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DropRowRangeRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DropRowRangeRequest.php
deleted file mode 100644
index a005c44024c4..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/DropRowRangeRequest.php
+++ /dev/null
@@ -1,154 +0,0 @@
-google.bigtable.admin.v2.DropRowRangeRequest
- */
-class DropRowRangeRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the table on which to drop a range of rows.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
- protected $target;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The unique name of the table on which to drop a range of rows.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- * @type string $row_key_prefix
- * Delete all rows that start with this row key prefix. Prefix cannot be
- * zero length.
- * @type bool $delete_all_data_from_table
- * Delete all rows in the table. Setting this to false is a no-op.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the table on which to drop a range of rows.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The unique name of the table on which to drop a range of rows.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Delete all rows that start with this row key prefix. Prefix cannot be
- * zero length.
- *
- * Generated from protobuf field bytes row_key_prefix = 2;
- * @return string
- */
- public function getRowKeyPrefix()
- {
- return $this->readOneof(2);
- }
-
- public function hasRowKeyPrefix()
- {
- return $this->hasOneof(2);
- }
-
- /**
- * Delete all rows that start with this row key prefix. Prefix cannot be
- * zero length.
- *
- * Generated from protobuf field bytes row_key_prefix = 2;
- * @param string $var
- * @return $this
- */
- public function setRowKeyPrefix($var)
- {
- GPBUtil::checkString($var, False);
- $this->writeOneof(2, $var);
-
- return $this;
- }
-
- /**
- * Delete all rows in the table. Setting this to false is a no-op.
- *
- * Generated from protobuf field bool delete_all_data_from_table = 3;
- * @return bool
- */
- public function getDeleteAllDataFromTable()
- {
- return $this->readOneof(3);
- }
-
- public function hasDeleteAllDataFromTable()
- {
- return $this->hasOneof(3);
- }
-
- /**
- * Delete all rows in the table. Setting this to false is a no-op.
- *
- * Generated from protobuf field bool delete_all_data_from_table = 3;
- * @param bool $var
- * @return $this
- */
- public function setDeleteAllDataFromTable($var)
- {
- GPBUtil::checkBool($var);
- $this->writeOneof(3, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getTarget()
- {
- return $this->whichOneof("target");
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/EncryptionInfo.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/EncryptionInfo.php
deleted file mode 100644
index d13861cd38e2..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/EncryptionInfo.php
+++ /dev/null
@@ -1,160 +0,0 @@
-google.bigtable.admin.v2.EncryptionInfo
- */
-class EncryptionInfo extends \Google\Protobuf\Internal\Message
-{
- /**
- * Output only. The type of encryption used to protect this resource.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $encryption_type = 0;
- /**
- * Output only. The status of encrypt/decrypt calls on underlying data for
- * this resource. Regardless of status, the existing data is always encrypted
- * at rest.
- *
- * Generated from protobuf field .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $encryption_status = null;
- /**
- * Output only. The version of the Cloud KMS key specified in the parent
- * cluster that is in use for the data underlying this table.
- *
- * Generated from protobuf field string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
- */
- protected $kms_key_version = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $encryption_type
- * Output only. The type of encryption used to protect this resource.
- * @type \Google\Rpc\Status $encryption_status
- * Output only. The status of encrypt/decrypt calls on underlying data for
- * this resource. Regardless of status, the existing data is always encrypted
- * at rest.
- * @type string $kms_key_version
- * Output only. The version of the Cloud KMS key specified in the parent
- * cluster that is in use for the data underlying this table.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Table::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Output only. The type of encryption used to protect this resource.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return int
- */
- public function getEncryptionType()
- {
- return $this->encryption_type;
- }
-
- /**
- * Output only. The type of encryption used to protect this resource.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param int $var
- * @return $this
- */
- public function setEncryptionType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\EncryptionInfo\EncryptionType::class);
- $this->encryption_type = $var;
-
- return $this;
- }
-
- /**
- * Output only. The status of encrypt/decrypt calls on underlying data for
- * this resource. Regardless of status, the existing data is always encrypted
- * at rest.
- *
- * Generated from protobuf field .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Rpc\Status|null
- */
- public function getEncryptionStatus()
- {
- return $this->encryption_status;
- }
-
- public function hasEncryptionStatus()
- {
- return isset($this->encryption_status);
- }
-
- public function clearEncryptionStatus()
- {
- unset($this->encryption_status);
- }
-
- /**
- * Output only. The status of encrypt/decrypt calls on underlying data for
- * this resource. Regardless of status, the existing data is always encrypted
- * at rest.
- *
- * Generated from protobuf field .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Rpc\Status $var
- * @return $this
- */
- public function setEncryptionStatus($var)
- {
- GPBUtil::checkMessage($var, \Google\Rpc\Status::class);
- $this->encryption_status = $var;
-
- return $this;
- }
-
- /**
- * Output only. The version of the Cloud KMS key specified in the parent
- * cluster that is in use for the data underlying this table.
- *
- * Generated from protobuf field string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
- * @return string
- */
- public function getKmsKeyVersion()
- {
- return $this->kms_key_version;
- }
-
- /**
- * Output only. The version of the Cloud KMS key specified in the parent
- * cluster that is in use for the data underlying this table.
- *
- * Generated from protobuf field string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setKmsKeyVersion($var)
- {
- GPBUtil::checkString($var, True);
- $this->kms_key_version = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/EncryptionInfo/EncryptionType.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/EncryptionInfo/EncryptionType.php
deleted file mode 100644
index 076657b976c4..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/EncryptionInfo/EncryptionType.php
+++ /dev/null
@@ -1,72 +0,0 @@
-google.bigtable.admin.v2.EncryptionInfo.EncryptionType
- */
-class EncryptionType
-{
- /**
- * Encryption type was not specified, though data at rest remains encrypted.
- *
- * Generated from protobuf enum ENCRYPTION_TYPE_UNSPECIFIED = 0;
- */
- const ENCRYPTION_TYPE_UNSPECIFIED = 0;
- /**
- * The data backing this resource is encrypted at rest with a key that is
- * fully managed by Google. No key version or status will be populated.
- * This is the default state.
- *
- * Generated from protobuf enum GOOGLE_DEFAULT_ENCRYPTION = 1;
- */
- const GOOGLE_DEFAULT_ENCRYPTION = 1;
- /**
- * The data backing this resource is encrypted at rest with a key that is
- * managed by the customer.
- * The in-use version of the key and its status are populated for
- * CMEK-protected tables.
- * CMEK-protected backups are pinned to the key version that was in use at
- * the time the backup was taken. This key version is populated but its
- * status is not tracked and is reported as `UNKNOWN`.
- *
- * Generated from protobuf enum CUSTOMER_MANAGED_ENCRYPTION = 2;
- */
- const CUSTOMER_MANAGED_ENCRYPTION = 2;
-
- private static $valueToName = [
- self::ENCRYPTION_TYPE_UNSPECIFIED => 'ENCRYPTION_TYPE_UNSPECIFIED',
- self::GOOGLE_DEFAULT_ENCRYPTION => 'GOOGLE_DEFAULT_ENCRYPTION',
- self::CUSTOMER_MANAGED_ENCRYPTION => 'CUSTOMER_MANAGED_ENCRYPTION',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(EncryptionType::class, \Google\Cloud\Bigtable\Admin\V2\EncryptionInfo_EncryptionType::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GcRule.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GcRule.php
deleted file mode 100644
index 58f3cb15f627..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GcRule.php
+++ /dev/null
@@ -1,180 +0,0 @@
-google.bigtable.admin.v2.GcRule
- */
-class GcRule extends \Google\Protobuf\Internal\Message
-{
- protected $rule;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $max_num_versions
- * Delete all cells in a column except the most recent N.
- * @type \Google\Protobuf\Duration $max_age
- * Delete cells in a column older than the given age.
- * Values must be at least one millisecond, and will be truncated to
- * microsecond granularity.
- * @type \Google\Cloud\Bigtable\Admin\V2\GcRule\Intersection $intersection
- * Delete cells that would be deleted by every nested rule.
- * @type \Google\Cloud\Bigtable\Admin\V2\GcRule\Union $union
- * Delete cells that would be deleted by any nested rule.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Table::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Delete all cells in a column except the most recent N.
- *
- * Generated from protobuf field int32 max_num_versions = 1;
- * @return int
- */
- public function getMaxNumVersions()
- {
- return $this->readOneof(1);
- }
-
- public function hasMaxNumVersions()
- {
- return $this->hasOneof(1);
- }
-
- /**
- * Delete all cells in a column except the most recent N.
- *
- * Generated from protobuf field int32 max_num_versions = 1;
- * @param int $var
- * @return $this
- */
- public function setMaxNumVersions($var)
- {
- GPBUtil::checkInt32($var);
- $this->writeOneof(1, $var);
-
- return $this;
- }
-
- /**
- * Delete cells in a column older than the given age.
- * Values must be at least one millisecond, and will be truncated to
- * microsecond granularity.
- *
- * Generated from protobuf field .google.protobuf.Duration max_age = 2;
- * @return \Google\Protobuf\Duration|null
- */
- public function getMaxAge()
- {
- return $this->readOneof(2);
- }
-
- public function hasMaxAge()
- {
- return $this->hasOneof(2);
- }
-
- /**
- * Delete cells in a column older than the given age.
- * Values must be at least one millisecond, and will be truncated to
- * microsecond granularity.
- *
- * Generated from protobuf field .google.protobuf.Duration max_age = 2;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setMaxAge($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->writeOneof(2, $var);
-
- return $this;
- }
-
- /**
- * Delete cells that would be deleted by every nested rule.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
- * @return \Google\Cloud\Bigtable\Admin\V2\GcRule\Intersection|null
- */
- public function getIntersection()
- {
- return $this->readOneof(3);
- }
-
- public function hasIntersection()
- {
- return $this->hasOneof(3);
- }
-
- /**
- * Delete cells that would be deleted by every nested rule.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
- * @param \Google\Cloud\Bigtable\Admin\V2\GcRule\Intersection $var
- * @return $this
- */
- public function setIntersection($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\GcRule\Intersection::class);
- $this->writeOneof(3, $var);
-
- return $this;
- }
-
- /**
- * Delete cells that would be deleted by any nested rule.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.GcRule.Union union = 4;
- * @return \Google\Cloud\Bigtable\Admin\V2\GcRule\Union|null
- */
- public function getUnion()
- {
- return $this->readOneof(4);
- }
-
- public function hasUnion()
- {
- return $this->hasOneof(4);
- }
-
- /**
- * Delete cells that would be deleted by any nested rule.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.GcRule.Union union = 4;
- * @param \Google\Cloud\Bigtable\Admin\V2\GcRule\Union $var
- * @return $this
- */
- public function setUnion($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\GcRule\Union::class);
- $this->writeOneof(4, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getRule()
- {
- return $this->whichOneof("rule");
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GcRule/Intersection.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GcRule/Intersection.php
deleted file mode 100644
index 3cdcac56ac62..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GcRule/Intersection.php
+++ /dev/null
@@ -1,70 +0,0 @@
-google.bigtable.admin.v2.GcRule.Intersection
- */
-class Intersection extends \Google\Protobuf\Internal\Message
-{
- /**
- * Only delete cells which would be deleted by every element of `rules`.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.GcRule rules = 1;
- */
- private $rules;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Cloud\Bigtable\Admin\V2\GcRule>|\Google\Protobuf\Internal\RepeatedField $rules
- * Only delete cells which would be deleted by every element of `rules`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Table::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Only delete cells which would be deleted by every element of `rules`.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.GcRule rules = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getRules()
- {
- return $this->rules;
- }
-
- /**
- * Only delete cells which would be deleted by every element of `rules`.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.GcRule rules = 1;
- * @param array<\Google\Cloud\Bigtable\Admin\V2\GcRule>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setRules($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\GcRule::class);
- $this->rules = $arr;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Intersection::class, \Google\Cloud\Bigtable\Admin\V2\GcRule_Intersection::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GcRule/Union.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GcRule/Union.php
deleted file mode 100644
index 0569197be3ac..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GcRule/Union.php
+++ /dev/null
@@ -1,70 +0,0 @@
-google.bigtable.admin.v2.GcRule.Union
- */
-class Union extends \Google\Protobuf\Internal\Message
-{
- /**
- * Delete cells which would be deleted by any element of `rules`.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.GcRule rules = 1;
- */
- private $rules;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Cloud\Bigtable\Admin\V2\GcRule>|\Google\Protobuf\Internal\RepeatedField $rules
- * Delete cells which would be deleted by any element of `rules`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Table::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Delete cells which would be deleted by any element of `rules`.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.GcRule rules = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getRules()
- {
- return $this->rules;
- }
-
- /**
- * Delete cells which would be deleted by any element of `rules`.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.GcRule rules = 1;
- * @param array<\Google\Cloud\Bigtable\Admin\V2\GcRule>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setRules($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\GcRule::class);
- $this->rules = $arr;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Union::class, \Google\Cloud\Bigtable\Admin\V2\GcRule_Union::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GenerateConsistencyTokenRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GenerateConsistencyTokenRequest.php
deleted file mode 100644
index de27631825e5..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GenerateConsistencyTokenRequest.php
+++ /dev/null
@@ -1,92 +0,0 @@
-google.bigtable.admin.v2.GenerateConsistencyTokenRequest
- */
-class GenerateConsistencyTokenRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the Table for which to create a consistency
- * token. Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
-
- /**
- * @param string $name Required. The unique name of the Table for which to create a consistency
- * token. Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`. Please see
- * {@see BigtableTableAdminClient::tableName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\GenerateConsistencyTokenRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The unique name of the Table for which to create a consistency
- * token. Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the Table for which to create a consistency
- * token. Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The unique name of the Table for which to create a consistency
- * token. Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GenerateConsistencyTokenResponse.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GenerateConsistencyTokenResponse.php
deleted file mode 100644
index 6b02098b9ffc..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GenerateConsistencyTokenResponse.php
+++ /dev/null
@@ -1,68 +0,0 @@
-google.bigtable.admin.v2.GenerateConsistencyTokenResponse
- */
-class GenerateConsistencyTokenResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * The generated consistency token.
- *
- * Generated from protobuf field string consistency_token = 1;
- */
- protected $consistency_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $consistency_token
- * The generated consistency token.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The generated consistency token.
- *
- * Generated from protobuf field string consistency_token = 1;
- * @return string
- */
- public function getConsistencyToken()
- {
- return $this->consistency_token;
- }
-
- /**
- * The generated consistency token.
- *
- * Generated from protobuf field string consistency_token = 1;
- * @param string $var
- * @return $this
- */
- public function setConsistencyToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->consistency_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetAppProfileRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetAppProfileRequest.php
deleted file mode 100644
index 017793bbb5ff..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetAppProfileRequest.php
+++ /dev/null
@@ -1,86 +0,0 @@
-google.bigtable.admin.v2.GetAppProfileRequest
- */
-class GetAppProfileRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the requested app profile. Values are of the
- * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
-
- /**
- * @param string $name Required. The unique name of the requested app profile. Values are of the
- * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. Please see
- * {@see BigtableInstanceAdminClient::appProfileName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\GetAppProfileRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The unique name of the requested app profile. Values are of the
- * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the requested app profile. Values are of the
- * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The unique name of the requested app profile. Values are of the
- * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetAuthorizedViewRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetAuthorizedViewRequest.php
deleted file mode 100644
index 385c1c34c266..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetAuthorizedViewRequest.php
+++ /dev/null
@@ -1,130 +0,0 @@
-google.bigtable.admin.v2.GetAuthorizedViewRequest
- */
-class GetAuthorizedViewRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the requested AuthorizedView.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
- /**
- * Optional. The resource_view to be applied to the returned AuthorizedView's
- * fields. Default to BASIC.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AuthorizedView.ResponseView view = 2 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $view = 0;
-
- /**
- * @param string $name Required. The unique name of the requested AuthorizedView.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`. Please see
- * {@see BigtableTableAdminClient::authorizedViewName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\GetAuthorizedViewRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The unique name of the requested AuthorizedView.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.
- * @type int $view
- * Optional. The resource_view to be applied to the returned AuthorizedView's
- * fields. Default to BASIC.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the requested AuthorizedView.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The unique name of the requested AuthorizedView.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Optional. The resource_view to be applied to the returned AuthorizedView's
- * fields. Default to BASIC.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AuthorizedView.ResponseView view = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @return int
- */
- public function getView()
- {
- return $this->view;
- }
-
- /**
- * Optional. The resource_view to be applied to the returned AuthorizedView's
- * fields. Default to BASIC.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AuthorizedView.ResponseView view = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @param int $var
- * @return $this
- */
- public function setView($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\AuthorizedView\ResponseView::class);
- $this->view = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetBackupRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetBackupRequest.php
deleted file mode 100644
index 5f73e6f2900e..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetBackupRequest.php
+++ /dev/null
@@ -1,92 +0,0 @@
-google.bigtable.admin.v2.GetBackupRequest
- */
-class GetBackupRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. Name of the backup.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
-
- /**
- * @param string $name Required. Name of the backup.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. Please see
- * {@see BigtableTableAdminClient::backupName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\GetBackupRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. Name of the backup.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. Name of the backup.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. Name of the backup.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetClusterRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetClusterRequest.php
deleted file mode 100644
index 037844cc19a3..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetClusterRequest.php
+++ /dev/null
@@ -1,86 +0,0 @@
-google.bigtable.admin.v2.GetClusterRequest
- */
-class GetClusterRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the requested cluster. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
-
- /**
- * @param string $name Required. The unique name of the requested cluster. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}`. Please see
- * {@see BigtableInstanceAdminClient::clusterName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\GetClusterRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The unique name of the requested cluster. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the requested cluster. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The unique name of the requested cluster. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetInstanceRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetInstanceRequest.php
deleted file mode 100644
index 28ca52c590cd..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetInstanceRequest.php
+++ /dev/null
@@ -1,86 +0,0 @@
-google.bigtable.admin.v2.GetInstanceRequest
- */
-class GetInstanceRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the requested instance. Values are of the form
- * `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
-
- /**
- * @param string $name Required. The unique name of the requested instance. Values are of the form
- * `projects/{project}/instances/{instance}`. Please see
- * {@see BigtableInstanceAdminClient::instanceName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\GetInstanceRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The unique name of the requested instance. Values are of the form
- * `projects/{project}/instances/{instance}`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the requested instance. Values are of the form
- * `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The unique name of the requested instance. Values are of the form
- * `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetSnapshotRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetSnapshotRequest.php
deleted file mode 100644
index 5b3547a68e7a..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetSnapshotRequest.php
+++ /dev/null
@@ -1,96 +0,0 @@
-google.bigtable.admin.v2.GetSnapshotRequest
- */
-class GetSnapshotRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the requested snapshot.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
-
- /**
- * @param string $name Required. The unique name of the requested snapshot.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. Please see
- * {@see BigtableTableAdminClient::snapshotName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\GetSnapshotRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The unique name of the requested snapshot.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the requested snapshot.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The unique name of the requested snapshot.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetTableRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetTableRequest.php
deleted file mode 100644
index 34142b7797a5..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/GetTableRequest.php
+++ /dev/null
@@ -1,130 +0,0 @@
-google.bigtable.admin.v2.GetTableRequest
- */
-class GetTableRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the requested table.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
- /**
- * The view to be applied to the returned table's fields.
- * Defaults to `SCHEMA_VIEW` if unspecified.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table.View view = 2;
- */
- protected $view = 0;
-
- /**
- * @param string $name Required. The unique name of the requested table.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`. Please see
- * {@see BigtableTableAdminClient::tableName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\GetTableRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The unique name of the requested table.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- * @type int $view
- * The view to be applied to the returned table's fields.
- * Defaults to `SCHEMA_VIEW` if unspecified.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the requested table.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The unique name of the requested table.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * The view to be applied to the returned table's fields.
- * Defaults to `SCHEMA_VIEW` if unspecified.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table.View view = 2;
- * @return int
- */
- public function getView()
- {
- return $this->view;
- }
-
- /**
- * The view to be applied to the returned table's fields.
- * Defaults to `SCHEMA_VIEW` if unspecified.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table.View view = 2;
- * @param int $var
- * @return $this
- */
- public function setView($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\Table\View::class);
- $this->view = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/HotTablet.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/HotTablet.php
deleted file mode 100644
index 4d75a90e66ee..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/HotTablet.php
+++ /dev/null
@@ -1,315 +0,0 @@
-google.bigtable.admin.v2.HotTablet
- */
-class HotTablet extends \Google\Protobuf\Internal\Message
-{
- /**
- * The unique name of the hot tablet. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * Name of the table that contains the tablet. Values are of the form
- * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
- *
- * Generated from protobuf field string table_name = 2 [(.google.api.resource_reference) = {
- */
- protected $table_name = '';
- /**
- * Output only. The start time of the hot tablet.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $start_time = null;
- /**
- * Output only. The end time of the hot tablet.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $end_time = null;
- /**
- * Tablet Start Key (inclusive).
- *
- * Generated from protobuf field string start_key = 5;
- */
- protected $start_key = '';
- /**
- * Tablet End Key (inclusive).
- *
- * Generated from protobuf field string end_key = 6;
- */
- protected $end_key = '';
- /**
- * Output only. The average CPU usage spent by a node on this tablet over the
- * start_time to end_time time range. The percentage is the amount of CPU used
- * by the node to serve the tablet, from 0% (tablet was not interacted with)
- * to 100% (the node spent all cycles serving the hot tablet).
- *
- * Generated from protobuf field float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $node_cpu_usage_percent = 0.0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The unique name of the hot tablet. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
- * @type string $table_name
- * Name of the table that contains the tablet. Values are of the form
- * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
- * @type \Google\Protobuf\Timestamp $start_time
- * Output only. The start time of the hot tablet.
- * @type \Google\Protobuf\Timestamp $end_time
- * Output only. The end time of the hot tablet.
- * @type string $start_key
- * Tablet Start Key (inclusive).
- * @type string $end_key
- * Tablet End Key (inclusive).
- * @type float $node_cpu_usage_percent
- * Output only. The average CPU usage spent by a node on this tablet over the
- * start_time to end_time time range. The percentage is the amount of CPU used
- * by the node to serve the tablet, from 0% (tablet was not interacted with)
- * to 100% (the node spent all cycles serving the hot tablet).
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Instance::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The unique name of the hot tablet. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The unique name of the hot tablet. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
- *
- * 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;
- }
-
- /**
- * Name of the table that contains the tablet. Values are of the form
- * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
- *
- * Generated from protobuf field string table_name = 2 [(.google.api.resource_reference) = {
- * @return string
- */
- public function getTableName()
- {
- return $this->table_name;
- }
-
- /**
- * Name of the table that contains the tablet. Values are of the form
- * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
- *
- * Generated from protobuf field string table_name = 2 [(.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setTableName($var)
- {
- GPBUtil::checkString($var, True);
- $this->table_name = $var;
-
- return $this;
- }
-
- /**
- * Output only. The start time of the hot tablet.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getStartTime()
- {
- return $this->start_time;
- }
-
- public function hasStartTime()
- {
- return isset($this->start_time);
- }
-
- public function clearStartTime()
- {
- unset($this->start_time);
- }
-
- /**
- * Output only. The start time of the hot tablet.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setStartTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->start_time = $var;
-
- return $this;
- }
-
- /**
- * Output only. The end time of the hot tablet.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getEndTime()
- {
- return $this->end_time;
- }
-
- public function hasEndTime()
- {
- return isset($this->end_time);
- }
-
- public function clearEndTime()
- {
- unset($this->end_time);
- }
-
- /**
- * Output only. The end time of the hot tablet.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setEndTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->end_time = $var;
-
- return $this;
- }
-
- /**
- * Tablet Start Key (inclusive).
- *
- * Generated from protobuf field string start_key = 5;
- * @return string
- */
- public function getStartKey()
- {
- return $this->start_key;
- }
-
- /**
- * Tablet Start Key (inclusive).
- *
- * Generated from protobuf field string start_key = 5;
- * @param string $var
- * @return $this
- */
- public function setStartKey($var)
- {
- GPBUtil::checkString($var, True);
- $this->start_key = $var;
-
- return $this;
- }
-
- /**
- * Tablet End Key (inclusive).
- *
- * Generated from protobuf field string end_key = 6;
- * @return string
- */
- public function getEndKey()
- {
- return $this->end_key;
- }
-
- /**
- * Tablet End Key (inclusive).
- *
- * Generated from protobuf field string end_key = 6;
- * @param string $var
- * @return $this
- */
- public function setEndKey($var)
- {
- GPBUtil::checkString($var, True);
- $this->end_key = $var;
-
- return $this;
- }
-
- /**
- * Output only. The average CPU usage spent by a node on this tablet over the
- * start_time to end_time time range. The percentage is the amount of CPU used
- * by the node to serve the tablet, from 0% (tablet was not interacted with)
- * to 100% (the node spent all cycles serving the hot tablet).
- *
- * Generated from protobuf field float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return float
- */
- public function getNodeCpuUsagePercent()
- {
- return $this->node_cpu_usage_percent;
- }
-
- /**
- * Output only. The average CPU usage spent by a node on this tablet over the
- * start_time to end_time time range. The percentage is the amount of CPU used
- * by the node to serve the tablet, from 0% (tablet was not interacted with)
- * to 100% (the node spent all cycles serving the hot tablet).
- *
- * Generated from protobuf field float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param float $var
- * @return $this
- */
- public function setNodeCpuUsagePercent($var)
- {
- GPBUtil::checkFloat($var);
- $this->node_cpu_usage_percent = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Instance.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Instance.php
deleted file mode 100644
index 69fc8d87d690..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Instance.php
+++ /dev/null
@@ -1,354 +0,0 @@
-google.bigtable.admin.v2.Instance
- */
-class Instance extends \Google\Protobuf\Internal\Message
-{
- /**
- * The unique name of the instance. Values are of the form
- * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * Required. The descriptive name for this instance as it appears in UIs.
- * Can be changed at any time, but should be kept globally unique
- * to avoid confusion.
- *
- * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $display_name = '';
- /**
- * (`OutputOnly`)
- * The current state of the instance.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Instance.State state = 3;
- */
- protected $state = 0;
- /**
- * The type of the instance. Defaults to `PRODUCTION`.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Instance.Type type = 4;
- */
- protected $type = 0;
- /**
- * Labels are a flexible and lightweight mechanism for organizing cloud
- * resources into groups that reflect a customer's organizational needs and
- * deployment strategies. They can be used to filter resources and aggregate
- * metrics.
- * * Label keys must be between 1 and 63 characters long and must conform to
- * the regular expression: `[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}`.
- * * Label values must be between 0 and 63 characters long and must conform to
- * the regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}`.
- * * No more than 64 labels can be associated with a given resource.
- * * Keys and values must both be under 128 bytes.
- *
- * Generated from protobuf field map labels = 5;
- */
- private $labels;
- /**
- * Output only. A server-assigned timestamp representing when this Instance
- * was created. For instances created before this field was added (August
- * 2021), this value is `seconds: 0, nanos: 1`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $create_time = null;
- /**
- * Output only. Reserved for future use.
- *
- * Generated from protobuf field optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $satisfies_pzs = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The unique name of the instance. Values are of the form
- * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
- * @type string $display_name
- * Required. The descriptive name for this instance as it appears in UIs.
- * Can be changed at any time, but should be kept globally unique
- * to avoid confusion.
- * @type int $state
- * (`OutputOnly`)
- * The current state of the instance.
- * @type int $type
- * The type of the instance. Defaults to `PRODUCTION`.
- * @type array|\Google\Protobuf\Internal\MapField $labels
- * Labels are a flexible and lightweight mechanism for organizing cloud
- * resources into groups that reflect a customer's organizational needs and
- * deployment strategies. They can be used to filter resources and aggregate
- * metrics.
- * * Label keys must be between 1 and 63 characters long and must conform to
- * the regular expression: `[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}`.
- * * Label values must be between 0 and 63 characters long and must conform to
- * the regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}`.
- * * No more than 64 labels can be associated with a given resource.
- * * Keys and values must both be under 128 bytes.
- * @type \Google\Protobuf\Timestamp $create_time
- * Output only. A server-assigned timestamp representing when this Instance
- * was created. For instances created before this field was added (August
- * 2021), this value is `seconds: 0, nanos: 1`.
- * @type bool $satisfies_pzs
- * Output only. Reserved for future use.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Instance::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The unique name of the instance. Values are of the form
- * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The unique name of the instance. Values are of the form
- * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
- *
- * 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;
- }
-
- /**
- * Required. The descriptive name for this instance as it appears in UIs.
- * Can be changed at any time, but should be kept globally unique
- * to avoid confusion.
- *
- * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getDisplayName()
- {
- return $this->display_name;
- }
-
- /**
- * Required. The descriptive name for this instance as it appears in UIs.
- * Can be changed at any time, but should be kept globally unique
- * to avoid confusion.
- *
- * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setDisplayName($var)
- {
- GPBUtil::checkString($var, True);
- $this->display_name = $var;
-
- return $this;
- }
-
- /**
- * (`OutputOnly`)
- * The current state of the instance.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Instance.State state = 3;
- * @return int
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * (`OutputOnly`)
- * The current state of the instance.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Instance.State state = 3;
- * @param int $var
- * @return $this
- */
- public function setState($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\Instance\State::class);
- $this->state = $var;
-
- return $this;
- }
-
- /**
- * The type of the instance. Defaults to `PRODUCTION`.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Instance.Type type = 4;
- * @return int
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * The type of the instance. Defaults to `PRODUCTION`.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Instance.Type type = 4;
- * @param int $var
- * @return $this
- */
- public function setType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\Instance\Type::class);
- $this->type = $var;
-
- return $this;
- }
-
- /**
- * Labels are a flexible and lightweight mechanism for organizing cloud
- * resources into groups that reflect a customer's organizational needs and
- * deployment strategies. They can be used to filter resources and aggregate
- * metrics.
- * * Label keys must be between 1 and 63 characters long and must conform to
- * the regular expression: `[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}`.
- * * Label values must be between 0 and 63 characters long and must conform to
- * the regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}`.
- * * No more than 64 labels can be associated with a given resource.
- * * Keys and values must both be under 128 bytes.
- *
- * Generated from protobuf field map labels = 5;
- * @return \Google\Protobuf\Internal\MapField
- */
- public function getLabels()
- {
- return $this->labels;
- }
-
- /**
- * Labels are a flexible and lightweight mechanism for organizing cloud
- * resources into groups that reflect a customer's organizational needs and
- * deployment strategies. They can be used to filter resources and aggregate
- * metrics.
- * * Label keys must be between 1 and 63 characters long and must conform to
- * the regular expression: `[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}`.
- * * Label values must be between 0 and 63 characters long and must conform to
- * the regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}`.
- * * No more than 64 labels can be associated with a given resource.
- * * Keys and values must both be under 128 bytes.
- *
- * Generated from protobuf field map labels = 5;
- * @param array|\Google\Protobuf\Internal\MapField $var
- * @return $this
- */
- public function setLabels($var)
- {
- $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
- $this->labels = $arr;
-
- return $this;
- }
-
- /**
- * Output only. A server-assigned timestamp representing when this Instance
- * was created. For instances created before this field was added (August
- * 2021), this value is `seconds: 0, nanos: 1`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getCreateTime()
- {
- return $this->create_time;
- }
-
- public function hasCreateTime()
- {
- return isset($this->create_time);
- }
-
- public function clearCreateTime()
- {
- unset($this->create_time);
- }
-
- /**
- * Output only. A server-assigned timestamp representing when this Instance
- * was created. For instances created before this field was added (August
- * 2021), this value is `seconds: 0, nanos: 1`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setCreateTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->create_time = $var;
-
- return $this;
- }
-
- /**
- * Output only. Reserved for future use.
- *
- * Generated from protobuf field optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return bool
- */
- public function getSatisfiesPzs()
- {
- return isset($this->satisfies_pzs) ? $this->satisfies_pzs : false;
- }
-
- public function hasSatisfiesPzs()
- {
- return isset($this->satisfies_pzs);
- }
-
- public function clearSatisfiesPzs()
- {
- unset($this->satisfies_pzs);
- }
-
- /**
- * Output only. Reserved for future use.
- *
- * Generated from protobuf field optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param bool $var
- * @return $this
- */
- public function setSatisfiesPzs($var)
- {
- GPBUtil::checkBool($var);
- $this->satisfies_pzs = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Instance/State.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Instance/State.php
deleted file mode 100644
index 8442f3728c83..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Instance/State.php
+++ /dev/null
@@ -1,66 +0,0 @@
-google.bigtable.admin.v2.Instance.State
- */
-class State
-{
- /**
- * The state of the instance could not be determined.
- *
- * Generated from protobuf enum STATE_NOT_KNOWN = 0;
- */
- const STATE_NOT_KNOWN = 0;
- /**
- * The instance has been successfully created and can serve requests
- * to its tables.
- *
- * Generated from protobuf enum READY = 1;
- */
- const READY = 1;
- /**
- * The instance is currently being created, and may be destroyed
- * if the creation process encounters an error.
- *
- * Generated from protobuf enum CREATING = 2;
- */
- const CREATING = 2;
-
- private static $valueToName = [
- self::STATE_NOT_KNOWN => 'STATE_NOT_KNOWN',
- self::READY => 'READY',
- self::CREATING => 'CREATING',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(State::class, \Google\Cloud\Bigtable\Admin\V2\Instance_State::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Instance/Type.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Instance/Type.php
deleted file mode 100644
index 8e68c47b9d0f..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Instance/Type.php
+++ /dev/null
@@ -1,68 +0,0 @@
-google.bigtable.admin.v2.Instance.Type
- */
-class Type
-{
- /**
- * The type of the instance is unspecified. If set when creating an
- * instance, a `PRODUCTION` instance will be created. If set when updating
- * an instance, the type will be left unchanged.
- *
- * Generated from protobuf enum TYPE_UNSPECIFIED = 0;
- */
- const TYPE_UNSPECIFIED = 0;
- /**
- * An instance meant for production use. `serve_nodes` must be set
- * on the cluster.
- *
- * Generated from protobuf enum PRODUCTION = 1;
- */
- const PRODUCTION = 1;
- /**
- * DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces
- * a higher minimum node count than DEVELOPMENT.
- *
- * Generated from protobuf enum DEVELOPMENT = 2;
- */
- const DEVELOPMENT = 2;
-
- private static $valueToName = [
- self::TYPE_UNSPECIFIED => 'TYPE_UNSPECIFIED',
- self::PRODUCTION => 'PRODUCTION',
- self::DEVELOPMENT => 'DEVELOPMENT',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Type::class, \Google\Cloud\Bigtable\Admin\V2\Instance_Type::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListAppProfilesRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListAppProfilesRequest.php
deleted file mode 100644
index 42d6c478cd5c..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListAppProfilesRequest.php
+++ /dev/null
@@ -1,193 +0,0 @@
-google.bigtable.admin.v2.ListAppProfilesRequest
- */
-class ListAppProfilesRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the instance for which a list of app profiles
- * is requested. Values are of the form
- * `projects/{project}/instances/{instance}`.
- * Use `{instance} = '-'` to list AppProfiles for all Instances in a project,
- * e.g., `projects/myproject/instances/-`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Maximum number of results per page.
- * A page_size of zero lets the server choose the number of items to return.
- * A page_size which is strictly positive will return at most that many items.
- * A negative page_size will cause an error.
- * Following the first request, subsequent paginated calls are not required
- * to pass a page_size. If a page_size is set in subsequent calls, it must
- * match the page_size given in the first request.
- *
- * Generated from protobuf field int32 page_size = 3;
- */
- protected $page_size = 0;
- /**
- * The value of `next_page_token` returned by a previous call.
- *
- * Generated from protobuf field string page_token = 2;
- */
- protected $page_token = '';
-
- /**
- * @param string $parent Required. The unique name of the instance for which a list of app profiles
- * is requested. Values are of the form
- * `projects/{project}/instances/{instance}`.
- * Use `{instance} = '-'` to list AppProfiles for all Instances in a project,
- * e.g., `projects/myproject/instances/-`. Please see
- * {@see BigtableInstanceAdminClient::instanceName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\ListAppProfilesRequest
- *
- * @experimental
- */
- public static function build(string $parent): self
- {
- return (new self())
- ->setParent($parent);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The unique name of the instance for which a list of app profiles
- * is requested. Values are of the form
- * `projects/{project}/instances/{instance}`.
- * Use `{instance} = '-'` to list AppProfiles for all Instances in a project,
- * e.g., `projects/myproject/instances/-`.
- * @type int $page_size
- * Maximum number of results per page.
- * A page_size of zero lets the server choose the number of items to return.
- * A page_size which is strictly positive will return at most that many items.
- * A negative page_size will cause an error.
- * Following the first request, subsequent paginated calls are not required
- * to pass a page_size. If a page_size is set in subsequent calls, it must
- * match the page_size given in the first request.
- * @type string $page_token
- * The value of `next_page_token` returned by a previous call.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the instance for which a list of app profiles
- * is requested. Values are of the form
- * `projects/{project}/instances/{instance}`.
- * Use `{instance} = '-'` to list AppProfiles for all Instances in a project,
- * e.g., `projects/myproject/instances/-`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The unique name of the instance for which a list of app profiles
- * is requested. Values are of the form
- * `projects/{project}/instances/{instance}`.
- * Use `{instance} = '-'` to list AppProfiles for all Instances in a project,
- * e.g., `projects/myproject/instances/-`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Maximum number of results per page.
- * A page_size of zero lets the server choose the number of items to return.
- * A page_size which is strictly positive will return at most that many items.
- * A negative page_size will cause an error.
- * Following the first request, subsequent paginated calls are not required
- * to pass a page_size. If a page_size is set in subsequent calls, it must
- * match the page_size given in the first request.
- *
- * Generated from protobuf field int32 page_size = 3;
- * @return int
- */
- public function getPageSize()
- {
- return $this->page_size;
- }
-
- /**
- * Maximum number of results per page.
- * A page_size of zero lets the server choose the number of items to return.
- * A page_size which is strictly positive will return at most that many items.
- * A negative page_size will cause an error.
- * Following the first request, subsequent paginated calls are not required
- * to pass a page_size. If a page_size is set in subsequent calls, it must
- * match the page_size given in the first request.
- *
- * Generated from protobuf field int32 page_size = 3;
- * @param int $var
- * @return $this
- */
- public function setPageSize($var)
- {
- GPBUtil::checkInt32($var);
- $this->page_size = $var;
-
- return $this;
- }
-
- /**
- * The value of `next_page_token` returned by a previous call.
- *
- * Generated from protobuf field string page_token = 2;
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
-
- /**
- * The value of `next_page_token` returned by a previous call.
- *
- * Generated from protobuf field string page_token = 2;
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListAppProfilesResponse.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListAppProfilesResponse.php
deleted file mode 100644
index c49770b40a07..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListAppProfilesResponse.php
+++ /dev/null
@@ -1,155 +0,0 @@
-google.bigtable.admin.v2.ListAppProfilesResponse
- */
-class ListAppProfilesResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * The list of requested app profiles.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
- */
- private $app_profiles;
- /**
- * Set if not all app profiles could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- *
- * Generated from protobuf field string next_page_token = 2;
- */
- protected $next_page_token = '';
- /**
- * Locations from which AppProfile information could not be retrieved,
- * due to an outage or some other transient condition.
- * AppProfiles from these locations may be missing from `app_profiles`.
- * Values are of the form `projects//locations/`
- *
- * Generated from protobuf field repeated string failed_locations = 3;
- */
- private $failed_locations;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Cloud\Bigtable\Admin\V2\AppProfile>|\Google\Protobuf\Internal\RepeatedField $app_profiles
- * The list of requested app profiles.
- * @type string $next_page_token
- * Set if not all app profiles could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- * @type array|\Google\Protobuf\Internal\RepeatedField $failed_locations
- * Locations from which AppProfile information could not be retrieved,
- * due to an outage or some other transient condition.
- * AppProfiles from these locations may be missing from `app_profiles`.
- * Values are of the form `projects//locations/`
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The list of requested app profiles.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getAppProfiles()
- {
- return $this->app_profiles;
- }
-
- /**
- * The list of requested app profiles.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;
- * @param array<\Google\Cloud\Bigtable\Admin\V2\AppProfile>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setAppProfiles($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\AppProfile::class);
- $this->app_profiles = $arr;
-
- return $this;
- }
-
- /**
- * Set if not all app profiles could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @return string
- */
- public function getNextPageToken()
- {
- return $this->next_page_token;
- }
-
- /**
- * Set if not all app profiles could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @param string $var
- * @return $this
- */
- public function setNextPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
- /**
- * Locations from which AppProfile information could not be retrieved,
- * due to an outage or some other transient condition.
- * AppProfiles from these locations may be missing from `app_profiles`.
- * Values are of the form `projects//locations/`
- *
- * Generated from protobuf field repeated string failed_locations = 3;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getFailedLocations()
- {
- return $this->failed_locations;
- }
-
- /**
- * Locations from which AppProfile information could not be retrieved,
- * due to an outage or some other transient condition.
- * AppProfiles from these locations may be missing from `app_profiles`.
- * Values are of the form `projects//locations/`
- *
- * Generated from protobuf field repeated string failed_locations = 3;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setFailedLocations($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->failed_locations = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListAuthorizedViewsRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListAuthorizedViewsRequest.php
deleted file mode 100644
index 4a02cb12c2c3..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListAuthorizedViewsRequest.php
+++ /dev/null
@@ -1,222 +0,0 @@
-google.bigtable.admin.v2.ListAuthorizedViewsRequest
- */
-class ListAuthorizedViewsRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the table for which AuthorizedViews should be
- * listed. Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Optional. Maximum number of results per page.
- * A page_size of zero lets the server choose the number of items to return.
- * A page_size which is strictly positive will return at most that many items.
- * A negative page_size will cause an error.
- * Following the first request, subsequent paginated calls are not required
- * to pass a page_size. If a page_size is set in subsequent calls, it must
- * match the page_size given in the first request.
- *
- * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $page_size = 0;
- /**
- * Optional. The value of `next_page_token` returned by a previous call.
- *
- * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $page_token = '';
- /**
- * Optional. The resource_view to be applied to the returned views' fields.
- * Default to NAME_ONLY.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AuthorizedView.ResponseView view = 4 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $view = 0;
-
- /**
- * @param string $parent Required. The unique name of the table for which AuthorizedViews should be
- * listed. Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`. Please see
- * {@see BigtableTableAdminClient::tableName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\ListAuthorizedViewsRequest
- *
- * @experimental
- */
- public static function build(string $parent): self
- {
- return (new self())
- ->setParent($parent);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The unique name of the table for which AuthorizedViews should be
- * listed. Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- * @type int $page_size
- * Optional. Maximum number of results per page.
- * A page_size of zero lets the server choose the number of items to return.
- * A page_size which is strictly positive will return at most that many items.
- * A negative page_size will cause an error.
- * Following the first request, subsequent paginated calls are not required
- * to pass a page_size. If a page_size is set in subsequent calls, it must
- * match the page_size given in the first request.
- * @type string $page_token
- * Optional. The value of `next_page_token` returned by a previous call.
- * @type int $view
- * Optional. The resource_view to be applied to the returned views' fields.
- * Default to NAME_ONLY.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the table for which AuthorizedViews should be
- * listed. Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The unique name of the table for which AuthorizedViews should be
- * listed. Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Optional. Maximum number of results per page.
- * A page_size of zero lets the server choose the number of items to return.
- * A page_size which is strictly positive will return at most that many items.
- * A negative page_size will cause an error.
- * Following the first request, subsequent paginated calls are not required
- * to pass a page_size. If a page_size is set in subsequent calls, it must
- * match the page_size given in the first request.
- *
- * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @return int
- */
- public function getPageSize()
- {
- return $this->page_size;
- }
-
- /**
- * Optional. Maximum number of results per page.
- * A page_size of zero lets the server choose the number of items to return.
- * A page_size which is strictly positive will return at most that many items.
- * A negative page_size will cause an error.
- * Following the first request, subsequent paginated calls are not required
- * to pass a page_size. If a page_size is set in subsequent calls, it must
- * match the page_size given in the first request.
- *
- * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @param int $var
- * @return $this
- */
- public function setPageSize($var)
- {
- GPBUtil::checkInt32($var);
- $this->page_size = $var;
-
- return $this;
- }
-
- /**
- * Optional. The value of `next_page_token` returned by a previous call.
- *
- * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
-
- /**
- * Optional. The value of `next_page_token` returned by a previous call.
- *
- * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
-
- return $this;
- }
-
- /**
- * Optional. The resource_view to be applied to the returned views' fields.
- * Default to NAME_ONLY.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AuthorizedView.ResponseView view = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return int
- */
- public function getView()
- {
- return $this->view;
- }
-
- /**
- * Optional. The resource_view to be applied to the returned views' fields.
- * Default to NAME_ONLY.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AuthorizedView.ResponseView view = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @param int $var
- * @return $this
- */
- public function setView($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\AuthorizedView\ResponseView::class);
- $this->view = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListAuthorizedViewsResponse.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListAuthorizedViewsResponse.php
deleted file mode 100644
index 83d26b843966..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListAuthorizedViewsResponse.php
+++ /dev/null
@@ -1,110 +0,0 @@
-google.bigtable.admin.v2.ListAuthorizedViewsResponse
- */
-class ListAuthorizedViewsResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * The AuthorizedViews present in the requested table.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.AuthorizedView authorized_views = 1;
- */
- private $authorized_views;
- /**
- * Set if not all tables could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- *
- * Generated from protobuf field string next_page_token = 2;
- */
- protected $next_page_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Cloud\Bigtable\Admin\V2\AuthorizedView>|\Google\Protobuf\Internal\RepeatedField $authorized_views
- * The AuthorizedViews present in the requested table.
- * @type string $next_page_token
- * Set if not all tables could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The AuthorizedViews present in the requested table.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.AuthorizedView authorized_views = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getAuthorizedViews()
- {
- return $this->authorized_views;
- }
-
- /**
- * The AuthorizedViews present in the requested table.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.AuthorizedView authorized_views = 1;
- * @param array<\Google\Cloud\Bigtable\Admin\V2\AuthorizedView>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setAuthorizedViews($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\AuthorizedView::class);
- $this->authorized_views = $arr;
-
- return $this;
- }
-
- /**
- * Set if not all tables could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @return string
- */
- public function getNextPageToken()
- {
- return $this->next_page_token;
- }
-
- /**
- * Set if not all tables could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @param string $var
- * @return $this
- */
- public function setNextPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListBackupsRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListBackupsRequest.php
deleted file mode 100644
index 6f5666e3bdbd..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListBackupsRequest.php
+++ /dev/null
@@ -1,429 +0,0 @@
-google.bigtable.admin.v2.ListBackupsRequest
- */
-class ListBackupsRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The cluster to list backups from. Values are of the
- * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
- * Use `{cluster} = '-'` to list backups for all clusters in an instance,
- * e.g., `projects/{project}/instances/{instance}/clusters/-`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * A filter expression that filters backups listed in the response.
- * The expression must specify the field name, a comparison operator,
- * and the value that you want to use for filtering. The value must be a
- * string, a number, or a boolean. The comparison operator must be
- * <, >, <=, >=, !=, =, or :. Colon ':' represents a HAS operator which is
- * roughly synonymous with equality. Filter rules are case insensitive.
- * The fields eligible for filtering are:
- * * `name`
- * * `source_table`
- * * `state`
- * * `start_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
- * * `end_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
- * * `expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
- * * `size_bytes`
- * To filter on multiple expressions, provide each separate expression within
- * parentheses. By default, each expression is an AND expression. However,
- * you can include AND, OR, and NOT expressions explicitly.
- * Some examples of using filters are:
- * * `name:"exact"` --> The backup's name is the string "exact".
- * * `name:howl` --> The backup's name contains the string "howl".
- * * `source_table:prod`
- * --> The source_table's name contains the string "prod".
- * * `state:CREATING` --> The backup is pending creation.
- * * `state:READY` --> The backup is fully created and ready for use.
- * * `(name:howl) AND (start_time < \"2018-03-28T14:50:00Z\")`
- * --> The backup name contains the string "howl" and start_time
- * of the backup is before 2018-03-28T14:50:00Z.
- * * `size_bytes > 10000000000` --> The backup's size is greater than 10GB
- *
- * Generated from protobuf field string filter = 2;
- */
- protected $filter = '';
- /**
- * An expression for specifying the sort order of the results of the request.
- * The string value should specify one or more fields in
- * [Backup][google.bigtable.admin.v2.Backup]. The full syntax is described at
- * https://aip.dev/132#ordering.
- * Fields supported are:
- * * name
- * * source_table
- * * expire_time
- * * start_time
- * * end_time
- * * size_bytes
- * * state
- * For example, "start_time". The default sorting order is ascending.
- * To specify descending order for the field, a suffix " desc" should
- * be appended to the field name. For example, "start_time desc".
- * Redundant space characters in the syntax are insigificant.
- * If order_by is empty, results will be sorted by `start_time` in descending
- * order starting from the most recently created backup.
- *
- * Generated from protobuf field string order_by = 3;
- */
- protected $order_by = '';
- /**
- * Number of backups to be returned in the response. If 0 or
- * less, defaults to the server's maximum allowed page size.
- *
- * Generated from protobuf field int32 page_size = 4;
- */
- protected $page_size = 0;
- /**
- * If non-empty, `page_token` should contain a
- * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
- * from a previous
- * [ListBackupsResponse][google.bigtable.admin.v2.ListBackupsResponse] to the
- * same `parent` and with the same `filter`.
- *
- * Generated from protobuf field string page_token = 5;
- */
- protected $page_token = '';
-
- /**
- * @param string $parent Required. The cluster to list backups from. Values are of the
- * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
- * Use `{cluster} = '-'` to list backups for all clusters in an instance,
- * e.g., `projects/{project}/instances/{instance}/clusters/-`. Please see
- * {@see BigtableTableAdminClient::clusterName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\ListBackupsRequest
- *
- * @experimental
- */
- public static function build(string $parent): self
- {
- return (new self())
- ->setParent($parent);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The cluster to list backups from. Values are of the
- * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
- * Use `{cluster} = '-'` to list backups for all clusters in an instance,
- * e.g., `projects/{project}/instances/{instance}/clusters/-`.
- * @type string $filter
- * A filter expression that filters backups listed in the response.
- * The expression must specify the field name, a comparison operator,
- * and the value that you want to use for filtering. The value must be a
- * string, a number, or a boolean. The comparison operator must be
- * <, >, <=, >=, !=, =, or :. Colon ':' represents a HAS operator which is
- * roughly synonymous with equality. Filter rules are case insensitive.
- * The fields eligible for filtering are:
- * * `name`
- * * `source_table`
- * * `state`
- * * `start_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
- * * `end_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
- * * `expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
- * * `size_bytes`
- * To filter on multiple expressions, provide each separate expression within
- * parentheses. By default, each expression is an AND expression. However,
- * you can include AND, OR, and NOT expressions explicitly.
- * Some examples of using filters are:
- * * `name:"exact"` --> The backup's name is the string "exact".
- * * `name:howl` --> The backup's name contains the string "howl".
- * * `source_table:prod`
- * --> The source_table's name contains the string "prod".
- * * `state:CREATING` --> The backup is pending creation.
- * * `state:READY` --> The backup is fully created and ready for use.
- * * `(name:howl) AND (start_time < \"2018-03-28T14:50:00Z\")`
- * --> The backup name contains the string "howl" and start_time
- * of the backup is before 2018-03-28T14:50:00Z.
- * * `size_bytes > 10000000000` --> The backup's size is greater than 10GB
- * @type string $order_by
- * An expression for specifying the sort order of the results of the request.
- * The string value should specify one or more fields in
- * [Backup][google.bigtable.admin.v2.Backup]. The full syntax is described at
- * https://aip.dev/132#ordering.
- * Fields supported are:
- * * name
- * * source_table
- * * expire_time
- * * start_time
- * * end_time
- * * size_bytes
- * * state
- * For example, "start_time". The default sorting order is ascending.
- * To specify descending order for the field, a suffix " desc" should
- * be appended to the field name. For example, "start_time desc".
- * Redundant space characters in the syntax are insigificant.
- * If order_by is empty, results will be sorted by `start_time` in descending
- * order starting from the most recently created backup.
- * @type int $page_size
- * Number of backups to be returned in the response. If 0 or
- * less, defaults to the server's maximum allowed page size.
- * @type string $page_token
- * If non-empty, `page_token` should contain a
- * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
- * from a previous
- * [ListBackupsResponse][google.bigtable.admin.v2.ListBackupsResponse] to the
- * same `parent` and with the same `filter`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The cluster to list backups from. Values are of the
- * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
- * Use `{cluster} = '-'` to list backups for all clusters in an instance,
- * e.g., `projects/{project}/instances/{instance}/clusters/-`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The cluster to list backups from. Values are of the
- * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
- * Use `{cluster} = '-'` to list backups for all clusters in an instance,
- * e.g., `projects/{project}/instances/{instance}/clusters/-`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * A filter expression that filters backups listed in the response.
- * The expression must specify the field name, a comparison operator,
- * and the value that you want to use for filtering. The value must be a
- * string, a number, or a boolean. The comparison operator must be
- * <, >, <=, >=, !=, =, or :. Colon ':' represents a HAS operator which is
- * roughly synonymous with equality. Filter rules are case insensitive.
- * The fields eligible for filtering are:
- * * `name`
- * * `source_table`
- * * `state`
- * * `start_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
- * * `end_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
- * * `expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
- * * `size_bytes`
- * To filter on multiple expressions, provide each separate expression within
- * parentheses. By default, each expression is an AND expression. However,
- * you can include AND, OR, and NOT expressions explicitly.
- * Some examples of using filters are:
- * * `name:"exact"` --> The backup's name is the string "exact".
- * * `name:howl` --> The backup's name contains the string "howl".
- * * `source_table:prod`
- * --> The source_table's name contains the string "prod".
- * * `state:CREATING` --> The backup is pending creation.
- * * `state:READY` --> The backup is fully created and ready for use.
- * * `(name:howl) AND (start_time < \"2018-03-28T14:50:00Z\")`
- * --> The backup name contains the string "howl" and start_time
- * of the backup is before 2018-03-28T14:50:00Z.
- * * `size_bytes > 10000000000` --> The backup's size is greater than 10GB
- *
- * Generated from protobuf field string filter = 2;
- * @return string
- */
- public function getFilter()
- {
- return $this->filter;
- }
-
- /**
- * A filter expression that filters backups listed in the response.
- * The expression must specify the field name, a comparison operator,
- * and the value that you want to use for filtering. The value must be a
- * string, a number, or a boolean. The comparison operator must be
- * <, >, <=, >=, !=, =, or :. Colon ':' represents a HAS operator which is
- * roughly synonymous with equality. Filter rules are case insensitive.
- * The fields eligible for filtering are:
- * * `name`
- * * `source_table`
- * * `state`
- * * `start_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
- * * `end_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
- * * `expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
- * * `size_bytes`
- * To filter on multiple expressions, provide each separate expression within
- * parentheses. By default, each expression is an AND expression. However,
- * you can include AND, OR, and NOT expressions explicitly.
- * Some examples of using filters are:
- * * `name:"exact"` --> The backup's name is the string "exact".
- * * `name:howl` --> The backup's name contains the string "howl".
- * * `source_table:prod`
- * --> The source_table's name contains the string "prod".
- * * `state:CREATING` --> The backup is pending creation.
- * * `state:READY` --> The backup is fully created and ready for use.
- * * `(name:howl) AND (start_time < \"2018-03-28T14:50:00Z\")`
- * --> The backup name contains the string "howl" and start_time
- * of the backup is before 2018-03-28T14:50:00Z.
- * * `size_bytes > 10000000000` --> The backup's size is greater than 10GB
- *
- * Generated from protobuf field string filter = 2;
- * @param string $var
- * @return $this
- */
- public function setFilter($var)
- {
- GPBUtil::checkString($var, True);
- $this->filter = $var;
-
- return $this;
- }
-
- /**
- * An expression for specifying the sort order of the results of the request.
- * The string value should specify one or more fields in
- * [Backup][google.bigtable.admin.v2.Backup]. The full syntax is described at
- * https://aip.dev/132#ordering.
- * Fields supported are:
- * * name
- * * source_table
- * * expire_time
- * * start_time
- * * end_time
- * * size_bytes
- * * state
- * For example, "start_time". The default sorting order is ascending.
- * To specify descending order for the field, a suffix " desc" should
- * be appended to the field name. For example, "start_time desc".
- * Redundant space characters in the syntax are insigificant.
- * If order_by is empty, results will be sorted by `start_time` in descending
- * order starting from the most recently created backup.
- *
- * Generated from protobuf field string order_by = 3;
- * @return string
- */
- public function getOrderBy()
- {
- return $this->order_by;
- }
-
- /**
- * An expression for specifying the sort order of the results of the request.
- * The string value should specify one or more fields in
- * [Backup][google.bigtable.admin.v2.Backup]. The full syntax is described at
- * https://aip.dev/132#ordering.
- * Fields supported are:
- * * name
- * * source_table
- * * expire_time
- * * start_time
- * * end_time
- * * size_bytes
- * * state
- * For example, "start_time". The default sorting order is ascending.
- * To specify descending order for the field, a suffix " desc" should
- * be appended to the field name. For example, "start_time desc".
- * Redundant space characters in the syntax are insigificant.
- * If order_by is empty, results will be sorted by `start_time` in descending
- * order starting from the most recently created backup.
- *
- * Generated from protobuf field string order_by = 3;
- * @param string $var
- * @return $this
- */
- public function setOrderBy($var)
- {
- GPBUtil::checkString($var, True);
- $this->order_by = $var;
-
- return $this;
- }
-
- /**
- * Number of backups to be returned in the response. If 0 or
- * less, defaults to the server's maximum allowed page size.
- *
- * Generated from protobuf field int32 page_size = 4;
- * @return int
- */
- public function getPageSize()
- {
- return $this->page_size;
- }
-
- /**
- * Number of backups to be returned in the response. If 0 or
- * less, defaults to the server's maximum allowed page size.
- *
- * Generated from protobuf field int32 page_size = 4;
- * @param int $var
- * @return $this
- */
- public function setPageSize($var)
- {
- GPBUtil::checkInt32($var);
- $this->page_size = $var;
-
- return $this;
- }
-
- /**
- * If non-empty, `page_token` should contain a
- * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
- * from a previous
- * [ListBackupsResponse][google.bigtable.admin.v2.ListBackupsResponse] to the
- * same `parent` and with the same `filter`.
- *
- * Generated from protobuf field string page_token = 5;
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
-
- /**
- * If non-empty, `page_token` should contain a
- * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
- * from a previous
- * [ListBackupsResponse][google.bigtable.admin.v2.ListBackupsResponse] to the
- * same `parent` and with the same `filter`.
- *
- * Generated from protobuf field string page_token = 5;
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListBackupsResponse.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListBackupsResponse.php
deleted file mode 100644
index c9792bd915b6..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListBackupsResponse.php
+++ /dev/null
@@ -1,110 +0,0 @@
-google.bigtable.admin.v2.ListBackupsResponse
- */
-class ListBackupsResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * The list of matching backups.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.Backup backups = 1;
- */
- private $backups;
- /**
- * `next_page_token` can be sent in a subsequent
- * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
- * to fetch more of the matching backups.
- *
- * Generated from protobuf field string next_page_token = 2;
- */
- protected $next_page_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Cloud\Bigtable\Admin\V2\Backup>|\Google\Protobuf\Internal\RepeatedField $backups
- * The list of matching backups.
- * @type string $next_page_token
- * `next_page_token` can be sent in a subsequent
- * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
- * to fetch more of the matching backups.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The list of matching backups.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.Backup backups = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getBackups()
- {
- return $this->backups;
- }
-
- /**
- * The list of matching backups.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.Backup backups = 1;
- * @param array<\Google\Cloud\Bigtable\Admin\V2\Backup>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setBackups($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\Backup::class);
- $this->backups = $arr;
-
- return $this;
- }
-
- /**
- * `next_page_token` can be sent in a subsequent
- * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
- * to fetch more of the matching backups.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @return string
- */
- public function getNextPageToken()
- {
- return $this->next_page_token;
- }
-
- /**
- * `next_page_token` can be sent in a subsequent
- * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
- * to fetch more of the matching backups.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @param string $var
- * @return $this
- */
- public function setNextPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListClustersRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListClustersRequest.php
deleted file mode 100644
index 00a12138e516..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListClustersRequest.php
+++ /dev/null
@@ -1,135 +0,0 @@
-google.bigtable.admin.v2.ListClustersRequest
- */
-class ListClustersRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the instance for which a list of clusters is
- * requested. Values are of the form
- * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list
- * Clusters for all Instances in a project, e.g.,
- * `projects/myproject/instances/-`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * DEPRECATED: This field is unused and ignored.
- *
- * Generated from protobuf field string page_token = 2;
- */
- protected $page_token = '';
-
- /**
- * @param string $parent Required. The unique name of the instance for which a list of clusters is
- * requested. Values are of the form
- * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list
- * Clusters for all Instances in a project, e.g.,
- * `projects/myproject/instances/-`. Please see
- * {@see BigtableInstanceAdminClient::instanceName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\ListClustersRequest
- *
- * @experimental
- */
- public static function build(string $parent): self
- {
- return (new self())
- ->setParent($parent);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The unique name of the instance for which a list of clusters is
- * requested. Values are of the form
- * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list
- * Clusters for all Instances in a project, e.g.,
- * `projects/myproject/instances/-`.
- * @type string $page_token
- * DEPRECATED: This field is unused and ignored.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the instance for which a list of clusters is
- * requested. Values are of the form
- * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list
- * Clusters for all Instances in a project, e.g.,
- * `projects/myproject/instances/-`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The unique name of the instance for which a list of clusters is
- * requested. Values are of the form
- * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list
- * Clusters for all Instances in a project, e.g.,
- * `projects/myproject/instances/-`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * DEPRECATED: This field is unused and ignored.
- *
- * Generated from protobuf field string page_token = 2;
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
-
- /**
- * DEPRECATED: This field is unused and ignored.
- *
- * Generated from protobuf field string page_token = 2;
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListClustersResponse.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListClustersResponse.php
deleted file mode 100644
index 84ccf514aa70..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListClustersResponse.php
+++ /dev/null
@@ -1,151 +0,0 @@
-google.bigtable.admin.v2.ListClustersResponse
- */
-class ListClustersResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * The list of requested clusters.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.Cluster clusters = 1;
- */
- private $clusters;
- /**
- * Locations from which Cluster information could not be retrieved,
- * due to an outage or some other transient condition.
- * Clusters from these locations may be missing from `clusters`,
- * or may only have partial information returned.
- * Values are of the form `projects//locations/`
- *
- * Generated from protobuf field repeated string failed_locations = 2;
- */
- private $failed_locations;
- /**
- * DEPRECATED: This field is unused and ignored.
- *
- * Generated from protobuf field string next_page_token = 3;
- */
- protected $next_page_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Cloud\Bigtable\Admin\V2\Cluster>|\Google\Protobuf\Internal\RepeatedField $clusters
- * The list of requested clusters.
- * @type array|\Google\Protobuf\Internal\RepeatedField $failed_locations
- * Locations from which Cluster information could not be retrieved,
- * due to an outage or some other transient condition.
- * Clusters from these locations may be missing from `clusters`,
- * or may only have partial information returned.
- * Values are of the form `projects//locations/`
- * @type string $next_page_token
- * DEPRECATED: This field is unused and ignored.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The list of requested clusters.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.Cluster clusters = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getClusters()
- {
- return $this->clusters;
- }
-
- /**
- * The list of requested clusters.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.Cluster clusters = 1;
- * @param array<\Google\Cloud\Bigtable\Admin\V2\Cluster>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setClusters($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\Cluster::class);
- $this->clusters = $arr;
-
- return $this;
- }
-
- /**
- * Locations from which Cluster information could not be retrieved,
- * due to an outage or some other transient condition.
- * Clusters from these locations may be missing from `clusters`,
- * or may only have partial information returned.
- * Values are of the form `projects//locations/`
- *
- * Generated from protobuf field repeated string failed_locations = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getFailedLocations()
- {
- return $this->failed_locations;
- }
-
- /**
- * Locations from which Cluster information could not be retrieved,
- * due to an outage or some other transient condition.
- * Clusters from these locations may be missing from `clusters`,
- * or may only have partial information returned.
- * Values are of the form `projects//locations/`
- *
- * Generated from protobuf field repeated string failed_locations = 2;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setFailedLocations($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->failed_locations = $arr;
-
- return $this;
- }
-
- /**
- * DEPRECATED: This field is unused and ignored.
- *
- * Generated from protobuf field string next_page_token = 3;
- * @return string
- */
- public function getNextPageToken()
- {
- return $this->next_page_token;
- }
-
- /**
- * DEPRECATED: This field is unused and ignored.
- *
- * Generated from protobuf field string next_page_token = 3;
- * @param string $var
- * @return $this
- */
- public function setNextPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListHotTabletsRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListHotTabletsRequest.php
deleted file mode 100644
index 2fcefef12c29..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListHotTabletsRequest.php
+++ /dev/null
@@ -1,291 +0,0 @@
-google.bigtable.admin.v2.ListHotTabletsRequest
- */
-class ListHotTabletsRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The cluster name to list hot tablets.
- * Value is in the following form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * The start time to list hot tablets. The hot tablets in the response will
- * have start times between the requested start time and end time. Start time
- * defaults to Now if it is unset, and end time defaults to Now - 24 hours if
- * it is unset. The start time should be less than the end time, and the
- * maximum allowed time range between start time and end time is 48 hours.
- * Start time and end time should have values between Now and Now - 14 days.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 2;
- */
- protected $start_time = null;
- /**
- * The end time to list hot tablets.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 3;
- */
- protected $end_time = null;
- /**
- * Maximum number of results per page.
- * A page_size that is empty or zero lets the server choose the number of
- * items to return. A page_size which is strictly positive will return at most
- * that many items. A negative page_size will cause an error.
- * Following the first request, subsequent paginated calls do not need a
- * page_size field. If a page_size is set in subsequent calls, it must match
- * the page_size given in the first request.
- *
- * Generated from protobuf field int32 page_size = 4;
- */
- protected $page_size = 0;
- /**
- * The value of `next_page_token` returned by a previous call.
- *
- * Generated from protobuf field string page_token = 5;
- */
- protected $page_token = '';
-
- /**
- * @param string $parent Required. The cluster name to list hot tablets.
- * Value is in the following form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}`. Please see
- * {@see BigtableInstanceAdminClient::clusterName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\ListHotTabletsRequest
- *
- * @experimental
- */
- public static function build(string $parent): self
- {
- return (new self())
- ->setParent($parent);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The cluster name to list hot tablets.
- * Value is in the following form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- * @type \Google\Protobuf\Timestamp $start_time
- * The start time to list hot tablets. The hot tablets in the response will
- * have start times between the requested start time and end time. Start time
- * defaults to Now if it is unset, and end time defaults to Now - 24 hours if
- * it is unset. The start time should be less than the end time, and the
- * maximum allowed time range between start time and end time is 48 hours.
- * Start time and end time should have values between Now and Now - 14 days.
- * @type \Google\Protobuf\Timestamp $end_time
- * The end time to list hot tablets.
- * @type int $page_size
- * Maximum number of results per page.
- * A page_size that is empty or zero lets the server choose the number of
- * items to return. A page_size which is strictly positive will return at most
- * that many items. A negative page_size will cause an error.
- * Following the first request, subsequent paginated calls do not need a
- * page_size field. If a page_size is set in subsequent calls, it must match
- * the page_size given in the first request.
- * @type string $page_token
- * The value of `next_page_token` returned by a previous call.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The cluster name to list hot tablets.
- * Value is in the following form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The cluster name to list hot tablets.
- * Value is in the following form:
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * The start time to list hot tablets. The hot tablets in the response will
- * have start times between the requested start time and end time. Start time
- * defaults to Now if it is unset, and end time defaults to Now - 24 hours if
- * it is unset. The start time should be less than the end time, and the
- * maximum allowed time range between start time and end time is 48 hours.
- * Start time and end time should have values between Now and Now - 14 days.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getStartTime()
- {
- return $this->start_time;
- }
-
- public function hasStartTime()
- {
- return isset($this->start_time);
- }
-
- public function clearStartTime()
- {
- unset($this->start_time);
- }
-
- /**
- * The start time to list hot tablets. The hot tablets in the response will
- * have start times between the requested start time and end time. Start time
- * defaults to Now if it is unset, and end time defaults to Now - 24 hours if
- * it is unset. The start time should be less than the end time, and the
- * maximum allowed time range between start time and end time is 48 hours.
- * Start time and end time should have values between Now and Now - 14 days.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setStartTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->start_time = $var;
-
- return $this;
- }
-
- /**
- * The end time to list hot tablets.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 3;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getEndTime()
- {
- return $this->end_time;
- }
-
- public function hasEndTime()
- {
- return isset($this->end_time);
- }
-
- public function clearEndTime()
- {
- unset($this->end_time);
- }
-
- /**
- * The end time to list hot tablets.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 3;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setEndTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->end_time = $var;
-
- return $this;
- }
-
- /**
- * Maximum number of results per page.
- * A page_size that is empty or zero lets the server choose the number of
- * items to return. A page_size which is strictly positive will return at most
- * that many items. A negative page_size will cause an error.
- * Following the first request, subsequent paginated calls do not need a
- * page_size field. If a page_size is set in subsequent calls, it must match
- * the page_size given in the first request.
- *
- * Generated from protobuf field int32 page_size = 4;
- * @return int
- */
- public function getPageSize()
- {
- return $this->page_size;
- }
-
- /**
- * Maximum number of results per page.
- * A page_size that is empty or zero lets the server choose the number of
- * items to return. A page_size which is strictly positive will return at most
- * that many items. A negative page_size will cause an error.
- * Following the first request, subsequent paginated calls do not need a
- * page_size field. If a page_size is set in subsequent calls, it must match
- * the page_size given in the first request.
- *
- * Generated from protobuf field int32 page_size = 4;
- * @param int $var
- * @return $this
- */
- public function setPageSize($var)
- {
- GPBUtil::checkInt32($var);
- $this->page_size = $var;
-
- return $this;
- }
-
- /**
- * The value of `next_page_token` returned by a previous call.
- *
- * Generated from protobuf field string page_token = 5;
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
-
- /**
- * The value of `next_page_token` returned by a previous call.
- *
- * Generated from protobuf field string page_token = 5;
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListHotTabletsResponse.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListHotTabletsResponse.php
deleted file mode 100644
index 39b6a733dade..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListHotTabletsResponse.php
+++ /dev/null
@@ -1,125 +0,0 @@
-google.bigtable.admin.v2.ListHotTabletsResponse
- */
-class ListHotTabletsResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * List of hot tablets in the tables of the requested cluster that fall
- * within the requested time range. Hot tablets are ordered by node cpu usage
- * percent. If there are multiple hot tablets that correspond to the same
- * tablet within a 15-minute interval, only the hot tablet with the highest
- * node cpu usage will be included in the response.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
- */
- private $hot_tablets;
- /**
- * Set if not all hot tablets could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- *
- * Generated from protobuf field string next_page_token = 2;
- */
- protected $next_page_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Cloud\Bigtable\Admin\V2\HotTablet>|\Google\Protobuf\Internal\RepeatedField $hot_tablets
- * List of hot tablets in the tables of the requested cluster that fall
- * within the requested time range. Hot tablets are ordered by node cpu usage
- * percent. If there are multiple hot tablets that correspond to the same
- * tablet within a 15-minute interval, only the hot tablet with the highest
- * node cpu usage will be included in the response.
- * @type string $next_page_token
- * Set if not all hot tablets could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * List of hot tablets in the tables of the requested cluster that fall
- * within the requested time range. Hot tablets are ordered by node cpu usage
- * percent. If there are multiple hot tablets that correspond to the same
- * tablet within a 15-minute interval, only the hot tablet with the highest
- * node cpu usage will be included in the response.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getHotTablets()
- {
- return $this->hot_tablets;
- }
-
- /**
- * List of hot tablets in the tables of the requested cluster that fall
- * within the requested time range. Hot tablets are ordered by node cpu usage
- * percent. If there are multiple hot tablets that correspond to the same
- * tablet within a 15-minute interval, only the hot tablet with the highest
- * node cpu usage will be included in the response.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
- * @param array<\Google\Cloud\Bigtable\Admin\V2\HotTablet>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setHotTablets($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\HotTablet::class);
- $this->hot_tablets = $arr;
-
- return $this;
- }
-
- /**
- * Set if not all hot tablets could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @return string
- */
- public function getNextPageToken()
- {
- return $this->next_page_token;
- }
-
- /**
- * Set if not all hot tablets could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @param string $var
- * @return $this
- */
- public function setNextPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListInstancesRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListInstancesRequest.php
deleted file mode 100644
index e0d88b2803fa..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListInstancesRequest.php
+++ /dev/null
@@ -1,120 +0,0 @@
-google.bigtable.admin.v2.ListInstancesRequest
- */
-class ListInstancesRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the project for which a list of instances is
- * requested. Values are of the form `projects/{project}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * DEPRECATED: This field is unused and ignored.
- *
- * Generated from protobuf field string page_token = 2;
- */
- protected $page_token = '';
-
- /**
- * @param string $parent Required. The unique name of the project for which a list of instances is
- * requested. Values are of the form `projects/{project}`. Please see
- * {@see BigtableInstanceAdminClient::projectName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\ListInstancesRequest
- *
- * @experimental
- */
- public static function build(string $parent): self
- {
- return (new self())
- ->setParent($parent);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The unique name of the project for which a list of instances is
- * requested. Values are of the form `projects/{project}`.
- * @type string $page_token
- * DEPRECATED: This field is unused and ignored.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the project for which a list of instances is
- * requested. Values are of the form `projects/{project}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The unique name of the project for which a list of instances is
- * requested. Values are of the form `projects/{project}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * DEPRECATED: This field is unused and ignored.
- *
- * Generated from protobuf field string page_token = 2;
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
-
- /**
- * DEPRECATED: This field is unused and ignored.
- *
- * Generated from protobuf field string page_token = 2;
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListInstancesResponse.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListInstancesResponse.php
deleted file mode 100644
index 6e08425dbe3e..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListInstancesResponse.php
+++ /dev/null
@@ -1,155 +0,0 @@
-google.bigtable.admin.v2.ListInstancesResponse
- */
-class ListInstancesResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * The list of requested instances.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.Instance instances = 1;
- */
- private $instances;
- /**
- * Locations from which Instance information could not be retrieved,
- * due to an outage or some other transient condition.
- * Instances whose Clusters are all in one of the failed locations
- * may be missing from `instances`, and Instances with at least one
- * Cluster in a failed location may only have partial information returned.
- * Values are of the form `projects//locations/`
- *
- * Generated from protobuf field repeated string failed_locations = 2;
- */
- private $failed_locations;
- /**
- * DEPRECATED: This field is unused and ignored.
- *
- * Generated from protobuf field string next_page_token = 3;
- */
- protected $next_page_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Cloud\Bigtable\Admin\V2\Instance>|\Google\Protobuf\Internal\RepeatedField $instances
- * The list of requested instances.
- * @type array|\Google\Protobuf\Internal\RepeatedField $failed_locations
- * Locations from which Instance information could not be retrieved,
- * due to an outage or some other transient condition.
- * Instances whose Clusters are all in one of the failed locations
- * may be missing from `instances`, and Instances with at least one
- * Cluster in a failed location may only have partial information returned.
- * Values are of the form `projects//locations/`
- * @type string $next_page_token
- * DEPRECATED: This field is unused and ignored.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The list of requested instances.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.Instance instances = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getInstances()
- {
- return $this->instances;
- }
-
- /**
- * The list of requested instances.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.Instance instances = 1;
- * @param array<\Google\Cloud\Bigtable\Admin\V2\Instance>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setInstances($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\Instance::class);
- $this->instances = $arr;
-
- return $this;
- }
-
- /**
- * Locations from which Instance information could not be retrieved,
- * due to an outage or some other transient condition.
- * Instances whose Clusters are all in one of the failed locations
- * may be missing from `instances`, and Instances with at least one
- * Cluster in a failed location may only have partial information returned.
- * Values are of the form `projects//locations/`
- *
- * Generated from protobuf field repeated string failed_locations = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getFailedLocations()
- {
- return $this->failed_locations;
- }
-
- /**
- * Locations from which Instance information could not be retrieved,
- * due to an outage or some other transient condition.
- * Instances whose Clusters are all in one of the failed locations
- * may be missing from `instances`, and Instances with at least one
- * Cluster in a failed location may only have partial information returned.
- * Values are of the form `projects//locations/`
- *
- * Generated from protobuf field repeated string failed_locations = 2;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setFailedLocations($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->failed_locations = $arr;
-
- return $this;
- }
-
- /**
- * DEPRECATED: This field is unused and ignored.
- *
- * Generated from protobuf field string next_page_token = 3;
- * @return string
- */
- public function getNextPageToken()
- {
- return $this->next_page_token;
- }
-
- /**
- * DEPRECATED: This field is unused and ignored.
- *
- * Generated from protobuf field string next_page_token = 3;
- * @param string $var
- * @return $this
- */
- public function setNextPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListSnapshotsRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListSnapshotsRequest.php
deleted file mode 100644
index 5ee84a207816..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListSnapshotsRequest.php
+++ /dev/null
@@ -1,178 +0,0 @@
-google.bigtable.admin.v2.ListSnapshotsRequest
- */
-class ListSnapshotsRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the cluster for which snapshots should be
- * listed. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- * Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
- * e.g., `projects/{project}/instances/{instance}/clusters/-`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * The maximum number of snapshots to return per page.
- * CURRENTLY UNIMPLEMENTED AND IGNORED.
- *
- * Generated from protobuf field int32 page_size = 2;
- */
- protected $page_size = 0;
- /**
- * The value of `next_page_token` returned by a previous call.
- *
- * Generated from protobuf field string page_token = 3;
- */
- protected $page_token = '';
-
- /**
- * @param string $parent Required. The unique name of the cluster for which snapshots should be
- * listed. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- * Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
- * e.g., `projects/{project}/instances/{instance}/clusters/-`. Please see
- * {@see BigtableTableAdminClient::clusterName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\ListSnapshotsRequest
- *
- * @experimental
- */
- public static function build(string $parent): self
- {
- return (new self())
- ->setParent($parent);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The unique name of the cluster for which snapshots should be
- * listed. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- * Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
- * e.g., `projects/{project}/instances/{instance}/clusters/-`.
- * @type int $page_size
- * The maximum number of snapshots to return per page.
- * CURRENTLY UNIMPLEMENTED AND IGNORED.
- * @type string $page_token
- * The value of `next_page_token` returned by a previous call.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the cluster for which snapshots should be
- * listed. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- * Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
- * e.g., `projects/{project}/instances/{instance}/clusters/-`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The unique name of the cluster for which snapshots should be
- * listed. Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- * Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
- * e.g., `projects/{project}/instances/{instance}/clusters/-`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * The maximum number of snapshots to return per page.
- * CURRENTLY UNIMPLEMENTED AND IGNORED.
- *
- * Generated from protobuf field int32 page_size = 2;
- * @return int
- */
- public function getPageSize()
- {
- return $this->page_size;
- }
-
- /**
- * The maximum number of snapshots to return per page.
- * CURRENTLY UNIMPLEMENTED AND IGNORED.
- *
- * Generated from protobuf field int32 page_size = 2;
- * @param int $var
- * @return $this
- */
- public function setPageSize($var)
- {
- GPBUtil::checkInt32($var);
- $this->page_size = $var;
-
- return $this;
- }
-
- /**
- * The value of `next_page_token` returned by a previous call.
- *
- * Generated from protobuf field string page_token = 3;
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
-
- /**
- * The value of `next_page_token` returned by a previous call.
- *
- * Generated from protobuf field string page_token = 3;
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListSnapshotsResponse.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListSnapshotsResponse.php
deleted file mode 100644
index c3d9df13f7e0..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListSnapshotsResponse.php
+++ /dev/null
@@ -1,114 +0,0 @@
-google.bigtable.admin.v2.ListSnapshotsResponse
- */
-class ListSnapshotsResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * The snapshots present in the requested cluster.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
- */
- private $snapshots;
- /**
- * Set if not all snapshots could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- *
- * Generated from protobuf field string next_page_token = 2;
- */
- protected $next_page_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Cloud\Bigtable\Admin\V2\Snapshot>|\Google\Protobuf\Internal\RepeatedField $snapshots
- * The snapshots present in the requested cluster.
- * @type string $next_page_token
- * Set if not all snapshots could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The snapshots present in the requested cluster.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getSnapshots()
- {
- return $this->snapshots;
- }
-
- /**
- * The snapshots present in the requested cluster.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
- * @param array<\Google\Cloud\Bigtable\Admin\V2\Snapshot>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setSnapshots($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\Snapshot::class);
- $this->snapshots = $arr;
-
- return $this;
- }
-
- /**
- * Set if not all snapshots could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @return string
- */
- public function getNextPageToken()
- {
- return $this->next_page_token;
- }
-
- /**
- * Set if not all snapshots could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @param string $var
- * @return $this
- */
- public function setNextPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListTablesRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListTablesRequest.php
deleted file mode 100644
index d10580296a66..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListTablesRequest.php
+++ /dev/null
@@ -1,217 +0,0 @@
-google.bigtable.admin.v2.ListTablesRequest
- */
-class ListTablesRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the instance for which tables should be
- * listed. Values are of the form `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * The view to be applied to the returned tables' fields.
- * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table.View view = 2;
- */
- protected $view = 0;
- /**
- * Maximum number of results per page.
- * A page_size of zero lets the server choose the number of items to return.
- * A page_size which is strictly positive will return at most that many items.
- * A negative page_size will cause an error.
- * Following the first request, subsequent paginated calls are not required
- * to pass a page_size. If a page_size is set in subsequent calls, it must
- * match the page_size given in the first request.
- *
- * Generated from protobuf field int32 page_size = 4;
- */
- protected $page_size = 0;
- /**
- * The value of `next_page_token` returned by a previous call.
- *
- * Generated from protobuf field string page_token = 3;
- */
- protected $page_token = '';
-
- /**
- * @param string $parent Required. The unique name of the instance for which tables should be
- * listed. Values are of the form `projects/{project}/instances/{instance}`. Please see
- * {@see BigtableTableAdminClient::instanceName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\ListTablesRequest
- *
- * @experimental
- */
- public static function build(string $parent): self
- {
- return (new self())
- ->setParent($parent);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The unique name of the instance for which tables should be
- * listed. Values are of the form `projects/{project}/instances/{instance}`.
- * @type int $view
- * The view to be applied to the returned tables' fields.
- * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
- * @type int $page_size
- * Maximum number of results per page.
- * A page_size of zero lets the server choose the number of items to return.
- * A page_size which is strictly positive will return at most that many items.
- * A negative page_size will cause an error.
- * Following the first request, subsequent paginated calls are not required
- * to pass a page_size. If a page_size is set in subsequent calls, it must
- * match the page_size given in the first request.
- * @type string $page_token
- * The value of `next_page_token` returned by a previous call.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the instance for which tables should be
- * listed. Values are of the form `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The unique name of the instance for which tables should be
- * listed. Values are of the form `projects/{project}/instances/{instance}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * The view to be applied to the returned tables' fields.
- * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table.View view = 2;
- * @return int
- */
- public function getView()
- {
- return $this->view;
- }
-
- /**
- * The view to be applied to the returned tables' fields.
- * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table.View view = 2;
- * @param int $var
- * @return $this
- */
- public function setView($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\Table\View::class);
- $this->view = $var;
-
- return $this;
- }
-
- /**
- * Maximum number of results per page.
- * A page_size of zero lets the server choose the number of items to return.
- * A page_size which is strictly positive will return at most that many items.
- * A negative page_size will cause an error.
- * Following the first request, subsequent paginated calls are not required
- * to pass a page_size. If a page_size is set in subsequent calls, it must
- * match the page_size given in the first request.
- *
- * Generated from protobuf field int32 page_size = 4;
- * @return int
- */
- public function getPageSize()
- {
- return $this->page_size;
- }
-
- /**
- * Maximum number of results per page.
- * A page_size of zero lets the server choose the number of items to return.
- * A page_size which is strictly positive will return at most that many items.
- * A negative page_size will cause an error.
- * Following the first request, subsequent paginated calls are not required
- * to pass a page_size. If a page_size is set in subsequent calls, it must
- * match the page_size given in the first request.
- *
- * Generated from protobuf field int32 page_size = 4;
- * @param int $var
- * @return $this
- */
- public function setPageSize($var)
- {
- GPBUtil::checkInt32($var);
- $this->page_size = $var;
-
- return $this;
- }
-
- /**
- * The value of `next_page_token` returned by a previous call.
- *
- * Generated from protobuf field string page_token = 3;
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
-
- /**
- * The value of `next_page_token` returned by a previous call.
- *
- * Generated from protobuf field string page_token = 3;
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListTablesResponse.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListTablesResponse.php
deleted file mode 100644
index 1dac80ef82f5..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ListTablesResponse.php
+++ /dev/null
@@ -1,110 +0,0 @@
-google.bigtable.admin.v2.ListTablesResponse
- */
-class ListTablesResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * The tables present in the requested instance.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.Table tables = 1;
- */
- private $tables;
- /**
- * Set if not all tables could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- *
- * Generated from protobuf field string next_page_token = 2;
- */
- protected $next_page_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Cloud\Bigtable\Admin\V2\Table>|\Google\Protobuf\Internal\RepeatedField $tables
- * The tables present in the requested instance.
- * @type string $next_page_token
- * Set if not all tables could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The tables present in the requested instance.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.Table tables = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getTables()
- {
- return $this->tables;
- }
-
- /**
- * The tables present in the requested instance.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.Table tables = 1;
- * @param array<\Google\Cloud\Bigtable\Admin\V2\Table>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setTables($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\Table::class);
- $this->tables = $arr;
-
- return $this;
- }
-
- /**
- * Set if not all tables could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @return string
- */
- public function getNextPageToken()
- {
- return $this->next_page_token;
- }
-
- /**
- * Set if not all tables could be returned in a single response.
- * Pass this value to `page_token` in another request to get the next
- * page of results.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @param string $var
- * @return $this
- */
- public function setNextPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ModifyColumnFamiliesRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ModifyColumnFamiliesRequest.php
deleted file mode 100644
index 8960e4680f7d..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ModifyColumnFamiliesRequest.php
+++ /dev/null
@@ -1,177 +0,0 @@
-google.bigtable.admin.v2.ModifyColumnFamiliesRequest
- */
-class ModifyColumnFamiliesRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the table whose families should be modified.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
- /**
- * Required. Modifications to be atomically applied to the specified table's
- * families. Entries are applied in order, meaning that earlier modifications
- * can be masked by later ones (in the case of repeated updates to the same
- * family, for example).
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- private $modifications;
- /**
- * Optional. If true, ignore safety checks when modifying the column families.
- *
- * Generated from protobuf field bool ignore_warnings = 3 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $ignore_warnings = false;
-
- /**
- * @param string $name Required. The unique name of the table whose families should be modified.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`. Please see
- * {@see BigtableTableAdminClient::tableName()} for help formatting this field.
- * @param \Google\Cloud\Bigtable\Admin\V2\ModifyColumnFamiliesRequest\Modification[] $modifications Required. Modifications to be atomically applied to the specified table's
- * families. Entries are applied in order, meaning that earlier modifications
- * can be masked by later ones (in the case of repeated updates to the same
- * family, for example).
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\ModifyColumnFamiliesRequest
- *
- * @experimental
- */
- public static function build(string $name, array $modifications): self
- {
- return (new self())
- ->setName($name)
- ->setModifications($modifications);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The unique name of the table whose families should be modified.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- * @type array<\Google\Cloud\Bigtable\Admin\V2\ModifyColumnFamiliesRequest\Modification>|\Google\Protobuf\Internal\RepeatedField $modifications
- * Required. Modifications to be atomically applied to the specified table's
- * families. Entries are applied in order, meaning that earlier modifications
- * can be masked by later ones (in the case of repeated updates to the same
- * family, for example).
- * @type bool $ignore_warnings
- * Optional. If true, ignore safety checks when modifying the column families.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the table whose families should be modified.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The unique name of the table whose families should be modified.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Required. Modifications to be atomically applied to the specified table's
- * families. Entries are applied in order, meaning that earlier modifications
- * can be masked by later ones (in the case of repeated updates to the same
- * family, for example).
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getModifications()
- {
- return $this->modifications;
- }
-
- /**
- * Required. Modifications to be atomically applied to the specified table's
- * families. Entries are applied in order, meaning that earlier modifications
- * can be masked by later ones (in the case of repeated updates to the same
- * family, for example).
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param array<\Google\Cloud\Bigtable\Admin\V2\ModifyColumnFamiliesRequest\Modification>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setModifications($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\ModifyColumnFamiliesRequest\Modification::class);
- $this->modifications = $arr;
-
- return $this;
- }
-
- /**
- * Optional. If true, ignore safety checks when modifying the column families.
- *
- * Generated from protobuf field bool ignore_warnings = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @return bool
- */
- public function getIgnoreWarnings()
- {
- return $this->ignore_warnings;
- }
-
- /**
- * Optional. If true, ignore safety checks when modifying the column families.
- *
- * Generated from protobuf field bool ignore_warnings = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @param bool $var
- * @return $this
- */
- public function setIgnoreWarnings($var)
- {
- GPBUtil::checkBool($var);
- $this->ignore_warnings = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ModifyColumnFamiliesRequest/Modification.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ModifyColumnFamiliesRequest/Modification.php
deleted file mode 100644
index 0675f7d22032..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/ModifyColumnFamiliesRequest/Modification.php
+++ /dev/null
@@ -1,239 +0,0 @@
-google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification
- */
-class Modification extends \Google\Protobuf\Internal\Message
-{
- /**
- * The ID of the column family to be modified.
- *
- * Generated from protobuf field string id = 1;
- */
- protected $id = '';
- /**
- * Optional. A mask specifying which fields (e.g. `gc_rule`) in the `update`
- * mod should be updated, ignored for other modification types. If unset or
- * empty, we treat it as updating `gc_rule` to be backward compatible.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 6 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $update_mask = null;
- protected $mod;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $id
- * The ID of the column family to be modified.
- * @type \Google\Cloud\Bigtable\Admin\V2\ColumnFamily $create
- * Create a new column family with the specified schema, or fail if
- * one already exists with the given ID.
- * @type \Google\Cloud\Bigtable\Admin\V2\ColumnFamily $update
- * Update an existing column family to the specified schema, or fail
- * if no column family exists with the given ID.
- * @type bool $drop
- * Drop (delete) the column family with the given ID, or fail if no such
- * family exists.
- * @type \Google\Protobuf\FieldMask $update_mask
- * Optional. A mask specifying which fields (e.g. `gc_rule`) in the `update`
- * mod should be updated, ignored for other modification types. If unset or
- * empty, we treat it as updating `gc_rule` to be backward compatible.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The ID of the column family to be modified.
- *
- * Generated from protobuf field string id = 1;
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * The ID of the column family to be modified.
- *
- * Generated from protobuf field string id = 1;
- * @param string $var
- * @return $this
- */
- public function setId($var)
- {
- GPBUtil::checkString($var, True);
- $this->id = $var;
-
- return $this;
- }
-
- /**
- * Create a new column family with the specified schema, or fail if
- * one already exists with the given ID.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.ColumnFamily create = 2;
- * @return \Google\Cloud\Bigtable\Admin\V2\ColumnFamily|null
- */
- public function getCreate()
- {
- return $this->readOneof(2);
- }
-
- public function hasCreate()
- {
- return $this->hasOneof(2);
- }
-
- /**
- * Create a new column family with the specified schema, or fail if
- * one already exists with the given ID.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.ColumnFamily create = 2;
- * @param \Google\Cloud\Bigtable\Admin\V2\ColumnFamily $var
- * @return $this
- */
- public function setCreate($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\ColumnFamily::class);
- $this->writeOneof(2, $var);
-
- return $this;
- }
-
- /**
- * Update an existing column family to the specified schema, or fail
- * if no column family exists with the given ID.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.ColumnFamily update = 3;
- * @return \Google\Cloud\Bigtable\Admin\V2\ColumnFamily|null
- */
- public function getUpdate()
- {
- return $this->readOneof(3);
- }
-
- public function hasUpdate()
- {
- return $this->hasOneof(3);
- }
-
- /**
- * Update an existing column family to the specified schema, or fail
- * if no column family exists with the given ID.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.ColumnFamily update = 3;
- * @param \Google\Cloud\Bigtable\Admin\V2\ColumnFamily $var
- * @return $this
- */
- public function setUpdate($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\ColumnFamily::class);
- $this->writeOneof(3, $var);
-
- return $this;
- }
-
- /**
- * Drop (delete) the column family with the given ID, or fail if no such
- * family exists.
- *
- * Generated from protobuf field bool drop = 4;
- * @return bool
- */
- public function getDrop()
- {
- return $this->readOneof(4);
- }
-
- public function hasDrop()
- {
- return $this->hasOneof(4);
- }
-
- /**
- * Drop (delete) the column family with the given ID, or fail if no such
- * family exists.
- *
- * Generated from protobuf field bool drop = 4;
- * @param bool $var
- * @return $this
- */
- public function setDrop($var)
- {
- GPBUtil::checkBool($var);
- $this->writeOneof(4, $var);
-
- return $this;
- }
-
- /**
- * Optional. A mask specifying which fields (e.g. `gc_rule`) in the `update`
- * mod should be updated, ignored for other modification types. If unset or
- * empty, we treat it as updating `gc_rule` to be backward compatible.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\FieldMask|null
- */
- public function getUpdateMask()
- {
- return $this->update_mask;
- }
-
- public function hasUpdateMask()
- {
- return isset($this->update_mask);
- }
-
- public function clearUpdateMask()
- {
- unset($this->update_mask);
- }
-
- /**
- * Optional. A mask specifying which fields (e.g. `gc_rule`) in the `update`
- * mod should be updated, ignored for other modification types. If unset or
- * empty, we treat it as updating `gc_rule` to be backward compatible.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\FieldMask $var
- * @return $this
- */
- public function setUpdateMask($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
- $this->update_mask = $var;
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getMod()
- {
- return $this->whichOneof("mod");
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Modification::class, \Google\Cloud\Bigtable\Admin\V2\ModifyColumnFamiliesRequest_Modification::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/OperationProgress.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/OperationProgress.php
deleted file mode 100644
index 31e8504969ea..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/OperationProgress.php
+++ /dev/null
@@ -1,164 +0,0 @@
-google.bigtable.admin.v2.OperationProgress
- */
-class OperationProgress extends \Google\Protobuf\Internal\Message
-{
- /**
- * Percent completion of the operation.
- * Values are between 0 and 100 inclusive.
- *
- * Generated from protobuf field int32 progress_percent = 1;
- */
- protected $progress_percent = 0;
- /**
- * Time the request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 2;
- */
- protected $start_time = null;
- /**
- * If set, the time at which this operation failed or was completed
- * successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 3;
- */
- protected $end_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $progress_percent
- * Percent completion of the operation.
- * Values are between 0 and 100 inclusive.
- * @type \Google\Protobuf\Timestamp $start_time
- * Time the request was received.
- * @type \Google\Protobuf\Timestamp $end_time
- * If set, the time at which this operation failed or was completed
- * successfully.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Common::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Percent completion of the operation.
- * Values are between 0 and 100 inclusive.
- *
- * Generated from protobuf field int32 progress_percent = 1;
- * @return int
- */
- public function getProgressPercent()
- {
- return $this->progress_percent;
- }
-
- /**
- * Percent completion of the operation.
- * Values are between 0 and 100 inclusive.
- *
- * Generated from protobuf field int32 progress_percent = 1;
- * @param int $var
- * @return $this
- */
- public function setProgressPercent($var)
- {
- GPBUtil::checkInt32($var);
- $this->progress_percent = $var;
-
- return $this;
- }
-
- /**
- * Time the request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getStartTime()
- {
- return $this->start_time;
- }
-
- public function hasStartTime()
- {
- return isset($this->start_time);
- }
-
- public function clearStartTime()
- {
- unset($this->start_time);
- }
-
- /**
- * Time the request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setStartTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->start_time = $var;
-
- return $this;
- }
-
- /**
- * If set, the time at which this operation failed or was completed
- * successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 3;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getEndTime()
- {
- return $this->end_time;
- }
-
- public function hasEndTime()
- {
- return isset($this->end_time);
- }
-
- public function clearEndTime()
- {
- unset($this->end_time);
- }
-
- /**
- * If set, the time at which this operation failed or was completed
- * successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 3;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setEndTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->end_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/OptimizeRestoredTableMetadata.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/OptimizeRestoredTableMetadata.php
deleted file mode 100644
index 6a51fb65bbe8..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/OptimizeRestoredTableMetadata.php
+++ /dev/null
@@ -1,114 +0,0 @@
-google.bigtable.admin.v2.OptimizeRestoredTableMetadata
- */
-class OptimizeRestoredTableMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * Name of the restored table being optimized.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * The progress of the post-restore optimizations.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.OperationProgress progress = 2;
- */
- protected $progress = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Name of the restored table being optimized.
- * @type \Google\Cloud\Bigtable\Admin\V2\OperationProgress $progress
- * The progress of the post-restore optimizations.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Name of the restored table being optimized.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Name of the restored table being optimized.
- *
- * 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 progress of the post-restore optimizations.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.OperationProgress progress = 2;
- * @return \Google\Cloud\Bigtable\Admin\V2\OperationProgress|null
- */
- public function getProgress()
- {
- return $this->progress;
- }
-
- public function hasProgress()
- {
- return isset($this->progress);
- }
-
- public function clearProgress()
- {
- unset($this->progress);
- }
-
- /**
- * The progress of the post-restore optimizations.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.OperationProgress progress = 2;
- * @param \Google\Cloud\Bigtable\Admin\V2\OperationProgress $var
- * @return $this
- */
- public function setProgress($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\OperationProgress::class);
- $this->progress = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/PartialUpdateClusterMetadata.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/PartialUpdateClusterMetadata.php
deleted file mode 100644
index 60d2f7c47f64..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/PartialUpdateClusterMetadata.php
+++ /dev/null
@@ -1,165 +0,0 @@
-google.bigtable.admin.v2.PartialUpdateClusterMetadata
- */
-class PartialUpdateClusterMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 1;
- */
- protected $request_time = null;
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 2;
- */
- protected $finish_time = null;
- /**
- * The original request for PartialUpdateCluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3;
- */
- protected $original_request = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\Timestamp $request_time
- * The time at which the original request was received.
- * @type \Google\Protobuf\Timestamp $finish_time
- * The time at which the operation failed or was completed successfully.
- * @type \Google\Cloud\Bigtable\Admin\V2\PartialUpdateClusterRequest $original_request
- * The original request for PartialUpdateCluster.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 1;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getRequestTime()
- {
- return $this->request_time;
- }
-
- public function hasRequestTime()
- {
- return isset($this->request_time);
- }
-
- public function clearRequestTime()
- {
- unset($this->request_time);
- }
-
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 1;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setRequestTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->request_time = $var;
-
- return $this;
- }
-
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getFinishTime()
- {
- return $this->finish_time;
- }
-
- public function hasFinishTime()
- {
- return isset($this->finish_time);
- }
-
- public function clearFinishTime()
- {
- unset($this->finish_time);
- }
-
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setFinishTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->finish_time = $var;
-
- return $this;
- }
-
- /**
- * The original request for PartialUpdateCluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3;
- * @return \Google\Cloud\Bigtable\Admin\V2\PartialUpdateClusterRequest|null
- */
- public function getOriginalRequest()
- {
- return $this->original_request;
- }
-
- public function hasOriginalRequest()
- {
- return isset($this->original_request);
- }
-
- public function clearOriginalRequest()
- {
- unset($this->original_request);
- }
-
- /**
- * The original request for PartialUpdateCluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3;
- * @param \Google\Cloud\Bigtable\Admin\V2\PartialUpdateClusterRequest $var
- * @return $this
- */
- public function setOriginalRequest($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\PartialUpdateClusterRequest::class);
- $this->original_request = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/PartialUpdateClusterRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/PartialUpdateClusterRequest.php
deleted file mode 100644
index c5cb2b443eef..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/PartialUpdateClusterRequest.php
+++ /dev/null
@@ -1,141 +0,0 @@
-google.bigtable.admin.v2.PartialUpdateClusterRequest
- */
-class PartialUpdateClusterRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The Cluster which contains the partial updates to be applied,
- * subject to the update_mask.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $cluster = null;
- /**
- * Required. The subset of Cluster fields which should be replaced.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $update_mask = null;
-
- /**
- * @param \Google\Cloud\Bigtable\Admin\V2\Cluster $cluster Required. The Cluster which contains the partial updates to be applied,
- * subject to the update_mask.
- * @param \Google\Protobuf\FieldMask $updateMask Required. The subset of Cluster fields which should be replaced.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\PartialUpdateClusterRequest
- *
- * @experimental
- */
- public static function build(\Google\Cloud\Bigtable\Admin\V2\Cluster $cluster, \Google\Protobuf\FieldMask $updateMask): self
- {
- return (new self())
- ->setCluster($cluster)
- ->setUpdateMask($updateMask);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\Cluster $cluster
- * Required. The Cluster which contains the partial updates to be applied,
- * subject to the update_mask.
- * @type \Google\Protobuf\FieldMask $update_mask
- * Required. The subset of Cluster fields which should be replaced.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The Cluster which contains the partial updates to be applied,
- * subject to the update_mask.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Bigtable\Admin\V2\Cluster|null
- */
- public function getCluster()
- {
- return $this->cluster;
- }
-
- public function hasCluster()
- {
- return isset($this->cluster);
- }
-
- public function clearCluster()
- {
- unset($this->cluster);
- }
-
- /**
- * Required. The Cluster which contains the partial updates to be applied,
- * subject to the update_mask.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Bigtable\Admin\V2\Cluster $var
- * @return $this
- */
- public function setCluster($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Cluster::class);
- $this->cluster = $var;
-
- return $this;
- }
-
- /**
- * Required. The subset of Cluster fields which should be replaced.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\FieldMask|null
- */
- public function getUpdateMask()
- {
- return $this->update_mask;
- }
-
- public function hasUpdateMask()
- {
- return isset($this->update_mask);
- }
-
- public function clearUpdateMask()
- {
- unset($this->update_mask);
- }
-
- /**
- * Required. The subset of Cluster fields which should be replaced.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Protobuf\FieldMask $var
- * @return $this
- */
- public function setUpdateMask($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
- $this->update_mask = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/PartialUpdateInstanceRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/PartialUpdateInstanceRequest.php
deleted file mode 100644
index 91e4ac7d79eb..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/PartialUpdateInstanceRequest.php
+++ /dev/null
@@ -1,141 +0,0 @@
-google.bigtable.admin.v2.PartialUpdateInstanceRequest
- */
-class PartialUpdateInstanceRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The Instance which will (partially) replace the current value.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $instance = null;
- /**
- * Required. The subset of Instance fields which should be replaced.
- * Must be explicitly set.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $update_mask = null;
-
- /**
- * @param \Google\Cloud\Bigtable\Admin\V2\Instance $instance Required. The Instance which will (partially) replace the current value.
- * @param \Google\Protobuf\FieldMask $updateMask Required. The subset of Instance fields which should be replaced.
- * Must be explicitly set.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\PartialUpdateInstanceRequest
- *
- * @experimental
- */
- public static function build(\Google\Cloud\Bigtable\Admin\V2\Instance $instance, \Google\Protobuf\FieldMask $updateMask): self
- {
- return (new self())
- ->setInstance($instance)
- ->setUpdateMask($updateMask);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\Instance $instance
- * Required. The Instance which will (partially) replace the current value.
- * @type \Google\Protobuf\FieldMask $update_mask
- * Required. The subset of Instance fields which should be replaced.
- * Must be explicitly set.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The Instance which will (partially) replace the current value.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Bigtable\Admin\V2\Instance|null
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- public function hasInstance()
- {
- return isset($this->instance);
- }
-
- public function clearInstance()
- {
- unset($this->instance);
- }
-
- /**
- * Required. The Instance which will (partially) replace the current value.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Bigtable\Admin\V2\Instance $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Instance::class);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Required. The subset of Instance fields which should be replaced.
- * Must be explicitly set.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\FieldMask|null
- */
- public function getUpdateMask()
- {
- return $this->update_mask;
- }
-
- public function hasUpdateMask()
- {
- return isset($this->update_mask);
- }
-
- public function clearUpdateMask()
- {
- unset($this->update_mask);
- }
-
- /**
- * Required. The subset of Instance fields which should be replaced.
- * Must be explicitly set.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Protobuf\FieldMask $var
- * @return $this
- */
- public function setUpdateMask($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
- $this->update_mask = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/RestoreInfo.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/RestoreInfo.php
deleted file mode 100644
index d470c27dc7b8..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/RestoreInfo.php
+++ /dev/null
@@ -1,112 +0,0 @@
-google.bigtable.admin.v2.RestoreInfo
- */
-class RestoreInfo extends \Google\Protobuf\Internal\Message
-{
- /**
- * The type of the restore source.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.RestoreSourceType source_type = 1;
- */
- protected $source_type = 0;
- protected $source_info;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $source_type
- * The type of the restore source.
- * @type \Google\Cloud\Bigtable\Admin\V2\BackupInfo $backup_info
- * Information about the backup used to restore the table. The backup
- * may no longer exist.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Table::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The type of the restore source.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.RestoreSourceType source_type = 1;
- * @return int
- */
- public function getSourceType()
- {
- return $this->source_type;
- }
-
- /**
- * The type of the restore source.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.RestoreSourceType source_type = 1;
- * @param int $var
- * @return $this
- */
- public function setSourceType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\RestoreSourceType::class);
- $this->source_type = $var;
-
- return $this;
- }
-
- /**
- * Information about the backup used to restore the table. The backup
- * may no longer exist.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.BackupInfo backup_info = 2;
- * @return \Google\Cloud\Bigtable\Admin\V2\BackupInfo|null
- */
- public function getBackupInfo()
- {
- return $this->readOneof(2);
- }
-
- public function hasBackupInfo()
- {
- return $this->hasOneof(2);
- }
-
- /**
- * Information about the backup used to restore the table. The backup
- * may no longer exist.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.BackupInfo backup_info = 2;
- * @param \Google\Cloud\Bigtable\Admin\V2\BackupInfo $var
- * @return $this
- */
- public function setBackupInfo($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\BackupInfo::class);
- $this->writeOneof(2, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getSourceInfo()
- {
- return $this->whichOneof("source_info");
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/RestoreSourceType.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/RestoreSourceType.php
deleted file mode 100644
index f69bc82f8d8a..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/RestoreSourceType.php
+++ /dev/null
@@ -1,54 +0,0 @@
-google.bigtable.admin.v2.RestoreSourceType
- */
-class RestoreSourceType
-{
- /**
- * No restore associated.
- *
- * Generated from protobuf enum RESTORE_SOURCE_TYPE_UNSPECIFIED = 0;
- */
- const RESTORE_SOURCE_TYPE_UNSPECIFIED = 0;
- /**
- * A backup was used as the source of the restore.
- *
- * Generated from protobuf enum BACKUP = 1;
- */
- const BACKUP = 1;
-
- private static $valueToName = [
- self::RESTORE_SOURCE_TYPE_UNSPECIFIED => 'RESTORE_SOURCE_TYPE_UNSPECIFIED',
- self::BACKUP => 'BACKUP',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/RestoreTableMetadata.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/RestoreTableMetadata.php
deleted file mode 100644
index c487dd2c61b1..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/RestoreTableMetadata.php
+++ /dev/null
@@ -1,257 +0,0 @@
-google.bigtable.admin.v2.RestoreTableMetadata
- */
-class RestoreTableMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * Name of the table being created and restored to.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * The type of the restore source.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.RestoreSourceType source_type = 2;
- */
- protected $source_type = 0;
- /**
- * If exists, the name of the long-running operation that will be used to
- * track the post-restore optimization process to optimize the performance of
- * the restored table. The metadata type of the long-running operation is
- * [OptimizeRestoreTableMetadata][]. The response type is
- * [Empty][google.protobuf.Empty]. This long-running operation may be
- * automatically created by the system if applicable after the
- * RestoreTable long-running operation completes successfully. This operation
- * may not be created if the table is already optimized or the restore was
- * not successful.
- *
- * Generated from protobuf field string optimize_table_operation_name = 4;
- */
- protected $optimize_table_operation_name = '';
- /**
- * The progress of the
- * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
- * operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.OperationProgress progress = 5;
- */
- protected $progress = null;
- protected $source_info;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Name of the table being created and restored to.
- * @type int $source_type
- * The type of the restore source.
- * @type \Google\Cloud\Bigtable\Admin\V2\BackupInfo $backup_info
- * @type string $optimize_table_operation_name
- * If exists, the name of the long-running operation that will be used to
- * track the post-restore optimization process to optimize the performance of
- * the restored table. The metadata type of the long-running operation is
- * [OptimizeRestoreTableMetadata][]. The response type is
- * [Empty][google.protobuf.Empty]. This long-running operation may be
- * automatically created by the system if applicable after the
- * RestoreTable long-running operation completes successfully. This operation
- * may not be created if the table is already optimized or the restore was
- * not successful.
- * @type \Google\Cloud\Bigtable\Admin\V2\OperationProgress $progress
- * The progress of the
- * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
- * operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Name of the table being created and restored to.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Name of the table being created and restored to.
- *
- * 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 type of the restore source.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.RestoreSourceType source_type = 2;
- * @return int
- */
- public function getSourceType()
- {
- return $this->source_type;
- }
-
- /**
- * The type of the restore source.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.RestoreSourceType source_type = 2;
- * @param int $var
- * @return $this
- */
- public function setSourceType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\RestoreSourceType::class);
- $this->source_type = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.bigtable.admin.v2.BackupInfo backup_info = 3;
- * @return \Google\Cloud\Bigtable\Admin\V2\BackupInfo|null
- */
- public function getBackupInfo()
- {
- return $this->readOneof(3);
- }
-
- public function hasBackupInfo()
- {
- return $this->hasOneof(3);
- }
-
- /**
- * Generated from protobuf field .google.bigtable.admin.v2.BackupInfo backup_info = 3;
- * @param \Google\Cloud\Bigtable\Admin\V2\BackupInfo $var
- * @return $this
- */
- public function setBackupInfo($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\BackupInfo::class);
- $this->writeOneof(3, $var);
-
- return $this;
- }
-
- /**
- * If exists, the name of the long-running operation that will be used to
- * track the post-restore optimization process to optimize the performance of
- * the restored table. The metadata type of the long-running operation is
- * [OptimizeRestoreTableMetadata][]. The response type is
- * [Empty][google.protobuf.Empty]. This long-running operation may be
- * automatically created by the system if applicable after the
- * RestoreTable long-running operation completes successfully. This operation
- * may not be created if the table is already optimized or the restore was
- * not successful.
- *
- * Generated from protobuf field string optimize_table_operation_name = 4;
- * @return string
- */
- public function getOptimizeTableOperationName()
- {
- return $this->optimize_table_operation_name;
- }
-
- /**
- * If exists, the name of the long-running operation that will be used to
- * track the post-restore optimization process to optimize the performance of
- * the restored table. The metadata type of the long-running operation is
- * [OptimizeRestoreTableMetadata][]. The response type is
- * [Empty][google.protobuf.Empty]. This long-running operation may be
- * automatically created by the system if applicable after the
- * RestoreTable long-running operation completes successfully. This operation
- * may not be created if the table is already optimized or the restore was
- * not successful.
- *
- * Generated from protobuf field string optimize_table_operation_name = 4;
- * @param string $var
- * @return $this
- */
- public function setOptimizeTableOperationName($var)
- {
- GPBUtil::checkString($var, True);
- $this->optimize_table_operation_name = $var;
-
- return $this;
- }
-
- /**
- * The progress of the
- * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
- * operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.OperationProgress progress = 5;
- * @return \Google\Cloud\Bigtable\Admin\V2\OperationProgress|null
- */
- public function getProgress()
- {
- return $this->progress;
- }
-
- public function hasProgress()
- {
- return isset($this->progress);
- }
-
- public function clearProgress()
- {
- unset($this->progress);
- }
-
- /**
- * The progress of the
- * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
- * operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.OperationProgress progress = 5;
- * @param \Google\Cloud\Bigtable\Admin\V2\OperationProgress $var
- * @return $this
- */
- public function setProgress($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\OperationProgress::class);
- $this->progress = $var;
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getSourceInfo()
- {
- return $this->whichOneof("source_info");
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/RestoreTableRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/RestoreTableRequest.php
deleted file mode 100644
index abdc023aa9c7..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/RestoreTableRequest.php
+++ /dev/null
@@ -1,163 +0,0 @@
-google.bigtable.admin.v2.RestoreTableRequest
- */
-class RestoreTableRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The name of the instance in which to create the restored
- * table. Values are of the form `projects//instances/`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Required. The id of the table to create and restore to. This
- * table must not already exist. The `table_id` appended to
- * `parent` forms the full table name of the form
- * `projects//instances//tables/`.
- *
- * Generated from protobuf field string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $table_id = '';
- protected $source;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The name of the instance in which to create the restored
- * table. Values are of the form `projects//instances/`.
- * @type string $table_id
- * Required. The id of the table to create and restore to. This
- * table must not already exist. The `table_id` appended to
- * `parent` forms the full table name of the form
- * `projects//instances//tables/`.
- * @type string $backup
- * Name of the backup from which to restore. Values are of the form
- * `projects//instances//clusters//backups/`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The name of the instance in which to create the restored
- * table. Values are of the form `projects//instances/`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The name of the instance in which to create the restored
- * table. Values are of the form `projects//instances/`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Required. The id of the table to create and restore to. This
- * table must not already exist. The `table_id` appended to
- * `parent` forms the full table name of the form
- * `projects//instances//tables/`.
- *
- * Generated from protobuf field string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getTableId()
- {
- return $this->table_id;
- }
-
- /**
- * Required. The id of the table to create and restore to. This
- * table must not already exist. The `table_id` appended to
- * `parent` forms the full table name of the form
- * `projects//instances//tables/`.
- *
- * Generated from protobuf field string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setTableId($var)
- {
- GPBUtil::checkString($var, True);
- $this->table_id = $var;
-
- return $this;
- }
-
- /**
- * Name of the backup from which to restore. Values are of the form
- * `projects//instances//clusters//backups/`.
- *
- * Generated from protobuf field string backup = 3 [(.google.api.resource_reference) = {
- * @return string
- */
- public function getBackup()
- {
- return $this->readOneof(3);
- }
-
- public function hasBackup()
- {
- return $this->hasOneof(3);
- }
-
- /**
- * Name of the backup from which to restore. Values are of the form
- * `projects//instances//clusters//backups/`.
- *
- * Generated from protobuf field string backup = 3 [(.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setBackup($var)
- {
- GPBUtil::checkString($var, True);
- $this->writeOneof(3, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getSource()
- {
- return $this->whichOneof("source");
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Snapshot.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Snapshot.php
deleted file mode 100644
index ed150a235f5b..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Snapshot.php
+++ /dev/null
@@ -1,334 +0,0 @@
-google.bigtable.admin.v2.Snapshot
- */
-class Snapshot extends \Google\Protobuf\Internal\Message
-{
- /**
- * The unique name of the snapshot.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * Output only. The source table at the time the snapshot was taken.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $source_table = null;
- /**
- * Output only. The size of the data in the source table at the time the
- * snapshot was taken. In some cases, this value may be computed
- * asynchronously via a background process and a placeholder of 0 will be used
- * in the meantime.
- *
- * Generated from protobuf field int64 data_size_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $data_size_bytes = 0;
- /**
- * Output only. The time when the snapshot is created.
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $create_time = null;
- /**
- * The time when the snapshot will be deleted. The maximum amount of time a
- * snapshot can stay active is 365 days. If 'ttl' is not specified,
- * the default maximum of 365 days will be used.
- *
- * Generated from protobuf field .google.protobuf.Timestamp delete_time = 5;
- */
- protected $delete_time = null;
- /**
- * Output only. The current state of the snapshot.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $state = 0;
- /**
- * Description of the snapshot.
- *
- * Generated from protobuf field string description = 7;
- */
- protected $description = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The unique name of the snapshot.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
- * @type \Google\Cloud\Bigtable\Admin\V2\Table $source_table
- * Output only. The source table at the time the snapshot was taken.
- * @type int|string $data_size_bytes
- * Output only. The size of the data in the source table at the time the
- * snapshot was taken. In some cases, this value may be computed
- * asynchronously via a background process and a placeholder of 0 will be used
- * in the meantime.
- * @type \Google\Protobuf\Timestamp $create_time
- * Output only. The time when the snapshot is created.
- * @type \Google\Protobuf\Timestamp $delete_time
- * The time when the snapshot will be deleted. The maximum amount of time a
- * snapshot can stay active is 365 days. If 'ttl' is not specified,
- * the default maximum of 365 days will be used.
- * @type int $state
- * Output only. The current state of the snapshot.
- * @type string $description
- * Description of the snapshot.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Table::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The unique name of the snapshot.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The unique name of the snapshot.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
- *
- * 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;
- }
-
- /**
- * Output only. The source table at the time the snapshot was taken.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Cloud\Bigtable\Admin\V2\Table|null
- */
- public function getSourceTable()
- {
- return $this->source_table;
- }
-
- public function hasSourceTable()
- {
- return isset($this->source_table);
- }
-
- public function clearSourceTable()
- {
- unset($this->source_table);
- }
-
- /**
- * Output only. The source table at the time the snapshot was taken.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Cloud\Bigtable\Admin\V2\Table $var
- * @return $this
- */
- public function setSourceTable($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Table::class);
- $this->source_table = $var;
-
- return $this;
- }
-
- /**
- * Output only. The size of the data in the source table at the time the
- * snapshot was taken. In some cases, this value may be computed
- * asynchronously via a background process and a placeholder of 0 will be used
- * in the meantime.
- *
- * Generated from protobuf field int64 data_size_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return int|string
- */
- public function getDataSizeBytes()
- {
- return $this->data_size_bytes;
- }
-
- /**
- * Output only. The size of the data in the source table at the time the
- * snapshot was taken. In some cases, this value may be computed
- * asynchronously via a background process and a placeholder of 0 will be used
- * in the meantime.
- *
- * Generated from protobuf field int64 data_size_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param int|string $var
- * @return $this
- */
- public function setDataSizeBytes($var)
- {
- GPBUtil::checkInt64($var);
- $this->data_size_bytes = $var;
-
- return $this;
- }
-
- /**
- * Output only. The time when the snapshot is created.
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getCreateTime()
- {
- return $this->create_time;
- }
-
- public function hasCreateTime()
- {
- return isset($this->create_time);
- }
-
- public function clearCreateTime()
- {
- unset($this->create_time);
- }
-
- /**
- * Output only. The time when the snapshot is created.
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setCreateTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->create_time = $var;
-
- return $this;
- }
-
- /**
- * The time when the snapshot will be deleted. The maximum amount of time a
- * snapshot can stay active is 365 days. If 'ttl' is not specified,
- * the default maximum of 365 days will be used.
- *
- * Generated from protobuf field .google.protobuf.Timestamp delete_time = 5;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getDeleteTime()
- {
- return $this->delete_time;
- }
-
- public function hasDeleteTime()
- {
- return isset($this->delete_time);
- }
-
- public function clearDeleteTime()
- {
- unset($this->delete_time);
- }
-
- /**
- * The time when the snapshot will be deleted. The maximum amount of time a
- * snapshot can stay active is 365 days. If 'ttl' is not specified,
- * the default maximum of 365 days will be used.
- *
- * Generated from protobuf field .google.protobuf.Timestamp delete_time = 5;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setDeleteTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->delete_time = $var;
-
- return $this;
- }
-
- /**
- * Output only. The current state of the snapshot.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return int
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * Output only. The current state of the snapshot.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param int $var
- * @return $this
- */
- public function setState($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\Snapshot\State::class);
- $this->state = $var;
-
- return $this;
- }
-
- /**
- * Description of the snapshot.
- *
- * Generated from protobuf field string description = 7;
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
-
- /**
- * Description of the snapshot.
- *
- * Generated from protobuf field string description = 7;
- * @param string $var
- * @return $this
- */
- public function setDescription($var)
- {
- GPBUtil::checkString($var, True);
- $this->description = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Snapshot/State.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Snapshot/State.php
deleted file mode 100644
index 07c31a2775e2..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Snapshot/State.php
+++ /dev/null
@@ -1,66 +0,0 @@
-google.bigtable.admin.v2.Snapshot.State
- */
-class State
-{
- /**
- * The state of the snapshot could not be determined.
- *
- * Generated from protobuf enum STATE_NOT_KNOWN = 0;
- */
- const STATE_NOT_KNOWN = 0;
- /**
- * The snapshot has been successfully created and can serve all requests.
- *
- * Generated from protobuf enum READY = 1;
- */
- const READY = 1;
- /**
- * The snapshot is currently being created, and may be destroyed if the
- * creation process encounters an error. A snapshot may not be restored to a
- * table while it is being created.
- *
- * Generated from protobuf enum CREATING = 2;
- */
- const CREATING = 2;
-
- private static $valueToName = [
- self::STATE_NOT_KNOWN => 'STATE_NOT_KNOWN',
- self::READY => 'READY',
- self::CREATING => 'CREATING',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(State::class, \Google\Cloud\Bigtable\Admin\V2\Snapshot_State::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/SnapshotTableMetadata.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/SnapshotTableMetadata.php
deleted file mode 100644
index 62d29e1d1bfa..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/SnapshotTableMetadata.php
+++ /dev/null
@@ -1,169 +0,0 @@
-google.bigtable.admin.v2.SnapshotTableMetadata
- */
-class SnapshotTableMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * The request that prompted the initiation of this SnapshotTable operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1;
- */
- protected $original_request = null;
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- */
- protected $request_time = null;
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- */
- protected $finish_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\SnapshotTableRequest $original_request
- * The request that prompted the initiation of this SnapshotTable operation.
- * @type \Google\Protobuf\Timestamp $request_time
- * The time at which the original request was received.
- * @type \Google\Protobuf\Timestamp $finish_time
- * The time at which the operation failed or was completed successfully.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The request that prompted the initiation of this SnapshotTable operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\SnapshotTableRequest|null
- */
- public function getOriginalRequest()
- {
- return $this->original_request;
- }
-
- public function hasOriginalRequest()
- {
- return isset($this->original_request);
- }
-
- public function clearOriginalRequest()
- {
- unset($this->original_request);
- }
-
- /**
- * The request that prompted the initiation of this SnapshotTable operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\SnapshotTableRequest $var
- * @return $this
- */
- public function setOriginalRequest($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\SnapshotTableRequest::class);
- $this->original_request = $var;
-
- return $this;
- }
-
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getRequestTime()
- {
- return $this->request_time;
- }
-
- public function hasRequestTime()
- {
- return isset($this->request_time);
- }
-
- public function clearRequestTime()
- {
- unset($this->request_time);
- }
-
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setRequestTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->request_time = $var;
-
- return $this;
- }
-
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getFinishTime()
- {
- return $this->finish_time;
- }
-
- public function hasFinishTime()
- {
- return isset($this->finish_time);
- }
-
- public function clearFinishTime()
- {
- unset($this->finish_time);
- }
-
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setFinishTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->finish_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/SnapshotTableRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/SnapshotTableRequest.php
deleted file mode 100644
index 007e4b8c67ae..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/SnapshotTableRequest.php
+++ /dev/null
@@ -1,286 +0,0 @@
-google.bigtable.admin.v2.SnapshotTableRequest
- */
-class SnapshotTableRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the table to have the snapshot taken.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
- /**
- * Required. The name of the cluster where the snapshot will be created in.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $cluster = '';
- /**
- * Required. The ID by which the new snapshot should be referred to within the
- * parent cluster, e.g., `mysnapshot` of the form:
- * `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`.
- *
- * Generated from protobuf field string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $snapshot_id = '';
- /**
- * The amount of time that the new snapshot can stay active after it is
- * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
- * amount of time a snapshot can stay active is 7 days. If 'ttl' is not
- * specified, the default value of 24 hours will be used.
- *
- * Generated from protobuf field .google.protobuf.Duration ttl = 4;
- */
- protected $ttl = null;
- /**
- * Description of the snapshot.
- *
- * Generated from protobuf field string description = 5;
- */
- protected $description = '';
-
- /**
- * @param string $name Required. The unique name of the table to have the snapshot taken.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`. Please see
- * {@see BigtableTableAdminClient::tableName()} for help formatting this field.
- * @param string $cluster Required. The name of the cluster where the snapshot will be created in.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}`. Please see
- * {@see BigtableTableAdminClient::clusterName()} for help formatting this field.
- * @param string $snapshotId Required. The ID by which the new snapshot should be referred to within the
- * parent cluster, e.g., `mysnapshot` of the form:
- * `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`.
- * @param string $description Description of the snapshot.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\SnapshotTableRequest
- *
- * @experimental
- */
- public static function build(string $name, string $cluster, string $snapshotId, string $description): self
- {
- return (new self())
- ->setName($name)
- ->setCluster($cluster)
- ->setSnapshotId($snapshotId)
- ->setDescription($description);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The unique name of the table to have the snapshot taken.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- * @type string $cluster
- * Required. The name of the cluster where the snapshot will be created in.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- * @type string $snapshot_id
- * Required. The ID by which the new snapshot should be referred to within the
- * parent cluster, e.g., `mysnapshot` of the form:
- * `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`.
- * @type \Google\Protobuf\Duration $ttl
- * The amount of time that the new snapshot can stay active after it is
- * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
- * amount of time a snapshot can stay active is 7 days. If 'ttl' is not
- * specified, the default value of 24 hours will be used.
- * @type string $description
- * Description of the snapshot.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the table to have the snapshot taken.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The unique name of the table to have the snapshot taken.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Required. The name of the cluster where the snapshot will be created in.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getCluster()
- {
- return $this->cluster;
- }
-
- /**
- * Required. The name of the cluster where the snapshot will be created in.
- * Values are of the form
- * `projects/{project}/instances/{instance}/clusters/{cluster}`.
- *
- * Generated from protobuf field string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setCluster($var)
- {
- GPBUtil::checkString($var, True);
- $this->cluster = $var;
-
- return $this;
- }
-
- /**
- * Required. The ID by which the new snapshot should be referred to within the
- * parent cluster, e.g., `mysnapshot` of the form:
- * `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`.
- *
- * Generated from protobuf field string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getSnapshotId()
- {
- return $this->snapshot_id;
- }
-
- /**
- * Required. The ID by which the new snapshot should be referred to within the
- * parent cluster, e.g., `mysnapshot` of the form:
- * `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than
- * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`.
- *
- * Generated from protobuf field string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setSnapshotId($var)
- {
- GPBUtil::checkString($var, True);
- $this->snapshot_id = $var;
-
- return $this;
- }
-
- /**
- * The amount of time that the new snapshot can stay active after it is
- * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
- * amount of time a snapshot can stay active is 7 days. If 'ttl' is not
- * specified, the default value of 24 hours will be used.
- *
- * Generated from protobuf field .google.protobuf.Duration ttl = 4;
- * @return \Google\Protobuf\Duration|null
- */
- public function getTtl()
- {
- return $this->ttl;
- }
-
- public function hasTtl()
- {
- return isset($this->ttl);
- }
-
- public function clearTtl()
- {
- unset($this->ttl);
- }
-
- /**
- * The amount of time that the new snapshot can stay active after it is
- * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
- * amount of time a snapshot can stay active is 7 days. If 'ttl' is not
- * specified, the default value of 24 hours will be used.
- *
- * Generated from protobuf field .google.protobuf.Duration ttl = 4;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setTtl($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->ttl = $var;
-
- return $this;
- }
-
- /**
- * Description of the snapshot.
- *
- * Generated from protobuf field string description = 5;
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
-
- /**
- * Description of the snapshot.
- *
- * Generated from protobuf field string description = 5;
- * @param string $var
- * @return $this
- */
- public function setDescription($var)
- {
- GPBUtil::checkString($var, True);
- $this->description = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/StandardReadRemoteWrites.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/StandardReadRemoteWrites.php
deleted file mode 100644
index bc59f6b84f19..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/StandardReadRemoteWrites.php
+++ /dev/null
@@ -1,34 +0,0 @@
-google.bigtable.admin.v2.StandardReadRemoteWrites
- */
-class StandardReadRemoteWrites extends \Google\Protobuf\Internal\Message
-{
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/StorageType.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/StorageType.php
deleted file mode 100644
index 9bc95b2df390..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/StorageType.php
+++ /dev/null
@@ -1,61 +0,0 @@
-google.bigtable.admin.v2.StorageType
- */
-class StorageType
-{
- /**
- * The user did not specify a storage type.
- *
- * Generated from protobuf enum STORAGE_TYPE_UNSPECIFIED = 0;
- */
- const STORAGE_TYPE_UNSPECIFIED = 0;
- /**
- * Flash (SSD) storage should be used.
- *
- * Generated from protobuf enum SSD = 1;
- */
- const SSD = 1;
- /**
- * Magnetic drive (HDD) storage should be used.
- *
- * Generated from protobuf enum HDD = 2;
- */
- const HDD = 2;
-
- private static $valueToName = [
- self::STORAGE_TYPE_UNSPECIFIED => 'STORAGE_TYPE_UNSPECIFIED',
- self::SSD => 'SSD',
- self::HDD => 'HDD',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Table.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Table.php
deleted file mode 100644
index 046130e31c1a..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Table.php
+++ /dev/null
@@ -1,409 +0,0 @@
-google.bigtable.admin.v2.Table
- */
-class Table extends \Google\Protobuf\Internal\Message
-{
- /**
- * The unique name of the table. Values are of the form
- * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
- * Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * Output only. Map from cluster ID to per-cluster table state.
- * If it could not be determined whether or not the table has data in a
- * particular cluster (for example, if its zone is unavailable), then
- * there will be an entry for the cluster with UNKNOWN `replication_status`.
- * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
- *
- * Generated from protobuf field map cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- private $cluster_states;
- /**
- * The column families configured for this table, mapped by column family ID.
- * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
- *
- * Generated from protobuf field map column_families = 3;
- */
- private $column_families;
- /**
- * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
- * in this table. Timestamps not matching the granularity will be rejected. If
- * unspecified at creation time, the value will be set to `MILLIS`. Views:
- * `SCHEMA_VIEW`, `FULL`.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE];
- */
- protected $granularity = 0;
- /**
- * Output only. If this table was restored from another data source (e.g. a
- * backup), this field will be populated with information about the restore.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $restore_info = null;
- /**
- * If specified, enable the change stream on this table.
- * Otherwise, the change stream is disabled and the change stream is not
- * retained.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8;
- */
- protected $change_stream_config = null;
- /**
- * Set to true to make the table protected against data loss. i.e. deleting
- * the following resources through Admin APIs are prohibited:
- * * The table.
- * * The column families in the table.
- * * The instance containing the table.
- * Note one can still delete the data stored in the table through Data APIs.
- *
- * Generated from protobuf field bool deletion_protection = 9;
- */
- protected $deletion_protection = false;
- protected $automated_backup_config;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The unique name of the table. Values are of the form
- * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
- * Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`
- * @type array|\Google\Protobuf\Internal\MapField $cluster_states
- * Output only. Map from cluster ID to per-cluster table state.
- * If it could not be determined whether or not the table has data in a
- * particular cluster (for example, if its zone is unavailable), then
- * there will be an entry for the cluster with UNKNOWN `replication_status`.
- * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
- * @type array|\Google\Protobuf\Internal\MapField $column_families
- * The column families configured for this table, mapped by column family ID.
- * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
- * @type int $granularity
- * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
- * in this table. Timestamps not matching the granularity will be rejected. If
- * unspecified at creation time, the value will be set to `MILLIS`. Views:
- * `SCHEMA_VIEW`, `FULL`.
- * @type \Google\Cloud\Bigtable\Admin\V2\RestoreInfo $restore_info
- * Output only. If this table was restored from another data source (e.g. a
- * backup), this field will be populated with information about the restore.
- * @type \Google\Cloud\Bigtable\Admin\V2\ChangeStreamConfig $change_stream_config
- * If specified, enable the change stream on this table.
- * Otherwise, the change stream is disabled and the change stream is not
- * retained.
- * @type bool $deletion_protection
- * Set to true to make the table protected against data loss. i.e. deleting
- * the following resources through Admin APIs are prohibited:
- * * The table.
- * * The column families in the table.
- * * The instance containing the table.
- * Note one can still delete the data stored in the table through Data APIs.
- * @type \Google\Cloud\Bigtable\Admin\V2\Table\AutomatedBackupPolicy $automated_backup_policy
- * If specified, automated backups are enabled for this table.
- * Otherwise, automated backups are disabled.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Table::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The unique name of the table. Values are of the form
- * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
- * Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The unique name of the table. Values are of the form
- * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
- * Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`
- *
- * 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;
- }
-
- /**
- * Output only. Map from cluster ID to per-cluster table state.
- * If it could not be determined whether or not the table has data in a
- * particular cluster (for example, if its zone is unavailable), then
- * there will be an entry for the cluster with UNKNOWN `replication_status`.
- * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
- *
- * Generated from protobuf field map cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Internal\MapField
- */
- public function getClusterStates()
- {
- return $this->cluster_states;
- }
-
- /**
- * Output only. Map from cluster ID to per-cluster table state.
- * If it could not be determined whether or not the table has data in a
- * particular cluster (for example, if its zone is unavailable), then
- * there will be an entry for the cluster with UNKNOWN `replication_status`.
- * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
- *
- * Generated from protobuf field map cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param array|\Google\Protobuf\Internal\MapField $var
- * @return $this
- */
- public function setClusterStates($var)
- {
- $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\Table\ClusterState::class);
- $this->cluster_states = $arr;
-
- return $this;
- }
-
- /**
- * The column families configured for this table, mapped by column family ID.
- * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
- *
- * Generated from protobuf field map column_families = 3;
- * @return \Google\Protobuf\Internal\MapField
- */
- public function getColumnFamilies()
- {
- return $this->column_families;
- }
-
- /**
- * The column families configured for this table, mapped by column family ID.
- * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
- *
- * Generated from protobuf field map column_families = 3;
- * @param array|\Google\Protobuf\Internal\MapField $var
- * @return $this
- */
- public function setColumnFamilies($var)
- {
- $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\ColumnFamily::class);
- $this->column_families = $arr;
-
- return $this;
- }
-
- /**
- * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
- * in this table. Timestamps not matching the granularity will be rejected. If
- * unspecified at creation time, the value will be set to `MILLIS`. Views:
- * `SCHEMA_VIEW`, `FULL`.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE];
- * @return int
- */
- public function getGranularity()
- {
- return $this->granularity;
- }
-
- /**
- * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
- * in this table. Timestamps not matching the granularity will be rejected. If
- * unspecified at creation time, the value will be set to `MILLIS`. Views:
- * `SCHEMA_VIEW`, `FULL`.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE];
- * @param int $var
- * @return $this
- */
- public function setGranularity($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\Table\TimestampGranularity::class);
- $this->granularity = $var;
-
- return $this;
- }
-
- /**
- * Output only. If this table was restored from another data source (e.g. a
- * backup), this field will be populated with information about the restore.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Cloud\Bigtable\Admin\V2\RestoreInfo|null
- */
- public function getRestoreInfo()
- {
- return $this->restore_info;
- }
-
- public function hasRestoreInfo()
- {
- return isset($this->restore_info);
- }
-
- public function clearRestoreInfo()
- {
- unset($this->restore_info);
- }
-
- /**
- * Output only. If this table was restored from another data source (e.g. a
- * backup), this field will be populated with information about the restore.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Cloud\Bigtable\Admin\V2\RestoreInfo $var
- * @return $this
- */
- public function setRestoreInfo($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\RestoreInfo::class);
- $this->restore_info = $var;
-
- return $this;
- }
-
- /**
- * If specified, enable the change stream on this table.
- * Otherwise, the change stream is disabled and the change stream is not
- * retained.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8;
- * @return \Google\Cloud\Bigtable\Admin\V2\ChangeStreamConfig|null
- */
- public function getChangeStreamConfig()
- {
- return $this->change_stream_config;
- }
-
- public function hasChangeStreamConfig()
- {
- return isset($this->change_stream_config);
- }
-
- public function clearChangeStreamConfig()
- {
- unset($this->change_stream_config);
- }
-
- /**
- * If specified, enable the change stream on this table.
- * Otherwise, the change stream is disabled and the change stream is not
- * retained.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8;
- * @param \Google\Cloud\Bigtable\Admin\V2\ChangeStreamConfig $var
- * @return $this
- */
- public function setChangeStreamConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\ChangeStreamConfig::class);
- $this->change_stream_config = $var;
-
- return $this;
- }
-
- /**
- * Set to true to make the table protected against data loss. i.e. deleting
- * the following resources through Admin APIs are prohibited:
- * * The table.
- * * The column families in the table.
- * * The instance containing the table.
- * Note one can still delete the data stored in the table through Data APIs.
- *
- * Generated from protobuf field bool deletion_protection = 9;
- * @return bool
- */
- public function getDeletionProtection()
- {
- return $this->deletion_protection;
- }
-
- /**
- * Set to true to make the table protected against data loss. i.e. deleting
- * the following resources through Admin APIs are prohibited:
- * * The table.
- * * The column families in the table.
- * * The instance containing the table.
- * Note one can still delete the data stored in the table through Data APIs.
- *
- * Generated from protobuf field bool deletion_protection = 9;
- * @param bool $var
- * @return $this
- */
- public function setDeletionProtection($var)
- {
- GPBUtil::checkBool($var);
- $this->deletion_protection = $var;
-
- return $this;
- }
-
- /**
- * If specified, automated backups are enabled for this table.
- * Otherwise, automated backups are disabled.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table.AutomatedBackupPolicy automated_backup_policy = 13;
- * @return \Google\Cloud\Bigtable\Admin\V2\Table\AutomatedBackupPolicy|null
- */
- public function getAutomatedBackupPolicy()
- {
- return $this->readOneof(13);
- }
-
- public function hasAutomatedBackupPolicy()
- {
- return $this->hasOneof(13);
- }
-
- /**
- * If specified, automated backups are enabled for this table.
- * Otherwise, automated backups are disabled.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table.AutomatedBackupPolicy automated_backup_policy = 13;
- * @param \Google\Cloud\Bigtable\Admin\V2\Table\AutomatedBackupPolicy $var
- * @return $this
- */
- public function setAutomatedBackupPolicy($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Table\AutomatedBackupPolicy::class);
- $this->writeOneof(13, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getAutomatedBackupConfig()
- {
- return $this->whichOneof("automated_backup_config");
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Table/AutomatedBackupPolicy.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Table/AutomatedBackupPolicy.php
deleted file mode 100644
index 4befbef5a7dd..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Table/AutomatedBackupPolicy.php
+++ /dev/null
@@ -1,132 +0,0 @@
-google.bigtable.admin.v2.Table.AutomatedBackupPolicy
- */
-class AutomatedBackupPolicy extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. How long the automated backups should be retained. The only
- * supported value at this time is 3 days.
- *
- * Generated from protobuf field .google.protobuf.Duration retention_period = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $retention_period = null;
- /**
- * Required. How frequently automated backups should occur. The only
- * supported value at this time is 24 hours.
- *
- * Generated from protobuf field .google.protobuf.Duration frequency = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $frequency = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\Duration $retention_period
- * Required. How long the automated backups should be retained. The only
- * supported value at this time is 3 days.
- * @type \Google\Protobuf\Duration $frequency
- * Required. How frequently automated backups should occur. The only
- * supported value at this time is 24 hours.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Table::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. How long the automated backups should be retained. The only
- * supported value at this time is 3 days.
- *
- * Generated from protobuf field .google.protobuf.Duration retention_period = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\Duration|null
- */
- public function getRetentionPeriod()
- {
- return $this->retention_period;
- }
-
- public function hasRetentionPeriod()
- {
- return isset($this->retention_period);
- }
-
- public function clearRetentionPeriod()
- {
- unset($this->retention_period);
- }
-
- /**
- * Required. How long the automated backups should be retained. The only
- * supported value at this time is 3 days.
- *
- * Generated from protobuf field .google.protobuf.Duration retention_period = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setRetentionPeriod($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->retention_period = $var;
-
- return $this;
- }
-
- /**
- * Required. How frequently automated backups should occur. The only
- * supported value at this time is 24 hours.
- *
- * Generated from protobuf field .google.protobuf.Duration frequency = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\Duration|null
- */
- public function getFrequency()
- {
- return $this->frequency;
- }
-
- public function hasFrequency()
- {
- return isset($this->frequency);
- }
-
- public function clearFrequency()
- {
- unset($this->frequency);
- }
-
- /**
- * Required. How frequently automated backups should occur. The only
- * supported value at this time is 24 hours.
- *
- * Generated from protobuf field .google.protobuf.Duration frequency = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setFrequency($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->frequency = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(AutomatedBackupPolicy::class, \Google\Cloud\Bigtable\Admin\V2\Table_AutomatedBackupPolicy::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Table/ClusterState.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Table/ClusterState.php
deleted file mode 100644
index 73802c4ea588..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Table/ClusterState.php
+++ /dev/null
@@ -1,120 +0,0 @@
-google.bigtable.admin.v2.Table.ClusterState
- */
-class ClusterState extends \Google\Protobuf\Internal\Message
-{
- /**
- * Output only. The state of replication for the table in this cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $replication_state = 0;
- /**
- * Output only. The encryption information for the table in this cluster.
- * If the encryption key protecting this resource is customer managed, then
- * its version can be rotated in Cloud Key Management Service (Cloud KMS).
- * The primary version of the key and its status will be reflected here when
- * changes propagate from Cloud KMS.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- private $encryption_info;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $replication_state
- * Output only. The state of replication for the table in this cluster.
- * @type array<\Google\Cloud\Bigtable\Admin\V2\EncryptionInfo>|\Google\Protobuf\Internal\RepeatedField $encryption_info
- * Output only. The encryption information for the table in this cluster.
- * If the encryption key protecting this resource is customer managed, then
- * its version can be rotated in Cloud Key Management Service (Cloud KMS).
- * The primary version of the key and its status will be reflected here when
- * changes propagate from Cloud KMS.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Table::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Output only. The state of replication for the table in this cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return int
- */
- public function getReplicationState()
- {
- return $this->replication_state;
- }
-
- /**
- * Output only. The state of replication for the table in this cluster.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param int $var
- * @return $this
- */
- public function setReplicationState($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\Table\ClusterState\ReplicationState::class);
- $this->replication_state = $var;
-
- return $this;
- }
-
- /**
- * Output only. The encryption information for the table in this cluster.
- * If the encryption key protecting this resource is customer managed, then
- * its version can be rotated in Cloud Key Management Service (Cloud KMS).
- * The primary version of the key and its status will be reflected here when
- * changes propagate from Cloud KMS.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getEncryptionInfo()
- {
- return $this->encryption_info;
- }
-
- /**
- * Output only. The encryption information for the table in this cluster.
- * If the encryption key protecting this resource is customer managed, then
- * its version can be rotated in Cloud Key Management Service (Cloud KMS).
- * The primary version of the key and its status will be reflected here when
- * changes propagate from Cloud KMS.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param array<\Google\Cloud\Bigtable\Admin\V2\EncryptionInfo>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setEncryptionInfo($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\EncryptionInfo::class);
- $this->encryption_info = $arr;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(ClusterState::class, \Google\Cloud\Bigtable\Admin\V2\Table_ClusterState::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Table/ClusterState/ReplicationState.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Table/ClusterState/ReplicationState.php
deleted file mode 100644
index 483a7181036d..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Table/ClusterState/ReplicationState.php
+++ /dev/null
@@ -1,93 +0,0 @@
-google.bigtable.admin.v2.Table.ClusterState.ReplicationState
- */
-class ReplicationState
-{
- /**
- * The replication state of the table is unknown in this cluster.
- *
- * Generated from protobuf enum STATE_NOT_KNOWN = 0;
- */
- const STATE_NOT_KNOWN = 0;
- /**
- * The cluster was recently created, and the table must finish copying
- * over pre-existing data from other clusters before it can begin
- * receiving live replication updates and serving Data API requests.
- *
- * Generated from protobuf enum INITIALIZING = 1;
- */
- const INITIALIZING = 1;
- /**
- * The table is temporarily unable to serve Data API requests from this
- * cluster due to planned internal maintenance.
- *
- * Generated from protobuf enum PLANNED_MAINTENANCE = 2;
- */
- const PLANNED_MAINTENANCE = 2;
- /**
- * The table is temporarily unable to serve Data API requests from this
- * cluster due to unplanned or emergency maintenance.
- *
- * Generated from protobuf enum UNPLANNED_MAINTENANCE = 3;
- */
- const UNPLANNED_MAINTENANCE = 3;
- /**
- * The table can serve Data API requests from this cluster. Depending on
- * replication delay, reads may not immediately reflect the state of the
- * table in other clusters.
- *
- * Generated from protobuf enum READY = 4;
- */
- const READY = 4;
- /**
- * The table is fully created and ready for use after a restore, and is
- * being optimized for performance. When optimizations are complete, the
- * table will transition to `READY` state.
- *
- * Generated from protobuf enum READY_OPTIMIZING = 5;
- */
- const READY_OPTIMIZING = 5;
-
- private static $valueToName = [
- self::STATE_NOT_KNOWN => 'STATE_NOT_KNOWN',
- self::INITIALIZING => 'INITIALIZING',
- self::PLANNED_MAINTENANCE => 'PLANNED_MAINTENANCE',
- self::UNPLANNED_MAINTENANCE => 'UNPLANNED_MAINTENANCE',
- self::READY => 'READY',
- self::READY_OPTIMIZING => 'READY_OPTIMIZING',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(ReplicationState::class, \Google\Cloud\Bigtable\Admin\V2\Table_ClusterState_ReplicationState::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Table/TimestampGranularity.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Table/TimestampGranularity.php
deleted file mode 100644
index 67b1b6d1f95f..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Table/TimestampGranularity.php
+++ /dev/null
@@ -1,59 +0,0 @@
-google.bigtable.admin.v2.Table.TimestampGranularity
- */
-class TimestampGranularity
-{
- /**
- * The user did not specify a granularity. Should not be returned.
- * When specified during table creation, MILLIS will be used.
- *
- * Generated from protobuf enum TIMESTAMP_GRANULARITY_UNSPECIFIED = 0;
- */
- const TIMESTAMP_GRANULARITY_UNSPECIFIED = 0;
- /**
- * The table keeps data versioned at a granularity of 1ms.
- *
- * Generated from protobuf enum MILLIS = 1;
- */
- const MILLIS = 1;
-
- private static $valueToName = [
- self::TIMESTAMP_GRANULARITY_UNSPECIFIED => 'TIMESTAMP_GRANULARITY_UNSPECIFIED',
- self::MILLIS => 'MILLIS',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(TimestampGranularity::class, \Google\Cloud\Bigtable\Admin\V2\Table_TimestampGranularity::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Table/View.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Table/View.php
deleted file mode 100644
index f2355cc4aa83..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Table/View.php
+++ /dev/null
@@ -1,86 +0,0 @@
-google.bigtable.admin.v2.Table.View
- */
-class View
-{
- /**
- * Uses the default view for each method as documented in its request.
- *
- * Generated from protobuf enum VIEW_UNSPECIFIED = 0;
- */
- const VIEW_UNSPECIFIED = 0;
- /**
- * Only populates `name`.
- *
- * Generated from protobuf enum NAME_ONLY = 1;
- */
- const NAME_ONLY = 1;
- /**
- * Only populates `name` and fields related to the table's schema.
- *
- * Generated from protobuf enum SCHEMA_VIEW = 2;
- */
- const SCHEMA_VIEW = 2;
- /**
- * Only populates `name` and fields related to the table's replication
- * state.
- *
- * Generated from protobuf enum REPLICATION_VIEW = 3;
- */
- const REPLICATION_VIEW = 3;
- /**
- * Only populates `name` and fields related to the table's encryption state.
- *
- * Generated from protobuf enum ENCRYPTION_VIEW = 5;
- */
- const ENCRYPTION_VIEW = 5;
- /**
- * Populates all fields.
- *
- * Generated from protobuf enum FULL = 4;
- */
- const FULL = 4;
-
- private static $valueToName = [
- self::VIEW_UNSPECIFIED => 'VIEW_UNSPECIFIED',
- self::NAME_ONLY => 'NAME_ONLY',
- self::SCHEMA_VIEW => 'SCHEMA_VIEW',
- self::REPLICATION_VIEW => 'REPLICATION_VIEW',
- self::ENCRYPTION_VIEW => 'ENCRYPTION_VIEW',
- self::FULL => 'FULL',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(View::class, \Google\Cloud\Bigtable\Admin\V2\Table_View::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type.php
deleted file mode 100644
index f1625dfd8270..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type.php
+++ /dev/null
@@ -1,458 +0,0 @@
- INT64(-1)`, but `STRING("-00001") > STRING("00001)`.
- * * Self-delimiting: If we concatenate two encoded values, can we always tell
- * where the first one ends and the second one begins?
- * - Example: If we encode INT64s to fixed-width STRINGs, the first value
- * will always contain exactly N digits, possibly preceded by a sign.
- * - Counterexample: If we concatenate two UTF-8 encoded STRINGs, we have
- * no way to tell where the first one ends.
- * * Compatibility: Which other systems have matching encoding schemes? For
- * example, does this encoding have a GoogleSQL equivalent? HBase? Java?
- *
- * Generated from protobuf message google.bigtable.admin.v2.Type
- */
-class Type extends \Google\Protobuf\Internal\Message
-{
- protected $kind;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\Bytes $bytes_type
- * Bytes
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\PBString $string_type
- * String
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\Int64 $int64_type
- * Int64
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\Float32 $float32_type
- * Float32
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\Float64 $float64_type
- * Float64
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\PBBool $bool_type
- * Bool
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\Timestamp $timestamp_type
- * Timestamp
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\Date $date_type
- * Date
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate $aggregate_type
- * Aggregate
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\Struct $struct_type
- * Struct
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\PBArray $array_type
- * Array
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\Map $map_type
- * Map
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Bytes
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Bytes bytes_type = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\Bytes|null
- */
- public function getBytesType()
- {
- return $this->readOneof(1);
- }
-
- public function hasBytesType()
- {
- return $this->hasOneof(1);
- }
-
- /**
- * Bytes
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Bytes bytes_type = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\Bytes $var
- * @return $this
- */
- public function setBytesType($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\Bytes::class);
- $this->writeOneof(1, $var);
-
- return $this;
- }
-
- /**
- * String
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.String string_type = 2;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\PBString|null
- */
- public function getStringType()
- {
- return $this->readOneof(2);
- }
-
- public function hasStringType()
- {
- return $this->hasOneof(2);
- }
-
- /**
- * String
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.String string_type = 2;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\PBString $var
- * @return $this
- */
- public function setStringType($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\PBString::class);
- $this->writeOneof(2, $var);
-
- return $this;
- }
-
- /**
- * Int64
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Int64 int64_type = 5;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\Int64|null
- */
- public function getInt64Type()
- {
- return $this->readOneof(5);
- }
-
- public function hasInt64Type()
- {
- return $this->hasOneof(5);
- }
-
- /**
- * Int64
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Int64 int64_type = 5;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\Int64 $var
- * @return $this
- */
- public function setInt64Type($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\Int64::class);
- $this->writeOneof(5, $var);
-
- return $this;
- }
-
- /**
- * Float32
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Float32 float32_type = 12;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\Float32|null
- */
- public function getFloat32Type()
- {
- return $this->readOneof(12);
- }
-
- public function hasFloat32Type()
- {
- return $this->hasOneof(12);
- }
-
- /**
- * Float32
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Float32 float32_type = 12;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\Float32 $var
- * @return $this
- */
- public function setFloat32Type($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\Float32::class);
- $this->writeOneof(12, $var);
-
- return $this;
- }
-
- /**
- * Float64
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Float64 float64_type = 9;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\Float64|null
- */
- public function getFloat64Type()
- {
- return $this->readOneof(9);
- }
-
- public function hasFloat64Type()
- {
- return $this->hasOneof(9);
- }
-
- /**
- * Float64
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Float64 float64_type = 9;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\Float64 $var
- * @return $this
- */
- public function setFloat64Type($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\Float64::class);
- $this->writeOneof(9, $var);
-
- return $this;
- }
-
- /**
- * Bool
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Bool bool_type = 8;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\PBBool|null
- */
- public function getBoolType()
- {
- return $this->readOneof(8);
- }
-
- public function hasBoolType()
- {
- return $this->hasOneof(8);
- }
-
- /**
- * Bool
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Bool bool_type = 8;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\PBBool $var
- * @return $this
- */
- public function setBoolType($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\PBBool::class);
- $this->writeOneof(8, $var);
-
- return $this;
- }
-
- /**
- * Timestamp
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Timestamp timestamp_type = 10;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\Timestamp|null
- */
- public function getTimestampType()
- {
- return $this->readOneof(10);
- }
-
- public function hasTimestampType()
- {
- return $this->hasOneof(10);
- }
-
- /**
- * Timestamp
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Timestamp timestamp_type = 10;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\Timestamp $var
- * @return $this
- */
- public function setTimestampType($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\Timestamp::class);
- $this->writeOneof(10, $var);
-
- return $this;
- }
-
- /**
- * Date
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Date date_type = 11;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\Date|null
- */
- public function getDateType()
- {
- return $this->readOneof(11);
- }
-
- public function hasDateType()
- {
- return $this->hasOneof(11);
- }
-
- /**
- * Date
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Date date_type = 11;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\Date $var
- * @return $this
- */
- public function setDateType($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\Date::class);
- $this->writeOneof(11, $var);
-
- return $this;
- }
-
- /**
- * Aggregate
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Aggregate aggregate_type = 6;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate|null
- */
- public function getAggregateType()
- {
- return $this->readOneof(6);
- }
-
- public function hasAggregateType()
- {
- return $this->hasOneof(6);
- }
-
- /**
- * Aggregate
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Aggregate aggregate_type = 6;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate $var
- * @return $this
- */
- public function setAggregateType($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate::class);
- $this->writeOneof(6, $var);
-
- return $this;
- }
-
- /**
- * Struct
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Struct struct_type = 7;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\Struct|null
- */
- public function getStructType()
- {
- return $this->readOneof(7);
- }
-
- public function hasStructType()
- {
- return $this->hasOneof(7);
- }
-
- /**
- * Struct
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Struct struct_type = 7;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\Struct $var
- * @return $this
- */
- public function setStructType($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\Struct::class);
- $this->writeOneof(7, $var);
-
- return $this;
- }
-
- /**
- * Array
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Array array_type = 3;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\PBArray|null
- */
- public function getArrayType()
- {
- return $this->readOneof(3);
- }
-
- public function hasArrayType()
- {
- return $this->hasOneof(3);
- }
-
- /**
- * Array
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Array array_type = 3;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\PBArray $var
- * @return $this
- */
- public function setArrayType($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\PBArray::class);
- $this->writeOneof(3, $var);
-
- return $this;
- }
-
- /**
- * Map
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Map map_type = 4;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\Map|null
- */
- public function getMapType()
- {
- return $this->readOneof(4);
- }
-
- public function hasMapType()
- {
- return $this->hasOneof(4);
- }
-
- /**
- * Map
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Map map_type = 4;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\Map $var
- * @return $this
- */
- public function setMapType($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\Map::class);
- $this->writeOneof(4, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getKind()
- {
- return $this->whichOneof("kind");
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Aggregate.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Aggregate.php
deleted file mode 100644
index 9c28110eabb3..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Aggregate.php
+++ /dev/null
@@ -1,284 +0,0 @@
-google.bigtable.admin.v2.Type.Aggregate
- */
-class Aggregate extends \Google\Protobuf\Internal\Message
-{
- /**
- * Type of the inputs that are accumulated by this `Aggregate`, which must
- * specify a full encoding.
- * Use `AddInput` mutations to accumulate new inputs.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type input_type = 1;
- */
- protected $input_type = null;
- /**
- * Output only. Type that holds the internal accumulator state for the
- * `Aggregate`. This is a function of the `input_type` and `aggregator`
- * chosen, and will always specify a full encoding.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type state_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $state_type = null;
- protected $aggregator;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\Type $input_type
- * Type of the inputs that are accumulated by this `Aggregate`, which must
- * specify a full encoding.
- * Use `AddInput` mutations to accumulate new inputs.
- * @type \Google\Cloud\Bigtable\Admin\V2\Type $state_type
- * Output only. Type that holds the internal accumulator state for the
- * `Aggregate`. This is a function of the `input_type` and `aggregator`
- * chosen, and will always specify a full encoding.
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate\Sum $sum
- * Sum aggregator.
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate\HyperLogLogPlusPlusUniqueCount $hllpp_unique_count
- * HyperLogLogPlusPlusUniqueCount aggregator.
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate\Max $max
- * Max aggregator.
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate\Min $min
- * Min aggregator.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Type of the inputs that are accumulated by this `Aggregate`, which must
- * specify a full encoding.
- * Use `AddInput` mutations to accumulate new inputs.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type input_type = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type|null
- */
- public function getInputType()
- {
- return $this->input_type;
- }
-
- public function hasInputType()
- {
- return isset($this->input_type);
- }
-
- public function clearInputType()
- {
- unset($this->input_type);
- }
-
- /**
- * Type of the inputs that are accumulated by this `Aggregate`, which must
- * specify a full encoding.
- * Use `AddInput` mutations to accumulate new inputs.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type input_type = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type $var
- * @return $this
- */
- public function setInputType($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type::class);
- $this->input_type = $var;
-
- return $this;
- }
-
- /**
- * Output only. Type that holds the internal accumulator state for the
- * `Aggregate`. This is a function of the `input_type` and `aggregator`
- * chosen, and will always specify a full encoding.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type state_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Cloud\Bigtable\Admin\V2\Type|null
- */
- public function getStateType()
- {
- return $this->state_type;
- }
-
- public function hasStateType()
- {
- return isset($this->state_type);
- }
-
- public function clearStateType()
- {
- unset($this->state_type);
- }
-
- /**
- * Output only. Type that holds the internal accumulator state for the
- * `Aggregate`. This is a function of the `input_type` and `aggregator`
- * chosen, and will always specify a full encoding.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type state_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Cloud\Bigtable\Admin\V2\Type $var
- * @return $this
- */
- public function setStateType($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type::class);
- $this->state_type = $var;
-
- return $this;
- }
-
- /**
- * Sum aggregator.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Aggregate.Sum sum = 4;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate\Sum|null
- */
- public function getSum()
- {
- return $this->readOneof(4);
- }
-
- public function hasSum()
- {
- return $this->hasOneof(4);
- }
-
- /**
- * Sum aggregator.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Aggregate.Sum sum = 4;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate\Sum $var
- * @return $this
- */
- public function setSum($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate\Sum::class);
- $this->writeOneof(4, $var);
-
- return $this;
- }
-
- /**
- * HyperLogLogPlusPlusUniqueCount aggregator.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Aggregate.HyperLogLogPlusPlusUniqueCount hllpp_unique_count = 5;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate\HyperLogLogPlusPlusUniqueCount|null
- */
- public function getHllppUniqueCount()
- {
- return $this->readOneof(5);
- }
-
- public function hasHllppUniqueCount()
- {
- return $this->hasOneof(5);
- }
-
- /**
- * HyperLogLogPlusPlusUniqueCount aggregator.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Aggregate.HyperLogLogPlusPlusUniqueCount hllpp_unique_count = 5;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate\HyperLogLogPlusPlusUniqueCount $var
- * @return $this
- */
- public function setHllppUniqueCount($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate\HyperLogLogPlusPlusUniqueCount::class);
- $this->writeOneof(5, $var);
-
- return $this;
- }
-
- /**
- * Max aggregator.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Aggregate.Max max = 6;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate\Max|null
- */
- public function getMax()
- {
- return $this->readOneof(6);
- }
-
- public function hasMax()
- {
- return $this->hasOneof(6);
- }
-
- /**
- * Max aggregator.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Aggregate.Max max = 6;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate\Max $var
- * @return $this
- */
- public function setMax($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate\Max::class);
- $this->writeOneof(6, $var);
-
- return $this;
- }
-
- /**
- * Min aggregator.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Aggregate.Min min = 7;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate\Min|null
- */
- public function getMin()
- {
- return $this->readOneof(7);
- }
-
- public function hasMin()
- {
- return $this->hasOneof(7);
- }
-
- /**
- * Min aggregator.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Aggregate.Min min = 7;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate\Min $var
- * @return $this
- */
- public function setMin($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\Aggregate\Min::class);
- $this->writeOneof(7, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getAggregator()
- {
- return $this->whichOneof("aggregator");
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Aggregate::class, \Google\Cloud\Bigtable\Admin\V2\Type_Aggregate::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Aggregate/HyperLogLogPlusPlusUniqueCount.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Aggregate/HyperLogLogPlusPlusUniqueCount.php
deleted file mode 100644
index 1c9423fe762e..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Aggregate/HyperLogLogPlusPlusUniqueCount.php
+++ /dev/null
@@ -1,42 +0,0 @@
-google.bigtable.admin.v2.Type.Aggregate.HyperLogLogPlusPlusUniqueCount
- */
-class HyperLogLogPlusPlusUniqueCount extends \Google\Protobuf\Internal\Message
-{
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(HyperLogLogPlusPlusUniqueCount::class, \Google\Cloud\Bigtable\Admin\V2\Type_Aggregate_HyperLogLogPlusPlusUniqueCount::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Aggregate/Max.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Aggregate/Max.php
deleted file mode 100644
index a1ebe235ad1e..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Aggregate/Max.php
+++ /dev/null
@@ -1,38 +0,0 @@
-google.bigtable.admin.v2.Type.Aggregate.Max
- */
-class Max extends \Google\Protobuf\Internal\Message
-{
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Max::class, \Google\Cloud\Bigtable\Admin\V2\Type_Aggregate_Max::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Aggregate/Min.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Aggregate/Min.php
deleted file mode 100644
index a9adbf1cddd1..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Aggregate/Min.php
+++ /dev/null
@@ -1,38 +0,0 @@
-google.bigtable.admin.v2.Type.Aggregate.Min
- */
-class Min extends \Google\Protobuf\Internal\Message
-{
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Min::class, \Google\Cloud\Bigtable\Admin\V2\Type_Aggregate_Min::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Aggregate/Sum.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Aggregate/Sum.php
deleted file mode 100644
index 209569e18bcc..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Aggregate/Sum.php
+++ /dev/null
@@ -1,38 +0,0 @@
-google.bigtable.admin.v2.Type.Aggregate.Sum
- */
-class Sum extends \Google\Protobuf\Internal\Message
-{
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Sum::class, \Google\Cloud\Bigtable\Admin\V2\Type_Aggregate_Sum::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Bytes.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Bytes.php
deleted file mode 100644
index 8bd21135affc..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Bytes.php
+++ /dev/null
@@ -1,81 +0,0 @@
-google.bigtable.admin.v2.Type.Bytes
- */
-class Bytes extends \Google\Protobuf\Internal\Message
-{
- /**
- * The encoding to use when converting to/from lower level types.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Bytes.Encoding encoding = 1;
- */
- protected $encoding = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\Bytes\Encoding $encoding
- * The encoding to use when converting to/from lower level types.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The encoding to use when converting to/from lower level types.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Bytes.Encoding encoding = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\Bytes\Encoding|null
- */
- public function getEncoding()
- {
- return $this->encoding;
- }
-
- public function hasEncoding()
- {
- return isset($this->encoding);
- }
-
- public function clearEncoding()
- {
- unset($this->encoding);
- }
-
- /**
- * The encoding to use when converting to/from lower level types.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Bytes.Encoding encoding = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\Bytes\Encoding $var
- * @return $this
- */
- public function setEncoding($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\Bytes\Encoding::class);
- $this->encoding = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Bytes::class, \Google\Cloud\Bigtable\Admin\V2\Type_Bytes::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Bytes/Encoding.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Bytes/Encoding.php
deleted file mode 100644
index 4f4ea68391c9..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Bytes/Encoding.php
+++ /dev/null
@@ -1,78 +0,0 @@
-google.bigtable.admin.v2.Type.Bytes.Encoding
- */
-class Encoding extends \Google\Protobuf\Internal\Message
-{
- protected $encoding;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\Bytes\Encoding\Raw $raw
- * Use `Raw` encoding.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Use `Raw` encoding.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Bytes.Encoding.Raw raw = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\Bytes\Encoding\Raw|null
- */
- public function getRaw()
- {
- return $this->readOneof(1);
- }
-
- public function hasRaw()
- {
- return $this->hasOneof(1);
- }
-
- /**
- * Use `Raw` encoding.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Bytes.Encoding.Raw raw = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\Bytes\Encoding\Raw $var
- * @return $this
- */
- public function setRaw($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\Bytes\Encoding\Raw::class);
- $this->writeOneof(1, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getEncoding()
- {
- return $this->whichOneof("encoding");
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Encoding::class, \Google\Cloud\Bigtable\Admin\V2\Type_Bytes_Encoding::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Bytes/Encoding/Raw.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Bytes/Encoding/Raw.php
deleted file mode 100644
index 11d29486138a..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Bytes/Encoding/Raw.php
+++ /dev/null
@@ -1,39 +0,0 @@
-google.bigtable.admin.v2.Type.Bytes.Encoding.Raw
- */
-class Raw extends \Google\Protobuf\Internal\Message
-{
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Raw::class, \Google\Cloud\Bigtable\Admin\V2\Type_Bytes_Encoding_Raw::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Date.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Date.php
deleted file mode 100644
index 45c6dfa345e8..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Date.php
+++ /dev/null
@@ -1,37 +0,0 @@
-google.bigtable.admin.v2.Type.Date
- */
-class Date extends \Google\Protobuf\Internal\Message
-{
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Date::class, \Google\Cloud\Bigtable\Admin\V2\Type_Date::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Float32.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Float32.php
deleted file mode 100644
index adedacc80961..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Float32.php
+++ /dev/null
@@ -1,37 +0,0 @@
-google.bigtable.admin.v2.Type.Float32
- */
-class Float32 extends \Google\Protobuf\Internal\Message
-{
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Float32::class, \Google\Cloud\Bigtable\Admin\V2\Type_Float32::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Float64.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Float64.php
deleted file mode 100644
index d28be7adc3a9..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Float64.php
+++ /dev/null
@@ -1,37 +0,0 @@
-google.bigtable.admin.v2.Type.Float64
- */
-class Float64 extends \Google\Protobuf\Internal\Message
-{
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Float64::class, \Google\Cloud\Bigtable\Admin\V2\Type_Float64::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Int64.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Int64.php
deleted file mode 100644
index 90641966f566..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Int64.php
+++ /dev/null
@@ -1,81 +0,0 @@
-google.bigtable.admin.v2.Type.Int64
- */
-class Int64 extends \Google\Protobuf\Internal\Message
-{
- /**
- * The encoding to use when converting to/from lower level types.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Int64.Encoding encoding = 1;
- */
- protected $encoding = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\Int64\Encoding $encoding
- * The encoding to use when converting to/from lower level types.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The encoding to use when converting to/from lower level types.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Int64.Encoding encoding = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\Int64\Encoding|null
- */
- public function getEncoding()
- {
- return $this->encoding;
- }
-
- public function hasEncoding()
- {
- return isset($this->encoding);
- }
-
- public function clearEncoding()
- {
- unset($this->encoding);
- }
-
- /**
- * The encoding to use when converting to/from lower level types.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Int64.Encoding encoding = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\Int64\Encoding $var
- * @return $this
- */
- public function setEncoding($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\Int64\Encoding::class);
- $this->encoding = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Int64::class, \Google\Cloud\Bigtable\Admin\V2\Type_Int64::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Int64/Encoding.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Int64/Encoding.php
deleted file mode 100644
index 6a18aa7783f8..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Int64/Encoding.php
+++ /dev/null
@@ -1,78 +0,0 @@
-google.bigtable.admin.v2.Type.Int64.Encoding
- */
-class Encoding extends \Google\Protobuf\Internal\Message
-{
- protected $encoding;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\Int64\Encoding\BigEndianBytes $big_endian_bytes
- * Use `BigEndianBytes` encoding.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Use `BigEndianBytes` encoding.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Int64.Encoding.BigEndianBytes big_endian_bytes = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\Int64\Encoding\BigEndianBytes|null
- */
- public function getBigEndianBytes()
- {
- return $this->readOneof(1);
- }
-
- public function hasBigEndianBytes()
- {
- return $this->hasOneof(1);
- }
-
- /**
- * Use `BigEndianBytes` encoding.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Int64.Encoding.BigEndianBytes big_endian_bytes = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\Int64\Encoding\BigEndianBytes $var
- * @return $this
- */
- public function setBigEndianBytes($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\Int64\Encoding\BigEndianBytes::class);
- $this->writeOneof(1, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getEncoding()
- {
- return $this->whichOneof("encoding");
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Encoding::class, \Google\Cloud\Bigtable\Admin\V2\Type_Int64_Encoding::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Int64/Encoding/BigEndianBytes.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Int64/Encoding/BigEndianBytes.php
deleted file mode 100644
index 15ae9f8b2857..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Int64/Encoding/BigEndianBytes.php
+++ /dev/null
@@ -1,87 +0,0 @@
-google.bigtable.admin.v2.Type.Int64.Encoding.BigEndianBytes
- */
-class BigEndianBytes extends \Google\Protobuf\Internal\Message
-{
- /**
- * Deprecated: ignored if set.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Bytes bytes_type = 1;
- */
- protected $bytes_type = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\Bytes $bytes_type
- * Deprecated: ignored if set.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Deprecated: ignored if set.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Bytes bytes_type = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\Bytes|null
- */
- public function getBytesType()
- {
- return $this->bytes_type;
- }
-
- public function hasBytesType()
- {
- return isset($this->bytes_type);
- }
-
- public function clearBytesType()
- {
- unset($this->bytes_type);
- }
-
- /**
- * Deprecated: ignored if set.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.Bytes bytes_type = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\Bytes $var
- * @return $this
- */
- public function setBytesType($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\Bytes::class);
- $this->bytes_type = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(BigEndianBytes::class, \Google\Cloud\Bigtable\Admin\V2\Type_Int64_Encoding_BigEndianBytes::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Map.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Map.php
deleted file mode 100644
index a5090f55b29d..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Map.php
+++ /dev/null
@@ -1,134 +0,0 @@
-google.bigtable.admin.v2.Type.Map
- */
-class Map extends \Google\Protobuf\Internal\Message
-{
- /**
- * The type of a map key.
- * Only `Bytes`, `String`, and `Int64` are allowed as key types.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type key_type = 1;
- */
- protected $key_type = null;
- /**
- * The type of the values in a map.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type value_type = 2;
- */
- protected $value_type = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\Type $key_type
- * The type of a map key.
- * Only `Bytes`, `String`, and `Int64` are allowed as key types.
- * @type \Google\Cloud\Bigtable\Admin\V2\Type $value_type
- * The type of the values in a map.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The type of a map key.
- * Only `Bytes`, `String`, and `Int64` are allowed as key types.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type key_type = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type|null
- */
- public function getKeyType()
- {
- return $this->key_type;
- }
-
- public function hasKeyType()
- {
- return isset($this->key_type);
- }
-
- public function clearKeyType()
- {
- unset($this->key_type);
- }
-
- /**
- * The type of a map key.
- * Only `Bytes`, `String`, and `Int64` are allowed as key types.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type key_type = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type $var
- * @return $this
- */
- public function setKeyType($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type::class);
- $this->key_type = $var;
-
- return $this;
- }
-
- /**
- * The type of the values in a map.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type value_type = 2;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type|null
- */
- public function getValueType()
- {
- return $this->value_type;
- }
-
- public function hasValueType()
- {
- return isset($this->value_type);
- }
-
- public function clearValueType()
- {
- unset($this->value_type);
- }
-
- /**
- * The type of the values in a map.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type value_type = 2;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type $var
- * @return $this
- */
- public function setValueType($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type::class);
- $this->value_type = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Map::class, \Google\Cloud\Bigtable\Admin\V2\Type_Map::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/PBArray.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/PBArray.php
deleted file mode 100644
index 92cf7364257f..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/PBArray.php
+++ /dev/null
@@ -1,81 +0,0 @@
-google.bigtable.admin.v2.Type.Array
- */
-class PBArray extends \Google\Protobuf\Internal\Message
-{
- /**
- * The type of the elements in the array. This must not be `Array`.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type element_type = 1;
- */
- protected $element_type = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\Type $element_type
- * The type of the elements in the array. This must not be `Array`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The type of the elements in the array. This must not be `Array`.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type element_type = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type|null
- */
- public function getElementType()
- {
- return $this->element_type;
- }
-
- public function hasElementType()
- {
- return isset($this->element_type);
- }
-
- public function clearElementType()
- {
- unset($this->element_type);
- }
-
- /**
- * The type of the elements in the array. This must not be `Array`.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type element_type = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type $var
- * @return $this
- */
- public function setElementType($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type::class);
- $this->element_type = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(PBArray::class, \Google\Cloud\Bigtable\Admin\V2\Type_Array::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/PBBool.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/PBBool.php
deleted file mode 100644
index 562251784d1c..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/PBBool.php
+++ /dev/null
@@ -1,37 +0,0 @@
-google.bigtable.admin.v2.Type.Bool
- */
-class PBBool extends \Google\Protobuf\Internal\Message
-{
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(PBBool::class, \Google\Cloud\Bigtable\Admin\V2\Type_Bool::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/PBString.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/PBString.php
deleted file mode 100644
index dec7bacd8182..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/PBString.php
+++ /dev/null
@@ -1,81 +0,0 @@
-google.bigtable.admin.v2.Type.String
- */
-class PBString extends \Google\Protobuf\Internal\Message
-{
- /**
- * The encoding to use when converting to/from lower level types.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.String.Encoding encoding = 1;
- */
- protected $encoding = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding $encoding
- * The encoding to use when converting to/from lower level types.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The encoding to use when converting to/from lower level types.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.String.Encoding encoding = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding|null
- */
- public function getEncoding()
- {
- return $this->encoding;
- }
-
- public function hasEncoding()
- {
- return isset($this->encoding);
- }
-
- public function clearEncoding()
- {
- unset($this->encoding);
- }
-
- /**
- * The encoding to use when converting to/from lower level types.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.String.Encoding encoding = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding $var
- * @return $this
- */
- public function setEncoding($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding::class);
- $this->encoding = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(PBString::class, \Google\Cloud\Bigtable\Admin\V2\Type_String::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/PBString/Encoding.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/PBString/Encoding.php
deleted file mode 100644
index 1206cfff3b46..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/PBString/Encoding.php
+++ /dev/null
@@ -1,116 +0,0 @@
-google.bigtable.admin.v2.Type.String.Encoding
- */
-class Encoding extends \Google\Protobuf\Internal\Message
-{
- protected $encoding;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding\Utf8Raw $utf8_raw
- * Deprecated: if set, converts to an empty `utf8_bytes`.
- * @type \Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding\Utf8Bytes $utf8_bytes
- * Use `Utf8Bytes` encoding.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Deprecated: if set, converts to an empty `utf8_bytes`.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.String.Encoding.Utf8Raw utf8_raw = 1 [deprecated = true];
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding\Utf8Raw|null
- * @deprecated
- */
- public function getUtf8Raw()
- {
- @trigger_error('utf8_raw is deprecated.', E_USER_DEPRECATED);
- return $this->readOneof(1);
- }
-
- public function hasUtf8Raw()
- {
- @trigger_error('utf8_raw is deprecated.', E_USER_DEPRECATED);
- return $this->hasOneof(1);
- }
-
- /**
- * Deprecated: if set, converts to an empty `utf8_bytes`.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.String.Encoding.Utf8Raw utf8_raw = 1 [deprecated = true];
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding\Utf8Raw $var
- * @return $this
- * @deprecated
- */
- public function setUtf8Raw($var)
- {
- @trigger_error('utf8_raw is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding\Utf8Raw::class);
- $this->writeOneof(1, $var);
-
- return $this;
- }
-
- /**
- * Use `Utf8Bytes` encoding.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.String.Encoding.Utf8Bytes utf8_bytes = 2;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding\Utf8Bytes|null
- */
- public function getUtf8Bytes()
- {
- return $this->readOneof(2);
- }
-
- public function hasUtf8Bytes()
- {
- return $this->hasOneof(2);
- }
-
- /**
- * Use `Utf8Bytes` encoding.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type.String.Encoding.Utf8Bytes utf8_bytes = 2;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding\Utf8Bytes $var
- * @return $this
- */
- public function setUtf8Bytes($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding\Utf8Bytes::class);
- $this->writeOneof(2, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getEncoding()
- {
- return $this->whichOneof("encoding");
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Encoding::class, \Google\Cloud\Bigtable\Admin\V2\Type_String_Encoding::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/PBString/Encoding/Utf8Bytes.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/PBString/Encoding/Utf8Bytes.php
deleted file mode 100644
index ec44fa10181f..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/PBString/Encoding/Utf8Bytes.php
+++ /dev/null
@@ -1,42 +0,0 @@
-google.bigtable.admin.v2.Type.String.Encoding.Utf8Bytes
- */
-class Utf8Bytes extends \Google\Protobuf\Internal\Message
-{
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Utf8Bytes::class, \Google\Cloud\Bigtable\Admin\V2\Type_String_Encoding_Utf8Bytes::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/PBString/Encoding/Utf8Raw.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/PBString/Encoding/Utf8Raw.php
deleted file mode 100644
index 810e88c04499..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/PBString/Encoding/Utf8Raw.php
+++ /dev/null
@@ -1,37 +0,0 @@
-google.bigtable.admin.v2.Type.String.Encoding.Utf8Raw
- */
-class Utf8Raw extends \Google\Protobuf\Internal\Message
-{
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Utf8Raw::class, \Google\Cloud\Bigtable\Admin\V2\Type_String_Encoding_Utf8Raw::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Struct.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Struct.php
deleted file mode 100644
index 5a3904002a62..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Struct.php
+++ /dev/null
@@ -1,73 +0,0 @@
-google.bigtable.admin.v2.Type.Struct
- */
-class Struct extends \Google\Protobuf\Internal\Message
-{
- /**
- * The names and types of the fields in this struct.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.Type.Struct.Field fields = 1;
- */
- private $fields;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Cloud\Bigtable\Admin\V2\Type\Struct\Field>|\Google\Protobuf\Internal\RepeatedField $fields
- * The names and types of the fields in this struct.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The names and types of the fields in this struct.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.Type.Struct.Field fields = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getFields()
- {
- return $this->fields;
- }
-
- /**
- * The names and types of the fields in this struct.
- *
- * Generated from protobuf field repeated .google.bigtable.admin.v2.Type.Struct.Field fields = 1;
- * @param array<\Google\Cloud\Bigtable\Admin\V2\Type\Struct\Field>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setFields($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\Type\Struct\Field::class);
- $this->fields = $arr;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Struct::class, \Google\Cloud\Bigtable\Admin\V2\Type_Struct::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Struct/Field.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Struct/Field.php
deleted file mode 100644
index e90bceae51ec..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Struct/Field.php
+++ /dev/null
@@ -1,118 +0,0 @@
-google.bigtable.admin.v2.Type.Struct.Field
- */
-class Field extends \Google\Protobuf\Internal\Message
-{
- /**
- * The field name (optional). Fields without a `field_name` are considered
- * anonymous and cannot be referenced by name.
- *
- * Generated from protobuf field string field_name = 1;
- */
- protected $field_name = '';
- /**
- * The type of values in this field.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type type = 2;
- */
- protected $type = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $field_name
- * The field name (optional). Fields without a `field_name` are considered
- * anonymous and cannot be referenced by name.
- * @type \Google\Cloud\Bigtable\Admin\V2\Type $type
- * The type of values in this field.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The field name (optional). Fields without a `field_name` are considered
- * anonymous and cannot be referenced by name.
- *
- * Generated from protobuf field string field_name = 1;
- * @return string
- */
- public function getFieldName()
- {
- return $this->field_name;
- }
-
- /**
- * The field name (optional). Fields without a `field_name` are considered
- * anonymous and cannot be referenced by name.
- *
- * Generated from protobuf field string field_name = 1;
- * @param string $var
- * @return $this
- */
- public function setFieldName($var)
- {
- GPBUtil::checkString($var, True);
- $this->field_name = $var;
-
- return $this;
- }
-
- /**
- * The type of values in this field.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type type = 2;
- * @return \Google\Cloud\Bigtable\Admin\V2\Type|null
- */
- public function getType()
- {
- return $this->type;
- }
-
- public function hasType()
- {
- return isset($this->type);
- }
-
- public function clearType()
- {
- unset($this->type);
- }
-
- /**
- * The type of values in this field.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Type type = 2;
- * @param \Google\Cloud\Bigtable\Admin\V2\Type $var
- * @return $this
- */
- public function setType($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Type::class);
- $this->type = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Field::class, \Google\Cloud\Bigtable\Admin\V2\Type_Struct_Field::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Timestamp.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Timestamp.php
deleted file mode 100644
index 9f62002a7216..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/Type/Timestamp.php
+++ /dev/null
@@ -1,37 +0,0 @@
-google.bigtable.admin.v2.Type.Timestamp
- */
-class Timestamp extends \Google\Protobuf\Internal\Message
-{
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\Types::initOnce();
- parent::__construct($data);
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Timestamp::class, \Google\Cloud\Bigtable\Admin\V2\Type_Timestamp::class);
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UndeleteTableMetadata.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UndeleteTableMetadata.php
deleted file mode 100644
index b847a234a946..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UndeleteTableMetadata.php
+++ /dev/null
@@ -1,156 +0,0 @@
-google.bigtable.admin.v2.UndeleteTableMetadata
- */
-class UndeleteTableMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * The name of the table being restored.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * The time at which this operation started.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 2;
- */
- protected $start_time = null;
- /**
- * If set, the time at which this operation finished or was cancelled.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 3;
- */
- protected $end_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The name of the table being restored.
- * @type \Google\Protobuf\Timestamp $start_time
- * The time at which this operation started.
- * @type \Google\Protobuf\Timestamp $end_time
- * If set, the time at which this operation finished or was cancelled.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The name of the table being restored.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The name of the table being restored.
- *
- * 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 time at which this operation started.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getStartTime()
- {
- return $this->start_time;
- }
-
- public function hasStartTime()
- {
- return isset($this->start_time);
- }
-
- public function clearStartTime()
- {
- unset($this->start_time);
- }
-
- /**
- * The time at which this operation started.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setStartTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->start_time = $var;
-
- return $this;
- }
-
- /**
- * If set, the time at which this operation finished or was cancelled.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 3;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getEndTime()
- {
- return $this->end_time;
- }
-
- public function hasEndTime()
- {
- return isset($this->end_time);
- }
-
- public function clearEndTime()
- {
- unset($this->end_time);
- }
-
- /**
- * If set, the time at which this operation finished or was cancelled.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 3;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setEndTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->end_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UndeleteTableRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UndeleteTableRequest.php
deleted file mode 100644
index d3ead7ced6a2..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UndeleteTableRequest.php
+++ /dev/null
@@ -1,92 +0,0 @@
-google.bigtable.admin.v2.UndeleteTableRequest
- */
-class UndeleteTableRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the table to be restored.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
-
- /**
- * @param string $name Required. The unique name of the table to be restored.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`. Please see
- * {@see BigtableTableAdminClient::tableName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\UndeleteTableRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The unique name of the table to be restored.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the table to be restored.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The unique name of the table to be restored.
- * Values are of the form
- * `projects/{project}/instances/{instance}/tables/{table}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateAppProfileMetadata.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateAppProfileMetadata.php
deleted file mode 100644
index aa4ccbf47fe0..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateAppProfileMetadata.php
+++ /dev/null
@@ -1,33 +0,0 @@
-google.bigtable.admin.v2.UpdateAppProfileMetadata
- */
-class UpdateAppProfileMetadata extends \Google\Protobuf\Internal\Message
-{
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateAppProfileRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateAppProfileRequest.php
deleted file mode 100644
index 5933bed32b54..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateAppProfileRequest.php
+++ /dev/null
@@ -1,175 +0,0 @@
-google.bigtable.admin.v2.UpdateAppProfileRequest
- */
-class UpdateAppProfileRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The app profile which will (partially) replace the current value.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $app_profile = null;
- /**
- * Required. The subset of app profile fields which should be replaced.
- * If unset, all fields will be replaced.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $update_mask = null;
- /**
- * If true, ignore safety checks when updating the app profile.
- *
- * Generated from protobuf field bool ignore_warnings = 3;
- */
- protected $ignore_warnings = false;
-
- /**
- * @param \Google\Cloud\Bigtable\Admin\V2\AppProfile $appProfile Required. The app profile which will (partially) replace the current value.
- * @param \Google\Protobuf\FieldMask $updateMask Required. The subset of app profile fields which should be replaced.
- * If unset, all fields will be replaced.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\UpdateAppProfileRequest
- *
- * @experimental
- */
- public static function build(\Google\Cloud\Bigtable\Admin\V2\AppProfile $appProfile, \Google\Protobuf\FieldMask $updateMask): self
- {
- return (new self())
- ->setAppProfile($appProfile)
- ->setUpdateMask($updateMask);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\AppProfile $app_profile
- * Required. The app profile which will (partially) replace the current value.
- * @type \Google\Protobuf\FieldMask $update_mask
- * Required. The subset of app profile fields which should be replaced.
- * If unset, all fields will be replaced.
- * @type bool $ignore_warnings
- * If true, ignore safety checks when updating the app profile.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The app profile which will (partially) replace the current value.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Bigtable\Admin\V2\AppProfile|null
- */
- public function getAppProfile()
- {
- return $this->app_profile;
- }
-
- public function hasAppProfile()
- {
- return isset($this->app_profile);
- }
-
- public function clearAppProfile()
- {
- unset($this->app_profile);
- }
-
- /**
- * Required. The app profile which will (partially) replace the current value.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Bigtable\Admin\V2\AppProfile $var
- * @return $this
- */
- public function setAppProfile($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\AppProfile::class);
- $this->app_profile = $var;
-
- return $this;
- }
-
- /**
- * Required. The subset of app profile fields which should be replaced.
- * If unset, all fields will be replaced.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\FieldMask|null
- */
- public function getUpdateMask()
- {
- return $this->update_mask;
- }
-
- public function hasUpdateMask()
- {
- return isset($this->update_mask);
- }
-
- public function clearUpdateMask()
- {
- unset($this->update_mask);
- }
-
- /**
- * Required. The subset of app profile fields which should be replaced.
- * If unset, all fields will be replaced.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Protobuf\FieldMask $var
- * @return $this
- */
- public function setUpdateMask($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
- $this->update_mask = $var;
-
- return $this;
- }
-
- /**
- * If true, ignore safety checks when updating the app profile.
- *
- * Generated from protobuf field bool ignore_warnings = 3;
- * @return bool
- */
- public function getIgnoreWarnings()
- {
- return $this->ignore_warnings;
- }
-
- /**
- * If true, ignore safety checks when updating the app profile.
- *
- * Generated from protobuf field bool ignore_warnings = 3;
- * @param bool $var
- * @return $this
- */
- public function setIgnoreWarnings($var)
- {
- GPBUtil::checkBool($var);
- $this->ignore_warnings = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateAuthorizedViewMetadata.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateAuthorizedViewMetadata.php
deleted file mode 100644
index 1457fd96929c..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateAuthorizedViewMetadata.php
+++ /dev/null
@@ -1,170 +0,0 @@
-google.bigtable.admin.v2.UpdateAuthorizedViewMetadata
- */
-class UpdateAuthorizedViewMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * The request that prompted the initiation of this UpdateAuthorizedView
- * operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.UpdateAuthorizedViewRequest original_request = 1;
- */
- protected $original_request = null;
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- */
- protected $request_time = null;
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- */
- protected $finish_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\UpdateAuthorizedViewRequest $original_request
- * The request that prompted the initiation of this UpdateAuthorizedView
- * operation.
- * @type \Google\Protobuf\Timestamp $request_time
- * The time at which the original request was received.
- * @type \Google\Protobuf\Timestamp $finish_time
- * The time at which the operation failed or was completed successfully.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The request that prompted the initiation of this UpdateAuthorizedView
- * operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.UpdateAuthorizedViewRequest original_request = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\UpdateAuthorizedViewRequest|null
- */
- public function getOriginalRequest()
- {
- return $this->original_request;
- }
-
- public function hasOriginalRequest()
- {
- return isset($this->original_request);
- }
-
- public function clearOriginalRequest()
- {
- unset($this->original_request);
- }
-
- /**
- * The request that prompted the initiation of this UpdateAuthorizedView
- * operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.UpdateAuthorizedViewRequest original_request = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\UpdateAuthorizedViewRequest $var
- * @return $this
- */
- public function setOriginalRequest($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\UpdateAuthorizedViewRequest::class);
- $this->original_request = $var;
-
- return $this;
- }
-
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getRequestTime()
- {
- return $this->request_time;
- }
-
- public function hasRequestTime()
- {
- return isset($this->request_time);
- }
-
- public function clearRequestTime()
- {
- unset($this->request_time);
- }
-
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setRequestTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->request_time = $var;
-
- return $this;
- }
-
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getFinishTime()
- {
- return $this->finish_time;
- }
-
- public function hasFinishTime()
- {
- return isset($this->finish_time);
- }
-
- public function clearFinishTime()
- {
- unset($this->finish_time);
- }
-
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setFinishTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->finish_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateAuthorizedViewRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateAuthorizedViewRequest.php
deleted file mode 100644
index c5ba84b2314f..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateAuthorizedViewRequest.php
+++ /dev/null
@@ -1,220 +0,0 @@
-google.bigtable.admin.v2.UpdateAuthorizedViewRequest
- */
-class UpdateAuthorizedViewRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The AuthorizedView to update. The `name` in `authorized_view` is
- * used to identify the AuthorizedView. AuthorizedView name must in this
- * format
- * projects//instances//tables//authorizedViews/
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AuthorizedView authorized_view = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $authorized_view = null;
- /**
- * Optional. The list of fields to update.
- * A mask specifying which fields in the AuthorizedView resource should be
- * updated. This mask is relative to the AuthorizedView resource, not to the
- * request message. A field will be overwritten if it is in the mask. If
- * empty, all fields set in the request will be overwritten. A special value
- * `*` means to overwrite all fields (including fields not set in the
- * request).
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $update_mask = null;
- /**
- * Optional. If true, ignore the safety checks when updating the
- * AuthorizedView.
- *
- * Generated from protobuf field bool ignore_warnings = 3 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $ignore_warnings = false;
-
- /**
- * @param \Google\Cloud\Bigtable\Admin\V2\AuthorizedView $authorizedView Required. The AuthorizedView to update. The `name` in `authorized_view` is
- * used to identify the AuthorizedView. AuthorizedView name must in this
- * format
- * projects//instances//tables//authorizedViews/
- * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update.
- * A mask specifying which fields in the AuthorizedView resource should be
- * updated. This mask is relative to the AuthorizedView resource, not to the
- * request message. A field will be overwritten if it is in the mask. If
- * empty, all fields set in the request will be overwritten. A special value
- * `*` means to overwrite all fields (including fields not set in the
- * request).
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\UpdateAuthorizedViewRequest
- *
- * @experimental
- */
- public static function build(\Google\Cloud\Bigtable\Admin\V2\AuthorizedView $authorizedView, \Google\Protobuf\FieldMask $updateMask): self
- {
- return (new self())
- ->setAuthorizedView($authorizedView)
- ->setUpdateMask($updateMask);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\AuthorizedView $authorized_view
- * Required. The AuthorizedView to update. The `name` in `authorized_view` is
- * used to identify the AuthorizedView. AuthorizedView name must in this
- * format
- * projects//instances//tables//authorizedViews/
- * @type \Google\Protobuf\FieldMask $update_mask
- * Optional. The list of fields to update.
- * A mask specifying which fields in the AuthorizedView resource should be
- * updated. This mask is relative to the AuthorizedView resource, not to the
- * request message. A field will be overwritten if it is in the mask. If
- * empty, all fields set in the request will be overwritten. A special value
- * `*` means to overwrite all fields (including fields not set in the
- * request).
- * @type bool $ignore_warnings
- * Optional. If true, ignore the safety checks when updating the
- * AuthorizedView.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The AuthorizedView to update. The `name` in `authorized_view` is
- * used to identify the AuthorizedView. AuthorizedView name must in this
- * format
- * projects//instances//tables//authorizedViews/
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AuthorizedView authorized_view = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Bigtable\Admin\V2\AuthorizedView|null
- */
- public function getAuthorizedView()
- {
- return $this->authorized_view;
- }
-
- public function hasAuthorizedView()
- {
- return isset($this->authorized_view);
- }
-
- public function clearAuthorizedView()
- {
- unset($this->authorized_view);
- }
-
- /**
- * Required. The AuthorizedView to update. The `name` in `authorized_view` is
- * used to identify the AuthorizedView. AuthorizedView name must in this
- * format
- * projects//instances//tables//authorizedViews/
- *
- * Generated from protobuf field .google.bigtable.admin.v2.AuthorizedView authorized_view = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Bigtable\Admin\V2\AuthorizedView $var
- * @return $this
- */
- public function setAuthorizedView($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\AuthorizedView::class);
- $this->authorized_view = $var;
-
- return $this;
- }
-
- /**
- * Optional. The list of fields to update.
- * A mask specifying which fields in the AuthorizedView resource should be
- * updated. This mask is relative to the AuthorizedView resource, not to the
- * request message. A field will be overwritten if it is in the mask. If
- * empty, all fields set in the request will be overwritten. A special value
- * `*` means to overwrite all fields (including fields not set in the
- * request).
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\FieldMask|null
- */
- public function getUpdateMask()
- {
- return $this->update_mask;
- }
-
- public function hasUpdateMask()
- {
- return isset($this->update_mask);
- }
-
- public function clearUpdateMask()
- {
- unset($this->update_mask);
- }
-
- /**
- * Optional. The list of fields to update.
- * A mask specifying which fields in the AuthorizedView resource should be
- * updated. This mask is relative to the AuthorizedView resource, not to the
- * request message. A field will be overwritten if it is in the mask. If
- * empty, all fields set in the request will be overwritten. A special value
- * `*` means to overwrite all fields (including fields not set in the
- * request).
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\FieldMask $var
- * @return $this
- */
- public function setUpdateMask($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
- $this->update_mask = $var;
-
- return $this;
- }
-
- /**
- * Optional. If true, ignore the safety checks when updating the
- * AuthorizedView.
- *
- * Generated from protobuf field bool ignore_warnings = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @return bool
- */
- public function getIgnoreWarnings()
- {
- return $this->ignore_warnings;
- }
-
- /**
- * Optional. If true, ignore the safety checks when updating the
- * AuthorizedView.
- *
- * Generated from protobuf field bool ignore_warnings = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @param bool $var
- * @return $this
- */
- public function setIgnoreWarnings($var)
- {
- GPBUtil::checkBool($var);
- $this->ignore_warnings = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateBackupRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateBackupRequest.php
deleted file mode 100644
index b450460b852b..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateBackupRequest.php
+++ /dev/null
@@ -1,173 +0,0 @@
-google.bigtable.admin.v2.UpdateBackupRequest
- */
-class UpdateBackupRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The backup to update. `backup.name`, and the fields to be updated
- * as specified by `update_mask` are required. Other fields are ignored.
- * Update is only supported for the following fields:
- * * `backup.expire_time`.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $backup = null;
- /**
- * Required. A mask specifying which fields (e.g. `expire_time`) in the
- * Backup resource should be updated. This mask is relative to the Backup
- * resource, not to the request message. The field mask must always be
- * specified; this prevents any future fields from being erased accidentally
- * by clients that do not know about them.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $update_mask = null;
-
- /**
- * @param \Google\Cloud\Bigtable\Admin\V2\Backup $backup Required. The backup to update. `backup.name`, and the fields to be updated
- * as specified by `update_mask` are required. Other fields are ignored.
- * Update is only supported for the following fields:
- *
- * * `backup.expire_time`.
- * @param \Google\Protobuf\FieldMask $updateMask Required. A mask specifying which fields (e.g. `expire_time`) in the
- * Backup resource should be updated. This mask is relative to the Backup
- * resource, not to the request message. The field mask must always be
- * specified; this prevents any future fields from being erased accidentally
- * by clients that do not know about them.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\UpdateBackupRequest
- *
- * @experimental
- */
- public static function build(\Google\Cloud\Bigtable\Admin\V2\Backup $backup, \Google\Protobuf\FieldMask $updateMask): self
- {
- return (new self())
- ->setBackup($backup)
- ->setUpdateMask($updateMask);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\Backup $backup
- * Required. The backup to update. `backup.name`, and the fields to be updated
- * as specified by `update_mask` are required. Other fields are ignored.
- * Update is only supported for the following fields:
- * * `backup.expire_time`.
- * @type \Google\Protobuf\FieldMask $update_mask
- * Required. A mask specifying which fields (e.g. `expire_time`) in the
- * Backup resource should be updated. This mask is relative to the Backup
- * resource, not to the request message. The field mask must always be
- * specified; this prevents any future fields from being erased accidentally
- * by clients that do not know about them.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The backup to update. `backup.name`, and the fields to be updated
- * as specified by `update_mask` are required. Other fields are ignored.
- * Update is only supported for the following fields:
- * * `backup.expire_time`.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Bigtable\Admin\V2\Backup|null
- */
- public function getBackup()
- {
- return $this->backup;
- }
-
- public function hasBackup()
- {
- return isset($this->backup);
- }
-
- public function clearBackup()
- {
- unset($this->backup);
- }
-
- /**
- * Required. The backup to update. `backup.name`, and the fields to be updated
- * as specified by `update_mask` are required. Other fields are ignored.
- * Update is only supported for the following fields:
- * * `backup.expire_time`.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Bigtable\Admin\V2\Backup $var
- * @return $this
- */
- public function setBackup($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Backup::class);
- $this->backup = $var;
-
- return $this;
- }
-
- /**
- * Required. A mask specifying which fields (e.g. `expire_time`) in the
- * Backup resource should be updated. This mask is relative to the Backup
- * resource, not to the request message. The field mask must always be
- * specified; this prevents any future fields from being erased accidentally
- * by clients that do not know about them.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\FieldMask|null
- */
- public function getUpdateMask()
- {
- return $this->update_mask;
- }
-
- public function hasUpdateMask()
- {
- return isset($this->update_mask);
- }
-
- public function clearUpdateMask()
- {
- unset($this->update_mask);
- }
-
- /**
- * Required. A mask specifying which fields (e.g. `expire_time`) in the
- * Backup resource should be updated. This mask is relative to the Backup
- * resource, not to the request message. The field mask must always be
- * specified; this prevents any future fields from being erased accidentally
- * by clients that do not know about them.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Protobuf\FieldMask $var
- * @return $this
- */
- public function setUpdateMask($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
- $this->update_mask = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateClusterMetadata.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateClusterMetadata.php
deleted file mode 100644
index 09fcde08400d..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateClusterMetadata.php
+++ /dev/null
@@ -1,165 +0,0 @@
-google.bigtable.admin.v2.UpdateClusterMetadata
- */
-class UpdateClusterMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * The request that prompted the initiation of this UpdateCluster operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster original_request = 1;
- */
- protected $original_request = null;
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- */
- protected $request_time = null;
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- */
- protected $finish_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\Cluster $original_request
- * The request that prompted the initiation of this UpdateCluster operation.
- * @type \Google\Protobuf\Timestamp $request_time
- * The time at which the original request was received.
- * @type \Google\Protobuf\Timestamp $finish_time
- * The time at which the operation failed or was completed successfully.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The request that prompted the initiation of this UpdateCluster operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster original_request = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\Cluster|null
- */
- public function getOriginalRequest()
- {
- return $this->original_request;
- }
-
- public function hasOriginalRequest()
- {
- return isset($this->original_request);
- }
-
- public function clearOriginalRequest()
- {
- unset($this->original_request);
- }
-
- /**
- * The request that prompted the initiation of this UpdateCluster operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Cluster original_request = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\Cluster $var
- * @return $this
- */
- public function setOriginalRequest($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Cluster::class);
- $this->original_request = $var;
-
- return $this;
- }
-
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getRequestTime()
- {
- return $this->request_time;
- }
-
- public function hasRequestTime()
- {
- return isset($this->request_time);
- }
-
- public function clearRequestTime()
- {
- unset($this->request_time);
- }
-
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setRequestTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->request_time = $var;
-
- return $this;
- }
-
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getFinishTime()
- {
- return $this->finish_time;
- }
-
- public function hasFinishTime()
- {
- return isset($this->finish_time);
- }
-
- public function clearFinishTime()
- {
- unset($this->finish_time);
- }
-
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setFinishTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->finish_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateInstanceMetadata.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateInstanceMetadata.php
deleted file mode 100644
index 5caa3d20f2a2..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateInstanceMetadata.php
+++ /dev/null
@@ -1,165 +0,0 @@
-google.bigtable.admin.v2.UpdateInstanceMetadata
- */
-class UpdateInstanceMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * The request that prompted the initiation of this UpdateInstance operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1;
- */
- protected $original_request = null;
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- */
- protected $request_time = null;
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- */
- protected $finish_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\PartialUpdateInstanceRequest $original_request
- * The request that prompted the initiation of this UpdateInstance operation.
- * @type \Google\Protobuf\Timestamp $request_time
- * The time at which the original request was received.
- * @type \Google\Protobuf\Timestamp $finish_time
- * The time at which the operation failed or was completed successfully.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableInstanceAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The request that prompted the initiation of this UpdateInstance operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1;
- * @return \Google\Cloud\Bigtable\Admin\V2\PartialUpdateInstanceRequest|null
- */
- public function getOriginalRequest()
- {
- return $this->original_request;
- }
-
- public function hasOriginalRequest()
- {
- return isset($this->original_request);
- }
-
- public function clearOriginalRequest()
- {
- unset($this->original_request);
- }
-
- /**
- * The request that prompted the initiation of this UpdateInstance operation.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1;
- * @param \Google\Cloud\Bigtable\Admin\V2\PartialUpdateInstanceRequest $var
- * @return $this
- */
- public function setOriginalRequest($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\PartialUpdateInstanceRequest::class);
- $this->original_request = $var;
-
- return $this;
- }
-
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getRequestTime()
- {
- return $this->request_time;
- }
-
- public function hasRequestTime()
- {
- return isset($this->request_time);
- }
-
- public function clearRequestTime()
- {
- unset($this->request_time);
- }
-
- /**
- * The time at which the original request was received.
- *
- * Generated from protobuf field .google.protobuf.Timestamp request_time = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setRequestTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->request_time = $var;
-
- return $this;
- }
-
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getFinishTime()
- {
- return $this->finish_time;
- }
-
- public function hasFinishTime()
- {
- return isset($this->finish_time);
- }
-
- public function clearFinishTime()
- {
- unset($this->finish_time);
- }
-
- /**
- * The time at which the operation failed or was completed successfully.
- *
- * Generated from protobuf field .google.protobuf.Timestamp finish_time = 3;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setFinishTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->finish_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateTableMetadata.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateTableMetadata.php
deleted file mode 100644
index ab407c9bfd1b..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateTableMetadata.php
+++ /dev/null
@@ -1,156 +0,0 @@
-google.bigtable.admin.v2.UpdateTableMetadata
- */
-class UpdateTableMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * The name of the table being updated.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * The time at which this operation started.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 2;
- */
- protected $start_time = null;
- /**
- * If set, the time at which this operation finished or was canceled.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 3;
- */
- protected $end_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The name of the table being updated.
- * @type \Google\Protobuf\Timestamp $start_time
- * The time at which this operation started.
- * @type \Google\Protobuf\Timestamp $end_time
- * If set, the time at which this operation finished or was canceled.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The name of the table being updated.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The name of the table being updated.
- *
- * 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 time at which this operation started.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getStartTime()
- {
- return $this->start_time;
- }
-
- public function hasStartTime()
- {
- return isset($this->start_time);
- }
-
- public function clearStartTime()
- {
- unset($this->start_time);
- }
-
- /**
- * The time at which this operation started.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setStartTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->start_time = $var;
-
- return $this;
- }
-
- /**
- * If set, the time at which this operation finished or was canceled.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 3;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getEndTime()
- {
- return $this->end_time;
- }
-
- public function hasEndTime()
- {
- return isset($this->end_time);
- }
-
- public function clearEndTime()
- {
- unset($this->end_time);
- }
-
- /**
- * If set, the time at which this operation finished or was canceled.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 3;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setEndTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->end_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateTableRequest.php b/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateTableRequest.php
deleted file mode 100644
index 17d6cb5e06e6..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/proto/src/Google/Cloud/Bigtable/Admin/V2/UpdateTableRequest.php
+++ /dev/null
@@ -1,189 +0,0 @@
-google.bigtable.admin.v2.UpdateTableRequest
- */
-class UpdateTableRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The table to update.
- * The table's `name` field is used to identify the table to update.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $table = null;
- /**
- * Required. The list of fields to update.
- * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
- * field should be updated. This mask is relative to the `table` field, not to
- * the request message. The wildcard (*) path is currently not supported.
- * Currently UpdateTable is only supported for the following fields:
- * * `change_stream_config`
- * * `change_stream_config.retention_period`
- * * `deletion_protection`
- * If `column_families` is set in `update_mask`, it will return an
- * UNIMPLEMENTED error.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $update_mask = null;
-
- /**
- * @param \Google\Cloud\Bigtable\Admin\V2\Table $table Required. The table to update.
- * The table's `name` field is used to identify the table to update.
- * @param \Google\Protobuf\FieldMask $updateMask Required. The list of fields to update.
- * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
- * field should be updated. This mask is relative to the `table` field, not to
- * the request message. The wildcard (*) path is currently not supported.
- * Currently UpdateTable is only supported for the following fields:
- *
- * * `change_stream_config`
- * * `change_stream_config.retention_period`
- * * `deletion_protection`
- *
- * If `column_families` is set in `update_mask`, it will return an
- * UNIMPLEMENTED error.
- *
- * @return \Google\Cloud\Bigtable\Admin\V2\UpdateTableRequest
- *
- * @experimental
- */
- public static function build(\Google\Cloud\Bigtable\Admin\V2\Table $table, \Google\Protobuf\FieldMask $updateMask): self
- {
- return (new self())
- ->setTable($table)
- ->setUpdateMask($updateMask);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\Admin\V2\Table $table
- * Required. The table to update.
- * The table's `name` field is used to identify the table to update.
- * @type \Google\Protobuf\FieldMask $update_mask
- * Required. The list of fields to update.
- * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
- * field should be updated. This mask is relative to the `table` field, not to
- * the request message. The wildcard (*) path is currently not supported.
- * Currently UpdateTable is only supported for the following fields:
- * * `change_stream_config`
- * * `change_stream_config.retention_period`
- * * `deletion_protection`
- * If `column_families` is set in `update_mask`, it will return an
- * UNIMPLEMENTED error.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\Admin\V2\BigtableTableAdmin::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The table to update.
- * The table's `name` field is used to identify the table to update.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Bigtable\Admin\V2\Table|null
- */
- public function getTable()
- {
- return $this->table;
- }
-
- public function hasTable()
- {
- return isset($this->table);
- }
-
- public function clearTable()
- {
- unset($this->table);
- }
-
- /**
- * Required. The table to update.
- * The table's `name` field is used to identify the table to update.
- *
- * Generated from protobuf field .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Bigtable\Admin\V2\Table $var
- * @return $this
- */
- public function setTable($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\Table::class);
- $this->table = $var;
-
- return $this;
- }
-
- /**
- * Required. The list of fields to update.
- * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
- * field should be updated. This mask is relative to the `table` field, not to
- * the request message. The wildcard (*) path is currently not supported.
- * Currently UpdateTable is only supported for the following fields:
- * * `change_stream_config`
- * * `change_stream_config.retention_period`
- * * `deletion_protection`
- * If `column_families` is set in `update_mask`, it will return an
- * UNIMPLEMENTED error.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\FieldMask|null
- */
- public function getUpdateMask()
- {
- return $this->update_mask;
- }
-
- public function hasUpdateMask()
- {
- return isset($this->update_mask);
- }
-
- public function clearUpdateMask()
- {
- unset($this->update_mask);
- }
-
- /**
- * Required. The list of fields to update.
- * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
- * field should be updated. This mask is relative to the `table` field, not to
- * the request message. The wildcard (*) path is currently not supported.
- * Currently UpdateTable is only supported for the following fields:
- * * `change_stream_config`
- * * `change_stream_config.retention_period`
- * * `deletion_protection`
- * If `column_families` is set in `update_mask`, it will return an
- * UNIMPLEMENTED error.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Protobuf\FieldMask $var
- * @return $this
- */
- public function setUpdateMask($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
- $this->update_mask = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/create_app_profile.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/create_app_profile.php
deleted file mode 100644
index 4cba3a4e581b..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/create_app_profile.php
+++ /dev/null
@@ -1,79 +0,0 @@
-setParent($formattedParent)
- ->setAppProfileId($appProfileId)
- ->setAppProfile($appProfile);
-
- // Call the API and handle any network failures.
- try {
- /** @var AppProfile $response */
- $response = $bigtableInstanceAdminClient->createAppProfile($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = BigtableInstanceAdminClient::instanceName('[PROJECT]', '[INSTANCE]');
- $appProfileId = '[APP_PROFILE_ID]';
-
- create_app_profile_sample($formattedParent, $appProfileId);
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_CreateAppProfile_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/create_cluster.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/create_cluster.php
deleted file mode 100644
index 45ebd1a21640..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/create_cluster.php
+++ /dev/null
@@ -1,97 +0,0 @@
-setParent($formattedParent)
- ->setClusterId($clusterId)
- ->setCluster($cluster);
-
- // Call the API and handle any network failures.
- try {
- /** @var OperationResponse $response */
- $response = $bigtableInstanceAdminClient->createCluster($request);
- $response->pollUntilComplete();
-
- if ($response->operationSucceeded()) {
- /** @var Cluster $result */
- $result = $response->getResult();
- printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
- } else {
- /** @var Status $error */
- $error = $response->getError();
- printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = BigtableInstanceAdminClient::instanceName('[PROJECT]', '[INSTANCE]');
- $clusterId = '[CLUSTER_ID]';
-
- create_cluster_sample($formattedParent, $clusterId);
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_CreateCluster_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/create_instance.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/create_instance.php
deleted file mode 100644
index 1abf64ae014f..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/create_instance.php
+++ /dev/null
@@ -1,107 +0,0 @@
-setDisplayName($instanceDisplayName);
- $clusters = [];
- $request = (new CreateInstanceRequest())
- ->setParent($formattedParent)
- ->setInstanceId($instanceId)
- ->setInstance($instance)
- ->setClusters($clusters);
-
- // Call the API and handle any network failures.
- try {
- /** @var OperationResponse $response */
- $response = $bigtableInstanceAdminClient->createInstance($request);
- $response->pollUntilComplete();
-
- if ($response->operationSucceeded()) {
- /** @var Instance $result */
- $result = $response->getResult();
- printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
- } else {
- /** @var Status $error */
- $error = $response->getError();
- printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = BigtableInstanceAdminClient::projectName('[PROJECT]');
- $instanceId = '[INSTANCE_ID]';
- $instanceDisplayName = '[DISPLAY_NAME]';
-
- create_instance_sample($formattedParent, $instanceId, $instanceDisplayName);
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_CreateInstance_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/delete_app_profile.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/delete_app_profile.php
deleted file mode 100644
index 70ac8bd03282..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/delete_app_profile.php
+++ /dev/null
@@ -1,78 +0,0 @@
-setName($formattedName)
- ->setIgnoreWarnings($ignoreWarnings);
-
- // Call the API and handle any network failures.
- try {
- $bigtableInstanceAdminClient->deleteAppProfile($request);
- printf('Call completed successfully.' . PHP_EOL);
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableInstanceAdminClient::appProfileName(
- '[PROJECT]',
- '[INSTANCE]',
- '[APP_PROFILE]'
- );
- $ignoreWarnings = false;
-
- delete_app_profile_sample($formattedName, $ignoreWarnings);
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_DeleteAppProfile_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/delete_cluster.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/delete_cluster.php
deleted file mode 100644
index c4b929dbc4e9..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/delete_cluster.php
+++ /dev/null
@@ -1,70 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- $bigtableInstanceAdminClient->deleteCluster($request);
- printf('Call completed successfully.' . PHP_EOL);
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableInstanceAdminClient::clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
-
- delete_cluster_sample($formattedName);
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_DeleteCluster_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/delete_instance.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/delete_instance.php
deleted file mode 100644
index 5b62ae7912cb..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/delete_instance.php
+++ /dev/null
@@ -1,70 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- $bigtableInstanceAdminClient->deleteInstance($request);
- printf('Call completed successfully.' . PHP_EOL);
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableInstanceAdminClient::instanceName('[PROJECT]', '[INSTANCE]');
-
- delete_instance_sample($formattedName);
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_DeleteInstance_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/get_app_profile.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/get_app_profile.php
deleted file mode 100644
index 506431b3c320..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/get_app_profile.php
+++ /dev/null
@@ -1,76 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- /** @var AppProfile $response */
- $response = $bigtableInstanceAdminClient->getAppProfile($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableInstanceAdminClient::appProfileName(
- '[PROJECT]',
- '[INSTANCE]',
- '[APP_PROFILE]'
- );
-
- get_app_profile_sample($formattedName);
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_GetAppProfile_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/get_cluster.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/get_cluster.php
deleted file mode 100644
index 4a2a93b3f47b..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/get_cluster.php
+++ /dev/null
@@ -1,72 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- /** @var Cluster $response */
- $response = $bigtableInstanceAdminClient->getCluster($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableInstanceAdminClient::clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
-
- get_cluster_sample($formattedName);
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_GetCluster_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/get_iam_policy.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/get_iam_policy.php
deleted file mode 100644
index a4dfa0fec4aa..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/get_iam_policy.php
+++ /dev/null
@@ -1,72 +0,0 @@
-setResource($resource);
-
- // Call the API and handle any network failures.
- try {
- /** @var Policy $response */
- $response = $bigtableInstanceAdminClient->getIamPolicy($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $resource = '[RESOURCE]';
-
- get_iam_policy_sample($resource);
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_GetIamPolicy_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/get_instance.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/get_instance.php
deleted file mode 100644
index 52c1a06c2788..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/get_instance.php
+++ /dev/null
@@ -1,72 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- /** @var Instance $response */
- $response = $bigtableInstanceAdminClient->getInstance($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableInstanceAdminClient::instanceName('[PROJECT]', '[INSTANCE]');
-
- get_instance_sample($formattedName);
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_GetInstance_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/list_app_profiles.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/list_app_profiles.php
deleted file mode 100644
index 6270226f235f..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/list_app_profiles.php
+++ /dev/null
@@ -1,80 +0,0 @@
-setParent($formattedParent);
-
- // Call the API and handle any network failures.
- try {
- /** @var PagedListResponse $response */
- $response = $bigtableInstanceAdminClient->listAppProfiles($request);
-
- /** @var AppProfile $element */
- foreach ($response as $element) {
- printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = BigtableInstanceAdminClient::instanceName('[PROJECT]', '[INSTANCE]');
-
- list_app_profiles_sample($formattedParent);
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_ListAppProfiles_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/list_clusters.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/list_clusters.php
deleted file mode 100644
index 9c30512f61c7..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/list_clusters.php
+++ /dev/null
@@ -1,75 +0,0 @@
-setParent($formattedParent);
-
- // Call the API and handle any network failures.
- try {
- /** @var ListClustersResponse $response */
- $response = $bigtableInstanceAdminClient->listClusters($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = BigtableInstanceAdminClient::instanceName('[PROJECT]', '[INSTANCE]');
-
- list_clusters_sample($formattedParent);
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_ListClusters_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/list_hot_tablets.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/list_hot_tablets.php
deleted file mode 100644
index bbbd046338d5..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/list_hot_tablets.php
+++ /dev/null
@@ -1,79 +0,0 @@
-setParent($formattedParent);
-
- // Call the API and handle any network failures.
- try {
- /** @var PagedListResponse $response */
- $response = $bigtableInstanceAdminClient->listHotTablets($request);
-
- /** @var HotTablet $element */
- foreach ($response as $element) {
- printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = BigtableInstanceAdminClient::clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
-
- list_hot_tablets_sample($formattedParent);
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_ListHotTablets_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/list_instances.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/list_instances.php
deleted file mode 100644
index e9130a75ef95..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/list_instances.php
+++ /dev/null
@@ -1,72 +0,0 @@
-setParent($formattedParent);
-
- // Call the API and handle any network failures.
- try {
- /** @var ListInstancesResponse $response */
- $response = $bigtableInstanceAdminClient->listInstances($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = BigtableInstanceAdminClient::projectName('[PROJECT]');
-
- list_instances_sample($formattedParent);
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_ListInstances_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/partial_update_cluster.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/partial_update_cluster.php
deleted file mode 100644
index 11b8850d5686..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/partial_update_cluster.php
+++ /dev/null
@@ -1,85 +0,0 @@
-setCluster($cluster)
- ->setUpdateMask($updateMask);
-
- // Call the API and handle any network failures.
- try {
- /** @var OperationResponse $response */
- $response = $bigtableInstanceAdminClient->partialUpdateCluster($request);
- $response->pollUntilComplete();
-
- if ($response->operationSucceeded()) {
- /** @var Cluster $result */
- $result = $response->getResult();
- printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
- } else {
- /** @var Status $error */
- $error = $response->getError();
- printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_PartialUpdateCluster_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/partial_update_instance.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/partial_update_instance.php
deleted file mode 100644
index b88c9a4ebdab..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/partial_update_instance.php
+++ /dev/null
@@ -1,90 +0,0 @@
-setDisplayName($instanceDisplayName);
- $updateMask = new FieldMask();
- $request = (new PartialUpdateInstanceRequest())
- ->setInstance($instance)
- ->setUpdateMask($updateMask);
-
- // Call the API and handle any network failures.
- try {
- /** @var OperationResponse $response */
- $response = $bigtableInstanceAdminClient->partialUpdateInstance($request);
- $response->pollUntilComplete();
-
- if ($response->operationSucceeded()) {
- /** @var Instance $result */
- $result = $response->getResult();
- printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
- } else {
- /** @var Status $error */
- $error = $response->getError();
- printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $instanceDisplayName = '[DISPLAY_NAME]';
-
- partial_update_instance_sample($instanceDisplayName);
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_PartialUpdateInstance_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/set_iam_policy.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/set_iam_policy.php
deleted file mode 100644
index 842f6943766b..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/set_iam_policy.php
+++ /dev/null
@@ -1,74 +0,0 @@
-setResource($resource)
- ->setPolicy($policy);
-
- // Call the API and handle any network failures.
- try {
- /** @var Policy $response */
- $response = $bigtableInstanceAdminClient->setIamPolicy($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $resource = '[RESOURCE]';
-
- set_iam_policy_sample($resource);
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_SetIamPolicy_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/test_iam_permissions.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/test_iam_permissions.php
deleted file mode 100644
index a312340f36f4..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/test_iam_permissions.php
+++ /dev/null
@@ -1,78 +0,0 @@
-setResource($resource)
- ->setPermissions($permissions);
-
- // Call the API and handle any network failures.
- try {
- /** @var TestIamPermissionsResponse $response */
- $response = $bigtableInstanceAdminClient->testIamPermissions($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $resource = '[RESOURCE]';
- $permissionsElement = '[PERMISSIONS]';
-
- test_iam_permissions_sample($resource, $permissionsElement);
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_TestIamPermissions_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/update_app_profile.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/update_app_profile.php
deleted file mode 100644
index e20dab7c6699..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/update_app_profile.php
+++ /dev/null
@@ -1,74 +0,0 @@
-setAppProfile($appProfile)
- ->setUpdateMask($updateMask);
-
- // Call the API and handle any network failures.
- try {
- /** @var OperationResponse $response */
- $response = $bigtableInstanceAdminClient->updateAppProfile($request);
- $response->pollUntilComplete();
-
- if ($response->operationSucceeded()) {
- /** @var AppProfile $result */
- $result = $response->getResult();
- printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
- } else {
- /** @var Status $error */
- $error = $response->getError();
- printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_UpdateAppProfile_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/update_cluster.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/update_cluster.php
deleted file mode 100644
index 99de20c472fd..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/update_cluster.php
+++ /dev/null
@@ -1,90 +0,0 @@
-setName($name)
- ->setServeNodes($serveNodes);
-
- // Call the API and handle any network failures.
- try {
- /** @var OperationResponse $response */
- $response = $bigtableInstanceAdminClient->updateCluster($request);
- $response->pollUntilComplete();
-
- if ($response->operationSucceeded()) {
- /** @var Cluster $result */
- $result = $response->getResult();
- printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
- } else {
- /** @var Status $error */
- $error = $response->getError();
- printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $name = '[NAME]';
- $serveNodes = 0;
-
- update_cluster_sample($name, $serveNodes);
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_UpdateCluster_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/update_instance.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/update_instance.php
deleted file mode 100644
index 80667f033185..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableInstanceAdminClient/update_instance.php
+++ /dev/null
@@ -1,83 +0,0 @@
-setName($name)
- ->setDisplayName($displayName)
- ->setType($type)
- ->setLabels($labels);
-
- // Call the API and handle any network failures.
- try {
- /** @var Instance $response */
- $response = $bigtableInstanceAdminClient->updateInstance($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $name = '[NAME]';
- $displayName = '[DISPLAY_NAME]';
- $type = Type::TYPE_UNSPECIFIED;
-
- update_instance_sample($name, $displayName, $type);
-}
-// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_UpdateInstance_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/check_consistency.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/check_consistency.php
deleted file mode 100644
index fc2182469283..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/check_consistency.php
+++ /dev/null
@@ -1,78 +0,0 @@
-setName($formattedName)
- ->setConsistencyToken($consistencyToken);
-
- // Call the API and handle any network failures.
- try {
- /** @var CheckConsistencyResponse $response */
- $response = $bigtableTableAdminClient->checkConsistency($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableTableAdminClient::tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $consistencyToken = '[CONSISTENCY_TOKEN]';
-
- check_consistency_sample($formattedName, $consistencyToken);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_CheckConsistency_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/copy_backup.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/copy_backup.php
deleted file mode 100644
index 230a80427499..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/copy_backup.php
+++ /dev/null
@@ -1,115 +0,0 @@
-/instances//clusters//backups/`. Please see
- * {@see BigtableTableAdminClient::backupName()} for help formatting this field.
- */
-function copy_backup_sample(
- string $formattedParent,
- string $backupId,
- string $formattedSourceBackup
-): void {
- // Create a client.
- $bigtableTableAdminClient = new BigtableTableAdminClient();
-
- // Prepare the request message.
- $expireTime = new Timestamp();
- $request = (new CopyBackupRequest())
- ->setParent($formattedParent)
- ->setBackupId($backupId)
- ->setSourceBackup($formattedSourceBackup)
- ->setExpireTime($expireTime);
-
- // Call the API and handle any network failures.
- try {
- /** @var OperationResponse $response */
- $response = $bigtableTableAdminClient->copyBackup($request);
- $response->pollUntilComplete();
-
- if ($response->operationSucceeded()) {
- /** @var Backup $result */
- $result = $response->getResult();
- printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
- } else {
- /** @var Status $error */
- $error = $response->getError();
- printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = BigtableTableAdminClient::clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
- $backupId = '[BACKUP_ID]';
- $formattedSourceBackup = BigtableTableAdminClient::backupName(
- '[PROJECT]',
- '[INSTANCE]',
- '[CLUSTER]',
- '[BACKUP]'
- );
-
- copy_backup_sample($formattedParent, $backupId, $formattedSourceBackup);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_CopyBackup_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/create_authorized_view.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/create_authorized_view.php
deleted file mode 100644
index 312f73588d01..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/create_authorized_view.php
+++ /dev/null
@@ -1,93 +0,0 @@
-setParent($formattedParent)
- ->setAuthorizedViewId($authorizedViewId)
- ->setAuthorizedView($authorizedView);
-
- // Call the API and handle any network failures.
- try {
- /** @var OperationResponse $response */
- $response = $bigtableTableAdminClient->createAuthorizedView($request);
- $response->pollUntilComplete();
-
- if ($response->operationSucceeded()) {
- /** @var AuthorizedView $result */
- $result = $response->getResult();
- printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
- } else {
- /** @var Status $error */
- $error = $response->getError();
- printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = BigtableTableAdminClient::tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $authorizedViewId = '[AUTHORIZED_VIEW_ID]';
-
- create_authorized_view_sample($formattedParent, $authorizedViewId);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_CreateAuthorizedView_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/create_backup.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/create_backup.php
deleted file mode 100644
index c19f78fe3afd..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/create_backup.php
+++ /dev/null
@@ -1,113 +0,0 @@
-setSourceTable($backupSourceTable)
- ->setExpireTime($backupExpireTime);
- $request = (new CreateBackupRequest())
- ->setParent($formattedParent)
- ->setBackupId($backupId)
- ->setBackup($backup);
-
- // Call the API and handle any network failures.
- try {
- /** @var OperationResponse $response */
- $response = $bigtableTableAdminClient->createBackup($request);
- $response->pollUntilComplete();
-
- if ($response->operationSucceeded()) {
- /** @var Backup $result */
- $result = $response->getResult();
- printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
- } else {
- /** @var Status $error */
- $error = $response->getError();
- printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = BigtableTableAdminClient::clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
- $backupId = '[BACKUP_ID]';
- $backupSourceTable = '[SOURCE_TABLE]';
-
- create_backup_sample($formattedParent, $backupId, $backupSourceTable);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_CreateBackup_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/create_table.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/create_table.php
deleted file mode 100644
index c9e8e72ab85f..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/create_table.php
+++ /dev/null
@@ -1,81 +0,0 @@
-setParent($formattedParent)
- ->setTableId($tableId)
- ->setTable($table);
-
- // Call the API and handle any network failures.
- try {
- /** @var Table $response */
- $response = $bigtableTableAdminClient->createTable($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = BigtableTableAdminClient::instanceName('[PROJECT]', '[INSTANCE]');
- $tableId = '[TABLE_ID]';
-
- create_table_sample($formattedParent, $tableId);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_CreateTable_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/create_table_from_snapshot.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/create_table_from_snapshot.php
deleted file mode 100644
index 6c08c6d4ec0c..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/create_table_from_snapshot.php
+++ /dev/null
@@ -1,110 +0,0 @@
-setParent($formattedParent)
- ->setTableId($tableId)
- ->setSourceSnapshot($formattedSourceSnapshot);
-
- // Call the API and handle any network failures.
- try {
- /** @var OperationResponse $response */
- $response = $bigtableTableAdminClient->createTableFromSnapshot($request);
- $response->pollUntilComplete();
-
- if ($response->operationSucceeded()) {
- /** @var Table $result */
- $result = $response->getResult();
- printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
- } else {
- /** @var Status $error */
- $error = $response->getError();
- printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = BigtableTableAdminClient::instanceName('[PROJECT]', '[INSTANCE]');
- $tableId = '[TABLE_ID]';
- $formattedSourceSnapshot = BigtableTableAdminClient::snapshotName(
- '[PROJECT]',
- '[INSTANCE]',
- '[CLUSTER]',
- '[SNAPSHOT]'
- );
-
- create_table_from_snapshot_sample($formattedParent, $tableId, $formattedSourceSnapshot);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_CreateTableFromSnapshot_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/delete_authorized_view.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/delete_authorized_view.php
deleted file mode 100644
index 085616ad9754..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/delete_authorized_view.php
+++ /dev/null
@@ -1,76 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- $bigtableTableAdminClient->deleteAuthorizedView($request);
- printf('Call completed successfully.' . PHP_EOL);
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableTableAdminClient::authorizedViewName(
- '[PROJECT]',
- '[INSTANCE]',
- '[TABLE]',
- '[AUTHORIZED_VIEW]'
- );
-
- delete_authorized_view_sample($formattedName);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_DeleteAuthorizedView_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/delete_backup.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/delete_backup.php
deleted file mode 100644
index 4cc770fe8a9a..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/delete_backup.php
+++ /dev/null
@@ -1,76 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- $bigtableTableAdminClient->deleteBackup($request);
- printf('Call completed successfully.' . PHP_EOL);
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableTableAdminClient::backupName(
- '[PROJECT]',
- '[INSTANCE]',
- '[CLUSTER]',
- '[BACKUP]'
- );
-
- delete_backup_sample($formattedName);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_DeleteBackup_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/delete_snapshot.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/delete_snapshot.php
deleted file mode 100644
index 512babb6e5d3..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/delete_snapshot.php
+++ /dev/null
@@ -1,82 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- $bigtableTableAdminClient->deleteSnapshot($request);
- printf('Call completed successfully.' . PHP_EOL);
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableTableAdminClient::snapshotName(
- '[PROJECT]',
- '[INSTANCE]',
- '[CLUSTER]',
- '[SNAPSHOT]'
- );
-
- delete_snapshot_sample($formattedName);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_DeleteSnapshot_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/delete_table.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/delete_table.php
deleted file mode 100644
index a8650aa538b4..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/delete_table.php
+++ /dev/null
@@ -1,71 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- $bigtableTableAdminClient->deleteTable($request);
- printf('Call completed successfully.' . PHP_EOL);
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableTableAdminClient::tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
-
- delete_table_sample($formattedName);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_DeleteTable_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/drop_row_range.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/drop_row_range.php
deleted file mode 100644
index 5a506dbf0a0e..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/drop_row_range.php
+++ /dev/null
@@ -1,73 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- $bigtableTableAdminClient->dropRowRange($request);
- printf('Call completed successfully.' . PHP_EOL);
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableTableAdminClient::tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
-
- drop_row_range_sample($formattedName);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_DropRowRange_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/generate_consistency_token.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/generate_consistency_token.php
deleted file mode 100644
index 13a43860b82b..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/generate_consistency_token.php
+++ /dev/null
@@ -1,76 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- /** @var GenerateConsistencyTokenResponse $response */
- $response = $bigtableTableAdminClient->generateConsistencyToken($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableTableAdminClient::tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
-
- generate_consistency_token_sample($formattedName);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_GenerateConsistencyToken_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/get_authorized_view.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/get_authorized_view.php
deleted file mode 100644
index 5ff1ce4a3a4b..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/get_authorized_view.php
+++ /dev/null
@@ -1,78 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- /** @var AuthorizedView $response */
- $response = $bigtableTableAdminClient->getAuthorizedView($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableTableAdminClient::authorizedViewName(
- '[PROJECT]',
- '[INSTANCE]',
- '[TABLE]',
- '[AUTHORIZED_VIEW]'
- );
-
- get_authorized_view_sample($formattedName);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_GetAuthorizedView_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/get_backup.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/get_backup.php
deleted file mode 100644
index 5c7fc10e0993..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/get_backup.php
+++ /dev/null
@@ -1,78 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- /** @var Backup $response */
- $response = $bigtableTableAdminClient->getBackup($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableTableAdminClient::backupName(
- '[PROJECT]',
- '[INSTANCE]',
- '[CLUSTER]',
- '[BACKUP]'
- );
-
- get_backup_sample($formattedName);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_GetBackup_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/get_iam_policy.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/get_iam_policy.php
deleted file mode 100644
index 7ff9af1261b9..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/get_iam_policy.php
+++ /dev/null
@@ -1,73 +0,0 @@
-setResource($resource);
-
- // Call the API and handle any network failures.
- try {
- /** @var Policy $response */
- $response = $bigtableTableAdminClient->getIamPolicy($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $resource = '[RESOURCE]';
-
- get_iam_policy_sample($resource);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_GetIamPolicy_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/get_snapshot.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/get_snapshot.php
deleted file mode 100644
index 61234e7fbe69..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/get_snapshot.php
+++ /dev/null
@@ -1,84 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- /** @var Snapshot $response */
- $response = $bigtableTableAdminClient->getSnapshot($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableTableAdminClient::snapshotName(
- '[PROJECT]',
- '[INSTANCE]',
- '[CLUSTER]',
- '[SNAPSHOT]'
- );
-
- get_snapshot_sample($formattedName);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_GetSnapshot_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/get_table.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/get_table.php
deleted file mode 100644
index dfda57e6a47f..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/get_table.php
+++ /dev/null
@@ -1,73 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- /** @var Table $response */
- $response = $bigtableTableAdminClient->getTable($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableTableAdminClient::tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
-
- get_table_sample($formattedName);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_GetTable_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/list_authorized_views.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/list_authorized_views.php
deleted file mode 100644
index ef36a650e70a..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/list_authorized_views.php
+++ /dev/null
@@ -1,78 +0,0 @@
-setParent($formattedParent);
-
- // Call the API and handle any network failures.
- try {
- /** @var PagedListResponse $response */
- $response = $bigtableTableAdminClient->listAuthorizedViews($request);
-
- /** @var AuthorizedView $element */
- foreach ($response as $element) {
- printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = BigtableTableAdminClient::tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
-
- list_authorized_views_sample($formattedParent);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_ListAuthorizedViews_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/list_backups.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/list_backups.php
deleted file mode 100644
index 94400498e37f..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/list_backups.php
+++ /dev/null
@@ -1,80 +0,0 @@
-setParent($formattedParent);
-
- // Call the API and handle any network failures.
- try {
- /** @var PagedListResponse $response */
- $response = $bigtableTableAdminClient->listBackups($request);
-
- /** @var Backup $element */
- foreach ($response as $element) {
- printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = BigtableTableAdminClient::clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
-
- list_backups_sample($formattedParent);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_ListBackups_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/list_snapshots.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/list_snapshots.php
deleted file mode 100644
index 73c2aff1f7aa..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/list_snapshots.php
+++ /dev/null
@@ -1,86 +0,0 @@
-setParent($formattedParent);
-
- // Call the API and handle any network failures.
- try {
- /** @var PagedListResponse $response */
- $response = $bigtableTableAdminClient->listSnapshots($request);
-
- /** @var Snapshot $element */
- foreach ($response as $element) {
- printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = BigtableTableAdminClient::clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
-
- list_snapshots_sample($formattedParent);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_ListSnapshots_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/list_tables.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/list_tables.php
deleted file mode 100644
index ff3b49bd0d04..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/list_tables.php
+++ /dev/null
@@ -1,77 +0,0 @@
-setParent($formattedParent);
-
- // Call the API and handle any network failures.
- try {
- /** @var PagedListResponse $response */
- $response = $bigtableTableAdminClient->listTables($request);
-
- /** @var Table $element */
- foreach ($response as $element) {
- printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = BigtableTableAdminClient::instanceName('[PROJECT]', '[INSTANCE]');
-
- list_tables_sample($formattedParent);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_ListTables_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/modify_column_families.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/modify_column_families.php
deleted file mode 100644
index e8f6e7b9b825..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/modify_column_families.php
+++ /dev/null
@@ -1,79 +0,0 @@
-setName($formattedName)
- ->setModifications($modifications);
-
- // Call the API and handle any network failures.
- try {
- /** @var Table $response */
- $response = $bigtableTableAdminClient->modifyColumnFamilies($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableTableAdminClient::tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
-
- modify_column_families_sample($formattedName);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_ModifyColumnFamilies_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/restore_table.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/restore_table.php
deleted file mode 100644
index d73f60a89edf..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/restore_table.php
+++ /dev/null
@@ -1,96 +0,0 @@
-/instances/`. Please see
- * {@see BigtableTableAdminClient::instanceName()} for help formatting this field.
- * @param string $tableId The id of the table to create and restore to. This
- * table must not already exist. The `table_id` appended to
- * `parent` forms the full table name of the form
- * `projects//instances//tables/`.
- */
-function restore_table_sample(string $formattedParent, string $tableId): void
-{
- // Create a client.
- $bigtableTableAdminClient = new BigtableTableAdminClient();
-
- // Prepare the request message.
- $request = (new RestoreTableRequest())
- ->setParent($formattedParent)
- ->setTableId($tableId);
-
- // Call the API and handle any network failures.
- try {
- /** @var OperationResponse $response */
- $response = $bigtableTableAdminClient->restoreTable($request);
- $response->pollUntilComplete();
-
- if ($response->operationSucceeded()) {
- /** @var Table $result */
- $result = $response->getResult();
- printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
- } else {
- /** @var Status $error */
- $error = $response->getError();
- printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = BigtableTableAdminClient::instanceName('[PROJECT]', '[INSTANCE]');
- $tableId = '[TABLE_ID]';
-
- restore_table_sample($formattedParent, $tableId);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_RestoreTable_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/set_iam_policy.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/set_iam_policy.php
deleted file mode 100644
index c51797c13213..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/set_iam_policy.php
+++ /dev/null
@@ -1,74 +0,0 @@
-setResource($resource)
- ->setPolicy($policy);
-
- // Call the API and handle any network failures.
- try {
- /** @var Policy $response */
- $response = $bigtableTableAdminClient->setIamPolicy($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $resource = '[RESOURCE]';
-
- set_iam_policy_sample($resource);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_SetIamPolicy_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/snapshot_table.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/snapshot_table.php
deleted file mode 100644
index 7d7b542a82ef..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/snapshot_table.php
+++ /dev/null
@@ -1,107 +0,0 @@
-setName($formattedName)
- ->setCluster($formattedCluster)
- ->setSnapshotId($snapshotId);
-
- // Call the API and handle any network failures.
- try {
- /** @var OperationResponse $response */
- $response = $bigtableTableAdminClient->snapshotTable($request);
- $response->pollUntilComplete();
-
- if ($response->operationSucceeded()) {
- /** @var Snapshot $result */
- $result = $response->getResult();
- printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
- } else {
- /** @var Status $error */
- $error = $response->getError();
- printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableTableAdminClient::tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $formattedCluster = BigtableTableAdminClient::clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
- $snapshotId = '[SNAPSHOT_ID]';
-
- snapshot_table_sample($formattedName, $formattedCluster, $snapshotId);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_SnapshotTable_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/test_iam_permissions.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/test_iam_permissions.php
deleted file mode 100644
index 042ceb981136..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/test_iam_permissions.php
+++ /dev/null
@@ -1,79 +0,0 @@
-setResource($resource)
- ->setPermissions($permissions);
-
- // Call the API and handle any network failures.
- try {
- /** @var TestIamPermissionsResponse $response */
- $response = $bigtableTableAdminClient->testIamPermissions($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $resource = '[RESOURCE]';
- $permissionsElement = '[PERMISSIONS]';
-
- test_iam_permissions_sample($resource, $permissionsElement);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_TestIamPermissions_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/undelete_table.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/undelete_table.php
deleted file mode 100644
index 3448b8fedff0..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/undelete_table.php
+++ /dev/null
@@ -1,85 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- /** @var OperationResponse $response */
- $response = $bigtableTableAdminClient->undeleteTable($request);
- $response->pollUntilComplete();
-
- if ($response->operationSucceeded()) {
- /** @var Table $result */
- $result = $response->getResult();
- printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
- } else {
- /** @var Status $error */
- $error = $response->getError();
- printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = BigtableTableAdminClient::tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
-
- undelete_table_sample($formattedName);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_UndeleteTable_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/update_authorized_view.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/update_authorized_view.php
deleted file mode 100644
index ab69b8924270..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/update_authorized_view.php
+++ /dev/null
@@ -1,71 +0,0 @@
-setAuthorizedView($authorizedView);
-
- // Call the API and handle any network failures.
- try {
- /** @var OperationResponse $response */
- $response = $bigtableTableAdminClient->updateAuthorizedView($request);
- $response->pollUntilComplete();
-
- if ($response->operationSucceeded()) {
- /** @var AuthorizedView $result */
- $result = $response->getResult();
- printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
- } else {
- /** @var Status $error */
- $error = $response->getError();
- printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_UpdateAuthorizedView_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/update_backup.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/update_backup.php
deleted file mode 100644
index 575ccfa3be08..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/update_backup.php
+++ /dev/null
@@ -1,80 +0,0 @@
-setSourceTable($backupSourceTable)
- ->setExpireTime($backupExpireTime);
- $updateMask = new FieldMask();
- $request = (new UpdateBackupRequest())
- ->setBackup($backup)
- ->setUpdateMask($updateMask);
-
- // Call the API and handle any network failures.
- try {
- /** @var Backup $response */
- $response = $bigtableTableAdminClient->updateBackup($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $backupSourceTable = '[SOURCE_TABLE]';
-
- update_backup_sample($backupSourceTable);
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_UpdateBackup_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/update_table.php b/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/update_table.php
deleted file mode 100644
index 9d335ba140ec..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/samples/V2/BigtableTableAdminClient/update_table.php
+++ /dev/null
@@ -1,74 +0,0 @@
-setTable($table)
- ->setUpdateMask($updateMask);
-
- // Call the API and handle any network failures.
- try {
- /** @var OperationResponse $response */
- $response = $bigtableTableAdminClient->updateTable($request);
- $response->pollUntilComplete();
-
- if ($response->operationSucceeded()) {
- /** @var Table $result */
- $result = $response->getResult();
- printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
- } else {
- /** @var Status $error */
- $error = $response->getError();
- printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END bigtableadmin_v2_generated_BigtableTableAdmin_UpdateTable_sync]
diff --git a/owl-bot-staging/Bigtable/v2/Admin/src/V2/Client/BigtableInstanceAdminClient.php b/owl-bot-staging/Bigtable/v2/Admin/src/V2/Client/BigtableInstanceAdminClient.php
deleted file mode 100644
index 724cfa65908e..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/src/V2/Client/BigtableInstanceAdminClient.php
+++ /dev/null
@@ -1,1020 +0,0 @@
- self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/bigtable_instance_admin_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/bigtable_instance_admin_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/bigtable_instance_admin_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/bigtable_instance_admin_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Return an OperationsClient object with the same endpoint as $this.
- *
- * @return OperationsClient
- */
- public function getOperationsClient()
- {
- return $this->operationsClient;
- }
-
- /**
- * Resume an existing long running operation that was previously started by a long
- * running API method. If $methodName is not provided, or does not match a long
- * running API method, then the operation can still be resumed, but the
- * OperationResponse object will not deserialize the final response.
- *
- * @param string $operationName The name of the long running operation
- * @param string $methodName The name of the method used to start the operation
- *
- * @return OperationResponse
- */
- public function resumeOperation($operationName, $methodName = null)
- {
- $options = isset($this->descriptors[$methodName]['longRunning']) ? $this->descriptors[$methodName]['longRunning'] : [];
- $operation = new OperationResponse($operationName, $this->getOperationsClient(), $options);
- $operation->reload();
- return $operation;
- }
-
- /**
- * Create the default operation client for the service.
- *
- * @param array $options ClientOptions for the client.
- *
- * @return OperationsClient
- */
- private function createOperationsClient(array $options)
- {
- // Unset client-specific configuration options
- unset($options['serviceName'], $options['clientConfig'], $options['descriptorsConfigPath']);
-
- if (isset($options['operationsClient'])) {
- return $options['operationsClient'];
- }
-
- return new OperationsClient($options);
- }
-
- /**
- * Formats a string containing the fully-qualified path to represent a app_profile
- * resource.
- *
- * @param string $project
- * @param string $instance
- * @param string $appProfile
- *
- * @return string The formatted app_profile resource.
- */
- public static function appProfileName(string $project, string $instance, string $appProfile): string
- {
- return self::getPathTemplate('appProfile')->render([
- 'project' => $project,
- 'instance' => $instance,
- 'app_profile' => $appProfile,
- ]);
- }
-
- /**
- * Formats a string containing the fully-qualified path to represent a cluster
- * resource.
- *
- * @param string $project
- * @param string $instance
- * @param string $cluster
- *
- * @return string The formatted cluster resource.
- */
- public static function clusterName(string $project, string $instance, string $cluster): string
- {
- return self::getPathTemplate('cluster')->render([
- 'project' => $project,
- 'instance' => $instance,
- 'cluster' => $cluster,
- ]);
- }
-
- /**
- * Formats a string containing the fully-qualified path to represent a crypto_key
- * resource.
- *
- * @param string $project
- * @param string $location
- * @param string $keyRing
- * @param string $cryptoKey
- *
- * @return string The formatted crypto_key resource.
- */
- public static function cryptoKeyName(string $project, string $location, string $keyRing, string $cryptoKey): string
- {
- return self::getPathTemplate('cryptoKey')->render([
- 'project' => $project,
- 'location' => $location,
- 'key_ring' => $keyRing,
- 'crypto_key' => $cryptoKey,
- ]);
- }
-
- /**
- * Formats a string containing the fully-qualified path to represent a instance
- * resource.
- *
- * @param string $project
- * @param string $instance
- *
- * @return string The formatted instance resource.
- */
- public static function instanceName(string $project, string $instance): string
- {
- return self::getPathTemplate('instance')->render([
- 'project' => $project,
- 'instance' => $instance,
- ]);
- }
-
- /**
- * Formats a string containing the fully-qualified path to represent a location
- * resource.
- *
- * @param string $project
- * @param string $location
- *
- * @return string The formatted location resource.
- */
- public static function locationName(string $project, string $location): string
- {
- return self::getPathTemplate('location')->render([
- 'project' => $project,
- 'location' => $location,
- ]);
- }
-
- /**
- * Formats a string containing the fully-qualified path to represent a project
- * resource.
- *
- * @param string $project
- *
- * @return string The formatted project resource.
- */
- public static function projectName(string $project): string
- {
- return self::getPathTemplate('project')->render([
- 'project' => $project,
- ]);
- }
-
- /**
- * Parses a formatted name string and returns an associative array of the components in the name.
- * The following name formats are supported:
- * Template: Pattern
- * - appProfile: projects/{project}/instances/{instance}/appProfiles/{app_profile}
- * - cluster: projects/{project}/instances/{instance}/clusters/{cluster}
- * - cryptoKey: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
- * - instance: projects/{project}/instances/{instance}
- * - location: projects/{project}/locations/{location}
- * - project: projects/{project}
- *
- * The optional $template argument can be supplied to specify a particular pattern,
- * and must match one of the templates listed above. If no $template argument is
- * provided, or if the $template argument does not match one of the templates
- * listed, then parseName will check each of the supported templates, and return
- * the first match.
- *
- * @param string $formattedName The formatted name string
- * @param string $template Optional name of template to match
- *
- * @return array An associative array from name component IDs to component values.
- *
- * @throws ValidationException If $formattedName could not be matched.
- */
- public static function parseName(string $formattedName, string $template = null): array
- {
- return self::parseFormattedName($formattedName, $template);
- }
-
- /**
- * Constructor.
- *
- * Setting the "BIGTABLE_EMULATOR_HOST" environment variable will automatically set
- * the API Endpoint to the value specified in the variable, as well as ensure that
- * empty credentials are used in the transport layer.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'bigtableadmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- */
- public function __construct(array $options = [])
- {
- $options = $this->setDefaultEmulatorConfig($options);
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- $this->operationsClient = $this->createOperationsClient($clientOptions);
- }
-
- /** Handles execution of the async variants for each documented method. */
- public function __call($method, $args)
- {
- if (substr($method, -5) !== 'Async') {
- trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR);
- }
-
- array_unshift($args, substr($method, 0, -5));
- return call_user_func_array([$this, 'startAsyncCall'], $args);
- }
-
- /**
- * Creates an app profile within an instance.
- *
- * The async variant is {@see BigtableInstanceAdminClient::createAppProfileAsync()}
- * .
- *
- * @example samples/V2/BigtableInstanceAdminClient/create_app_profile.php
- *
- * @param CreateAppProfileRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return AppProfile
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function createAppProfile(CreateAppProfileRequest $request, array $callOptions = []): AppProfile
- {
- return $this->startApiCall('CreateAppProfile', $request, $callOptions)->wait();
- }
-
- /**
- * Creates a cluster within an instance.
- *
- * Note that exactly one of Cluster.serve_nodes and
- * Cluster.cluster_config.cluster_autoscaling_config can be set. If
- * serve_nodes is set to non-zero, then the cluster is manually scaled. If
- * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
- * enabled.
- *
- * The async variant is {@see BigtableInstanceAdminClient::createClusterAsync()} .
- *
- * @example samples/V2/BigtableInstanceAdminClient/create_cluster.php
- *
- * @param CreateClusterRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return OperationResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function createCluster(CreateClusterRequest $request, array $callOptions = []): OperationResponse
- {
- return $this->startApiCall('CreateCluster', $request, $callOptions)->wait();
- }
-
- /**
- * Create an instance within a project.
- *
- * Note that exactly one of Cluster.serve_nodes and
- * Cluster.cluster_config.cluster_autoscaling_config can be set. If
- * serve_nodes is set to non-zero, then the cluster is manually scaled. If
- * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
- * enabled.
- *
- * The async variant is {@see BigtableInstanceAdminClient::createInstanceAsync()} .
- *
- * @example samples/V2/BigtableInstanceAdminClient/create_instance.php
- *
- * @param CreateInstanceRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return OperationResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function createInstance(CreateInstanceRequest $request, array $callOptions = []): OperationResponse
- {
- return $this->startApiCall('CreateInstance', $request, $callOptions)->wait();
- }
-
- /**
- * Deletes an app profile from an instance.
- *
- * The async variant is {@see BigtableInstanceAdminClient::deleteAppProfileAsync()}
- * .
- *
- * @example samples/V2/BigtableInstanceAdminClient/delete_app_profile.php
- *
- * @param DeleteAppProfileRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function deleteAppProfile(DeleteAppProfileRequest $request, array $callOptions = []): void
- {
- $this->startApiCall('DeleteAppProfile', $request, $callOptions)->wait();
- }
-
- /**
- * Deletes a cluster from an instance.
- *
- * The async variant is {@see BigtableInstanceAdminClient::deleteClusterAsync()} .
- *
- * @example samples/V2/BigtableInstanceAdminClient/delete_cluster.php
- *
- * @param DeleteClusterRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function deleteCluster(DeleteClusterRequest $request, array $callOptions = []): void
- {
- $this->startApiCall('DeleteCluster', $request, $callOptions)->wait();
- }
-
- /**
- * Delete an instance from a project.
- *
- * The async variant is {@see BigtableInstanceAdminClient::deleteInstanceAsync()} .
- *
- * @example samples/V2/BigtableInstanceAdminClient/delete_instance.php
- *
- * @param DeleteInstanceRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function deleteInstance(DeleteInstanceRequest $request, array $callOptions = []): void
- {
- $this->startApiCall('DeleteInstance', $request, $callOptions)->wait();
- }
-
- /**
- * Gets information about an app profile.
- *
- * The async variant is {@see BigtableInstanceAdminClient::getAppProfileAsync()} .
- *
- * @example samples/V2/BigtableInstanceAdminClient/get_app_profile.php
- *
- * @param GetAppProfileRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return AppProfile
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function getAppProfile(GetAppProfileRequest $request, array $callOptions = []): AppProfile
- {
- return $this->startApiCall('GetAppProfile', $request, $callOptions)->wait();
- }
-
- /**
- * Gets information about a cluster.
- *
- * The async variant is {@see BigtableInstanceAdminClient::getClusterAsync()} .
- *
- * @example samples/V2/BigtableInstanceAdminClient/get_cluster.php
- *
- * @param GetClusterRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Cluster
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function getCluster(GetClusterRequest $request, array $callOptions = []): Cluster
- {
- return $this->startApiCall('GetCluster', $request, $callOptions)->wait();
- }
-
- /**
- * Gets the access control policy for an instance resource. Returns an empty
- * policy if an instance exists but does not have a policy set.
- *
- * The async variant is {@see BigtableInstanceAdminClient::getIamPolicyAsync()} .
- *
- * @example samples/V2/BigtableInstanceAdminClient/get_iam_policy.php
- *
- * @param GetIamPolicyRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Policy
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function getIamPolicy(GetIamPolicyRequest $request, array $callOptions = []): Policy
- {
- return $this->startApiCall('GetIamPolicy', $request, $callOptions)->wait();
- }
-
- /**
- * Gets information about an instance.
- *
- * The async variant is {@see BigtableInstanceAdminClient::getInstanceAsync()} .
- *
- * @example samples/V2/BigtableInstanceAdminClient/get_instance.php
- *
- * @param GetInstanceRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Instance
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function getInstance(GetInstanceRequest $request, array $callOptions = []): Instance
- {
- return $this->startApiCall('GetInstance', $request, $callOptions)->wait();
- }
-
- /**
- * Lists information about app profiles in an instance.
- *
- * The async variant is {@see BigtableInstanceAdminClient::listAppProfilesAsync()}
- * .
- *
- * @example samples/V2/BigtableInstanceAdminClient/list_app_profiles.php
- *
- * @param ListAppProfilesRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return PagedListResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function listAppProfiles(ListAppProfilesRequest $request, array $callOptions = []): PagedListResponse
- {
- return $this->startApiCall('ListAppProfiles', $request, $callOptions);
- }
-
- /**
- * Lists information about clusters in an instance.
- *
- * The async variant is {@see BigtableInstanceAdminClient::listClustersAsync()} .
- *
- * @example samples/V2/BigtableInstanceAdminClient/list_clusters.php
- *
- * @param ListClustersRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return ListClustersResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function listClusters(ListClustersRequest $request, array $callOptions = []): ListClustersResponse
- {
- return $this->startApiCall('ListClusters', $request, $callOptions)->wait();
- }
-
- /**
- * Lists hot tablets in a cluster, within the time range provided. Hot
- * tablets are ordered based on CPU usage.
- *
- * The async variant is {@see BigtableInstanceAdminClient::listHotTabletsAsync()} .
- *
- * @example samples/V2/BigtableInstanceAdminClient/list_hot_tablets.php
- *
- * @param ListHotTabletsRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return PagedListResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function listHotTablets(ListHotTabletsRequest $request, array $callOptions = []): PagedListResponse
- {
- return $this->startApiCall('ListHotTablets', $request, $callOptions);
- }
-
- /**
- * Lists information about instances in a project.
- *
- * The async variant is {@see BigtableInstanceAdminClient::listInstancesAsync()} .
- *
- * @example samples/V2/BigtableInstanceAdminClient/list_instances.php
- *
- * @param ListInstancesRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return ListInstancesResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function listInstances(ListInstancesRequest $request, array $callOptions = []): ListInstancesResponse
- {
- return $this->startApiCall('ListInstances', $request, $callOptions)->wait();
- }
-
- /**
- * Partially updates a cluster within a project. This method is the preferred
- * way to update a Cluster.
- *
- * To enable and update autoscaling, set
- * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
- * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
- * are ignored. Note that an update cannot simultaneously set serve_nodes to
- * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
- * also specify both in the update_mask.
- *
- * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
- * and explicitly set a serve_node count via the update_mask.
- *
- * The async variant is
- * {@see BigtableInstanceAdminClient::partialUpdateClusterAsync()} .
- *
- * @example samples/V2/BigtableInstanceAdminClient/partial_update_cluster.php
- *
- * @param PartialUpdateClusterRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return OperationResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function partialUpdateCluster(PartialUpdateClusterRequest $request, array $callOptions = []): OperationResponse
- {
- return $this->startApiCall('PartialUpdateCluster', $request, $callOptions)->wait();
- }
-
- /**
- * Partially updates an instance within a project. This method can modify all
- * fields of an Instance and is the preferred way to update an Instance.
- *
- * The async variant is
- * {@see BigtableInstanceAdminClient::partialUpdateInstanceAsync()} .
- *
- * @example samples/V2/BigtableInstanceAdminClient/partial_update_instance.php
- *
- * @param PartialUpdateInstanceRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return OperationResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function partialUpdateInstance(PartialUpdateInstanceRequest $request, array $callOptions = []): OperationResponse
- {
- return $this->startApiCall('PartialUpdateInstance', $request, $callOptions)->wait();
- }
-
- /**
- * Sets the access control policy on an instance resource. Replaces any
- * existing policy.
- *
- * The async variant is {@see BigtableInstanceAdminClient::setIamPolicyAsync()} .
- *
- * @example samples/V2/BigtableInstanceAdminClient/set_iam_policy.php
- *
- * @param SetIamPolicyRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Policy
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function setIamPolicy(SetIamPolicyRequest $request, array $callOptions = []): Policy
- {
- return $this->startApiCall('SetIamPolicy', $request, $callOptions)->wait();
- }
-
- /**
- * Returns permissions that the caller has on the specified instance resource.
- *
- * The async variant is
- * {@see BigtableInstanceAdminClient::testIamPermissionsAsync()} .
- *
- * @example samples/V2/BigtableInstanceAdminClient/test_iam_permissions.php
- *
- * @param TestIamPermissionsRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return TestIamPermissionsResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function testIamPermissions(TestIamPermissionsRequest $request, array $callOptions = []): TestIamPermissionsResponse
- {
- return $this->startApiCall('TestIamPermissions', $request, $callOptions)->wait();
- }
-
- /**
- * Updates an app profile within an instance.
- *
- * The async variant is {@see BigtableInstanceAdminClient::updateAppProfileAsync()}
- * .
- *
- * @example samples/V2/BigtableInstanceAdminClient/update_app_profile.php
- *
- * @param UpdateAppProfileRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return OperationResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function updateAppProfile(UpdateAppProfileRequest $request, array $callOptions = []): OperationResponse
- {
- return $this->startApiCall('UpdateAppProfile', $request, $callOptions)->wait();
- }
-
- /**
- * Updates a cluster within an instance.
- *
- * Note that UpdateCluster does not support updating
- * cluster_config.cluster_autoscaling_config. In order to update it, you
- * must use PartialUpdateCluster.
- *
- * The async variant is {@see BigtableInstanceAdminClient::updateClusterAsync()} .
- *
- * @example samples/V2/BigtableInstanceAdminClient/update_cluster.php
- *
- * @param Cluster $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return OperationResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function updateCluster(Cluster $request, array $callOptions = []): OperationResponse
- {
- return $this->startApiCall('UpdateCluster', $request, $callOptions)->wait();
- }
-
- /**
- * Updates an instance within a project. This method updates only the display
- * name and type for an Instance. To update other Instance properties, such as
- * labels, use PartialUpdateInstance.
- *
- * The async variant is {@see BigtableInstanceAdminClient::updateInstanceAsync()} .
- *
- * @example samples/V2/BigtableInstanceAdminClient/update_instance.php
- *
- * @param Instance $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Instance
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function updateInstance(Instance $request, array $callOptions = []): Instance
- {
- return $this->startApiCall('UpdateInstance', $request, $callOptions)->wait();
- }
-
- /** Configure the gapic configuration to use a service emulator. */
- private function setDefaultEmulatorConfig(array $options): array
- {
- $emulatorHost = getenv('BIGTABLE_EMULATOR_HOST');
- if (empty($emulatorHost)) {
- return $options;
- }
-
- if ($scheme = parse_url($emulatorHost, PHP_URL_SCHEME)) {
- $search = $scheme . '://';
- $emulatorHost = str_replace($search, '', $emulatorHost);
- }
-
- $options['apiEndpoint'] ??= $emulatorHost;
- $options['transportConfig']['grpc']['stubOpts']['credentials'] ??= ChannelCredentials::createInsecure();
- $options['credentials'] ??= new InsecureCredentialsWrapper();
- return $options;
- }
-}
diff --git a/owl-bot-staging/Bigtable/v2/Admin/src/V2/Client/BigtableTableAdminClient.php b/owl-bot-staging/Bigtable/v2/Admin/src/V2/Client/BigtableTableAdminClient.php
deleted file mode 100644
index 6fc04363ca58..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/src/V2/Client/BigtableTableAdminClient.php
+++ /dev/null
@@ -1,1339 +0,0 @@
- self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/bigtable_table_admin_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/bigtable_table_admin_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/bigtable_table_admin_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/bigtable_table_admin_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Return an OperationsClient object with the same endpoint as $this.
- *
- * @return OperationsClient
- */
- public function getOperationsClient()
- {
- return $this->operationsClient;
- }
-
- /**
- * Resume an existing long running operation that was previously started by a long
- * running API method. If $methodName is not provided, or does not match a long
- * running API method, then the operation can still be resumed, but the
- * OperationResponse object will not deserialize the final response.
- *
- * @param string $operationName The name of the long running operation
- * @param string $methodName The name of the method used to start the operation
- *
- * @return OperationResponse
- */
- public function resumeOperation($operationName, $methodName = null)
- {
- $options = isset($this->descriptors[$methodName]['longRunning']) ? $this->descriptors[$methodName]['longRunning'] : [];
- $operation = new OperationResponse($operationName, $this->getOperationsClient(), $options);
- $operation->reload();
- return $operation;
- }
-
- /**
- * Create the default operation client for the service.
- *
- * @param array $options ClientOptions for the client.
- *
- * @return OperationsClient
- */
- private function createOperationsClient(array $options)
- {
- // Unset client-specific configuration options
- unset($options['serviceName'], $options['clientConfig'], $options['descriptorsConfigPath']);
-
- if (isset($options['operationsClient'])) {
- return $options['operationsClient'];
- }
-
- return new OperationsClient($options);
- }
-
- /**
- * Formats a string containing the fully-qualified path to represent a
- * authorized_view resource.
- *
- * @param string $project
- * @param string $instance
- * @param string $table
- * @param string $authorizedView
- *
- * @return string The formatted authorized_view resource.
- */
- public static function authorizedViewName(string $project, string $instance, string $table, string $authorizedView): string
- {
- return self::getPathTemplate('authorizedView')->render([
- 'project' => $project,
- 'instance' => $instance,
- 'table' => $table,
- 'authorized_view' => $authorizedView,
- ]);
- }
-
- /**
- * Formats a string containing the fully-qualified path to represent a backup
- * resource.
- *
- * @param string $project
- * @param string $instance
- * @param string $cluster
- * @param string $backup
- *
- * @return string The formatted backup resource.
- */
- public static function backupName(string $project, string $instance, string $cluster, string $backup): string
- {
- return self::getPathTemplate('backup')->render([
- 'project' => $project,
- 'instance' => $instance,
- 'cluster' => $cluster,
- 'backup' => $backup,
- ]);
- }
-
- /**
- * Formats a string containing the fully-qualified path to represent a cluster
- * resource.
- *
- * @param string $project
- * @param string $instance
- * @param string $cluster
- *
- * @return string The formatted cluster resource.
- */
- public static function clusterName(string $project, string $instance, string $cluster): string
- {
- return self::getPathTemplate('cluster')->render([
- 'project' => $project,
- 'instance' => $instance,
- 'cluster' => $cluster,
- ]);
- }
-
- /**
- * Formats a string containing the fully-qualified path to represent a
- * crypto_key_version resource.
- *
- * @param string $project
- * @param string $location
- * @param string $keyRing
- * @param string $cryptoKey
- * @param string $cryptoKeyVersion
- *
- * @return string The formatted crypto_key_version resource.
- */
- public static function cryptoKeyVersionName(string $project, string $location, string $keyRing, string $cryptoKey, string $cryptoKeyVersion): string
- {
- return self::getPathTemplate('cryptoKeyVersion')->render([
- 'project' => $project,
- 'location' => $location,
- 'key_ring' => $keyRing,
- 'crypto_key' => $cryptoKey,
- 'crypto_key_version' => $cryptoKeyVersion,
- ]);
- }
-
- /**
- * Formats a string containing the fully-qualified path to represent a instance
- * resource.
- *
- * @param string $project
- * @param string $instance
- *
- * @return string The formatted instance resource.
- */
- public static function instanceName(string $project, string $instance): string
- {
- return self::getPathTemplate('instance')->render([
- 'project' => $project,
- 'instance' => $instance,
- ]);
- }
-
- /**
- * Formats a string containing the fully-qualified path to represent a snapshot
- * resource.
- *
- * @param string $project
- * @param string $instance
- * @param string $cluster
- * @param string $snapshot
- *
- * @return string The formatted snapshot resource.
- */
- public static function snapshotName(string $project, string $instance, string $cluster, string $snapshot): string
- {
- return self::getPathTemplate('snapshot')->render([
- 'project' => $project,
- 'instance' => $instance,
- 'cluster' => $cluster,
- 'snapshot' => $snapshot,
- ]);
- }
-
- /**
- * Formats a string containing the fully-qualified path to represent a table
- * resource.
- *
- * @param string $project
- * @param string $instance
- * @param string $table
- *
- * @return string The formatted table resource.
- */
- public static function tableName(string $project, string $instance, string $table): string
- {
- return self::getPathTemplate('table')->render([
- 'project' => $project,
- 'instance' => $instance,
- 'table' => $table,
- ]);
- }
-
- /**
- * Parses a formatted name string and returns an associative array of the components in the name.
- * The following name formats are supported:
- * Template: Pattern
- * - authorizedView: projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}
- * - backup: projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}
- * - cluster: projects/{project}/instances/{instance}/clusters/{cluster}
- * - cryptoKeyVersion: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}
- * - instance: projects/{project}/instances/{instance}
- * - snapshot: projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}
- * - table: projects/{project}/instances/{instance}/tables/{table}
- *
- * The optional $template argument can be supplied to specify a particular pattern,
- * and must match one of the templates listed above. If no $template argument is
- * provided, or if the $template argument does not match one of the templates
- * listed, then parseName will check each of the supported templates, and return
- * the first match.
- *
- * @param string $formattedName The formatted name string
- * @param string $template Optional name of template to match
- *
- * @return array An associative array from name component IDs to component values.
- *
- * @throws ValidationException If $formattedName could not be matched.
- */
- public static function parseName(string $formattedName, string $template = null): array
- {
- return self::parseFormattedName($formattedName, $template);
- }
-
- /**
- * Constructor.
- *
- * Setting the "BIGTABLE_EMULATOR_HOST" environment variable will automatically set
- * the API Endpoint to the value specified in the variable, as well as ensure that
- * empty credentials are used in the transport layer.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'bigtableadmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- */
- public function __construct(array $options = [])
- {
- $options = $this->setDefaultEmulatorConfig($options);
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- $this->operationsClient = $this->createOperationsClient($clientOptions);
- }
-
- /** Handles execution of the async variants for each documented method. */
- public function __call($method, $args)
- {
- if (substr($method, -5) !== 'Async') {
- trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR);
- }
-
- array_unshift($args, substr($method, 0, -5));
- return call_user_func_array([$this, 'startAsyncCall'], $args);
- }
-
- /**
- * Checks replication consistency based on a consistency token, that is, if
- * replication has caught up based on the conditions specified in the token
- * and the check request.
- *
- * The async variant is {@see BigtableTableAdminClient::checkConsistencyAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/check_consistency.php
- *
- * @param CheckConsistencyRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return CheckConsistencyResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function checkConsistency(CheckConsistencyRequest $request, array $callOptions = []): CheckConsistencyResponse
- {
- return $this->startApiCall('CheckConsistency', $request, $callOptions)->wait();
- }
-
- /**
- * Copy a Cloud Bigtable backup to a new backup in the destination cluster
- * located in the destination instance and project.
- *
- * The async variant is {@see BigtableTableAdminClient::copyBackupAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/copy_backup.php
- *
- * @param CopyBackupRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return OperationResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function copyBackup(CopyBackupRequest $request, array $callOptions = []): OperationResponse
- {
- return $this->startApiCall('CopyBackup', $request, $callOptions)->wait();
- }
-
- /**
- * Creates a new AuthorizedView in a table.
- *
- * The async variant is
- * {@see BigtableTableAdminClient::createAuthorizedViewAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/create_authorized_view.php
- *
- * @param CreateAuthorizedViewRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return OperationResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function createAuthorizedView(CreateAuthorizedViewRequest $request, array $callOptions = []): OperationResponse
- {
- return $this->startApiCall('CreateAuthorizedView', $request, $callOptions)->wait();
- }
-
- /**
- * Starts creating a new Cloud Bigtable Backup. The returned backup
- * [long-running operation][google.longrunning.Operation] can be used to
- * track creation of the backup. The
- * [metadata][google.longrunning.Operation.metadata] field type is
- * [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The
- * [response][google.longrunning.Operation.response] field type is
- * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the
- * returned operation will stop the creation and delete the backup.
- *
- * The async variant is {@see BigtableTableAdminClient::createBackupAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/create_backup.php
- *
- * @param CreateBackupRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return OperationResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function createBackup(CreateBackupRequest $request, array $callOptions = []): OperationResponse
- {
- return $this->startApiCall('CreateBackup', $request, $callOptions)->wait();
- }
-
- /**
- * Creates a new table in the specified instance.
- * The table can be created with a full set of initial column families,
- * specified in the request.
- *
- * The async variant is {@see BigtableTableAdminClient::createTableAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/create_table.php
- *
- * @param CreateTableRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Table
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function createTable(CreateTableRequest $request, array $callOptions = []): Table
- {
- return $this->startApiCall('CreateTable', $request, $callOptions)->wait();
- }
-
- /**
- * Creates a new table from the specified snapshot. The target table must
- * not exist. The snapshot and the table must be in the same instance.
- *
- * Note: This is a private alpha release of Cloud Bigtable snapshots. This
- * feature is not currently available to most Cloud Bigtable customers. This
- * feature might be changed in backward-incompatible ways and is not
- * recommended for production use. It is not subject to any SLA or deprecation
- * policy.
- *
- * The async variant is
- * {@see BigtableTableAdminClient::createTableFromSnapshotAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/create_table_from_snapshot.php
- *
- * @param CreateTableFromSnapshotRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return OperationResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function createTableFromSnapshot(CreateTableFromSnapshotRequest $request, array $callOptions = []): OperationResponse
- {
- return $this->startApiCall('CreateTableFromSnapshot', $request, $callOptions)->wait();
- }
-
- /**
- * Permanently deletes a specified AuthorizedView.
- *
- * The async variant is
- * {@see BigtableTableAdminClient::deleteAuthorizedViewAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/delete_authorized_view.php
- *
- * @param DeleteAuthorizedViewRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function deleteAuthorizedView(DeleteAuthorizedViewRequest $request, array $callOptions = []): void
- {
- $this->startApiCall('DeleteAuthorizedView', $request, $callOptions)->wait();
- }
-
- /**
- * Deletes a pending or completed Cloud Bigtable backup.
- *
- * The async variant is {@see BigtableTableAdminClient::deleteBackupAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/delete_backup.php
- *
- * @param DeleteBackupRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function deleteBackup(DeleteBackupRequest $request, array $callOptions = []): void
- {
- $this->startApiCall('DeleteBackup', $request, $callOptions)->wait();
- }
-
- /**
- * Permanently deletes the specified snapshot.
- *
- * Note: This is a private alpha release of Cloud Bigtable snapshots. This
- * feature is not currently available to most Cloud Bigtable customers. This
- * feature might be changed in backward-incompatible ways and is not
- * recommended for production use. It is not subject to any SLA or deprecation
- * policy.
- *
- * The async variant is {@see BigtableTableAdminClient::deleteSnapshotAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/delete_snapshot.php
- *
- * @param DeleteSnapshotRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function deleteSnapshot(DeleteSnapshotRequest $request, array $callOptions = []): void
- {
- $this->startApiCall('DeleteSnapshot', $request, $callOptions)->wait();
- }
-
- /**
- * Permanently deletes a specified table and all of its data.
- *
- * The async variant is {@see BigtableTableAdminClient::deleteTableAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/delete_table.php
- *
- * @param DeleteTableRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function deleteTable(DeleteTableRequest $request, array $callOptions = []): void
- {
- $this->startApiCall('DeleteTable', $request, $callOptions)->wait();
- }
-
- /**
- * Permanently drop/delete a row range from a specified table. The request can
- * specify whether to delete all rows in a table, or only those that match a
- * particular prefix.
- *
- * The async variant is {@see BigtableTableAdminClient::dropRowRangeAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/drop_row_range.php
- *
- * @param DropRowRangeRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function dropRowRange(DropRowRangeRequest $request, array $callOptions = []): void
- {
- $this->startApiCall('DropRowRange', $request, $callOptions)->wait();
- }
-
- /**
- * Generates a consistency token for a Table, which can be used in
- * CheckConsistency to check whether mutations to the table that finished
- * before this call started have been replicated. The tokens will be available
- * for 90 days.
- *
- * The async variant is
- * {@see BigtableTableAdminClient::generateConsistencyTokenAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/generate_consistency_token.php
- *
- * @param GenerateConsistencyTokenRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return GenerateConsistencyTokenResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function generateConsistencyToken(GenerateConsistencyTokenRequest $request, array $callOptions = []): GenerateConsistencyTokenResponse
- {
- return $this->startApiCall('GenerateConsistencyToken', $request, $callOptions)->wait();
- }
-
- /**
- * Gets information from a specified AuthorizedView.
- *
- * The async variant is {@see BigtableTableAdminClient::getAuthorizedViewAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/get_authorized_view.php
- *
- * @param GetAuthorizedViewRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return AuthorizedView
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function getAuthorizedView(GetAuthorizedViewRequest $request, array $callOptions = []): AuthorizedView
- {
- return $this->startApiCall('GetAuthorizedView', $request, $callOptions)->wait();
- }
-
- /**
- * Gets metadata on a pending or completed Cloud Bigtable Backup.
- *
- * The async variant is {@see BigtableTableAdminClient::getBackupAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/get_backup.php
- *
- * @param GetBackupRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Backup
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function getBackup(GetBackupRequest $request, array $callOptions = []): Backup
- {
- return $this->startApiCall('GetBackup', $request, $callOptions)->wait();
- }
-
- /**
- * Gets the access control policy for a Table or Backup resource.
- * Returns an empty policy if the resource exists but does not have a policy
- * set.
- *
- * The async variant is {@see BigtableTableAdminClient::getIamPolicyAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/get_iam_policy.php
- *
- * @param GetIamPolicyRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Policy
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function getIamPolicy(GetIamPolicyRequest $request, array $callOptions = []): Policy
- {
- return $this->startApiCall('GetIamPolicy', $request, $callOptions)->wait();
- }
-
- /**
- * Gets metadata information about the specified snapshot.
- *
- * Note: This is a private alpha release of Cloud Bigtable snapshots. This
- * feature is not currently available to most Cloud Bigtable customers. This
- * feature might be changed in backward-incompatible ways and is not
- * recommended for production use. It is not subject to any SLA or deprecation
- * policy.
- *
- * The async variant is {@see BigtableTableAdminClient::getSnapshotAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/get_snapshot.php
- *
- * @param GetSnapshotRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Snapshot
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function getSnapshot(GetSnapshotRequest $request, array $callOptions = []): Snapshot
- {
- return $this->startApiCall('GetSnapshot', $request, $callOptions)->wait();
- }
-
- /**
- * Gets metadata information about the specified table.
- *
- * The async variant is {@see BigtableTableAdminClient::getTableAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/get_table.php
- *
- * @param GetTableRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Table
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function getTable(GetTableRequest $request, array $callOptions = []): Table
- {
- return $this->startApiCall('GetTable', $request, $callOptions)->wait();
- }
-
- /**
- * Lists all AuthorizedViews from a specific table.
- *
- * The async variant is {@see BigtableTableAdminClient::listAuthorizedViewsAsync()}
- * .
- *
- * @example samples/V2/BigtableTableAdminClient/list_authorized_views.php
- *
- * @param ListAuthorizedViewsRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return PagedListResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function listAuthorizedViews(ListAuthorizedViewsRequest $request, array $callOptions = []): PagedListResponse
- {
- return $this->startApiCall('ListAuthorizedViews', $request, $callOptions);
- }
-
- /**
- * Lists Cloud Bigtable backups. Returns both completed and pending
- * backups.
- *
- * The async variant is {@see BigtableTableAdminClient::listBackupsAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/list_backups.php
- *
- * @param ListBackupsRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return PagedListResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function listBackups(ListBackupsRequest $request, array $callOptions = []): PagedListResponse
- {
- return $this->startApiCall('ListBackups', $request, $callOptions);
- }
-
- /**
- * Lists all snapshots associated with the specified cluster.
- *
- * Note: This is a private alpha release of Cloud Bigtable snapshots. This
- * feature is not currently available to most Cloud Bigtable customers. This
- * feature might be changed in backward-incompatible ways and is not
- * recommended for production use. It is not subject to any SLA or deprecation
- * policy.
- *
- * The async variant is {@see BigtableTableAdminClient::listSnapshotsAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/list_snapshots.php
- *
- * @param ListSnapshotsRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return PagedListResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function listSnapshots(ListSnapshotsRequest $request, array $callOptions = []): PagedListResponse
- {
- return $this->startApiCall('ListSnapshots', $request, $callOptions);
- }
-
- /**
- * Lists all tables served from a specified instance.
- *
- * The async variant is {@see BigtableTableAdminClient::listTablesAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/list_tables.php
- *
- * @param ListTablesRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return PagedListResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function listTables(ListTablesRequest $request, array $callOptions = []): PagedListResponse
- {
- return $this->startApiCall('ListTables', $request, $callOptions);
- }
-
- /**
- * Performs a series of column family modifications on the specified table.
- * Either all or none of the modifications will occur before this method
- * returns, but data requests received prior to that point may see a table
- * where only some modifications have taken effect.
- *
- * The async variant is
- * {@see BigtableTableAdminClient::modifyColumnFamiliesAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/modify_column_families.php
- *
- * @param ModifyColumnFamiliesRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Table
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function modifyColumnFamilies(ModifyColumnFamiliesRequest $request, array $callOptions = []): Table
- {
- return $this->startApiCall('ModifyColumnFamilies', $request, $callOptions)->wait();
- }
-
- /**
- * Create a new table by restoring from a completed backup. The
- * returned table [long-running operation][google.longrunning.Operation] can
- * be used to track the progress of the operation, and to cancel it. The
- * [metadata][google.longrunning.Operation.metadata] field type is
- * [RestoreTableMetadata][google.bigtable.admin.v2.RestoreTableMetadata]. The
- * [response][google.longrunning.Operation.response] type is
- * [Table][google.bigtable.admin.v2.Table], if successful.
- *
- * The async variant is {@see BigtableTableAdminClient::restoreTableAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/restore_table.php
- *
- * @param RestoreTableRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return OperationResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function restoreTable(RestoreTableRequest $request, array $callOptions = []): OperationResponse
- {
- return $this->startApiCall('RestoreTable', $request, $callOptions)->wait();
- }
-
- /**
- * Sets the access control policy on a Table or Backup resource.
- * Replaces any existing policy.
- *
- * The async variant is {@see BigtableTableAdminClient::setIamPolicyAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/set_iam_policy.php
- *
- * @param SetIamPolicyRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Policy
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function setIamPolicy(SetIamPolicyRequest $request, array $callOptions = []): Policy
- {
- return $this->startApiCall('SetIamPolicy', $request, $callOptions)->wait();
- }
-
- /**
- * Creates a new snapshot in the specified cluster from the specified
- * source table. The cluster and the table must be in the same instance.
- *
- * Note: This is a private alpha release of Cloud Bigtable snapshots. This
- * feature is not currently available to most Cloud Bigtable customers. This
- * feature might be changed in backward-incompatible ways and is not
- * recommended for production use. It is not subject to any SLA or deprecation
- * policy.
- *
- * The async variant is {@see BigtableTableAdminClient::snapshotTableAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/snapshot_table.php
- *
- * @param SnapshotTableRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return OperationResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function snapshotTable(SnapshotTableRequest $request, array $callOptions = []): OperationResponse
- {
- return $this->startApiCall('SnapshotTable', $request, $callOptions)->wait();
- }
-
- /**
- * Returns permissions that the caller has on the specified Table or Backup
- * resource.
- *
- * The async variant is {@see BigtableTableAdminClient::testIamPermissionsAsync()}
- * .
- *
- * @example samples/V2/BigtableTableAdminClient/test_iam_permissions.php
- *
- * @param TestIamPermissionsRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return TestIamPermissionsResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function testIamPermissions(TestIamPermissionsRequest $request, array $callOptions = []): TestIamPermissionsResponse
- {
- return $this->startApiCall('TestIamPermissions', $request, $callOptions)->wait();
- }
-
- /**
- * Restores a specified table which was accidentally deleted.
- *
- * The async variant is {@see BigtableTableAdminClient::undeleteTableAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/undelete_table.php
- *
- * @param UndeleteTableRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return OperationResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function undeleteTable(UndeleteTableRequest $request, array $callOptions = []): OperationResponse
- {
- return $this->startApiCall('UndeleteTable', $request, $callOptions)->wait();
- }
-
- /**
- * Updates an AuthorizedView in a table.
- *
- * The async variant is
- * {@see BigtableTableAdminClient::updateAuthorizedViewAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/update_authorized_view.php
- *
- * @param UpdateAuthorizedViewRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return OperationResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function updateAuthorizedView(UpdateAuthorizedViewRequest $request, array $callOptions = []): OperationResponse
- {
- return $this->startApiCall('UpdateAuthorizedView', $request, $callOptions)->wait();
- }
-
- /**
- * Updates a pending or completed Cloud Bigtable Backup.
- *
- * The async variant is {@see BigtableTableAdminClient::updateBackupAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/update_backup.php
- *
- * @param UpdateBackupRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Backup
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function updateBackup(UpdateBackupRequest $request, array $callOptions = []): Backup
- {
- return $this->startApiCall('UpdateBackup', $request, $callOptions)->wait();
- }
-
- /**
- * Updates a specified table.
- *
- * The async variant is {@see BigtableTableAdminClient::updateTableAsync()} .
- *
- * @example samples/V2/BigtableTableAdminClient/update_table.php
- *
- * @param UpdateTableRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return OperationResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function updateTable(UpdateTableRequest $request, array $callOptions = []): OperationResponse
- {
- return $this->startApiCall('UpdateTable', $request, $callOptions)->wait();
- }
-
- /** Configure the gapic configuration to use a service emulator. */
- private function setDefaultEmulatorConfig(array $options): array
- {
- $emulatorHost = getenv('BIGTABLE_EMULATOR_HOST');
- if (empty($emulatorHost)) {
- return $options;
- }
-
- if ($scheme = parse_url($emulatorHost, PHP_URL_SCHEME)) {
- $search = $scheme . '://';
- $emulatorHost = str_replace($search, '', $emulatorHost);
- }
-
- $options['apiEndpoint'] ??= $emulatorHost;
- $options['transportConfig']['grpc']['stubOpts']['credentials'] ??= ChannelCredentials::createInsecure();
- $options['credentials'] ??= new InsecureCredentialsWrapper();
- return $options;
- }
-}
diff --git a/owl-bot-staging/Bigtable/v2/Admin/src/V2/gapic_metadata.json b/owl-bot-staging/Bigtable/v2/Admin/src/V2/gapic_metadata.json
deleted file mode 100644
index fecd9cc3d7ed..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/src/V2/gapic_metadata.json
+++ /dev/null
@@ -1,282 +0,0 @@
-{
- "schema": "1.0",
- "comment": "This file maps proto services\/RPCs to the corresponding library clients\/methods",
- "language": "php",
- "protoPackage": "google.bigtable.admin.v2",
- "libraryPackage": "Google\\Cloud\\Bigtable\\Admin\\V2",
- "services": {
- "BigtableInstanceAdmin": {
- "clients": {
- "grpc": {
- "libraryClient": "BigtableInstanceAdminGapicClient",
- "rpcs": {
- "CreateAppProfile": {
- "methods": [
- "createAppProfile"
- ]
- },
- "CreateCluster": {
- "methods": [
- "createCluster"
- ]
- },
- "CreateInstance": {
- "methods": [
- "createInstance"
- ]
- },
- "DeleteAppProfile": {
- "methods": [
- "deleteAppProfile"
- ]
- },
- "DeleteCluster": {
- "methods": [
- "deleteCluster"
- ]
- },
- "DeleteInstance": {
- "methods": [
- "deleteInstance"
- ]
- },
- "GetAppProfile": {
- "methods": [
- "getAppProfile"
- ]
- },
- "GetCluster": {
- "methods": [
- "getCluster"
- ]
- },
- "GetIamPolicy": {
- "methods": [
- "getIamPolicy"
- ]
- },
- "GetInstance": {
- "methods": [
- "getInstance"
- ]
- },
- "ListAppProfiles": {
- "methods": [
- "listAppProfiles"
- ]
- },
- "ListClusters": {
- "methods": [
- "listClusters"
- ]
- },
- "ListHotTablets": {
- "methods": [
- "listHotTablets"
- ]
- },
- "ListInstances": {
- "methods": [
- "listInstances"
- ]
- },
- "PartialUpdateCluster": {
- "methods": [
- "partialUpdateCluster"
- ]
- },
- "PartialUpdateInstance": {
- "methods": [
- "partialUpdateInstance"
- ]
- },
- "SetIamPolicy": {
- "methods": [
- "setIamPolicy"
- ]
- },
- "TestIamPermissions": {
- "methods": [
- "testIamPermissions"
- ]
- },
- "UpdateAppProfile": {
- "methods": [
- "updateAppProfile"
- ]
- },
- "UpdateCluster": {
- "methods": [
- "updateCluster"
- ]
- },
- "UpdateInstance": {
- "methods": [
- "updateInstance"
- ]
- }
- }
- }
- }
- },
- "BigtableTableAdmin": {
- "clients": {
- "grpc": {
- "libraryClient": "BigtableTableAdminGapicClient",
- "rpcs": {
- "CheckConsistency": {
- "methods": [
- "checkConsistency"
- ]
- },
- "CopyBackup": {
- "methods": [
- "copyBackup"
- ]
- },
- "CreateAuthorizedView": {
- "methods": [
- "createAuthorizedView"
- ]
- },
- "CreateBackup": {
- "methods": [
- "createBackup"
- ]
- },
- "CreateTable": {
- "methods": [
- "createTable"
- ]
- },
- "CreateTableFromSnapshot": {
- "methods": [
- "createTableFromSnapshot"
- ]
- },
- "DeleteAuthorizedView": {
- "methods": [
- "deleteAuthorizedView"
- ]
- },
- "DeleteBackup": {
- "methods": [
- "deleteBackup"
- ]
- },
- "DeleteSnapshot": {
- "methods": [
- "deleteSnapshot"
- ]
- },
- "DeleteTable": {
- "methods": [
- "deleteTable"
- ]
- },
- "DropRowRange": {
- "methods": [
- "dropRowRange"
- ]
- },
- "GenerateConsistencyToken": {
- "methods": [
- "generateConsistencyToken"
- ]
- },
- "GetAuthorizedView": {
- "methods": [
- "getAuthorizedView"
- ]
- },
- "GetBackup": {
- "methods": [
- "getBackup"
- ]
- },
- "GetIamPolicy": {
- "methods": [
- "getIamPolicy"
- ]
- },
- "GetSnapshot": {
- "methods": [
- "getSnapshot"
- ]
- },
- "GetTable": {
- "methods": [
- "getTable"
- ]
- },
- "ListAuthorizedViews": {
- "methods": [
- "listAuthorizedViews"
- ]
- },
- "ListBackups": {
- "methods": [
- "listBackups"
- ]
- },
- "ListSnapshots": {
- "methods": [
- "listSnapshots"
- ]
- },
- "ListTables": {
- "methods": [
- "listTables"
- ]
- },
- "ModifyColumnFamilies": {
- "methods": [
- "modifyColumnFamilies"
- ]
- },
- "RestoreTable": {
- "methods": [
- "restoreTable"
- ]
- },
- "SetIamPolicy": {
- "methods": [
- "setIamPolicy"
- ]
- },
- "SnapshotTable": {
- "methods": [
- "snapshotTable"
- ]
- },
- "TestIamPermissions": {
- "methods": [
- "testIamPermissions"
- ]
- },
- "UndeleteTable": {
- "methods": [
- "undeleteTable"
- ]
- },
- "UpdateAuthorizedView": {
- "methods": [
- "updateAuthorizedView"
- ]
- },
- "UpdateBackup": {
- "methods": [
- "updateBackup"
- ]
- },
- "UpdateTable": {
- "methods": [
- "updateTable"
- ]
- }
- }
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/owl-bot-staging/Bigtable/v2/Admin/src/V2/resources/bigtable_instance_admin_client_config.json b/owl-bot-staging/Bigtable/v2/Admin/src/V2/resources/bigtable_instance_admin_client_config.json
deleted file mode 100644
index 536c98a6fb2b..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/src/V2/resources/bigtable_instance_admin_client_config.json
+++ /dev/null
@@ -1,131 +0,0 @@
-{
- "interfaces": {
- "google.bigtable.admin.v2.BigtableInstanceAdmin": {
- "retry_codes": {
- "idempotent": [
- "DEADLINE_EXCEEDED",
- "UNAVAILABLE"
- ],
- "non_idempotent": []
- },
- "retry_params": {
- "default": {
- "initial_retry_delay_millis": 100,
- "retry_delay_multiplier": 1.3,
- "max_retry_delay_millis": 60000,
- "initial_rpc_timeout_millis": 20000,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 20000,
- "total_timeout_millis": 600000
- }
- },
- "methods": {
- "CreateAppProfile": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "CreateCluster": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "CreateInstance": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "DeleteAppProfile": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "DeleteCluster": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "DeleteInstance": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "GetAppProfile": {
- "timeout_millis": 60000,
- "retry_codes_name": "idempotent",
- "retry_params_name": "default"
- },
- "GetCluster": {
- "timeout_millis": 60000,
- "retry_codes_name": "idempotent",
- "retry_params_name": "default"
- },
- "GetIamPolicy": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "GetInstance": {
- "timeout_millis": 60000,
- "retry_codes_name": "idempotent",
- "retry_params_name": "default"
- },
- "ListAppProfiles": {
- "timeout_millis": 60000,
- "retry_codes_name": "idempotent",
- "retry_params_name": "default"
- },
- "ListClusters": {
- "timeout_millis": 60000,
- "retry_codes_name": "idempotent",
- "retry_params_name": "default"
- },
- "ListHotTablets": {
- "timeout_millis": 60000,
- "retry_codes_name": "idempotent",
- "retry_params_name": "default"
- },
- "ListInstances": {
- "timeout_millis": 60000,
- "retry_codes_name": "idempotent",
- "retry_params_name": "default"
- },
- "PartialUpdateCluster": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "PartialUpdateInstance": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "SetIamPolicy": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "TestIamPermissions": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "UpdateAppProfile": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "UpdateCluster": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "UpdateInstance": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- }
- }
- }
- }
-}
diff --git a/owl-bot-staging/Bigtable/v2/Admin/src/V2/resources/bigtable_instance_admin_descriptor_config.php b/owl-bot-staging/Bigtable/v2/Admin/src/V2/resources/bigtable_instance_admin_descriptor_config.php
deleted file mode 100644
index 4232256b1ba6..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/src/V2/resources/bigtable_instance_admin_descriptor_config.php
+++ /dev/null
@@ -1,349 +0,0 @@
- [
- 'google.bigtable.admin.v2.BigtableInstanceAdmin' => [
- 'CreateCluster' => [
- 'longRunning' => [
- 'operationReturnType' => '\Google\Cloud\Bigtable\Admin\V2\Cluster',
- 'metadataReturnType' => '\Google\Cloud\Bigtable\Admin\V2\CreateClusterMetadata',
- 'initialPollDelayMillis' => '5000',
- 'pollDelayMultiplier' => '1.5',
- 'maxPollDelayMillis' => '60000',
- 'totalPollTimeoutMillis' => '21600000',
- ],
- 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL,
- 'headerParams' => [
- [
- 'keyName' => 'parent',
- 'fieldAccessors' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'CreateInstance' => [
- 'longRunning' => [
- 'operationReturnType' => '\Google\Cloud\Bigtable\Admin\V2\Instance',
- 'metadataReturnType' => '\Google\Cloud\Bigtable\Admin\V2\CreateInstanceMetadata',
- 'initialPollDelayMillis' => '500',
- 'pollDelayMultiplier' => '1.5',
- 'maxPollDelayMillis' => '5000',
- 'totalPollTimeoutMillis' => '600000',
- ],
- 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL,
- 'headerParams' => [
- [
- 'keyName' => 'parent',
- 'fieldAccessors' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'PartialUpdateCluster' => [
- 'longRunning' => [
- 'operationReturnType' => '\Google\Cloud\Bigtable\Admin\V2\Cluster',
- 'metadataReturnType' => '\Google\Cloud\Bigtable\Admin\V2\PartialUpdateClusterMetadata',
- 'initialPollDelayMillis' => '500',
- 'pollDelayMultiplier' => '1.5',
- 'maxPollDelayMillis' => '5000',
- 'totalPollTimeoutMillis' => '600000',
- ],
- 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL,
- 'headerParams' => [
- [
- 'keyName' => 'cluster.name',
- 'fieldAccessors' => [
- 'getCluster',
- 'getName',
- ],
- ],
- ],
- ],
- 'PartialUpdateInstance' => [
- 'longRunning' => [
- 'operationReturnType' => '\Google\Cloud\Bigtable\Admin\V2\Instance',
- 'metadataReturnType' => '\Google\Cloud\Bigtable\Admin\V2\UpdateInstanceMetadata',
- 'initialPollDelayMillis' => '500',
- 'pollDelayMultiplier' => '1.5',
- 'maxPollDelayMillis' => '5000',
- 'totalPollTimeoutMillis' => '600000',
- ],
- 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL,
- 'headerParams' => [
- [
- 'keyName' => 'instance.name',
- 'fieldAccessors' => [
- 'getInstance',
- 'getName',
- ],
- ],
- ],
- ],
- 'UpdateAppProfile' => [
- 'longRunning' => [
- 'operationReturnType' => '\Google\Cloud\Bigtable\Admin\V2\AppProfile',
- 'metadataReturnType' => '\Google\Cloud\Bigtable\Admin\V2\UpdateAppProfileMetadata',
- 'initialPollDelayMillis' => '500',
- 'pollDelayMultiplier' => '1.5',
- 'maxPollDelayMillis' => '5000',
- 'totalPollTimeoutMillis' => '600000',
- ],
- 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL,
- 'headerParams' => [
- [
- 'keyName' => 'app_profile.name',
- 'fieldAccessors' => [
- 'getAppProfile',
- 'getName',
- ],
- ],
- ],
- ],
- 'UpdateCluster' => [
- 'longRunning' => [
- 'operationReturnType' => '\Google\Cloud\Bigtable\Admin\V2\Cluster',
- 'metadataReturnType' => '\Google\Cloud\Bigtable\Admin\V2\UpdateClusterMetadata',
- 'initialPollDelayMillis' => '500',
- 'pollDelayMultiplier' => '1.5',
- 'maxPollDelayMillis' => '5000',
- 'totalPollTimeoutMillis' => '600000',
- ],
- 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL,
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'CreateAppProfile' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\AppProfile',
- 'headerParams' => [
- [
- 'keyName' => 'parent',
- 'fieldAccessors' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'DeleteAppProfile' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Protobuf\GPBEmpty',
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'DeleteCluster' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Protobuf\GPBEmpty',
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'DeleteInstance' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Protobuf\GPBEmpty',
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'GetAppProfile' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\AppProfile',
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'GetCluster' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\Cluster',
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'GetIamPolicy' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Iam\V1\Policy',
- 'headerParams' => [
- [
- 'keyName' => 'resource',
- 'fieldAccessors' => [
- 'getResource',
- ],
- ],
- ],
- ],
- 'GetInstance' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\Instance',
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'ListAppProfiles' => [
- 'pageStreaming' => [
- 'requestPageTokenGetMethod' => 'getPageToken',
- 'requestPageTokenSetMethod' => 'setPageToken',
- 'requestPageSizeGetMethod' => 'getPageSize',
- 'requestPageSizeSetMethod' => 'setPageSize',
- 'responsePageTokenGetMethod' => 'getNextPageToken',
- 'resourcesGetMethod' => 'getAppProfiles',
- ],
- 'callType' => \Google\ApiCore\Call::PAGINATED_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\ListAppProfilesResponse',
- 'headerParams' => [
- [
- 'keyName' => 'parent',
- 'fieldAccessors' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'ListClusters' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\ListClustersResponse',
- 'headerParams' => [
- [
- 'keyName' => 'parent',
- 'fieldAccessors' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'ListHotTablets' => [
- 'pageStreaming' => [
- 'requestPageTokenGetMethod' => 'getPageToken',
- 'requestPageTokenSetMethod' => 'setPageToken',
- 'requestPageSizeGetMethod' => 'getPageSize',
- 'requestPageSizeSetMethod' => 'setPageSize',
- 'responsePageTokenGetMethod' => 'getNextPageToken',
- 'resourcesGetMethod' => 'getHotTablets',
- ],
- 'callType' => \Google\ApiCore\Call::PAGINATED_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\ListHotTabletsResponse',
- 'headerParams' => [
- [
- 'keyName' => 'parent',
- 'fieldAccessors' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'ListInstances' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\ListInstancesResponse',
- 'headerParams' => [
- [
- 'keyName' => 'parent',
- 'fieldAccessors' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'SetIamPolicy' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Iam\V1\Policy',
- 'headerParams' => [
- [
- 'keyName' => 'resource',
- 'fieldAccessors' => [
- 'getResource',
- ],
- ],
- ],
- ],
- 'TestIamPermissions' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Iam\V1\TestIamPermissionsResponse',
- 'headerParams' => [
- [
- 'keyName' => 'resource',
- 'fieldAccessors' => [
- 'getResource',
- ],
- ],
- ],
- ],
- 'UpdateInstance' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\Instance',
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'templateMap' => [
- 'appProfile' => 'projects/{project}/instances/{instance}/appProfiles/{app_profile}',
- 'cluster' => 'projects/{project}/instances/{instance}/clusters/{cluster}',
- 'cryptoKey' => 'projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}',
- 'instance' => 'projects/{project}/instances/{instance}',
- 'location' => 'projects/{project}/locations/{location}',
- 'project' => 'projects/{project}',
- ],
- ],
- ],
-];
diff --git a/owl-bot-staging/Bigtable/v2/Admin/src/V2/resources/bigtable_instance_admin_rest_client_config.php b/owl-bot-staging/Bigtable/v2/Admin/src/V2/resources/bigtable_instance_admin_rest_client_config.php
deleted file mode 100644
index a92f99ec26d8..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/src/V2/resources/bigtable_instance_admin_rest_client_config.php
+++ /dev/null
@@ -1,338 +0,0 @@
- [
- 'google.bigtable.admin.v2.BigtableInstanceAdmin' => [
- 'CreateAppProfile' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{parent=projects/*/instances/*}/appProfiles',
- 'body' => 'app_profile',
- 'placeholders' => [
- 'parent' => [
- 'getters' => [
- 'getParent',
- ],
- ],
- ],
- 'queryParams' => [
- 'app_profile_id',
- ],
- ],
- 'CreateCluster' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{parent=projects/*/instances/*}/clusters',
- 'body' => 'cluster',
- 'placeholders' => [
- 'parent' => [
- 'getters' => [
- 'getParent',
- ],
- ],
- ],
- 'queryParams' => [
- 'cluster_id',
- ],
- ],
- 'CreateInstance' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{parent=projects/*}/instances',
- 'body' => '*',
- 'placeholders' => [
- 'parent' => [
- 'getters' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'DeleteAppProfile' => [
- 'method' => 'delete',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*/appProfiles/*}',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- 'queryParams' => [
- 'ignore_warnings',
- ],
- ],
- 'DeleteCluster' => [
- 'method' => 'delete',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*/clusters/*}',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'DeleteInstance' => [
- 'method' => 'delete',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*}',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'GetAppProfile' => [
- 'method' => 'get',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*/appProfiles/*}',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'GetCluster' => [
- 'method' => 'get',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*/clusters/*}',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'GetIamPolicy' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{resource=projects/*/instances/*}:getIamPolicy',
- 'body' => '*',
- 'placeholders' => [
- 'resource' => [
- 'getters' => [
- 'getResource',
- ],
- ],
- ],
- ],
- 'GetInstance' => [
- 'method' => 'get',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*}',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'ListAppProfiles' => [
- 'method' => 'get',
- 'uriTemplate' => '/v2/{parent=projects/*/instances/*}/appProfiles',
- 'placeholders' => [
- 'parent' => [
- 'getters' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'ListClusters' => [
- 'method' => 'get',
- 'uriTemplate' => '/v2/{parent=projects/*/instances/*}/clusters',
- 'placeholders' => [
- 'parent' => [
- 'getters' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'ListHotTablets' => [
- 'method' => 'get',
- 'uriTemplate' => '/v2/{parent=projects/*/instances/*/clusters/*}/hotTablets',
- 'placeholders' => [
- 'parent' => [
- 'getters' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'ListInstances' => [
- 'method' => 'get',
- 'uriTemplate' => '/v2/{parent=projects/*}/instances',
- 'placeholders' => [
- 'parent' => [
- 'getters' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'PartialUpdateCluster' => [
- 'method' => 'patch',
- 'uriTemplate' => '/v2/{cluster.name=projects/*/instances/*/clusters/*}',
- 'body' => 'cluster',
- 'placeholders' => [
- 'cluster.name' => [
- 'getters' => [
- 'getCluster',
- 'getName',
- ],
- ],
- ],
- 'queryParams' => [
- 'update_mask',
- ],
- ],
- 'PartialUpdateInstance' => [
- 'method' => 'patch',
- 'uriTemplate' => '/v2/{instance.name=projects/*/instances/*}',
- 'body' => 'instance',
- 'placeholders' => [
- 'instance.name' => [
- 'getters' => [
- 'getInstance',
- 'getName',
- ],
- ],
- ],
- 'queryParams' => [
- 'update_mask',
- ],
- ],
- 'SetIamPolicy' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{resource=projects/*/instances/*}:setIamPolicy',
- 'body' => '*',
- 'placeholders' => [
- 'resource' => [
- 'getters' => [
- 'getResource',
- ],
- ],
- ],
- ],
- 'TestIamPermissions' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{resource=projects/*/instances/*}:testIamPermissions',
- 'body' => '*',
- 'placeholders' => [
- 'resource' => [
- 'getters' => [
- 'getResource',
- ],
- ],
- ],
- ],
- 'UpdateAppProfile' => [
- 'method' => 'patch',
- 'uriTemplate' => '/v2/{app_profile.name=projects/*/instances/*/appProfiles/*}',
- 'body' => 'app_profile',
- 'placeholders' => [
- 'app_profile.name' => [
- 'getters' => [
- 'getAppProfile',
- 'getName',
- ],
- ],
- ],
- 'queryParams' => [
- 'update_mask',
- ],
- ],
- 'UpdateCluster' => [
- 'method' => 'put',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*/clusters/*}',
- 'body' => '*',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'UpdateInstance' => [
- 'method' => 'put',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*}',
- 'body' => '*',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- ],
- 'google.longrunning.Operations' => [
- 'CancelOperation' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{name=operations/**}:cancel',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'DeleteOperation' => [
- 'method' => 'delete',
- 'uriTemplate' => '/v2/{name=operations/**}',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'GetOperation' => [
- 'method' => 'get',
- 'uriTemplate' => '/v2/{name=operations/**}',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'ListOperations' => [
- 'method' => 'get',
- 'uriTemplate' => '/v2/{name=operations/projects/**}/operations',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/Bigtable/v2/Admin/src/V2/resources/bigtable_table_admin_client_config.json b/owl-bot-staging/Bigtable/v2/Admin/src/V2/resources/bigtable_table_admin_client_config.json
deleted file mode 100644
index 47b0c167c97c..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/src/V2/resources/bigtable_table_admin_client_config.json
+++ /dev/null
@@ -1,176 +0,0 @@
-{
- "interfaces": {
- "google.bigtable.admin.v2.BigtableTableAdmin": {
- "retry_codes": {
- "idempotent": [
- "DEADLINE_EXCEEDED",
- "UNAVAILABLE"
- ],
- "non_idempotent": []
- },
- "retry_params": {
- "default": {
- "initial_retry_delay_millis": 100,
- "retry_delay_multiplier": 1.3,
- "max_retry_delay_millis": 60000,
- "initial_rpc_timeout_millis": 20000,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 20000,
- "total_timeout_millis": 600000
- }
- },
- "methods": {
- "CheckConsistency": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "CopyBackup": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "CreateAuthorizedView": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "CreateBackup": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "CreateTable": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "CreateTableFromSnapshot": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "DeleteAuthorizedView": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "DeleteBackup": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "DeleteSnapshot": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "DeleteTable": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "DropRowRange": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "GenerateConsistencyToken": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "GetAuthorizedView": {
- "timeout_millis": 60000,
- "retry_codes_name": "idempotent",
- "retry_params_name": "default"
- },
- "GetBackup": {
- "timeout_millis": 60000,
- "retry_codes_name": "idempotent",
- "retry_params_name": "default"
- },
- "GetIamPolicy": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "GetSnapshot": {
- "timeout_millis": 60000,
- "retry_codes_name": "idempotent",
- "retry_params_name": "default"
- },
- "GetTable": {
- "timeout_millis": 60000,
- "retry_codes_name": "idempotent",
- "retry_params_name": "default"
- },
- "ListAuthorizedViews": {
- "timeout_millis": 60000,
- "retry_codes_name": "idempotent",
- "retry_params_name": "default"
- },
- "ListBackups": {
- "timeout_millis": 60000,
- "retry_codes_name": "idempotent",
- "retry_params_name": "default"
- },
- "ListSnapshots": {
- "timeout_millis": 60000,
- "retry_codes_name": "idempotent",
- "retry_params_name": "default"
- },
- "ListTables": {
- "timeout_millis": 60000,
- "retry_codes_name": "idempotent",
- "retry_params_name": "default"
- },
- "ModifyColumnFamilies": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "RestoreTable": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "SetIamPolicy": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "SnapshotTable": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "TestIamPermissions": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "UndeleteTable": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "UpdateAuthorizedView": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "UpdateBackup": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- },
- "UpdateTable": {
- "timeout_millis": 60000,
- "retry_codes_name": "non_idempotent",
- "retry_params_name": "default"
- }
- }
- }
- }
-}
diff --git a/owl-bot-staging/Bigtable/v2/Admin/src/V2/resources/bigtable_table_admin_descriptor_config.php b/owl-bot-staging/Bigtable/v2/Admin/src/V2/resources/bigtable_table_admin_descriptor_config.php
deleted file mode 100644
index c2ada4e51105..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/src/V2/resources/bigtable_table_admin_descriptor_config.php
+++ /dev/null
@@ -1,495 +0,0 @@
- [
- 'google.bigtable.admin.v2.BigtableTableAdmin' => [
- 'CopyBackup' => [
- 'longRunning' => [
- 'operationReturnType' => '\Google\Cloud\Bigtable\Admin\V2\Backup',
- 'metadataReturnType' => '\Google\Cloud\Bigtable\Admin\V2\CopyBackupMetadata',
- 'initialPollDelayMillis' => '500',
- 'pollDelayMultiplier' => '1.5',
- 'maxPollDelayMillis' => '5000',
- 'totalPollTimeoutMillis' => '300000',
- ],
- 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL,
- 'headerParams' => [
- [
- 'keyName' => 'parent',
- 'fieldAccessors' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'CreateAuthorizedView' => [
- 'longRunning' => [
- 'operationReturnType' => '\Google\Cloud\Bigtable\Admin\V2\AuthorizedView',
- 'metadataReturnType' => '\Google\Cloud\Bigtable\Admin\V2\CreateAuthorizedViewMetadata',
- 'initialPollDelayMillis' => '500',
- 'pollDelayMultiplier' => '1.5',
- 'maxPollDelayMillis' => '5000',
- 'totalPollTimeoutMillis' => '300000',
- ],
- 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL,
- 'headerParams' => [
- [
- 'keyName' => 'parent',
- 'fieldAccessors' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'CreateBackup' => [
- 'longRunning' => [
- 'operationReturnType' => '\Google\Cloud\Bigtable\Admin\V2\Backup',
- 'metadataReturnType' => '\Google\Cloud\Bigtable\Admin\V2\CreateBackupMetadata',
- 'initialPollDelayMillis' => '500',
- 'pollDelayMultiplier' => '1.5',
- 'maxPollDelayMillis' => '5000',
- 'totalPollTimeoutMillis' => '600000',
- ],
- 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL,
- 'headerParams' => [
- [
- 'keyName' => 'parent',
- 'fieldAccessors' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'CreateTableFromSnapshot' => [
- 'longRunning' => [
- 'operationReturnType' => '\Google\Cloud\Bigtable\Admin\V2\Table',
- 'metadataReturnType' => '\Google\Cloud\Bigtable\Admin\V2\CreateTableFromSnapshotMetadata',
- 'initialPollDelayMillis' => '5000',
- 'pollDelayMultiplier' => '1.5',
- 'maxPollDelayMillis' => '60000',
- 'totalPollTimeoutMillis' => '3600000',
- ],
- 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL,
- 'headerParams' => [
- [
- 'keyName' => 'parent',
- 'fieldAccessors' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'RestoreTable' => [
- 'longRunning' => [
- 'operationReturnType' => '\Google\Cloud\Bigtable\Admin\V2\Table',
- 'metadataReturnType' => '\Google\Cloud\Bigtable\Admin\V2\RestoreTableMetadata',
- 'initialPollDelayMillis' => '500',
- 'pollDelayMultiplier' => '1.5',
- 'maxPollDelayMillis' => '5000',
- 'totalPollTimeoutMillis' => '600000',
- ],
- 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL,
- 'headerParams' => [
- [
- 'keyName' => 'parent',
- 'fieldAccessors' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'SnapshotTable' => [
- 'longRunning' => [
- 'operationReturnType' => '\Google\Cloud\Bigtable\Admin\V2\Snapshot',
- 'metadataReturnType' => '\Google\Cloud\Bigtable\Admin\V2\SnapshotTableMetadata',
- 'initialPollDelayMillis' => '500',
- 'pollDelayMultiplier' => '1.5',
- 'maxPollDelayMillis' => '5000',
- 'totalPollTimeoutMillis' => '600000',
- ],
- 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL,
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'UndeleteTable' => [
- 'longRunning' => [
- 'operationReturnType' => '\Google\Cloud\Bigtable\Admin\V2\Table',
- 'metadataReturnType' => '\Google\Cloud\Bigtable\Admin\V2\UndeleteTableMetadata',
- 'initialPollDelayMillis' => '500',
- 'pollDelayMultiplier' => '1.5',
- 'maxPollDelayMillis' => '5000',
- 'totalPollTimeoutMillis' => '300000',
- ],
- 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL,
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'UpdateAuthorizedView' => [
- 'longRunning' => [
- 'operationReturnType' => '\Google\Cloud\Bigtable\Admin\V2\AuthorizedView',
- 'metadataReturnType' => '\Google\Cloud\Bigtable\Admin\V2\UpdateAuthorizedViewMetadata',
- 'initialPollDelayMillis' => '500',
- 'pollDelayMultiplier' => '1.5',
- 'maxPollDelayMillis' => '5000',
- 'totalPollTimeoutMillis' => '300000',
- ],
- 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL,
- 'headerParams' => [
- [
- 'keyName' => 'authorized_view.name',
- 'fieldAccessors' => [
- 'getAuthorizedView',
- 'getName',
- ],
- ],
- ],
- ],
- 'UpdateTable' => [
- 'longRunning' => [
- 'operationReturnType' => '\Google\Cloud\Bigtable\Admin\V2\Table',
- 'metadataReturnType' => '\Google\Cloud\Bigtable\Admin\V2\UpdateTableMetadata',
- 'initialPollDelayMillis' => '500',
- 'pollDelayMultiplier' => '1.5',
- 'maxPollDelayMillis' => '5000',
- 'totalPollTimeoutMillis' => '300000',
- ],
- 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL,
- 'headerParams' => [
- [
- 'keyName' => 'table.name',
- 'fieldAccessors' => [
- 'getTable',
- 'getName',
- ],
- ],
- ],
- ],
- 'CheckConsistency' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\CheckConsistencyResponse',
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'CreateTable' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\Table',
- 'headerParams' => [
- [
- 'keyName' => 'parent',
- 'fieldAccessors' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'DeleteAuthorizedView' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Protobuf\GPBEmpty',
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'DeleteBackup' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Protobuf\GPBEmpty',
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'DeleteSnapshot' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Protobuf\GPBEmpty',
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'DeleteTable' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Protobuf\GPBEmpty',
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'DropRowRange' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Protobuf\GPBEmpty',
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'GenerateConsistencyToken' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\GenerateConsistencyTokenResponse',
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'GetAuthorizedView' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\AuthorizedView',
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'GetBackup' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\Backup',
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'GetIamPolicy' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Iam\V1\Policy',
- 'headerParams' => [
- [
- 'keyName' => 'resource',
- 'fieldAccessors' => [
- 'getResource',
- ],
- ],
- ],
- ],
- 'GetSnapshot' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\Snapshot',
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'GetTable' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\Table',
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'ListAuthorizedViews' => [
- 'pageStreaming' => [
- 'requestPageTokenGetMethod' => 'getPageToken',
- 'requestPageTokenSetMethod' => 'setPageToken',
- 'requestPageSizeGetMethod' => 'getPageSize',
- 'requestPageSizeSetMethod' => 'setPageSize',
- 'responsePageTokenGetMethod' => 'getNextPageToken',
- 'resourcesGetMethod' => 'getAuthorizedViews',
- ],
- 'callType' => \Google\ApiCore\Call::PAGINATED_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\ListAuthorizedViewsResponse',
- 'headerParams' => [
- [
- 'keyName' => 'parent',
- 'fieldAccessors' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'ListBackups' => [
- 'pageStreaming' => [
- 'requestPageTokenGetMethod' => 'getPageToken',
- 'requestPageTokenSetMethod' => 'setPageToken',
- 'requestPageSizeGetMethod' => 'getPageSize',
- 'requestPageSizeSetMethod' => 'setPageSize',
- 'responsePageTokenGetMethod' => 'getNextPageToken',
- 'resourcesGetMethod' => 'getBackups',
- ],
- 'callType' => \Google\ApiCore\Call::PAGINATED_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\ListBackupsResponse',
- 'headerParams' => [
- [
- 'keyName' => 'parent',
- 'fieldAccessors' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'ListSnapshots' => [
- 'pageStreaming' => [
- 'requestPageTokenGetMethod' => 'getPageToken',
- 'requestPageTokenSetMethod' => 'setPageToken',
- 'requestPageSizeGetMethod' => 'getPageSize',
- 'requestPageSizeSetMethod' => 'setPageSize',
- 'responsePageTokenGetMethod' => 'getNextPageToken',
- 'resourcesGetMethod' => 'getSnapshots',
- ],
- 'callType' => \Google\ApiCore\Call::PAGINATED_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\ListSnapshotsResponse',
- 'headerParams' => [
- [
- 'keyName' => 'parent',
- 'fieldAccessors' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'ListTables' => [
- 'pageStreaming' => [
- 'requestPageTokenGetMethod' => 'getPageToken',
- 'requestPageTokenSetMethod' => 'setPageToken',
- 'requestPageSizeGetMethod' => 'getPageSize',
- 'requestPageSizeSetMethod' => 'setPageSize',
- 'responsePageTokenGetMethod' => 'getNextPageToken',
- 'resourcesGetMethod' => 'getTables',
- ],
- 'callType' => \Google\ApiCore\Call::PAGINATED_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\ListTablesResponse',
- 'headerParams' => [
- [
- 'keyName' => 'parent',
- 'fieldAccessors' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'ModifyColumnFamilies' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\Table',
- 'headerParams' => [
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'SetIamPolicy' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Iam\V1\Policy',
- 'headerParams' => [
- [
- 'keyName' => 'resource',
- 'fieldAccessors' => [
- 'getResource',
- ],
- ],
- ],
- ],
- 'TestIamPermissions' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Iam\V1\TestIamPermissionsResponse',
- 'headerParams' => [
- [
- 'keyName' => 'resource',
- 'fieldAccessors' => [
- 'getResource',
- ],
- ],
- ],
- ],
- 'UpdateBackup' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Bigtable\Admin\V2\Backup',
- 'headerParams' => [
- [
- 'keyName' => 'backup.name',
- 'fieldAccessors' => [
- 'getBackup',
- 'getName',
- ],
- ],
- ],
- ],
- 'templateMap' => [
- 'authorizedView' => 'projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}',
- 'backup' => 'projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}',
- 'cluster' => 'projects/{project}/instances/{instance}/clusters/{cluster}',
- 'cryptoKeyVersion' => 'projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}',
- 'instance' => 'projects/{project}/instances/{instance}',
- 'snapshot' => 'projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}',
- 'table' => 'projects/{project}/instances/{instance}/tables/{table}',
- ],
- ],
- ],
-];
diff --git a/owl-bot-staging/Bigtable/v2/Admin/src/V2/resources/bigtable_table_admin_rest_client_config.php b/owl-bot-staging/Bigtable/v2/Admin/src/V2/resources/bigtable_table_admin_rest_client_config.php
deleted file mode 100644
index 70910ee9a916..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/src/V2/resources/bigtable_table_admin_rest_client_config.php
+++ /dev/null
@@ -1,459 +0,0 @@
- [
- 'google.bigtable.admin.v2.BigtableTableAdmin' => [
- 'CheckConsistency' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*/tables/*}:checkConsistency',
- 'body' => '*',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'CopyBackup' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{parent=projects/*/instances/*/clusters/*}/backups:copy',
- 'body' => '*',
- 'placeholders' => [
- 'parent' => [
- 'getters' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'CreateAuthorizedView' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{parent=projects/*/instances/*/tables/*}/authorizedViews',
- 'body' => 'authorized_view',
- 'placeholders' => [
- 'parent' => [
- 'getters' => [
- 'getParent',
- ],
- ],
- ],
- 'queryParams' => [
- 'authorized_view_id',
- ],
- ],
- 'CreateBackup' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{parent=projects/*/instances/*/clusters/*}/backups',
- 'body' => 'backup',
- 'placeholders' => [
- 'parent' => [
- 'getters' => [
- 'getParent',
- ],
- ],
- ],
- 'queryParams' => [
- 'backup_id',
- ],
- ],
- 'CreateTable' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{parent=projects/*/instances/*}/tables',
- 'body' => '*',
- 'placeholders' => [
- 'parent' => [
- 'getters' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'CreateTableFromSnapshot' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{parent=projects/*/instances/*}/tables:createFromSnapshot',
- 'body' => '*',
- 'placeholders' => [
- 'parent' => [
- 'getters' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'DeleteAuthorizedView' => [
- 'method' => 'delete',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*/tables/*/authorizedViews/*}',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'DeleteBackup' => [
- 'method' => 'delete',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*/clusters/*/backups/*}',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'DeleteSnapshot' => [
- 'method' => 'delete',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*/clusters/*/snapshots/*}',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'DeleteTable' => [
- 'method' => 'delete',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*/tables/*}',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'DropRowRange' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*/tables/*}:dropRowRange',
- 'body' => '*',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'GenerateConsistencyToken' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*/tables/*}:generateConsistencyToken',
- 'body' => '*',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'GetAuthorizedView' => [
- 'method' => 'get',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*/tables/*/authorizedViews/*}',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'GetBackup' => [
- 'method' => 'get',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*/clusters/*/backups/*}',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'GetIamPolicy' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{resource=projects/*/instances/*/tables/*}:getIamPolicy',
- 'body' => '*',
- 'additionalBindings' => [
- [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:getIamPolicy',
- 'body' => '*',
- ],
- ],
- 'placeholders' => [
- 'resource' => [
- 'getters' => [
- 'getResource',
- ],
- ],
- ],
- ],
- 'GetSnapshot' => [
- 'method' => 'get',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*/clusters/*/snapshots/*}',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'GetTable' => [
- 'method' => 'get',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*/tables/*}',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'ListAuthorizedViews' => [
- 'method' => 'get',
- 'uriTemplate' => '/v2/{parent=projects/*/instances/*/tables/*}/authorizedViews',
- 'placeholders' => [
- 'parent' => [
- 'getters' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'ListBackups' => [
- 'method' => 'get',
- 'uriTemplate' => '/v2/{parent=projects/*/instances/*/clusters/*}/backups',
- 'placeholders' => [
- 'parent' => [
- 'getters' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'ListSnapshots' => [
- 'method' => 'get',
- 'uriTemplate' => '/v2/{parent=projects/*/instances/*/clusters/*}/snapshots',
- 'placeholders' => [
- 'parent' => [
- 'getters' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'ListTables' => [
- 'method' => 'get',
- 'uriTemplate' => '/v2/{parent=projects/*/instances/*}/tables',
- 'placeholders' => [
- 'parent' => [
- 'getters' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'ModifyColumnFamilies' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*/tables/*}:modifyColumnFamilies',
- 'body' => '*',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'RestoreTable' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{parent=projects/*/instances/*}/tables:restore',
- 'body' => '*',
- 'placeholders' => [
- 'parent' => [
- 'getters' => [
- 'getParent',
- ],
- ],
- ],
- ],
- 'SetIamPolicy' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{resource=projects/*/instances/*/tables/*}:setIamPolicy',
- 'body' => '*',
- 'additionalBindings' => [
- [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:setIamPolicy',
- 'body' => '*',
- ],
- ],
- 'placeholders' => [
- 'resource' => [
- 'getters' => [
- 'getResource',
- ],
- ],
- ],
- ],
- 'SnapshotTable' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*/tables/*}:snapshot',
- 'body' => '*',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'TestIamPermissions' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{resource=projects/*/instances/*/tables/*}:testIamPermissions',
- 'body' => '*',
- 'additionalBindings' => [
- [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:testIamPermissions',
- 'body' => '*',
- ],
- ],
- 'placeholders' => [
- 'resource' => [
- 'getters' => [
- 'getResource',
- ],
- ],
- ],
- ],
- 'UndeleteTable' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{name=projects/*/instances/*/tables/*}:undelete',
- 'body' => '*',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'UpdateAuthorizedView' => [
- 'method' => 'patch',
- 'uriTemplate' => '/v2/{authorized_view.name=projects/*/instances/*/tables/*/authorizedViews/*}',
- 'body' => 'authorized_view',
- 'placeholders' => [
- 'authorized_view.name' => [
- 'getters' => [
- 'getAuthorizedView',
- 'getName',
- ],
- ],
- ],
- ],
- 'UpdateBackup' => [
- 'method' => 'patch',
- 'uriTemplate' => '/v2/{backup.name=projects/*/instances/*/clusters/*/backups/*}',
- 'body' => 'backup',
- 'placeholders' => [
- 'backup.name' => [
- 'getters' => [
- 'getBackup',
- 'getName',
- ],
- ],
- ],
- 'queryParams' => [
- 'update_mask',
- ],
- ],
- 'UpdateTable' => [
- 'method' => 'patch',
- 'uriTemplate' => '/v2/{table.name=projects/*/instances/*/tables/*}',
- 'body' => 'table',
- 'placeholders' => [
- 'table.name' => [
- 'getters' => [
- 'getTable',
- 'getName',
- ],
- ],
- ],
- 'queryParams' => [
- 'update_mask',
- ],
- ],
- ],
- 'google.longrunning.Operations' => [
- 'CancelOperation' => [
- 'method' => 'post',
- 'uriTemplate' => '/v2/{name=operations/**}:cancel',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'DeleteOperation' => [
- 'method' => 'delete',
- 'uriTemplate' => '/v2/{name=operations/**}',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'GetOperation' => [
- 'method' => 'get',
- 'uriTemplate' => '/v2/{name=operations/**}',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'ListOperations' => [
- 'method' => 'get',
- 'uriTemplate' => '/v2/{name=operations/projects/**}/operations',
- 'placeholders' => [
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- ],
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/Bigtable/v2/Admin/tests/Unit/V2/Client/BigtableInstanceAdminClientTest.php b/owl-bot-staging/Bigtable/v2/Admin/tests/Unit/V2/Client/BigtableInstanceAdminClientTest.php
deleted file mode 100644
index 7b5c8c4fb05f..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/tests/Unit/V2/Client/BigtableInstanceAdminClientTest.php
+++ /dev/null
@@ -1,2070 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return BigtableInstanceAdminClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new BigtableInstanceAdminClient($options);
- }
-
- /** @test */
- public function createAppProfileTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $name = 'name3373707';
- $etag = 'etag3123477';
- $description = 'description-1724546052';
- $expectedResponse = new AppProfile();
- $expectedResponse->setName($name);
- $expectedResponse->setEtag($etag);
- $expectedResponse->setDescription($description);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedParent = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $appProfileId = 'appProfileId1262094415';
- $appProfile = new AppProfile();
- $request = (new CreateAppProfileRequest())
- ->setParent($formattedParent)
- ->setAppProfileId($appProfileId)
- ->setAppProfile($appProfile);
- $response = $gapicClient->createAppProfile($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateAppProfile', $actualFuncCall);
- $actualValue = $actualRequestObject->getParent();
- $this->assertProtobufEquals($formattedParent, $actualValue);
- $actualValue = $actualRequestObject->getAppProfileId();
- $this->assertProtobufEquals($appProfileId, $actualValue);
- $actualValue = $actualRequestObject->getAppProfile();
- $this->assertProtobufEquals($appProfile, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function createAppProfileExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedParent = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $appProfileId = 'appProfileId1262094415';
- $appProfile = new AppProfile();
- $request = (new CreateAppProfileRequest())
- ->setParent($formattedParent)
- ->setAppProfileId($appProfileId)
- ->setAppProfile($appProfile);
- try {
- $gapicClient->createAppProfile($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function createClusterTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/createClusterTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $name = 'name3373707';
- $location = 'location1901043637';
- $serveNodes = 1288838783;
- $expectedResponse = new Cluster();
- $expectedResponse->setName($name);
- $expectedResponse->setLocation($location);
- $expectedResponse->setServeNodes($serveNodes);
- $anyResponse = new Any();
- $anyResponse->setValue($expectedResponse->serializeToString());
- $completeOperation = new Operation();
- $completeOperation->setName('operations/createClusterTest');
- $completeOperation->setDone(true);
- $completeOperation->setResponse($anyResponse);
- $operationsTransport->addResponse($completeOperation);
- // Mock request
- $formattedParent = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $clusterId = 'clusterId240280960';
- $cluster = new Cluster();
- $clusterName = 'clusterName-1141738587';
- $cluster->setName($clusterName);
- $clusterServeNodes = 1434304124;
- $cluster->setServeNodes($clusterServeNodes);
- $request = (new CreateClusterRequest())
- ->setParent($formattedParent)
- ->setClusterId($clusterId)
- ->setCluster($cluster);
- $response = $gapicClient->createCluster($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $apiRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($apiRequests));
- $operationsRequestsEmpty = $operationsTransport->popReceivedCalls();
- $this->assertSame(0, count($operationsRequestsEmpty));
- $actualApiFuncCall = $apiRequests[0]->getFuncCall();
- $actualApiRequestObject = $apiRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateCluster', $actualApiFuncCall);
- $actualValue = $actualApiRequestObject->getParent();
- $this->assertProtobufEquals($formattedParent, $actualValue);
- $actualValue = $actualApiRequestObject->getClusterId();
- $this->assertProtobufEquals($clusterId, $actualValue);
- $actualValue = $actualApiRequestObject->getCluster();
- $this->assertProtobufEquals($cluster, $actualValue);
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/createClusterTest');
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- $this->assertTrue($response->isDone());
- $this->assertEquals($expectedResponse, $response->getResult());
- $apiRequestsEmpty = $transport->popReceivedCalls();
- $this->assertSame(0, count($apiRequestsEmpty));
- $operationsRequests = $operationsTransport->popReceivedCalls();
- $this->assertSame(1, count($operationsRequests));
- $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall();
- $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject();
- $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall);
- $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function createClusterExceptionTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/createClusterTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $operationsTransport->addResponse(null, $status);
- // Mock request
- $formattedParent = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $clusterId = 'clusterId240280960';
- $cluster = new Cluster();
- $clusterName = 'clusterName-1141738587';
- $cluster->setName($clusterName);
- $clusterServeNodes = 1434304124;
- $cluster->setServeNodes($clusterServeNodes);
- $request = (new CreateClusterRequest())
- ->setParent($formattedParent)
- ->setClusterId($clusterId)
- ->setCluster($cluster);
- $response = $gapicClient->createCluster($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/createClusterTest');
- try {
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- // If the pollUntilComplete() method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stubs are exhausted
- $transport->popReceivedCalls();
- $operationsTransport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function createInstanceTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/createInstanceTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $name = 'name3373707';
- $displayName = 'displayName1615086568';
- $satisfiesPzs = false;
- $expectedResponse = new Instance();
- $expectedResponse->setName($name);
- $expectedResponse->setDisplayName($displayName);
- $expectedResponse->setSatisfiesPzs($satisfiesPzs);
- $anyResponse = new Any();
- $anyResponse->setValue($expectedResponse->serializeToString());
- $completeOperation = new Operation();
- $completeOperation->setName('operations/createInstanceTest');
- $completeOperation->setDone(true);
- $completeOperation->setResponse($anyResponse);
- $operationsTransport->addResponse($completeOperation);
- // Mock request
- $formattedParent = $gapicClient->projectName('[PROJECT]');
- $instanceId = 'instanceId-2101995259';
- $instance = new Instance();
- $instanceName = 'instanceName-737857344';
- $instance->setName($instanceName);
- $instanceDisplayName = 'instanceDisplayName1824500376';
- $instance->setDisplayName($instanceDisplayName);
- $instanceType = Type::TYPE_UNSPECIFIED;
- $instance->setType($instanceType);
- $labelsValue = 'labelsValue950036658';
- $instanceLabels = [
- 'labelsKey' => $labelsValue,
- ];
- $instance->setLabels($instanceLabels);
- $clustersValue = new Cluster();
- $valueName = 'valueName-765894756';
- $clustersValue->setName($valueName);
- $valueServeNodes = 370436813;
- $clustersValue->setServeNodes($valueServeNodes);
- $clusters = [
- 'clustersKey' => $clustersValue,
- ];
- $request = (new CreateInstanceRequest())
- ->setParent($formattedParent)
- ->setInstanceId($instanceId)
- ->setInstance($instance)
- ->setClusters($clusters);
- $response = $gapicClient->createInstance($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $apiRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($apiRequests));
- $operationsRequestsEmpty = $operationsTransport->popReceivedCalls();
- $this->assertSame(0, count($operationsRequestsEmpty));
- $actualApiFuncCall = $apiRequests[0]->getFuncCall();
- $actualApiRequestObject = $apiRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateInstance', $actualApiFuncCall);
- $actualValue = $actualApiRequestObject->getParent();
- $this->assertProtobufEquals($formattedParent, $actualValue);
- $actualValue = $actualApiRequestObject->getInstanceId();
- $this->assertProtobufEquals($instanceId, $actualValue);
- $actualValue = $actualApiRequestObject->getInstance();
- $this->assertProtobufEquals($instance, $actualValue);
- $actualValue = $actualApiRequestObject->getClusters();
- $this->assertProtobufEquals($clusters, $actualValue);
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/createInstanceTest');
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- $this->assertTrue($response->isDone());
- $this->assertEquals($expectedResponse, $response->getResult());
- $apiRequestsEmpty = $transport->popReceivedCalls();
- $this->assertSame(0, count($apiRequestsEmpty));
- $operationsRequests = $operationsTransport->popReceivedCalls();
- $this->assertSame(1, count($operationsRequests));
- $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall();
- $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject();
- $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall);
- $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function createInstanceExceptionTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/createInstanceTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $operationsTransport->addResponse(null, $status);
- // Mock request
- $formattedParent = $gapicClient->projectName('[PROJECT]');
- $instanceId = 'instanceId-2101995259';
- $instance = new Instance();
- $instanceName = 'instanceName-737857344';
- $instance->setName($instanceName);
- $instanceDisplayName = 'instanceDisplayName1824500376';
- $instance->setDisplayName($instanceDisplayName);
- $instanceType = Type::TYPE_UNSPECIFIED;
- $instance->setType($instanceType);
- $labelsValue = 'labelsValue950036658';
- $instanceLabels = [
- 'labelsKey' => $labelsValue,
- ];
- $instance->setLabels($instanceLabels);
- $clustersValue = new Cluster();
- $valueName = 'valueName-765894756';
- $clustersValue->setName($valueName);
- $valueServeNodes = 370436813;
- $clustersValue->setServeNodes($valueServeNodes);
- $clusters = [
- 'clustersKey' => $clustersValue,
- ];
- $request = (new CreateInstanceRequest())
- ->setParent($formattedParent)
- ->setInstanceId($instanceId)
- ->setInstance($instance)
- ->setClusters($clusters);
- $response = $gapicClient->createInstance($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/createInstanceTest');
- try {
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- // If the pollUntilComplete() method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stubs are exhausted
- $transport->popReceivedCalls();
- $operationsTransport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function deleteAppProfileTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $expectedResponse = new GPBEmpty();
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedName = $gapicClient->appProfileName('[PROJECT]', '[INSTANCE]', '[APP_PROFILE]');
- $ignoreWarnings = true;
- $request = (new DeleteAppProfileRequest())
- ->setName($formattedName)
- ->setIgnoreWarnings($ignoreWarnings);
- $gapicClient->deleteAppProfile($request);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteAppProfile', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $actualValue = $actualRequestObject->getIgnoreWarnings();
- $this->assertProtobufEquals($ignoreWarnings, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteAppProfileExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->appProfileName('[PROJECT]', '[INSTANCE]', '[APP_PROFILE]');
- $ignoreWarnings = true;
- $request = (new DeleteAppProfileRequest())
- ->setName($formattedName)
- ->setIgnoreWarnings($ignoreWarnings);
- try {
- $gapicClient->deleteAppProfile($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteClusterTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $expectedResponse = new GPBEmpty();
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedName = $gapicClient->clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
- $request = (new DeleteClusterRequest())
- ->setName($formattedName);
- $gapicClient->deleteCluster($request);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteCluster', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteClusterExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
- $request = (new DeleteClusterRequest())
- ->setName($formattedName);
- try {
- $gapicClient->deleteCluster($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteInstanceTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $expectedResponse = new GPBEmpty();
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedName = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $request = (new DeleteInstanceRequest())
- ->setName($formattedName);
- $gapicClient->deleteInstance($request);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteInstance', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteInstanceExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $request = (new DeleteInstanceRequest())
- ->setName($formattedName);
- try {
- $gapicClient->deleteInstance($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getAppProfileTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $name2 = 'name2-1052831874';
- $etag = 'etag3123477';
- $description = 'description-1724546052';
- $expectedResponse = new AppProfile();
- $expectedResponse->setName($name2);
- $expectedResponse->setEtag($etag);
- $expectedResponse->setDescription($description);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedName = $gapicClient->appProfileName('[PROJECT]', '[INSTANCE]', '[APP_PROFILE]');
- $request = (new GetAppProfileRequest())
- ->setName($formattedName);
- $response = $gapicClient->getAppProfile($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/GetAppProfile', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getAppProfileExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->appProfileName('[PROJECT]', '[INSTANCE]', '[APP_PROFILE]');
- $request = (new GetAppProfileRequest())
- ->setName($formattedName);
- try {
- $gapicClient->getAppProfile($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getClusterTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $name2 = 'name2-1052831874';
- $location = 'location1901043637';
- $serveNodes = 1288838783;
- $expectedResponse = new Cluster();
- $expectedResponse->setName($name2);
- $expectedResponse->setLocation($location);
- $expectedResponse->setServeNodes($serveNodes);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedName = $gapicClient->clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
- $request = (new GetClusterRequest())
- ->setName($formattedName);
- $response = $gapicClient->getCluster($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/GetCluster', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getClusterExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
- $request = (new GetClusterRequest())
- ->setName($formattedName);
- try {
- $gapicClient->getCluster($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getIamPolicyTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $version = 351608024;
- $etag = '21';
- $expectedResponse = new Policy();
- $expectedResponse->setVersion($version);
- $expectedResponse->setEtag($etag);
- $transport->addResponse($expectedResponse);
- // Mock request
- $resource = 'resource-341064690';
- $request = (new GetIamPolicyRequest())
- ->setResource($resource);
- $response = $gapicClient->getIamPolicy($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/GetIamPolicy', $actualFuncCall);
- $actualValue = $actualRequestObject->getResource();
- $this->assertProtobufEquals($resource, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getIamPolicyExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $resource = 'resource-341064690';
- $request = (new GetIamPolicyRequest())
- ->setResource($resource);
- try {
- $gapicClient->getIamPolicy($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getInstanceTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $name2 = 'name2-1052831874';
- $displayName = 'displayName1615086568';
- $satisfiesPzs = false;
- $expectedResponse = new Instance();
- $expectedResponse->setName($name2);
- $expectedResponse->setDisplayName($displayName);
- $expectedResponse->setSatisfiesPzs($satisfiesPzs);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedName = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $request = (new GetInstanceRequest())
- ->setName($formattedName);
- $response = $gapicClient->getInstance($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/GetInstance', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getInstanceExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $request = (new GetInstanceRequest())
- ->setName($formattedName);
- try {
- $gapicClient->getInstance($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listAppProfilesTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $nextPageToken = '';
- $appProfilesElement = new AppProfile();
- $appProfiles = [
- $appProfilesElement,
- ];
- $expectedResponse = new ListAppProfilesResponse();
- $expectedResponse->setNextPageToken($nextPageToken);
- $expectedResponse->setAppProfiles($appProfiles);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedParent = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $request = (new ListAppProfilesRequest())
- ->setParent($formattedParent);
- $response = $gapicClient->listAppProfiles($request);
- $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject());
- $resources = iterator_to_array($response->iterateAllElements());
- $this->assertSame(1, count($resources));
- $this->assertEquals($expectedResponse->getAppProfiles()[0], $resources[0]);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/ListAppProfiles', $actualFuncCall);
- $actualValue = $actualRequestObject->getParent();
- $this->assertProtobufEquals($formattedParent, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listAppProfilesExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedParent = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $request = (new ListAppProfilesRequest())
- ->setParent($formattedParent);
- try {
- $gapicClient->listAppProfiles($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listClustersTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $nextPageToken = 'nextPageToken-1530815211';
- $expectedResponse = new ListClustersResponse();
- $expectedResponse->setNextPageToken($nextPageToken);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedParent = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $request = (new ListClustersRequest())
- ->setParent($formattedParent);
- $response = $gapicClient->listClusters($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/ListClusters', $actualFuncCall);
- $actualValue = $actualRequestObject->getParent();
- $this->assertProtobufEquals($formattedParent, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listClustersExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedParent = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $request = (new ListClustersRequest())
- ->setParent($formattedParent);
- try {
- $gapicClient->listClusters($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listHotTabletsTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $nextPageToken = '';
- $hotTabletsElement = new HotTablet();
- $hotTablets = [
- $hotTabletsElement,
- ];
- $expectedResponse = new ListHotTabletsResponse();
- $expectedResponse->setNextPageToken($nextPageToken);
- $expectedResponse->setHotTablets($hotTablets);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedParent = $gapicClient->clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
- $request = (new ListHotTabletsRequest())
- ->setParent($formattedParent);
- $response = $gapicClient->listHotTablets($request);
- $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject());
- $resources = iterator_to_array($response->iterateAllElements());
- $this->assertSame(1, count($resources));
- $this->assertEquals($expectedResponse->getHotTablets()[0], $resources[0]);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/ListHotTablets', $actualFuncCall);
- $actualValue = $actualRequestObject->getParent();
- $this->assertProtobufEquals($formattedParent, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listHotTabletsExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedParent = $gapicClient->clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
- $request = (new ListHotTabletsRequest())
- ->setParent($formattedParent);
- try {
- $gapicClient->listHotTablets($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listInstancesTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $nextPageToken = 'nextPageToken-1530815211';
- $expectedResponse = new ListInstancesResponse();
- $expectedResponse->setNextPageToken($nextPageToken);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedParent = $gapicClient->projectName('[PROJECT]');
- $request = (new ListInstancesRequest())
- ->setParent($formattedParent);
- $response = $gapicClient->listInstances($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/ListInstances', $actualFuncCall);
- $actualValue = $actualRequestObject->getParent();
- $this->assertProtobufEquals($formattedParent, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listInstancesExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedParent = $gapicClient->projectName('[PROJECT]');
- $request = (new ListInstancesRequest())
- ->setParent($formattedParent);
- try {
- $gapicClient->listInstances($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function partialUpdateClusterTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/partialUpdateClusterTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $name = 'name3373707';
- $location = 'location1901043637';
- $serveNodes = 1288838783;
- $expectedResponse = new Cluster();
- $expectedResponse->setName($name);
- $expectedResponse->setLocation($location);
- $expectedResponse->setServeNodes($serveNodes);
- $anyResponse = new Any();
- $anyResponse->setValue($expectedResponse->serializeToString());
- $completeOperation = new Operation();
- $completeOperation->setName('operations/partialUpdateClusterTest');
- $completeOperation->setDone(true);
- $completeOperation->setResponse($anyResponse);
- $operationsTransport->addResponse($completeOperation);
- // Mock request
- $cluster = new Cluster();
- $clusterName = 'clusterName-1141738587';
- $cluster->setName($clusterName);
- $clusterServeNodes = 1434304124;
- $cluster->setServeNodes($clusterServeNodes);
- $updateMask = new FieldMask();
- $request = (new PartialUpdateClusterRequest())
- ->setCluster($cluster)
- ->setUpdateMask($updateMask);
- $response = $gapicClient->partialUpdateCluster($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $apiRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($apiRequests));
- $operationsRequestsEmpty = $operationsTransport->popReceivedCalls();
- $this->assertSame(0, count($operationsRequestsEmpty));
- $actualApiFuncCall = $apiRequests[0]->getFuncCall();
- $actualApiRequestObject = $apiRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/PartialUpdateCluster', $actualApiFuncCall);
- $actualValue = $actualApiRequestObject->getCluster();
- $this->assertProtobufEquals($cluster, $actualValue);
- $actualValue = $actualApiRequestObject->getUpdateMask();
- $this->assertProtobufEquals($updateMask, $actualValue);
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/partialUpdateClusterTest');
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- $this->assertTrue($response->isDone());
- $this->assertEquals($expectedResponse, $response->getResult());
- $apiRequestsEmpty = $transport->popReceivedCalls();
- $this->assertSame(0, count($apiRequestsEmpty));
- $operationsRequests = $operationsTransport->popReceivedCalls();
- $this->assertSame(1, count($operationsRequests));
- $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall();
- $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject();
- $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall);
- $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function partialUpdateClusterExceptionTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/partialUpdateClusterTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $operationsTransport->addResponse(null, $status);
- // Mock request
- $cluster = new Cluster();
- $clusterName = 'clusterName-1141738587';
- $cluster->setName($clusterName);
- $clusterServeNodes = 1434304124;
- $cluster->setServeNodes($clusterServeNodes);
- $updateMask = new FieldMask();
- $request = (new PartialUpdateClusterRequest())
- ->setCluster($cluster)
- ->setUpdateMask($updateMask);
- $response = $gapicClient->partialUpdateCluster($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/partialUpdateClusterTest');
- try {
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- // If the pollUntilComplete() method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stubs are exhausted
- $transport->popReceivedCalls();
- $operationsTransport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function partialUpdateInstanceTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/partialUpdateInstanceTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $name = 'name3373707';
- $displayName = 'displayName1615086568';
- $satisfiesPzs = false;
- $expectedResponse = new Instance();
- $expectedResponse->setName($name);
- $expectedResponse->setDisplayName($displayName);
- $expectedResponse->setSatisfiesPzs($satisfiesPzs);
- $anyResponse = new Any();
- $anyResponse->setValue($expectedResponse->serializeToString());
- $completeOperation = new Operation();
- $completeOperation->setName('operations/partialUpdateInstanceTest');
- $completeOperation->setDone(true);
- $completeOperation->setResponse($anyResponse);
- $operationsTransport->addResponse($completeOperation);
- // Mock request
- $instance = new Instance();
- $instanceName = 'instanceName-737857344';
- $instance->setName($instanceName);
- $instanceDisplayName = 'instanceDisplayName1824500376';
- $instance->setDisplayName($instanceDisplayName);
- $instanceType = Type::TYPE_UNSPECIFIED;
- $instance->setType($instanceType);
- $labelsValue = 'labelsValue950036658';
- $instanceLabels = [
- 'labelsKey' => $labelsValue,
- ];
- $instance->setLabels($instanceLabels);
- $updateMask = new FieldMask();
- $request = (new PartialUpdateInstanceRequest())
- ->setInstance($instance)
- ->setUpdateMask($updateMask);
- $response = $gapicClient->partialUpdateInstance($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $apiRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($apiRequests));
- $operationsRequestsEmpty = $operationsTransport->popReceivedCalls();
- $this->assertSame(0, count($operationsRequestsEmpty));
- $actualApiFuncCall = $apiRequests[0]->getFuncCall();
- $actualApiRequestObject = $apiRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/PartialUpdateInstance', $actualApiFuncCall);
- $actualValue = $actualApiRequestObject->getInstance();
- $this->assertProtobufEquals($instance, $actualValue);
- $actualValue = $actualApiRequestObject->getUpdateMask();
- $this->assertProtobufEquals($updateMask, $actualValue);
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/partialUpdateInstanceTest');
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- $this->assertTrue($response->isDone());
- $this->assertEquals($expectedResponse, $response->getResult());
- $apiRequestsEmpty = $transport->popReceivedCalls();
- $this->assertSame(0, count($apiRequestsEmpty));
- $operationsRequests = $operationsTransport->popReceivedCalls();
- $this->assertSame(1, count($operationsRequests));
- $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall();
- $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject();
- $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall);
- $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function partialUpdateInstanceExceptionTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/partialUpdateInstanceTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $operationsTransport->addResponse(null, $status);
- // Mock request
- $instance = new Instance();
- $instanceName = 'instanceName-737857344';
- $instance->setName($instanceName);
- $instanceDisplayName = 'instanceDisplayName1824500376';
- $instance->setDisplayName($instanceDisplayName);
- $instanceType = Type::TYPE_UNSPECIFIED;
- $instance->setType($instanceType);
- $labelsValue = 'labelsValue950036658';
- $instanceLabels = [
- 'labelsKey' => $labelsValue,
- ];
- $instance->setLabels($instanceLabels);
- $updateMask = new FieldMask();
- $request = (new PartialUpdateInstanceRequest())
- ->setInstance($instance)
- ->setUpdateMask($updateMask);
- $response = $gapicClient->partialUpdateInstance($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/partialUpdateInstanceTest');
- try {
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- // If the pollUntilComplete() method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stubs are exhausted
- $transport->popReceivedCalls();
- $operationsTransport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function setIamPolicyTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $version = 351608024;
- $etag = '21';
- $expectedResponse = new Policy();
- $expectedResponse->setVersion($version);
- $expectedResponse->setEtag($etag);
- $transport->addResponse($expectedResponse);
- // Mock request
- $resource = 'resource-341064690';
- $policy = new Policy();
- $request = (new SetIamPolicyRequest())
- ->setResource($resource)
- ->setPolicy($policy);
- $response = $gapicClient->setIamPolicy($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/SetIamPolicy', $actualFuncCall);
- $actualValue = $actualRequestObject->getResource();
- $this->assertProtobufEquals($resource, $actualValue);
- $actualValue = $actualRequestObject->getPolicy();
- $this->assertProtobufEquals($policy, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function setIamPolicyExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $resource = 'resource-341064690';
- $policy = new Policy();
- $request = (new SetIamPolicyRequest())
- ->setResource($resource)
- ->setPolicy($policy);
- try {
- $gapicClient->setIamPolicy($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function testIamPermissionsTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $expectedResponse = new TestIamPermissionsResponse();
- $transport->addResponse($expectedResponse);
- // Mock request
- $resource = 'resource-341064690';
- $permissions = [];
- $request = (new TestIamPermissionsRequest())
- ->setResource($resource)
- ->setPermissions($permissions);
- $response = $gapicClient->testIamPermissions($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/TestIamPermissions', $actualFuncCall);
- $actualValue = $actualRequestObject->getResource();
- $this->assertProtobufEquals($resource, $actualValue);
- $actualValue = $actualRequestObject->getPermissions();
- $this->assertProtobufEquals($permissions, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function testIamPermissionsExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $resource = 'resource-341064690';
- $permissions = [];
- $request = (new TestIamPermissionsRequest())
- ->setResource($resource)
- ->setPermissions($permissions);
- try {
- $gapicClient->testIamPermissions($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function updateAppProfileTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/updateAppProfileTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $name = 'name3373707';
- $etag = 'etag3123477';
- $description = 'description-1724546052';
- $expectedResponse = new AppProfile();
- $expectedResponse->setName($name);
- $expectedResponse->setEtag($etag);
- $expectedResponse->setDescription($description);
- $anyResponse = new Any();
- $anyResponse->setValue($expectedResponse->serializeToString());
- $completeOperation = new Operation();
- $completeOperation->setName('operations/updateAppProfileTest');
- $completeOperation->setDone(true);
- $completeOperation->setResponse($anyResponse);
- $operationsTransport->addResponse($completeOperation);
- // Mock request
- $appProfile = new AppProfile();
- $updateMask = new FieldMask();
- $request = (new UpdateAppProfileRequest())
- ->setAppProfile($appProfile)
- ->setUpdateMask($updateMask);
- $response = $gapicClient->updateAppProfile($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $apiRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($apiRequests));
- $operationsRequestsEmpty = $operationsTransport->popReceivedCalls();
- $this->assertSame(0, count($operationsRequestsEmpty));
- $actualApiFuncCall = $apiRequests[0]->getFuncCall();
- $actualApiRequestObject = $apiRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateAppProfile', $actualApiFuncCall);
- $actualValue = $actualApiRequestObject->getAppProfile();
- $this->assertProtobufEquals($appProfile, $actualValue);
- $actualValue = $actualApiRequestObject->getUpdateMask();
- $this->assertProtobufEquals($updateMask, $actualValue);
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/updateAppProfileTest');
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- $this->assertTrue($response->isDone());
- $this->assertEquals($expectedResponse, $response->getResult());
- $apiRequestsEmpty = $transport->popReceivedCalls();
- $this->assertSame(0, count($apiRequestsEmpty));
- $operationsRequests = $operationsTransport->popReceivedCalls();
- $this->assertSame(1, count($operationsRequests));
- $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall();
- $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject();
- $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall);
- $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function updateAppProfileExceptionTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/updateAppProfileTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $operationsTransport->addResponse(null, $status);
- // Mock request
- $appProfile = new AppProfile();
- $updateMask = new FieldMask();
- $request = (new UpdateAppProfileRequest())
- ->setAppProfile($appProfile)
- ->setUpdateMask($updateMask);
- $response = $gapicClient->updateAppProfile($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/updateAppProfileTest');
- try {
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- // If the pollUntilComplete() method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stubs are exhausted
- $transport->popReceivedCalls();
- $operationsTransport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function updateClusterTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/updateClusterTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $name2 = 'name2-1052831874';
- $location2 = 'location21541837352';
- $serveNodes2 = 1623486220;
- $expectedResponse = new Cluster();
- $expectedResponse->setName($name2);
- $expectedResponse->setLocation($location2);
- $expectedResponse->setServeNodes($serveNodes2);
- $anyResponse = new Any();
- $anyResponse->setValue($expectedResponse->serializeToString());
- $completeOperation = new Operation();
- $completeOperation->setName('operations/updateClusterTest');
- $completeOperation->setDone(true);
- $completeOperation->setResponse($anyResponse);
- $operationsTransport->addResponse($completeOperation);
- // Mock request
- $name = 'name3373707';
- $serveNodes = 1288838783;
- $request = (new Cluster())
- ->setName($name)
- ->setServeNodes($serveNodes);
- $response = $gapicClient->updateCluster($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $apiRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($apiRequests));
- $operationsRequestsEmpty = $operationsTransport->popReceivedCalls();
- $this->assertSame(0, count($operationsRequestsEmpty));
- $actualApiFuncCall = $apiRequests[0]->getFuncCall();
- $actualApiRequestObject = $apiRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateCluster', $actualApiFuncCall);
- $actualValue = $actualApiRequestObject->getName();
- $this->assertProtobufEquals($name, $actualValue);
- $actualValue = $actualApiRequestObject->getServeNodes();
- $this->assertProtobufEquals($serveNodes, $actualValue);
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/updateClusterTest');
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- $this->assertTrue($response->isDone());
- $this->assertEquals($expectedResponse, $response->getResult());
- $apiRequestsEmpty = $transport->popReceivedCalls();
- $this->assertSame(0, count($apiRequestsEmpty));
- $operationsRequests = $operationsTransport->popReceivedCalls();
- $this->assertSame(1, count($operationsRequests));
- $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall();
- $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject();
- $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall);
- $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function updateClusterExceptionTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/updateClusterTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $operationsTransport->addResponse(null, $status);
- // Mock request
- $name = 'name3373707';
- $serveNodes = 1288838783;
- $request = (new Cluster())
- ->setName($name)
- ->setServeNodes($serveNodes);
- $response = $gapicClient->updateCluster($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/updateClusterTest');
- try {
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- // If the pollUntilComplete() method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stubs are exhausted
- $transport->popReceivedCalls();
- $operationsTransport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function updateInstanceTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $name2 = 'name2-1052831874';
- $displayName2 = 'displayName21615000987';
- $satisfiesPzs2 = true;
- $expectedResponse = new Instance();
- $expectedResponse->setName($name2);
- $expectedResponse->setDisplayName($displayName2);
- $expectedResponse->setSatisfiesPzs($satisfiesPzs2);
- $transport->addResponse($expectedResponse);
- // Mock request
- $name = 'name3373707';
- $displayName = 'displayName1615086568';
- $type = Type::TYPE_UNSPECIFIED;
- $labelsValue = 'labelsValue950036658';
- $labels = [
- 'labelsKey' => $labelsValue,
- ];
- $request = (new Instance())
- ->setName($name)
- ->setDisplayName($displayName)
- ->setType($type)
- ->setLabels($labels);
- $response = $gapicClient->updateInstance($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateInstance', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($name, $actualValue);
- $actualValue = $actualRequestObject->getDisplayName();
- $this->assertProtobufEquals($displayName, $actualValue);
- $actualValue = $actualRequestObject->getType();
- $this->assertProtobufEquals($type, $actualValue);
- $actualValue = $actualRequestObject->getLabels();
- $this->assertProtobufEquals($labels, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function updateInstanceExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $name = 'name3373707';
- $displayName = 'displayName1615086568';
- $type = Type::TYPE_UNSPECIFIED;
- $labelsValue = 'labelsValue950036658';
- $labels = [
- 'labelsKey' => $labelsValue,
- ];
- $request = (new Instance())
- ->setName($name)
- ->setDisplayName($displayName)
- ->setType($type)
- ->setLabels($labels);
- try {
- $gapicClient->updateInstance($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function createAppProfileAsyncTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $name = 'name3373707';
- $etag = 'etag3123477';
- $description = 'description-1724546052';
- $expectedResponse = new AppProfile();
- $expectedResponse->setName($name);
- $expectedResponse->setEtag($etag);
- $expectedResponse->setDescription($description);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedParent = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $appProfileId = 'appProfileId1262094415';
- $appProfile = new AppProfile();
- $request = (new CreateAppProfileRequest())
- ->setParent($formattedParent)
- ->setAppProfileId($appProfileId)
- ->setAppProfile($appProfile);
- $response = $gapicClient->createAppProfileAsync($request)->wait();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateAppProfile', $actualFuncCall);
- $actualValue = $actualRequestObject->getParent();
- $this->assertProtobufEquals($formattedParent, $actualValue);
- $actualValue = $actualRequestObject->getAppProfileId();
- $this->assertProtobufEquals($appProfileId, $actualValue);
- $actualValue = $actualRequestObject->getAppProfile();
- $this->assertProtobufEquals($appProfile, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-}
diff --git a/owl-bot-staging/Bigtable/v2/Admin/tests/Unit/V2/Client/BigtableTableAdminClientTest.php b/owl-bot-staging/Bigtable/v2/Admin/tests/Unit/V2/Client/BigtableTableAdminClientTest.php
deleted file mode 100644
index f2439bbf284a..000000000000
--- a/owl-bot-staging/Bigtable/v2/Admin/tests/Unit/V2/Client/BigtableTableAdminClientTest.php
+++ /dev/null
@@ -1,2806 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return BigtableTableAdminClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new BigtableTableAdminClient($options);
- }
-
- /** @test */
- public function checkConsistencyTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $consistent = true;
- $expectedResponse = new CheckConsistencyResponse();
- $expectedResponse->setConsistent($consistent);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedName = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $consistencyToken = 'consistencyToken-1090516718';
- $request = (new CheckConsistencyRequest())
- ->setName($formattedName)
- ->setConsistencyToken($consistencyToken);
- $response = $gapicClient->checkConsistency($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/CheckConsistency', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $actualValue = $actualRequestObject->getConsistencyToken();
- $this->assertProtobufEquals($consistencyToken, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function checkConsistencyExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $consistencyToken = 'consistencyToken-1090516718';
- $request = (new CheckConsistencyRequest())
- ->setName($formattedName)
- ->setConsistencyToken($consistencyToken);
- try {
- $gapicClient->checkConsistency($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function copyBackupTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/copyBackupTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $name = 'name3373707';
- $sourceTable = 'sourceTable1670858410';
- $sourceBackup2 = 'sourceBackup2889376921';
- $sizeBytes = 1796325715;
- $expectedResponse = new Backup();
- $expectedResponse->setName($name);
- $expectedResponse->setSourceTable($sourceTable);
- $expectedResponse->setSourceBackup($sourceBackup2);
- $expectedResponse->setSizeBytes($sizeBytes);
- $anyResponse = new Any();
- $anyResponse->setValue($expectedResponse->serializeToString());
- $completeOperation = new Operation();
- $completeOperation->setName('operations/copyBackupTest');
- $completeOperation->setDone(true);
- $completeOperation->setResponse($anyResponse);
- $operationsTransport->addResponse($completeOperation);
- // Mock request
- $formattedParent = $gapicClient->clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
- $backupId = 'backupId1355353272';
- $formattedSourceBackup = $gapicClient->backupName('[PROJECT]', '[INSTANCE]', '[CLUSTER]', '[BACKUP]');
- $expireTime = new Timestamp();
- $request = (new CopyBackupRequest())
- ->setParent($formattedParent)
- ->setBackupId($backupId)
- ->setSourceBackup($formattedSourceBackup)
- ->setExpireTime($expireTime);
- $response = $gapicClient->copyBackup($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $apiRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($apiRequests));
- $operationsRequestsEmpty = $operationsTransport->popReceivedCalls();
- $this->assertSame(0, count($operationsRequestsEmpty));
- $actualApiFuncCall = $apiRequests[0]->getFuncCall();
- $actualApiRequestObject = $apiRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/CopyBackup', $actualApiFuncCall);
- $actualValue = $actualApiRequestObject->getParent();
- $this->assertProtobufEquals($formattedParent, $actualValue);
- $actualValue = $actualApiRequestObject->getBackupId();
- $this->assertProtobufEquals($backupId, $actualValue);
- $actualValue = $actualApiRequestObject->getSourceBackup();
- $this->assertProtobufEquals($formattedSourceBackup, $actualValue);
- $actualValue = $actualApiRequestObject->getExpireTime();
- $this->assertProtobufEquals($expireTime, $actualValue);
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/copyBackupTest');
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- $this->assertTrue($response->isDone());
- $this->assertEquals($expectedResponse, $response->getResult());
- $apiRequestsEmpty = $transport->popReceivedCalls();
- $this->assertSame(0, count($apiRequestsEmpty));
- $operationsRequests = $operationsTransport->popReceivedCalls();
- $this->assertSame(1, count($operationsRequests));
- $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall();
- $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject();
- $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall);
- $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function copyBackupExceptionTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/copyBackupTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $operationsTransport->addResponse(null, $status);
- // Mock request
- $formattedParent = $gapicClient->clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
- $backupId = 'backupId1355353272';
- $formattedSourceBackup = $gapicClient->backupName('[PROJECT]', '[INSTANCE]', '[CLUSTER]', '[BACKUP]');
- $expireTime = new Timestamp();
- $request = (new CopyBackupRequest())
- ->setParent($formattedParent)
- ->setBackupId($backupId)
- ->setSourceBackup($formattedSourceBackup)
- ->setExpireTime($expireTime);
- $response = $gapicClient->copyBackup($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/copyBackupTest');
- try {
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- // If the pollUntilComplete() method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stubs are exhausted
- $transport->popReceivedCalls();
- $operationsTransport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function createAuthorizedViewTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/createAuthorizedViewTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $name = 'name3373707';
- $etag = 'etag3123477';
- $deletionProtection = true;
- $expectedResponse = new AuthorizedView();
- $expectedResponse->setName($name);
- $expectedResponse->setEtag($etag);
- $expectedResponse->setDeletionProtection($deletionProtection);
- $anyResponse = new Any();
- $anyResponse->setValue($expectedResponse->serializeToString());
- $completeOperation = new Operation();
- $completeOperation->setName('operations/createAuthorizedViewTest');
- $completeOperation->setDone(true);
- $completeOperation->setResponse($anyResponse);
- $operationsTransport->addResponse($completeOperation);
- // Mock request
- $formattedParent = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $authorizedViewId = 'authorizedViewId1171901009';
- $authorizedView = new AuthorizedView();
- $request = (new CreateAuthorizedViewRequest())
- ->setParent($formattedParent)
- ->setAuthorizedViewId($authorizedViewId)
- ->setAuthorizedView($authorizedView);
- $response = $gapicClient->createAuthorizedView($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $apiRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($apiRequests));
- $operationsRequestsEmpty = $operationsTransport->popReceivedCalls();
- $this->assertSame(0, count($operationsRequestsEmpty));
- $actualApiFuncCall = $apiRequests[0]->getFuncCall();
- $actualApiRequestObject = $apiRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/CreateAuthorizedView', $actualApiFuncCall);
- $actualValue = $actualApiRequestObject->getParent();
- $this->assertProtobufEquals($formattedParent, $actualValue);
- $actualValue = $actualApiRequestObject->getAuthorizedViewId();
- $this->assertProtobufEquals($authorizedViewId, $actualValue);
- $actualValue = $actualApiRequestObject->getAuthorizedView();
- $this->assertProtobufEquals($authorizedView, $actualValue);
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/createAuthorizedViewTest');
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- $this->assertTrue($response->isDone());
- $this->assertEquals($expectedResponse, $response->getResult());
- $apiRequestsEmpty = $transport->popReceivedCalls();
- $this->assertSame(0, count($apiRequestsEmpty));
- $operationsRequests = $operationsTransport->popReceivedCalls();
- $this->assertSame(1, count($operationsRequests));
- $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall();
- $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject();
- $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall);
- $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function createAuthorizedViewExceptionTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/createAuthorizedViewTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $operationsTransport->addResponse(null, $status);
- // Mock request
- $formattedParent = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $authorizedViewId = 'authorizedViewId1171901009';
- $authorizedView = new AuthorizedView();
- $request = (new CreateAuthorizedViewRequest())
- ->setParent($formattedParent)
- ->setAuthorizedViewId($authorizedViewId)
- ->setAuthorizedView($authorizedView);
- $response = $gapicClient->createAuthorizedView($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/createAuthorizedViewTest');
- try {
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- // If the pollUntilComplete() method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stubs are exhausted
- $transport->popReceivedCalls();
- $operationsTransport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function createBackupTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/createBackupTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $name = 'name3373707';
- $sourceTable = 'sourceTable1670858410';
- $sourceBackup = 'sourceBackup-258292122';
- $sizeBytes = 1796325715;
- $expectedResponse = new Backup();
- $expectedResponse->setName($name);
- $expectedResponse->setSourceTable($sourceTable);
- $expectedResponse->setSourceBackup($sourceBackup);
- $expectedResponse->setSizeBytes($sizeBytes);
- $anyResponse = new Any();
- $anyResponse->setValue($expectedResponse->serializeToString());
- $completeOperation = new Operation();
- $completeOperation->setName('operations/createBackupTest');
- $completeOperation->setDone(true);
- $completeOperation->setResponse($anyResponse);
- $operationsTransport->addResponse($completeOperation);
- // Mock request
- $formattedParent = $gapicClient->clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
- $backupId = 'backupId1355353272';
- $backup = new Backup();
- $backupSourceTable = 'backupSourceTable1043210577';
- $backup->setSourceTable($backupSourceTable);
- $backupExpireTime = new Timestamp();
- $backup->setExpireTime($backupExpireTime);
- $request = (new CreateBackupRequest())
- ->setParent($formattedParent)
- ->setBackupId($backupId)
- ->setBackup($backup);
- $response = $gapicClient->createBackup($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $apiRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($apiRequests));
- $operationsRequestsEmpty = $operationsTransport->popReceivedCalls();
- $this->assertSame(0, count($operationsRequestsEmpty));
- $actualApiFuncCall = $apiRequests[0]->getFuncCall();
- $actualApiRequestObject = $apiRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/CreateBackup', $actualApiFuncCall);
- $actualValue = $actualApiRequestObject->getParent();
- $this->assertProtobufEquals($formattedParent, $actualValue);
- $actualValue = $actualApiRequestObject->getBackupId();
- $this->assertProtobufEquals($backupId, $actualValue);
- $actualValue = $actualApiRequestObject->getBackup();
- $this->assertProtobufEquals($backup, $actualValue);
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/createBackupTest');
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- $this->assertTrue($response->isDone());
- $this->assertEquals($expectedResponse, $response->getResult());
- $apiRequestsEmpty = $transport->popReceivedCalls();
- $this->assertSame(0, count($apiRequestsEmpty));
- $operationsRequests = $operationsTransport->popReceivedCalls();
- $this->assertSame(1, count($operationsRequests));
- $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall();
- $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject();
- $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall);
- $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function createBackupExceptionTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/createBackupTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $operationsTransport->addResponse(null, $status);
- // Mock request
- $formattedParent = $gapicClient->clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
- $backupId = 'backupId1355353272';
- $backup = new Backup();
- $backupSourceTable = 'backupSourceTable1043210577';
- $backup->setSourceTable($backupSourceTable);
- $backupExpireTime = new Timestamp();
- $backup->setExpireTime($backupExpireTime);
- $request = (new CreateBackupRequest())
- ->setParent($formattedParent)
- ->setBackupId($backupId)
- ->setBackup($backup);
- $response = $gapicClient->createBackup($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/createBackupTest');
- try {
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- // If the pollUntilComplete() method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stubs are exhausted
- $transport->popReceivedCalls();
- $operationsTransport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function createTableTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $name = 'name3373707';
- $deletionProtection = true;
- $expectedResponse = new Table();
- $expectedResponse->setName($name);
- $expectedResponse->setDeletionProtection($deletionProtection);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedParent = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $tableId = 'tableId-895419604';
- $table = new Table();
- $request = (new CreateTableRequest())
- ->setParent($formattedParent)
- ->setTableId($tableId)
- ->setTable($table);
- $response = $gapicClient->createTable($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/CreateTable', $actualFuncCall);
- $actualValue = $actualRequestObject->getParent();
- $this->assertProtobufEquals($formattedParent, $actualValue);
- $actualValue = $actualRequestObject->getTableId();
- $this->assertProtobufEquals($tableId, $actualValue);
- $actualValue = $actualRequestObject->getTable();
- $this->assertProtobufEquals($table, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function createTableExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedParent = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $tableId = 'tableId-895419604';
- $table = new Table();
- $request = (new CreateTableRequest())
- ->setParent($formattedParent)
- ->setTableId($tableId)
- ->setTable($table);
- try {
- $gapicClient->createTable($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function createTableFromSnapshotTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/createTableFromSnapshotTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $name = 'name3373707';
- $deletionProtection = true;
- $expectedResponse = new Table();
- $expectedResponse->setName($name);
- $expectedResponse->setDeletionProtection($deletionProtection);
- $anyResponse = new Any();
- $anyResponse->setValue($expectedResponse->serializeToString());
- $completeOperation = new Operation();
- $completeOperation->setName('operations/createTableFromSnapshotTest');
- $completeOperation->setDone(true);
- $completeOperation->setResponse($anyResponse);
- $operationsTransport->addResponse($completeOperation);
- // Mock request
- $formattedParent = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $tableId = 'tableId-895419604';
- $formattedSourceSnapshot = $gapicClient->snapshotName('[PROJECT]', '[INSTANCE]', '[CLUSTER]', '[SNAPSHOT]');
- $request = (new CreateTableFromSnapshotRequest())
- ->setParent($formattedParent)
- ->setTableId($tableId)
- ->setSourceSnapshot($formattedSourceSnapshot);
- $response = $gapicClient->createTableFromSnapshot($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $apiRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($apiRequests));
- $operationsRequestsEmpty = $operationsTransport->popReceivedCalls();
- $this->assertSame(0, count($operationsRequestsEmpty));
- $actualApiFuncCall = $apiRequests[0]->getFuncCall();
- $actualApiRequestObject = $apiRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/CreateTableFromSnapshot', $actualApiFuncCall);
- $actualValue = $actualApiRequestObject->getParent();
- $this->assertProtobufEquals($formattedParent, $actualValue);
- $actualValue = $actualApiRequestObject->getTableId();
- $this->assertProtobufEquals($tableId, $actualValue);
- $actualValue = $actualApiRequestObject->getSourceSnapshot();
- $this->assertProtobufEquals($formattedSourceSnapshot, $actualValue);
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/createTableFromSnapshotTest');
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- $this->assertTrue($response->isDone());
- $this->assertEquals($expectedResponse, $response->getResult());
- $apiRequestsEmpty = $transport->popReceivedCalls();
- $this->assertSame(0, count($apiRequestsEmpty));
- $operationsRequests = $operationsTransport->popReceivedCalls();
- $this->assertSame(1, count($operationsRequests));
- $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall();
- $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject();
- $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall);
- $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function createTableFromSnapshotExceptionTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/createTableFromSnapshotTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $operationsTransport->addResponse(null, $status);
- // Mock request
- $formattedParent = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $tableId = 'tableId-895419604';
- $formattedSourceSnapshot = $gapicClient->snapshotName('[PROJECT]', '[INSTANCE]', '[CLUSTER]', '[SNAPSHOT]');
- $request = (new CreateTableFromSnapshotRequest())
- ->setParent($formattedParent)
- ->setTableId($tableId)
- ->setSourceSnapshot($formattedSourceSnapshot);
- $response = $gapicClient->createTableFromSnapshot($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/createTableFromSnapshotTest');
- try {
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- // If the pollUntilComplete() method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stubs are exhausted
- $transport->popReceivedCalls();
- $operationsTransport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function deleteAuthorizedViewTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $expectedResponse = new GPBEmpty();
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedName = $gapicClient->authorizedViewName('[PROJECT]', '[INSTANCE]', '[TABLE]', '[AUTHORIZED_VIEW]');
- $request = (new DeleteAuthorizedViewRequest())
- ->setName($formattedName);
- $gapicClient->deleteAuthorizedView($request);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/DeleteAuthorizedView', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteAuthorizedViewExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->authorizedViewName('[PROJECT]', '[INSTANCE]', '[TABLE]', '[AUTHORIZED_VIEW]');
- $request = (new DeleteAuthorizedViewRequest())
- ->setName($formattedName);
- try {
- $gapicClient->deleteAuthorizedView($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteBackupTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $expectedResponse = new GPBEmpty();
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedName = $gapicClient->backupName('[PROJECT]', '[INSTANCE]', '[CLUSTER]', '[BACKUP]');
- $request = (new DeleteBackupRequest())
- ->setName($formattedName);
- $gapicClient->deleteBackup($request);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/DeleteBackup', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteBackupExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->backupName('[PROJECT]', '[INSTANCE]', '[CLUSTER]', '[BACKUP]');
- $request = (new DeleteBackupRequest())
- ->setName($formattedName);
- try {
- $gapicClient->deleteBackup($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteSnapshotTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $expectedResponse = new GPBEmpty();
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedName = $gapicClient->snapshotName('[PROJECT]', '[INSTANCE]', '[CLUSTER]', '[SNAPSHOT]');
- $request = (new DeleteSnapshotRequest())
- ->setName($formattedName);
- $gapicClient->deleteSnapshot($request);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/DeleteSnapshot', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteSnapshotExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->snapshotName('[PROJECT]', '[INSTANCE]', '[CLUSTER]', '[SNAPSHOT]');
- $request = (new DeleteSnapshotRequest())
- ->setName($formattedName);
- try {
- $gapicClient->deleteSnapshot($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteTableTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $expectedResponse = new GPBEmpty();
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedName = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $request = (new DeleteTableRequest())
- ->setName($formattedName);
- $gapicClient->deleteTable($request);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/DeleteTable', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteTableExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $request = (new DeleteTableRequest())
- ->setName($formattedName);
- try {
- $gapicClient->deleteTable($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function dropRowRangeTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $expectedResponse = new GPBEmpty();
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedName = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $request = (new DropRowRangeRequest())
- ->setName($formattedName);
- $gapicClient->dropRowRange($request);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/DropRowRange', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function dropRowRangeExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $request = (new DropRowRangeRequest())
- ->setName($formattedName);
- try {
- $gapicClient->dropRowRange($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function generateConsistencyTokenTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $consistencyToken = 'consistencyToken-1090516718';
- $expectedResponse = new GenerateConsistencyTokenResponse();
- $expectedResponse->setConsistencyToken($consistencyToken);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedName = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $request = (new GenerateConsistencyTokenRequest())
- ->setName($formattedName);
- $response = $gapicClient->generateConsistencyToken($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/GenerateConsistencyToken', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function generateConsistencyTokenExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $request = (new GenerateConsistencyTokenRequest())
- ->setName($formattedName);
- try {
- $gapicClient->generateConsistencyToken($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getAuthorizedViewTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $name2 = 'name2-1052831874';
- $etag = 'etag3123477';
- $deletionProtection = true;
- $expectedResponse = new AuthorizedView();
- $expectedResponse->setName($name2);
- $expectedResponse->setEtag($etag);
- $expectedResponse->setDeletionProtection($deletionProtection);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedName = $gapicClient->authorizedViewName('[PROJECT]', '[INSTANCE]', '[TABLE]', '[AUTHORIZED_VIEW]');
- $request = (new GetAuthorizedViewRequest())
- ->setName($formattedName);
- $response = $gapicClient->getAuthorizedView($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/GetAuthorizedView', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getAuthorizedViewExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->authorizedViewName('[PROJECT]', '[INSTANCE]', '[TABLE]', '[AUTHORIZED_VIEW]');
- $request = (new GetAuthorizedViewRequest())
- ->setName($formattedName);
- try {
- $gapicClient->getAuthorizedView($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getBackupTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $name2 = 'name2-1052831874';
- $sourceTable = 'sourceTable1670858410';
- $sourceBackup = 'sourceBackup-258292122';
- $sizeBytes = 1796325715;
- $expectedResponse = new Backup();
- $expectedResponse->setName($name2);
- $expectedResponse->setSourceTable($sourceTable);
- $expectedResponse->setSourceBackup($sourceBackup);
- $expectedResponse->setSizeBytes($sizeBytes);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedName = $gapicClient->backupName('[PROJECT]', '[INSTANCE]', '[CLUSTER]', '[BACKUP]');
- $request = (new GetBackupRequest())
- ->setName($formattedName);
- $response = $gapicClient->getBackup($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/GetBackup', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getBackupExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->backupName('[PROJECT]', '[INSTANCE]', '[CLUSTER]', '[BACKUP]');
- $request = (new GetBackupRequest())
- ->setName($formattedName);
- try {
- $gapicClient->getBackup($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getIamPolicyTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $version = 351608024;
- $etag = '21';
- $expectedResponse = new Policy();
- $expectedResponse->setVersion($version);
- $expectedResponse->setEtag($etag);
- $transport->addResponse($expectedResponse);
- // Mock request
- $resource = 'resource-341064690';
- $request = (new GetIamPolicyRequest())
- ->setResource($resource);
- $response = $gapicClient->getIamPolicy($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/GetIamPolicy', $actualFuncCall);
- $actualValue = $actualRequestObject->getResource();
- $this->assertProtobufEquals($resource, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getIamPolicyExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $resource = 'resource-341064690';
- $request = (new GetIamPolicyRequest())
- ->setResource($resource);
- try {
- $gapicClient->getIamPolicy($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getSnapshotTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $name2 = 'name2-1052831874';
- $dataSizeBytes = 2110122398;
- $description = 'description-1724546052';
- $expectedResponse = new Snapshot();
- $expectedResponse->setName($name2);
- $expectedResponse->setDataSizeBytes($dataSizeBytes);
- $expectedResponse->setDescription($description);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedName = $gapicClient->snapshotName('[PROJECT]', '[INSTANCE]', '[CLUSTER]', '[SNAPSHOT]');
- $request = (new GetSnapshotRequest())
- ->setName($formattedName);
- $response = $gapicClient->getSnapshot($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/GetSnapshot', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getSnapshotExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->snapshotName('[PROJECT]', '[INSTANCE]', '[CLUSTER]', '[SNAPSHOT]');
- $request = (new GetSnapshotRequest())
- ->setName($formattedName);
- try {
- $gapicClient->getSnapshot($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getTableTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $name2 = 'name2-1052831874';
- $deletionProtection = true;
- $expectedResponse = new Table();
- $expectedResponse->setName($name2);
- $expectedResponse->setDeletionProtection($deletionProtection);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedName = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $request = (new GetTableRequest())
- ->setName($formattedName);
- $response = $gapicClient->getTable($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/GetTable', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getTableExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $request = (new GetTableRequest())
- ->setName($formattedName);
- try {
- $gapicClient->getTable($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listAuthorizedViewsTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $nextPageToken = '';
- $authorizedViewsElement = new AuthorizedView();
- $authorizedViews = [
- $authorizedViewsElement,
- ];
- $expectedResponse = new ListAuthorizedViewsResponse();
- $expectedResponse->setNextPageToken($nextPageToken);
- $expectedResponse->setAuthorizedViews($authorizedViews);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedParent = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $request = (new ListAuthorizedViewsRequest())
- ->setParent($formattedParent);
- $response = $gapicClient->listAuthorizedViews($request);
- $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject());
- $resources = iterator_to_array($response->iterateAllElements());
- $this->assertSame(1, count($resources));
- $this->assertEquals($expectedResponse->getAuthorizedViews()[0], $resources[0]);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/ListAuthorizedViews', $actualFuncCall);
- $actualValue = $actualRequestObject->getParent();
- $this->assertProtobufEquals($formattedParent, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listAuthorizedViewsExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedParent = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $request = (new ListAuthorizedViewsRequest())
- ->setParent($formattedParent);
- try {
- $gapicClient->listAuthorizedViews($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listBackupsTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $nextPageToken = '';
- $backupsElement = new Backup();
- $backups = [
- $backupsElement,
- ];
- $expectedResponse = new ListBackupsResponse();
- $expectedResponse->setNextPageToken($nextPageToken);
- $expectedResponse->setBackups($backups);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedParent = $gapicClient->clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
- $request = (new ListBackupsRequest())
- ->setParent($formattedParent);
- $response = $gapicClient->listBackups($request);
- $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject());
- $resources = iterator_to_array($response->iterateAllElements());
- $this->assertSame(1, count($resources));
- $this->assertEquals($expectedResponse->getBackups()[0], $resources[0]);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/ListBackups', $actualFuncCall);
- $actualValue = $actualRequestObject->getParent();
- $this->assertProtobufEquals($formattedParent, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listBackupsExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedParent = $gapicClient->clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
- $request = (new ListBackupsRequest())
- ->setParent($formattedParent);
- try {
- $gapicClient->listBackups($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listSnapshotsTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $nextPageToken = '';
- $snapshotsElement = new Snapshot();
- $snapshots = [
- $snapshotsElement,
- ];
- $expectedResponse = new ListSnapshotsResponse();
- $expectedResponse->setNextPageToken($nextPageToken);
- $expectedResponse->setSnapshots($snapshots);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedParent = $gapicClient->clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
- $request = (new ListSnapshotsRequest())
- ->setParent($formattedParent);
- $response = $gapicClient->listSnapshots($request);
- $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject());
- $resources = iterator_to_array($response->iterateAllElements());
- $this->assertSame(1, count($resources));
- $this->assertEquals($expectedResponse->getSnapshots()[0], $resources[0]);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/ListSnapshots', $actualFuncCall);
- $actualValue = $actualRequestObject->getParent();
- $this->assertProtobufEquals($formattedParent, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listSnapshotsExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedParent = $gapicClient->clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
- $request = (new ListSnapshotsRequest())
- ->setParent($formattedParent);
- try {
- $gapicClient->listSnapshots($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listTablesTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $nextPageToken = '';
- $tablesElement = new Table();
- $tables = [
- $tablesElement,
- ];
- $expectedResponse = new ListTablesResponse();
- $expectedResponse->setNextPageToken($nextPageToken);
- $expectedResponse->setTables($tables);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedParent = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $request = (new ListTablesRequest())
- ->setParent($formattedParent);
- $response = $gapicClient->listTables($request);
- $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject());
- $resources = iterator_to_array($response->iterateAllElements());
- $this->assertSame(1, count($resources));
- $this->assertEquals($expectedResponse->getTables()[0], $resources[0]);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/ListTables', $actualFuncCall);
- $actualValue = $actualRequestObject->getParent();
- $this->assertProtobufEquals($formattedParent, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listTablesExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedParent = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $request = (new ListTablesRequest())
- ->setParent($formattedParent);
- try {
- $gapicClient->listTables($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function modifyColumnFamiliesTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $name2 = 'name2-1052831874';
- $deletionProtection = true;
- $expectedResponse = new Table();
- $expectedResponse->setName($name2);
- $expectedResponse->setDeletionProtection($deletionProtection);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedName = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $modifications = [];
- $request = (new ModifyColumnFamiliesRequest())
- ->setName($formattedName)
- ->setModifications($modifications);
- $response = $gapicClient->modifyColumnFamilies($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/ModifyColumnFamilies', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $actualValue = $actualRequestObject->getModifications();
- $this->assertProtobufEquals($modifications, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function modifyColumnFamiliesExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $modifications = [];
- $request = (new ModifyColumnFamiliesRequest())
- ->setName($formattedName)
- ->setModifications($modifications);
- try {
- $gapicClient->modifyColumnFamilies($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function restoreTableTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/restoreTableTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $name = 'name3373707';
- $deletionProtection = true;
- $expectedResponse = new Table();
- $expectedResponse->setName($name);
- $expectedResponse->setDeletionProtection($deletionProtection);
- $anyResponse = new Any();
- $anyResponse->setValue($expectedResponse->serializeToString());
- $completeOperation = new Operation();
- $completeOperation->setName('operations/restoreTableTest');
- $completeOperation->setDone(true);
- $completeOperation->setResponse($anyResponse);
- $operationsTransport->addResponse($completeOperation);
- // Mock request
- $formattedParent = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $tableId = 'tableId-895419604';
- $request = (new RestoreTableRequest())
- ->setParent($formattedParent)
- ->setTableId($tableId);
- $response = $gapicClient->restoreTable($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $apiRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($apiRequests));
- $operationsRequestsEmpty = $operationsTransport->popReceivedCalls();
- $this->assertSame(0, count($operationsRequestsEmpty));
- $actualApiFuncCall = $apiRequests[0]->getFuncCall();
- $actualApiRequestObject = $apiRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/RestoreTable', $actualApiFuncCall);
- $actualValue = $actualApiRequestObject->getParent();
- $this->assertProtobufEquals($formattedParent, $actualValue);
- $actualValue = $actualApiRequestObject->getTableId();
- $this->assertProtobufEquals($tableId, $actualValue);
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/restoreTableTest');
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- $this->assertTrue($response->isDone());
- $this->assertEquals($expectedResponse, $response->getResult());
- $apiRequestsEmpty = $transport->popReceivedCalls();
- $this->assertSame(0, count($apiRequestsEmpty));
- $operationsRequests = $operationsTransport->popReceivedCalls();
- $this->assertSame(1, count($operationsRequests));
- $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall();
- $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject();
- $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall);
- $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function restoreTableExceptionTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/restoreTableTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $operationsTransport->addResponse(null, $status);
- // Mock request
- $formattedParent = $gapicClient->instanceName('[PROJECT]', '[INSTANCE]');
- $tableId = 'tableId-895419604';
- $request = (new RestoreTableRequest())
- ->setParent($formattedParent)
- ->setTableId($tableId);
- $response = $gapicClient->restoreTable($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/restoreTableTest');
- try {
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- // If the pollUntilComplete() method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stubs are exhausted
- $transport->popReceivedCalls();
- $operationsTransport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function setIamPolicyTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $version = 351608024;
- $etag = '21';
- $expectedResponse = new Policy();
- $expectedResponse->setVersion($version);
- $expectedResponse->setEtag($etag);
- $transport->addResponse($expectedResponse);
- // Mock request
- $resource = 'resource-341064690';
- $policy = new Policy();
- $request = (new SetIamPolicyRequest())
- ->setResource($resource)
- ->setPolicy($policy);
- $response = $gapicClient->setIamPolicy($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/SetIamPolicy', $actualFuncCall);
- $actualValue = $actualRequestObject->getResource();
- $this->assertProtobufEquals($resource, $actualValue);
- $actualValue = $actualRequestObject->getPolicy();
- $this->assertProtobufEquals($policy, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function setIamPolicyExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $resource = 'resource-341064690';
- $policy = new Policy();
- $request = (new SetIamPolicyRequest())
- ->setResource($resource)
- ->setPolicy($policy);
- try {
- $gapicClient->setIamPolicy($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function snapshotTableTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/snapshotTableTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $name2 = 'name2-1052831874';
- $dataSizeBytes = 2110122398;
- $description2 = 'description2568623279';
- $expectedResponse = new Snapshot();
- $expectedResponse->setName($name2);
- $expectedResponse->setDataSizeBytes($dataSizeBytes);
- $expectedResponse->setDescription($description2);
- $anyResponse = new Any();
- $anyResponse->setValue($expectedResponse->serializeToString());
- $completeOperation = new Operation();
- $completeOperation->setName('operations/snapshotTableTest');
- $completeOperation->setDone(true);
- $completeOperation->setResponse($anyResponse);
- $operationsTransport->addResponse($completeOperation);
- // Mock request
- $formattedName = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $formattedCluster = $gapicClient->clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
- $snapshotId = 'snapshotId-168585866';
- $request = (new SnapshotTableRequest())
- ->setName($formattedName)
- ->setCluster($formattedCluster)
- ->setSnapshotId($snapshotId);
- $response = $gapicClient->snapshotTable($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $apiRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($apiRequests));
- $operationsRequestsEmpty = $operationsTransport->popReceivedCalls();
- $this->assertSame(0, count($operationsRequestsEmpty));
- $actualApiFuncCall = $apiRequests[0]->getFuncCall();
- $actualApiRequestObject = $apiRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/SnapshotTable', $actualApiFuncCall);
- $actualValue = $actualApiRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $actualValue = $actualApiRequestObject->getCluster();
- $this->assertProtobufEquals($formattedCluster, $actualValue);
- $actualValue = $actualApiRequestObject->getSnapshotId();
- $this->assertProtobufEquals($snapshotId, $actualValue);
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/snapshotTableTest');
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- $this->assertTrue($response->isDone());
- $this->assertEquals($expectedResponse, $response->getResult());
- $apiRequestsEmpty = $transport->popReceivedCalls();
- $this->assertSame(0, count($apiRequestsEmpty));
- $operationsRequests = $operationsTransport->popReceivedCalls();
- $this->assertSame(1, count($operationsRequests));
- $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall();
- $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject();
- $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall);
- $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function snapshotTableExceptionTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/snapshotTableTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $operationsTransport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $formattedCluster = $gapicClient->clusterName('[PROJECT]', '[INSTANCE]', '[CLUSTER]');
- $snapshotId = 'snapshotId-168585866';
- $request = (new SnapshotTableRequest())
- ->setName($formattedName)
- ->setCluster($formattedCluster)
- ->setSnapshotId($snapshotId);
- $response = $gapicClient->snapshotTable($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/snapshotTableTest');
- try {
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- // If the pollUntilComplete() method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stubs are exhausted
- $transport->popReceivedCalls();
- $operationsTransport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function testIamPermissionsTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $expectedResponse = new TestIamPermissionsResponse();
- $transport->addResponse($expectedResponse);
- // Mock request
- $resource = 'resource-341064690';
- $permissions = [];
- $request = (new TestIamPermissionsRequest())
- ->setResource($resource)
- ->setPermissions($permissions);
- $response = $gapicClient->testIamPermissions($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/TestIamPermissions', $actualFuncCall);
- $actualValue = $actualRequestObject->getResource();
- $this->assertProtobufEquals($resource, $actualValue);
- $actualValue = $actualRequestObject->getPermissions();
- $this->assertProtobufEquals($permissions, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function testIamPermissionsExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $resource = 'resource-341064690';
- $permissions = [];
- $request = (new TestIamPermissionsRequest())
- ->setResource($resource)
- ->setPermissions($permissions);
- try {
- $gapicClient->testIamPermissions($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function undeleteTableTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/undeleteTableTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $name2 = 'name2-1052831874';
- $deletionProtection = true;
- $expectedResponse = new Table();
- $expectedResponse->setName($name2);
- $expectedResponse->setDeletionProtection($deletionProtection);
- $anyResponse = new Any();
- $anyResponse->setValue($expectedResponse->serializeToString());
- $completeOperation = new Operation();
- $completeOperation->setName('operations/undeleteTableTest');
- $completeOperation->setDone(true);
- $completeOperation->setResponse($anyResponse);
- $operationsTransport->addResponse($completeOperation);
- // Mock request
- $formattedName = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $request = (new UndeleteTableRequest())
- ->setName($formattedName);
- $response = $gapicClient->undeleteTable($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $apiRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($apiRequests));
- $operationsRequestsEmpty = $operationsTransport->popReceivedCalls();
- $this->assertSame(0, count($operationsRequestsEmpty));
- $actualApiFuncCall = $apiRequests[0]->getFuncCall();
- $actualApiRequestObject = $apiRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/UndeleteTable', $actualApiFuncCall);
- $actualValue = $actualApiRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/undeleteTableTest');
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- $this->assertTrue($response->isDone());
- $this->assertEquals($expectedResponse, $response->getResult());
- $apiRequestsEmpty = $transport->popReceivedCalls();
- $this->assertSame(0, count($apiRequestsEmpty));
- $operationsRequests = $operationsTransport->popReceivedCalls();
- $this->assertSame(1, count($operationsRequests));
- $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall();
- $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject();
- $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall);
- $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function undeleteTableExceptionTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/undeleteTableTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $operationsTransport->addResponse(null, $status);
- // Mock request
- $formattedName = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $request = (new UndeleteTableRequest())
- ->setName($formattedName);
- $response = $gapicClient->undeleteTable($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/undeleteTableTest');
- try {
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- // If the pollUntilComplete() method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stubs are exhausted
- $transport->popReceivedCalls();
- $operationsTransport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function updateAuthorizedViewTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/updateAuthorizedViewTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $name = 'name3373707';
- $etag = 'etag3123477';
- $deletionProtection = true;
- $expectedResponse = new AuthorizedView();
- $expectedResponse->setName($name);
- $expectedResponse->setEtag($etag);
- $expectedResponse->setDeletionProtection($deletionProtection);
- $anyResponse = new Any();
- $anyResponse->setValue($expectedResponse->serializeToString());
- $completeOperation = new Operation();
- $completeOperation->setName('operations/updateAuthorizedViewTest');
- $completeOperation->setDone(true);
- $completeOperation->setResponse($anyResponse);
- $operationsTransport->addResponse($completeOperation);
- // Mock request
- $authorizedView = new AuthorizedView();
- $request = (new UpdateAuthorizedViewRequest())
- ->setAuthorizedView($authorizedView);
- $response = $gapicClient->updateAuthorizedView($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $apiRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($apiRequests));
- $operationsRequestsEmpty = $operationsTransport->popReceivedCalls();
- $this->assertSame(0, count($operationsRequestsEmpty));
- $actualApiFuncCall = $apiRequests[0]->getFuncCall();
- $actualApiRequestObject = $apiRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/UpdateAuthorizedView', $actualApiFuncCall);
- $actualValue = $actualApiRequestObject->getAuthorizedView();
- $this->assertProtobufEquals($authorizedView, $actualValue);
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/updateAuthorizedViewTest');
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- $this->assertTrue($response->isDone());
- $this->assertEquals($expectedResponse, $response->getResult());
- $apiRequestsEmpty = $transport->popReceivedCalls();
- $this->assertSame(0, count($apiRequestsEmpty));
- $operationsRequests = $operationsTransport->popReceivedCalls();
- $this->assertSame(1, count($operationsRequests));
- $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall();
- $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject();
- $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall);
- $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function updateAuthorizedViewExceptionTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/updateAuthorizedViewTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $operationsTransport->addResponse(null, $status);
- // Mock request
- $authorizedView = new AuthorizedView();
- $request = (new UpdateAuthorizedViewRequest())
- ->setAuthorizedView($authorizedView);
- $response = $gapicClient->updateAuthorizedView($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/updateAuthorizedViewTest');
- try {
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- // If the pollUntilComplete() method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stubs are exhausted
- $transport->popReceivedCalls();
- $operationsTransport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function updateBackupTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $name = 'name3373707';
- $sourceTable = 'sourceTable1670858410';
- $sourceBackup = 'sourceBackup-258292122';
- $sizeBytes = 1796325715;
- $expectedResponse = new Backup();
- $expectedResponse->setName($name);
- $expectedResponse->setSourceTable($sourceTable);
- $expectedResponse->setSourceBackup($sourceBackup);
- $expectedResponse->setSizeBytes($sizeBytes);
- $transport->addResponse($expectedResponse);
- // Mock request
- $backup = new Backup();
- $backupSourceTable = 'backupSourceTable1043210577';
- $backup->setSourceTable($backupSourceTable);
- $backupExpireTime = new Timestamp();
- $backup->setExpireTime($backupExpireTime);
- $updateMask = new FieldMask();
- $request = (new UpdateBackupRequest())
- ->setBackup($backup)
- ->setUpdateMask($updateMask);
- $response = $gapicClient->updateBackup($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/UpdateBackup', $actualFuncCall);
- $actualValue = $actualRequestObject->getBackup();
- $this->assertProtobufEquals($backup, $actualValue);
- $actualValue = $actualRequestObject->getUpdateMask();
- $this->assertProtobufEquals($updateMask, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function updateBackupExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $backup = new Backup();
- $backupSourceTable = 'backupSourceTable1043210577';
- $backup->setSourceTable($backupSourceTable);
- $backupExpireTime = new Timestamp();
- $backup->setExpireTime($backupExpireTime);
- $updateMask = new FieldMask();
- $request = (new UpdateBackupRequest())
- ->setBackup($backup)
- ->setUpdateMask($updateMask);
- try {
- $gapicClient->updateBackup($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function updateTableTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/updateTableTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $name = 'name3373707';
- $deletionProtection = true;
- $expectedResponse = new Table();
- $expectedResponse->setName($name);
- $expectedResponse->setDeletionProtection($deletionProtection);
- $anyResponse = new Any();
- $anyResponse->setValue($expectedResponse->serializeToString());
- $completeOperation = new Operation();
- $completeOperation->setName('operations/updateTableTest');
- $completeOperation->setDone(true);
- $completeOperation->setResponse($anyResponse);
- $operationsTransport->addResponse($completeOperation);
- // Mock request
- $table = new Table();
- $updateMask = new FieldMask();
- $request = (new UpdateTableRequest())
- ->setTable($table)
- ->setUpdateMask($updateMask);
- $response = $gapicClient->updateTable($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $apiRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($apiRequests));
- $operationsRequestsEmpty = $operationsTransport->popReceivedCalls();
- $this->assertSame(0, count($operationsRequestsEmpty));
- $actualApiFuncCall = $apiRequests[0]->getFuncCall();
- $actualApiRequestObject = $apiRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/UpdateTable', $actualApiFuncCall);
- $actualValue = $actualApiRequestObject->getTable();
- $this->assertProtobufEquals($table, $actualValue);
- $actualValue = $actualApiRequestObject->getUpdateMask();
- $this->assertProtobufEquals($updateMask, $actualValue);
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/updateTableTest');
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- $this->assertTrue($response->isDone());
- $this->assertEquals($expectedResponse, $response->getResult());
- $apiRequestsEmpty = $transport->popReceivedCalls();
- $this->assertSame(0, count($apiRequestsEmpty));
- $operationsRequests = $operationsTransport->popReceivedCalls();
- $this->assertSame(1, count($operationsRequests));
- $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall();
- $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject();
- $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall);
- $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function updateTableExceptionTest()
- {
- $operationsTransport = $this->createTransport();
- $operationsClient = new OperationsClient([
- 'apiEndpoint' => '',
- 'transport' => $operationsTransport,
- 'credentials' => $this->createCredentials(),
- ]);
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- 'operationsClient' => $operationsClient,
- ]);
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- // Mock response
- $incompleteOperation = new Operation();
- $incompleteOperation->setName('operations/updateTableTest');
- $incompleteOperation->setDone(false);
- $transport->addResponse($incompleteOperation);
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $operationsTransport->addResponse(null, $status);
- // Mock request
- $table = new Table();
- $updateMask = new FieldMask();
- $request = (new UpdateTableRequest())
- ->setTable($table)
- ->setUpdateMask($updateMask);
- $response = $gapicClient->updateTable($request);
- $this->assertFalse($response->isDone());
- $this->assertNull($response->getResult());
- $expectedOperationsRequestObject = new GetOperationRequest();
- $expectedOperationsRequestObject->setName('operations/updateTableTest');
- try {
- $response->pollUntilComplete([
- 'initialPollDelayMillis' => 1,
- ]);
- // If the pollUntilComplete() method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stubs are exhausted
- $transport->popReceivedCalls();
- $operationsTransport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- $this->assertTrue($operationsTransport->isExhausted());
- }
-
- /** @test */
- public function checkConsistencyAsyncTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $consistent = true;
- $expectedResponse = new CheckConsistencyResponse();
- $expectedResponse->setConsistent($consistent);
- $transport->addResponse($expectedResponse);
- // Mock request
- $formattedName = $gapicClient->tableName('[PROJECT]', '[INSTANCE]', '[TABLE]');
- $consistencyToken = 'consistencyToken-1090516718';
- $request = (new CheckConsistencyRequest())
- ->setName($formattedName)
- ->setConsistencyToken($consistencyToken);
- $response = $gapicClient->checkConsistencyAsync($request)->wait();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.bigtable.admin.v2.BigtableTableAdmin/CheckConsistency', $actualFuncCall);
- $actualValue = $actualRequestObject->getName();
- $this->assertProtobufEquals($formattedName, $actualValue);
- $actualValue = $actualRequestObject->getConsistencyToken();
- $this->assertProtobufEquals($consistencyToken, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-}
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/GPBMetadata/Google/Bigtable/V2/Bigtable.php b/owl-bot-staging/Bigtable/v2/proto/src/GPBMetadata/Google/Bigtable/V2/Bigtable.php
deleted file mode 100644
index 625f96072016..000000000000
Binary files a/owl-bot-staging/Bigtable/v2/proto/src/GPBMetadata/Google/Bigtable/V2/Bigtable.php and /dev/null differ
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/GPBMetadata/Google/Bigtable/V2/Data.php b/owl-bot-staging/Bigtable/v2/proto/src/GPBMetadata/Google/Bigtable/V2/Data.php
deleted file mode 100644
index b349402a1705..000000000000
Binary files a/owl-bot-staging/Bigtable/v2/proto/src/GPBMetadata/Google/Bigtable/V2/Data.php and /dev/null differ
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/GPBMetadata/Google/Bigtable/V2/FeatureFlags.php b/owl-bot-staging/Bigtable/v2/proto/src/GPBMetadata/Google/Bigtable/V2/FeatureFlags.php
deleted file mode 100644
index fd70d1524270..000000000000
--- a/owl-bot-staging/Bigtable/v2/proto/src/GPBMetadata/Google/Bigtable/V2/FeatureFlags.php
+++ /dev/null
@@ -1,39 +0,0 @@
-internalAddGeneratedFile(
- '
-£
-&google/bigtable/v2/feature_flags.protogoogle.bigtable.v2"ž
-FeatureFlags
-
reverse_scans (
-mutate_rows_rate_limit (
-mutate_rows_rate_limit2 ("
-last_scanned_row_responses (
-routing_cookie (
-
-retry_info (#
-client_side_metrics_enabled (
-traffic_director_enabled (
-direct_access_requested
- (B»
-com.google.bigtable.v2BFeatureFlagsProtoPZ8cloud.google.com/go/bigtable/apiv2/bigtablepb;bigtablepbªGoogle.Cloud.Bigtable.V2ÊGoogle\\Cloud\\Bigtable\\V2êGoogle::Cloud::Bigtable::V2bproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/GPBMetadata/Google/Bigtable/V2/RequestStats.php b/owl-bot-staging/Bigtable/v2/proto/src/GPBMetadata/Google/Bigtable/V2/RequestStats.php
deleted file mode 100644
index e0ba5ca1e11e..000000000000
Binary files a/owl-bot-staging/Bigtable/v2/proto/src/GPBMetadata/Google/Bigtable/V2/RequestStats.php and /dev/null differ
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/GPBMetadata/Google/Bigtable/V2/ResponseParams.php b/owl-bot-staging/Bigtable/v2/proto/src/GPBMetadata/Google/Bigtable/V2/ResponseParams.php
deleted file mode 100644
index 932fb13c6dee..000000000000
Binary files a/owl-bot-staging/Bigtable/v2/proto/src/GPBMetadata/Google/Bigtable/V2/ResponseParams.php and /dev/null differ
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/GPBMetadata/Google/Bigtable/V2/Types.php b/owl-bot-staging/Bigtable/v2/proto/src/GPBMetadata/Google/Bigtable/V2/Types.php
deleted file mode 100644
index a7a31f2675de..000000000000
Binary files a/owl-bot-staging/Bigtable/v2/proto/src/GPBMetadata/Google/Bigtable/V2/Types.php and /dev/null differ
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/ArrayValue.php b/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/ArrayValue.php
deleted file mode 100644
index cb872d55e982..000000000000
--- a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/ArrayValue.php
+++ /dev/null
@@ -1,67 +0,0 @@
-google.bigtable.v2.ArrayValue
- */
-class ArrayValue extends \Google\Protobuf\Internal\Message
-{
- /**
- * The ordered elements in the array.
- *
- * Generated from protobuf field repeated .google.bigtable.v2.Value values = 1;
- */
- private $values;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Cloud\Bigtable\V2\Value>|\Google\Protobuf\Internal\RepeatedField $values
- * The ordered elements in the array.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\V2\Data::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The ordered elements in the array.
- *
- * Generated from protobuf field repeated .google.bigtable.v2.Value values = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getValues()
- {
- return $this->values;
- }
-
- /**
- * The ordered elements in the array.
- *
- * Generated from protobuf field repeated .google.bigtable.v2.Value values = 1;
- * @param array<\Google\Cloud\Bigtable\V2\Value>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setValues($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\V2\Value::class);
- $this->values = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/Cell.php b/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/Cell.php
deleted file mode 100644
index ae97f1e167af..000000000000
--- a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/Cell.php
+++ /dev/null
@@ -1,163 +0,0 @@
-google.bigtable.v2.Cell
- */
-class Cell extends \Google\Protobuf\Internal\Message
-{
- /**
- * The cell's stored timestamp, which also uniquely identifies it within
- * its column.
- * Values are always expressed in microseconds, but individual tables may set
- * a coarser granularity to further restrict the allowed values. For
- * example, a table which specifies millisecond granularity will only allow
- * values of `timestamp_micros` which are multiples of 1000.
- *
- * Generated from protobuf field int64 timestamp_micros = 1;
- */
- protected $timestamp_micros = 0;
- /**
- * The value stored in the cell.
- * May contain any byte string, including the empty string, up to 100MiB in
- * length.
- *
- * Generated from protobuf field bytes value = 2;
- */
- protected $value = '';
- /**
- * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
- *
- * Generated from protobuf field repeated string labels = 3;
- */
- private $labels;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $timestamp_micros
- * The cell's stored timestamp, which also uniquely identifies it within
- * its column.
- * Values are always expressed in microseconds, but individual tables may set
- * a coarser granularity to further restrict the allowed values. For
- * example, a table which specifies millisecond granularity will only allow
- * values of `timestamp_micros` which are multiples of 1000.
- * @type string $value
- * The value stored in the cell.
- * May contain any byte string, including the empty string, up to 100MiB in
- * length.
- * @type array|\Google\Protobuf\Internal\RepeatedField $labels
- * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\V2\Data::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The cell's stored timestamp, which also uniquely identifies it within
- * its column.
- * Values are always expressed in microseconds, but individual tables may set
- * a coarser granularity to further restrict the allowed values. For
- * example, a table which specifies millisecond granularity will only allow
- * values of `timestamp_micros` which are multiples of 1000.
- *
- * Generated from protobuf field int64 timestamp_micros = 1;
- * @return int|string
- */
- public function getTimestampMicros()
- {
- return $this->timestamp_micros;
- }
-
- /**
- * The cell's stored timestamp, which also uniquely identifies it within
- * its column.
- * Values are always expressed in microseconds, but individual tables may set
- * a coarser granularity to further restrict the allowed values. For
- * example, a table which specifies millisecond granularity will only allow
- * values of `timestamp_micros` which are multiples of 1000.
- *
- * Generated from protobuf field int64 timestamp_micros = 1;
- * @param int|string $var
- * @return $this
- */
- public function setTimestampMicros($var)
- {
- GPBUtil::checkInt64($var);
- $this->timestamp_micros = $var;
-
- return $this;
- }
-
- /**
- * The value stored in the cell.
- * May contain any byte string, including the empty string, up to 100MiB in
- * length.
- *
- * Generated from protobuf field bytes value = 2;
- * @return string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * The value stored in the cell.
- * May contain any byte string, including the empty string, up to 100MiB in
- * length.
- *
- * Generated from protobuf field bytes value = 2;
- * @param string $var
- * @return $this
- */
- public function setValue($var)
- {
- GPBUtil::checkString($var, False);
- $this->value = $var;
-
- return $this;
- }
-
- /**
- * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
- *
- * Generated from protobuf field repeated string labels = 3;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getLabels()
- {
- return $this->labels;
- }
-
- /**
- * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
- *
- * Generated from protobuf field repeated string labels = 3;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setLabels($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->labels = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/CheckAndMutateRowRequest.php b/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/CheckAndMutateRowRequest.php
deleted file mode 100644
index 71dc9e6065dd..000000000000
--- a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/CheckAndMutateRowRequest.php
+++ /dev/null
@@ -1,436 +0,0 @@
-google.bigtable.v2.CheckAndMutateRowRequest
- */
-class CheckAndMutateRowRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Optional. The unique name of the table to which the conditional mutation
- * should be applied.
- * Values are of the form
- * `projects//instances//tables/`.
- *
- * Generated from protobuf field string table_name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
- */
- protected $table_name = '';
- /**
- * Optional. The unique name of the AuthorizedView to which the conditional
- * mutation should be applied.
- * Values are of the form
- * `projects//instances//tables//authorizedViews/`.
- *
- * Generated from protobuf field string authorized_view_name = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
- */
- protected $authorized_view_name = '';
- /**
- * This value specifies routing for replication. If not specified, the
- * "default" application profile will be used.
- *
- * Generated from protobuf field string app_profile_id = 7;
- */
- protected $app_profile_id = '';
- /**
- * Required. The key of the row to which the conditional mutation should be
- * applied.
- *
- * Generated from protobuf field bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $row_key = '';
- /**
- * The filter to be applied to the contents of the specified row. Depending
- * on whether or not any results are yielded, either `true_mutations` or
- * `false_mutations` will be executed. If unset, checks that the row contains
- * any values at all.
- *
- * Generated from protobuf field .google.bigtable.v2.RowFilter predicate_filter = 6;
- */
- protected $predicate_filter = null;
- /**
- * Changes to be atomically applied to the specified row if `predicate_filter`
- * yields at least one cell when applied to `row_key`. Entries are applied in
- * order, meaning that earlier mutations can be masked by later ones.
- * Must contain at least one entry if `false_mutations` is empty, and at most
- * 100000.
- *
- * Generated from protobuf field repeated .google.bigtable.v2.Mutation true_mutations = 4;
- */
- private $true_mutations;
- /**
- * Changes to be atomically applied to the specified row if `predicate_filter`
- * does not yield any cells when applied to `row_key`. Entries are applied in
- * order, meaning that earlier mutations can be masked by later ones.
- * Must contain at least one entry if `true_mutations` is empty, and at most
- * 100000.
- *
- * Generated from protobuf field repeated .google.bigtable.v2.Mutation false_mutations = 5;
- */
- private $false_mutations;
-
- /**
- * @param string $tableName Optional. The unique name of the table to which the conditional mutation
- * should be applied.
- *
- * Values are of the form
- * `projects//instances//tables/`. Please see
- * {@see BigtableClient::tableName()} for help formatting this field.
- * @param string $rowKey Required. The key of the row to which the conditional mutation should be
- * applied.
- * @param \Google\Cloud\Bigtable\V2\RowFilter $predicateFilter The filter to be applied to the contents of the specified row. Depending
- * on whether or not any results are yielded, either `true_mutations` or
- * `false_mutations` will be executed. If unset, checks that the row contains
- * any values at all.
- * @param \Google\Cloud\Bigtable\V2\Mutation[] $trueMutations Changes to be atomically applied to the specified row if `predicate_filter`
- * yields at least one cell when applied to `row_key`. Entries are applied in
- * order, meaning that earlier mutations can be masked by later ones.
- * Must contain at least one entry if `false_mutations` is empty, and at most
- * 100000.
- * @param \Google\Cloud\Bigtable\V2\Mutation[] $falseMutations Changes to be atomically applied to the specified row if `predicate_filter`
- * does not yield any cells when applied to `row_key`. Entries are applied in
- * order, meaning that earlier mutations can be masked by later ones.
- * Must contain at least one entry if `true_mutations` is empty, and at most
- * 100000.
- *
- * @return \Google\Cloud\Bigtable\V2\CheckAndMutateRowRequest
- *
- * @experimental
- */
- public static function build(string $tableName, string $rowKey, \Google\Cloud\Bigtable\V2\RowFilter $predicateFilter, array $trueMutations, array $falseMutations): self
- {
- return (new self())
- ->setTableName($tableName)
- ->setRowKey($rowKey)
- ->setPredicateFilter($predicateFilter)
- ->setTrueMutations($trueMutations)
- ->setFalseMutations($falseMutations);
- }
-
- /**
- * @param string $tableName Optional. The unique name of the table to which the conditional mutation
- * should be applied.
- *
- * Values are of the form
- * `projects//instances//tables/`. Please see
- * {@see BigtableClient::tableName()} for help formatting this field.
- * @param string $rowKey Required. The key of the row to which the conditional mutation should be
- * applied.
- * @param \Google\Cloud\Bigtable\V2\RowFilter $predicateFilter The filter to be applied to the contents of the specified row. Depending
- * on whether or not any results are yielded, either `true_mutations` or
- * `false_mutations` will be executed. If unset, checks that the row contains
- * any values at all.
- * @param \Google\Cloud\Bigtable\V2\Mutation[] $trueMutations Changes to be atomically applied to the specified row if `predicate_filter`
- * yields at least one cell when applied to `row_key`. Entries are applied in
- * order, meaning that earlier mutations can be masked by later ones.
- * Must contain at least one entry if `false_mutations` is empty, and at most
- * 100000.
- * @param \Google\Cloud\Bigtable\V2\Mutation[] $falseMutations Changes to be atomically applied to the specified row if `predicate_filter`
- * does not yield any cells when applied to `row_key`. Entries are applied in
- * order, meaning that earlier mutations can be masked by later ones.
- * Must contain at least one entry if `true_mutations` is empty, and at most
- * 100000.
- * @param string $appProfileId This value specifies routing for replication. If not specified, the
- * "default" application profile will be used.
- *
- * @return \Google\Cloud\Bigtable\V2\CheckAndMutateRowRequest
- *
- * @experimental
- */
- public static function buildFromTableNameRowKeyPredicateFilterTrueMutationsFalseMutationsAppProfileId(string $tableName, string $rowKey, \Google\Cloud\Bigtable\V2\RowFilter $predicateFilter, array $trueMutations, array $falseMutations, string $appProfileId): self
- {
- return (new self())
- ->setTableName($tableName)
- ->setRowKey($rowKey)
- ->setPredicateFilter($predicateFilter)
- ->setTrueMutations($trueMutations)
- ->setFalseMutations($falseMutations)
- ->setAppProfileId($appProfileId);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $table_name
- * Optional. The unique name of the table to which the conditional mutation
- * should be applied.
- * Values are of the form
- * `projects//instances//tables/`.
- * @type string $authorized_view_name
- * Optional. The unique name of the AuthorizedView to which the conditional
- * mutation should be applied.
- * Values are of the form
- * `projects//instances//tables//authorizedViews/`.
- * @type string $app_profile_id
- * This value specifies routing for replication. If not specified, the
- * "default" application profile will be used.
- * @type string $row_key
- * Required. The key of the row to which the conditional mutation should be
- * applied.
- * @type \Google\Cloud\Bigtable\V2\RowFilter $predicate_filter
- * The filter to be applied to the contents of the specified row. Depending
- * on whether or not any results are yielded, either `true_mutations` or
- * `false_mutations` will be executed. If unset, checks that the row contains
- * any values at all.
- * @type array<\Google\Cloud\Bigtable\V2\Mutation>|\Google\Protobuf\Internal\RepeatedField $true_mutations
- * Changes to be atomically applied to the specified row if `predicate_filter`
- * yields at least one cell when applied to `row_key`. Entries are applied in
- * order, meaning that earlier mutations can be masked by later ones.
- * Must contain at least one entry if `false_mutations` is empty, and at most
- * 100000.
- * @type array<\Google\Cloud\Bigtable\V2\Mutation>|\Google\Protobuf\Internal\RepeatedField $false_mutations
- * Changes to be atomically applied to the specified row if `predicate_filter`
- * does not yield any cells when applied to `row_key`. Entries are applied in
- * order, meaning that earlier mutations can be masked by later ones.
- * Must contain at least one entry if `true_mutations` is empty, and at most
- * 100000.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\V2\Bigtable::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Optional. The unique name of the table to which the conditional mutation
- * should be applied.
- * Values are of the form
- * `projects//instances//tables/`.
- *
- * Generated from protobuf field string table_name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
- * @return string
- */
- public function getTableName()
- {
- return $this->table_name;
- }
-
- /**
- * Optional. The unique name of the table to which the conditional mutation
- * should be applied.
- * Values are of the form
- * `projects//instances//tables/`.
- *
- * Generated from protobuf field string table_name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setTableName($var)
- {
- GPBUtil::checkString($var, True);
- $this->table_name = $var;
-
- return $this;
- }
-
- /**
- * Optional. The unique name of the AuthorizedView to which the conditional
- * mutation should be applied.
- * Values are of the form
- * `projects//instances//tables//authorizedViews/`.
- *
- * Generated from protobuf field string authorized_view_name = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
- * @return string
- */
- public function getAuthorizedViewName()
- {
- return $this->authorized_view_name;
- }
-
- /**
- * Optional. The unique name of the AuthorizedView to which the conditional
- * mutation should be applied.
- * Values are of the form
- * `projects//instances//tables//authorizedViews/`.
- *
- * Generated from protobuf field string authorized_view_name = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setAuthorizedViewName($var)
- {
- GPBUtil::checkString($var, True);
- $this->authorized_view_name = $var;
-
- return $this;
- }
-
- /**
- * This value specifies routing for replication. If not specified, the
- * "default" application profile will be used.
- *
- * Generated from protobuf field string app_profile_id = 7;
- * @return string
- */
- public function getAppProfileId()
- {
- return $this->app_profile_id;
- }
-
- /**
- * This value specifies routing for replication. If not specified, the
- * "default" application profile will be used.
- *
- * Generated from protobuf field string app_profile_id = 7;
- * @param string $var
- * @return $this
- */
- public function setAppProfileId($var)
- {
- GPBUtil::checkString($var, True);
- $this->app_profile_id = $var;
-
- return $this;
- }
-
- /**
- * Required. The key of the row to which the conditional mutation should be
- * applied.
- *
- * Generated from protobuf field bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getRowKey()
- {
- return $this->row_key;
- }
-
- /**
- * Required. The key of the row to which the conditional mutation should be
- * applied.
- *
- * Generated from protobuf field bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setRowKey($var)
- {
- GPBUtil::checkString($var, False);
- $this->row_key = $var;
-
- return $this;
- }
-
- /**
- * The filter to be applied to the contents of the specified row. Depending
- * on whether or not any results are yielded, either `true_mutations` or
- * `false_mutations` will be executed. If unset, checks that the row contains
- * any values at all.
- *
- * Generated from protobuf field .google.bigtable.v2.RowFilter predicate_filter = 6;
- * @return \Google\Cloud\Bigtable\V2\RowFilter|null
- */
- public function getPredicateFilter()
- {
- return $this->predicate_filter;
- }
-
- public function hasPredicateFilter()
- {
- return isset($this->predicate_filter);
- }
-
- public function clearPredicateFilter()
- {
- unset($this->predicate_filter);
- }
-
- /**
- * The filter to be applied to the contents of the specified row. Depending
- * on whether or not any results are yielded, either `true_mutations` or
- * `false_mutations` will be executed. If unset, checks that the row contains
- * any values at all.
- *
- * Generated from protobuf field .google.bigtable.v2.RowFilter predicate_filter = 6;
- * @param \Google\Cloud\Bigtable\V2\RowFilter $var
- * @return $this
- */
- public function setPredicateFilter($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\V2\RowFilter::class);
- $this->predicate_filter = $var;
-
- return $this;
- }
-
- /**
- * Changes to be atomically applied to the specified row if `predicate_filter`
- * yields at least one cell when applied to `row_key`. Entries are applied in
- * order, meaning that earlier mutations can be masked by later ones.
- * Must contain at least one entry if `false_mutations` is empty, and at most
- * 100000.
- *
- * Generated from protobuf field repeated .google.bigtable.v2.Mutation true_mutations = 4;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getTrueMutations()
- {
- return $this->true_mutations;
- }
-
- /**
- * Changes to be atomically applied to the specified row if `predicate_filter`
- * yields at least one cell when applied to `row_key`. Entries are applied in
- * order, meaning that earlier mutations can be masked by later ones.
- * Must contain at least one entry if `false_mutations` is empty, and at most
- * 100000.
- *
- * Generated from protobuf field repeated .google.bigtable.v2.Mutation true_mutations = 4;
- * @param array<\Google\Cloud\Bigtable\V2\Mutation>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setTrueMutations($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\V2\Mutation::class);
- $this->true_mutations = $arr;
-
- return $this;
- }
-
- /**
- * Changes to be atomically applied to the specified row if `predicate_filter`
- * does not yield any cells when applied to `row_key`. Entries are applied in
- * order, meaning that earlier mutations can be masked by later ones.
- * Must contain at least one entry if `true_mutations` is empty, and at most
- * 100000.
- *
- * Generated from protobuf field repeated .google.bigtable.v2.Mutation false_mutations = 5;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getFalseMutations()
- {
- return $this->false_mutations;
- }
-
- /**
- * Changes to be atomically applied to the specified row if `predicate_filter`
- * does not yield any cells when applied to `row_key`. Entries are applied in
- * order, meaning that earlier mutations can be masked by later ones.
- * Must contain at least one entry if `true_mutations` is empty, and at most
- * 100000.
- *
- * Generated from protobuf field repeated .google.bigtable.v2.Mutation false_mutations = 5;
- * @param array<\Google\Cloud\Bigtable\V2\Mutation>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setFalseMutations($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\V2\Mutation::class);
- $this->false_mutations = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/CheckAndMutateRowResponse.php b/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/CheckAndMutateRowResponse.php
deleted file mode 100644
index ea562f574e70..000000000000
--- a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/CheckAndMutateRowResponse.php
+++ /dev/null
@@ -1,71 +0,0 @@
-google.bigtable.v2.CheckAndMutateRowResponse
- */
-class CheckAndMutateRowResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * Whether or not the request's `predicate_filter` yielded any results for
- * the specified row.
- *
- * Generated from protobuf field bool predicate_matched = 1;
- */
- protected $predicate_matched = false;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type bool $predicate_matched
- * Whether or not the request's `predicate_filter` yielded any results for
- * the specified row.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\V2\Bigtable::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Whether or not the request's `predicate_filter` yielded any results for
- * the specified row.
- *
- * Generated from protobuf field bool predicate_matched = 1;
- * @return bool
- */
- public function getPredicateMatched()
- {
- return $this->predicate_matched;
- }
-
- /**
- * Whether or not the request's `predicate_filter` yielded any results for
- * the specified row.
- *
- * Generated from protobuf field bool predicate_matched = 1;
- * @param bool $var
- * @return $this
- */
- public function setPredicateMatched($var)
- {
- GPBUtil::checkBool($var);
- $this->predicate_matched = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/Column.php b/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/Column.php
deleted file mode 100644
index b2f46bdf290b..000000000000
--- a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/Column.php
+++ /dev/null
@@ -1,118 +0,0 @@
-google.bigtable.v2.Column
- */
-class Column extends \Google\Protobuf\Internal\Message
-{
- /**
- * The unique key which identifies this column within its family. This is the
- * same key that's used to identify the column in, for example, a RowFilter
- * which sets its `column_qualifier_regex_filter` field.
- * May contain any byte string, including the empty string, up to 16kiB in
- * length.
- *
- * Generated from protobuf field bytes qualifier = 1;
- */
- protected $qualifier = '';
- /**
- * Must not be empty. Sorted in order of decreasing "timestamp_micros".
- *
- * Generated from protobuf field repeated .google.bigtable.v2.Cell cells = 2;
- */
- private $cells;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $qualifier
- * The unique key which identifies this column within its family. This is the
- * same key that's used to identify the column in, for example, a RowFilter
- * which sets its `column_qualifier_regex_filter` field.
- * May contain any byte string, including the empty string, up to 16kiB in
- * length.
- * @type array<\Google\Cloud\Bigtable\V2\Cell>|\Google\Protobuf\Internal\RepeatedField $cells
- * Must not be empty. Sorted in order of decreasing "timestamp_micros".
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\V2\Data::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The unique key which identifies this column within its family. This is the
- * same key that's used to identify the column in, for example, a RowFilter
- * which sets its `column_qualifier_regex_filter` field.
- * May contain any byte string, including the empty string, up to 16kiB in
- * length.
- *
- * Generated from protobuf field bytes qualifier = 1;
- * @return string
- */
- public function getQualifier()
- {
- return $this->qualifier;
- }
-
- /**
- * The unique key which identifies this column within its family. This is the
- * same key that's used to identify the column in, for example, a RowFilter
- * which sets its `column_qualifier_regex_filter` field.
- * May contain any byte string, including the empty string, up to 16kiB in
- * length.
- *
- * Generated from protobuf field bytes qualifier = 1;
- * @param string $var
- * @return $this
- */
- public function setQualifier($var)
- {
- GPBUtil::checkString($var, False);
- $this->qualifier = $var;
-
- return $this;
- }
-
- /**
- * Must not be empty. Sorted in order of decreasing "timestamp_micros".
- *
- * Generated from protobuf field repeated .google.bigtable.v2.Cell cells = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getCells()
- {
- return $this->cells;
- }
-
- /**
- * Must not be empty. Sorted in order of decreasing "timestamp_micros".
- *
- * Generated from protobuf field repeated .google.bigtable.v2.Cell cells = 2;
- * @param array<\Google\Cloud\Bigtable\V2\Cell>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setCells($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\V2\Cell::class);
- $this->cells = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/ColumnMetadata.php b/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/ColumnMetadata.php
deleted file mode 100644
index 35f3c975b0f7..000000000000
--- a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/ColumnMetadata.php
+++ /dev/null
@@ -1,111 +0,0 @@
-google.bigtable.v2.ColumnMetadata
- */
-class ColumnMetadata extends \Google\Protobuf\Internal\Message
-{
- /**
- * The name of the column.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * The type of the column.
- *
- * Generated from protobuf field .google.bigtable.v2.Type type = 2;
- */
- protected $type = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The name of the column.
- * @type \Google\Cloud\Bigtable\V2\Type $type
- * The type of the column.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\V2\Data::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The name of the column.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The name of the column.
- *
- * 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 type of the column.
- *
- * Generated from protobuf field .google.bigtable.v2.Type type = 2;
- * @return \Google\Cloud\Bigtable\V2\Type|null
- */
- public function getType()
- {
- return $this->type;
- }
-
- public function hasType()
- {
- return isset($this->type);
- }
-
- public function clearType()
- {
- unset($this->type);
- }
-
- /**
- * The type of the column.
- *
- * Generated from protobuf field .google.bigtable.v2.Type type = 2;
- * @param \Google\Cloud\Bigtable\V2\Type $var
- * @return $this
- */
- public function setType($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\V2\Type::class);
- $this->type = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/ColumnRange.php b/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/ColumnRange.php
deleted file mode 100644
index d5ff522b00d6..000000000000
--- a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/ColumnRange.php
+++ /dev/null
@@ -1,220 +0,0 @@
-google.bigtable.v2.ColumnRange
- */
-class ColumnRange extends \Google\Protobuf\Internal\Message
-{
- /**
- * The name of the column family within which this range falls.
- *
- * Generated from protobuf field string family_name = 1;
- */
- protected $family_name = '';
- protected $start_qualifier;
- protected $end_qualifier;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $family_name
- * The name of the column family within which this range falls.
- * @type string $start_qualifier_closed
- * Used when giving an inclusive lower bound for the range.
- * @type string $start_qualifier_open
- * Used when giving an exclusive lower bound for the range.
- * @type string $end_qualifier_closed
- * Used when giving an inclusive upper bound for the range.
- * @type string $end_qualifier_open
- * Used when giving an exclusive upper bound for the range.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\V2\Data::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The name of the column family within which this range falls.
- *
- * Generated from protobuf field string family_name = 1;
- * @return string
- */
- public function getFamilyName()
- {
- return $this->family_name;
- }
-
- /**
- * The name of the column family within which this range falls.
- *
- * Generated from protobuf field string family_name = 1;
- * @param string $var
- * @return $this
- */
- public function setFamilyName($var)
- {
- GPBUtil::checkString($var, True);
- $this->family_name = $var;
-
- return $this;
- }
-
- /**
- * Used when giving an inclusive lower bound for the range.
- *
- * Generated from protobuf field bytes start_qualifier_closed = 2;
- * @return string
- */
- public function getStartQualifierClosed()
- {
- return $this->readOneof(2);
- }
-
- public function hasStartQualifierClosed()
- {
- return $this->hasOneof(2);
- }
-
- /**
- * Used when giving an inclusive lower bound for the range.
- *
- * Generated from protobuf field bytes start_qualifier_closed = 2;
- * @param string $var
- * @return $this
- */
- public function setStartQualifierClosed($var)
- {
- GPBUtil::checkString($var, False);
- $this->writeOneof(2, $var);
-
- return $this;
- }
-
- /**
- * Used when giving an exclusive lower bound for the range.
- *
- * Generated from protobuf field bytes start_qualifier_open = 3;
- * @return string
- */
- public function getStartQualifierOpen()
- {
- return $this->readOneof(3);
- }
-
- public function hasStartQualifierOpen()
- {
- return $this->hasOneof(3);
- }
-
- /**
- * Used when giving an exclusive lower bound for the range.
- *
- * Generated from protobuf field bytes start_qualifier_open = 3;
- * @param string $var
- * @return $this
- */
- public function setStartQualifierOpen($var)
- {
- GPBUtil::checkString($var, False);
- $this->writeOneof(3, $var);
-
- return $this;
- }
-
- /**
- * Used when giving an inclusive upper bound for the range.
- *
- * Generated from protobuf field bytes end_qualifier_closed = 4;
- * @return string
- */
- public function getEndQualifierClosed()
- {
- return $this->readOneof(4);
- }
-
- public function hasEndQualifierClosed()
- {
- return $this->hasOneof(4);
- }
-
- /**
- * Used when giving an inclusive upper bound for the range.
- *
- * Generated from protobuf field bytes end_qualifier_closed = 4;
- * @param string $var
- * @return $this
- */
- public function setEndQualifierClosed($var)
- {
- GPBUtil::checkString($var, False);
- $this->writeOneof(4, $var);
-
- return $this;
- }
-
- /**
- * Used when giving an exclusive upper bound for the range.
- *
- * Generated from protobuf field bytes end_qualifier_open = 5;
- * @return string
- */
- public function getEndQualifierOpen()
- {
- return $this->readOneof(5);
- }
-
- public function hasEndQualifierOpen()
- {
- return $this->hasOneof(5);
- }
-
- /**
- * Used when giving an exclusive upper bound for the range.
- *
- * Generated from protobuf field bytes end_qualifier_open = 5;
- * @param string $var
- * @return $this
- */
- public function setEndQualifierOpen($var)
- {
- GPBUtil::checkString($var, False);
- $this->writeOneof(5, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getStartQualifier()
- {
- return $this->whichOneof("start_qualifier");
- }
-
- /**
- * @return string
- */
- public function getEndQualifier()
- {
- return $this->whichOneof("end_qualifier");
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/ExecuteQueryRequest.php b/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/ExecuteQueryRequest.php
deleted file mode 100644
index e51a31680124..000000000000
--- a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/ExecuteQueryRequest.php
+++ /dev/null
@@ -1,383 +0,0 @@
-google.bigtable.v2.ExecuteQueryRequest
- */
-class ExecuteQueryRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the instance against which the query should be
- * executed.
- * Values are of the form `projects//instances/`
- *
- * Generated from protobuf field string instance_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $instance_name = '';
- /**
- * Optional. This value specifies routing for replication. If not specified,
- * the `default` application profile will be used.
- *
- * Generated from protobuf field string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $app_profile_id = '';
- /**
- * Required. The query string.
- *
- * Generated from protobuf field string query = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $query = '';
- /**
- * Optional. If this request is resuming a previously interrupted query
- * execution, `resume_token` should be copied from the last
- * PartialResultSet yielded before the interruption. Doing this
- * enables the query execution to resume where the last one left
- * off.
- * The rest of the request parameters must exactly match the
- * request that yielded this token. Otherwise the request will fail.
- *
- * Generated from protobuf field bytes resume_token = 8 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $resume_token = '';
- /**
- * Required. params contains string type keys and Bigtable type values that
- * bind to placeholders in the query string. In query string, a parameter
- * placeholder consists of the
- * `@` character followed by the parameter name (for example, `@firstName`) in
- * the query string.
- * For example, if
- * `params["firstName"] = bytes_value: "foo" type {bytes_type {}}`
- * then `@firstName` will be replaced with googlesql bytes value "foo" in the
- * query string during query evaluation.
- * In case of Value.kind is not set, it will be set to corresponding null
- * value in googlesql.
- * `params["firstName"] = type {string_type {}}`
- * then `@firstName` will be replaced with googlesql null string.
- * Value.type should always be set and no inference of type will be made from
- * Value.kind. If Value.type is not set, we will return INVALID_ARGUMENT
- * error.
- *
- * Generated from protobuf field map params = 7 [(.google.api.field_behavior) = REQUIRED];
- */
- private $params;
- protected $data_format;
-
- /**
- * @param string $instanceName Required. The unique name of the instance against which the query should be
- * executed.
- * Values are of the form `projects//instances/`
- * Please see {@see BigtableClient::instanceName()} for help formatting this field.
- * @param string $query Required. The query string.
- *
- * @return \Google\Cloud\Bigtable\V2\ExecuteQueryRequest
- *
- * @experimental
- */
- public static function build(string $instanceName, string $query): self
- {
- return (new self())
- ->setInstanceName($instanceName)
- ->setQuery($query);
- }
-
- /**
- * @param string $instanceName Required. The unique name of the instance against which the query should be
- * executed.
- * Values are of the form `projects//instances/`
- * Please see {@see BigtableClient::instanceName()} for help formatting this field.
- * @param string $query Required. The query string.
- * @param string $appProfileId Optional. This value specifies routing for replication. If not specified,
- * the `default` application profile will be used.
- *
- * @return \Google\Cloud\Bigtable\V2\ExecuteQueryRequest
- *
- * @experimental
- */
- public static function buildFromInstanceNameQueryAppProfileId(string $instanceName, string $query, string $appProfileId): self
- {
- return (new self())
- ->setInstanceName($instanceName)
- ->setQuery($query)
- ->setAppProfileId($appProfileId);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance_name
- * Required. The unique name of the instance against which the query should be
- * executed.
- * Values are of the form `projects//instances/`
- * @type string $app_profile_id
- * Optional. This value specifies routing for replication. If not specified,
- * the `default` application profile will be used.
- * @type string $query
- * Required. The query string.
- * @type \Google\Cloud\Bigtable\V2\ProtoFormat $proto_format
- * Protocol buffer format as described by ProtoSchema and ProtoRows
- * messages.
- * @type string $resume_token
- * Optional. If this request is resuming a previously interrupted query
- * execution, `resume_token` should be copied from the last
- * PartialResultSet yielded before the interruption. Doing this
- * enables the query execution to resume where the last one left
- * off.
- * The rest of the request parameters must exactly match the
- * request that yielded this token. Otherwise the request will fail.
- * @type array|\Google\Protobuf\Internal\MapField $params
- * Required. params contains string type keys and Bigtable type values that
- * bind to placeholders in the query string. In query string, a parameter
- * placeholder consists of the
- * `@` character followed by the parameter name (for example, `@firstName`) in
- * the query string.
- * For example, if
- * `params["firstName"] = bytes_value: "foo" type {bytes_type {}}`
- * then `@firstName` will be replaced with googlesql bytes value "foo" in the
- * query string during query evaluation.
- * In case of Value.kind is not set, it will be set to corresponding null
- * value in googlesql.
- * `params["firstName"] = type {string_type {}}`
- * then `@firstName` will be replaced with googlesql null string.
- * Value.type should always be set and no inference of type will be made from
- * Value.kind. If Value.type is not set, we will return INVALID_ARGUMENT
- * error.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\V2\Bigtable::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the instance against which the query should be
- * executed.
- * Values are of the form `projects//instances/`
- *
- * Generated from protobuf field string instance_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getInstanceName()
- {
- return $this->instance_name;
- }
-
- /**
- * Required. The unique name of the instance against which the query should be
- * executed.
- * Values are of the form `projects//instances/`
- *
- * Generated from protobuf field string instance_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setInstanceName($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance_name = $var;
-
- return $this;
- }
-
- /**
- * Optional. This value specifies routing for replication. If not specified,
- * the `default` application profile will be used.
- *
- * Generated from protobuf field string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getAppProfileId()
- {
- return $this->app_profile_id;
- }
-
- /**
- * Optional. This value specifies routing for replication. If not specified,
- * the `default` application profile will be used.
- *
- * Generated from protobuf field string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setAppProfileId($var)
- {
- GPBUtil::checkString($var, True);
- $this->app_profile_id = $var;
-
- return $this;
- }
-
- /**
- * Required. The query string.
- *
- * Generated from protobuf field string query = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getQuery()
- {
- return $this->query;
- }
-
- /**
- * Required. The query string.
- *
- * Generated from protobuf field string query = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setQuery($var)
- {
- GPBUtil::checkString($var, True);
- $this->query = $var;
-
- return $this;
- }
-
- /**
- * Protocol buffer format as described by ProtoSchema and ProtoRows
- * messages.
- *
- * Generated from protobuf field .google.bigtable.v2.ProtoFormat proto_format = 4;
- * @return \Google\Cloud\Bigtable\V2\ProtoFormat|null
- */
- public function getProtoFormat()
- {
- return $this->readOneof(4);
- }
-
- public function hasProtoFormat()
- {
- return $this->hasOneof(4);
- }
-
- /**
- * Protocol buffer format as described by ProtoSchema and ProtoRows
- * messages.
- *
- * Generated from protobuf field .google.bigtable.v2.ProtoFormat proto_format = 4;
- * @param \Google\Cloud\Bigtable\V2\ProtoFormat $var
- * @return $this
- */
- public function setProtoFormat($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\V2\ProtoFormat::class);
- $this->writeOneof(4, $var);
-
- return $this;
- }
-
- /**
- * Optional. If this request is resuming a previously interrupted query
- * execution, `resume_token` should be copied from the last
- * PartialResultSet yielded before the interruption. Doing this
- * enables the query execution to resume where the last one left
- * off.
- * The rest of the request parameters must exactly match the
- * request that yielded this token. Otherwise the request will fail.
- *
- * Generated from protobuf field bytes resume_token = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getResumeToken()
- {
- return $this->resume_token;
- }
-
- /**
- * Optional. If this request is resuming a previously interrupted query
- * execution, `resume_token` should be copied from the last
- * PartialResultSet yielded before the interruption. Doing this
- * enables the query execution to resume where the last one left
- * off.
- * The rest of the request parameters must exactly match the
- * request that yielded this token. Otherwise the request will fail.
- *
- * Generated from protobuf field bytes resume_token = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setResumeToken($var)
- {
- GPBUtil::checkString($var, False);
- $this->resume_token = $var;
-
- return $this;
- }
-
- /**
- * Required. params contains string type keys and Bigtable type values that
- * bind to placeholders in the query string. In query string, a parameter
- * placeholder consists of the
- * `@` character followed by the parameter name (for example, `@firstName`) in
- * the query string.
- * For example, if
- * `params["firstName"] = bytes_value: "foo" type {bytes_type {}}`
- * then `@firstName` will be replaced with googlesql bytes value "foo" in the
- * query string during query evaluation.
- * In case of Value.kind is not set, it will be set to corresponding null
- * value in googlesql.
- * `params["firstName"] = type {string_type {}}`
- * then `@firstName` will be replaced with googlesql null string.
- * Value.type should always be set and no inference of type will be made from
- * Value.kind. If Value.type is not set, we will return INVALID_ARGUMENT
- * error.
- *
- * Generated from protobuf field map params = 7 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\Internal\MapField
- */
- public function getParams()
- {
- return $this->params;
- }
-
- /**
- * Required. params contains string type keys and Bigtable type values that
- * bind to placeholders in the query string. In query string, a parameter
- * placeholder consists of the
- * `@` character followed by the parameter name (for example, `@firstName`) in
- * the query string.
- * For example, if
- * `params["firstName"] = bytes_value: "foo" type {bytes_type {}}`
- * then `@firstName` will be replaced with googlesql bytes value "foo" in the
- * query string during query evaluation.
- * In case of Value.kind is not set, it will be set to corresponding null
- * value in googlesql.
- * `params["firstName"] = type {string_type {}}`
- * then `@firstName` will be replaced with googlesql null string.
- * Value.type should always be set and no inference of type will be made from
- * Value.kind. If Value.type is not set, we will return INVALID_ARGUMENT
- * error.
- *
- * Generated from protobuf field map params = 7 [(.google.api.field_behavior) = REQUIRED];
- * @param array|\Google\Protobuf\Internal\MapField $var
- * @return $this
- */
- public function setParams($var)
- {
- $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\V2\Value::class);
- $this->params = $arr;
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getDataFormat()
- {
- return $this->whichOneof("data_format");
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/ExecuteQueryResponse.php b/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/ExecuteQueryResponse.php
deleted file mode 100644
index d007d3387015..000000000000
--- a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/ExecuteQueryResponse.php
+++ /dev/null
@@ -1,117 +0,0 @@
-google.bigtable.v2.ExecuteQueryResponse
- */
-class ExecuteQueryResponse extends \Google\Protobuf\Internal\Message
-{
- protected $response;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\V2\ResultSetMetadata $metadata
- * Structure of rows in this response stream. The first (and only the first)
- * response streamed from the server will be of this type.
- * @type \Google\Cloud\Bigtable\V2\PartialResultSet $results
- * A partial result set with row data potentially including additional
- * instructions on how recent past and future partial responses should be
- * interpreted.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\V2\Bigtable::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Structure of rows in this response stream. The first (and only the first)
- * response streamed from the server will be of this type.
- *
- * Generated from protobuf field .google.bigtable.v2.ResultSetMetadata metadata = 1;
- * @return \Google\Cloud\Bigtable\V2\ResultSetMetadata|null
- */
- public function getMetadata()
- {
- return $this->readOneof(1);
- }
-
- public function hasMetadata()
- {
- return $this->hasOneof(1);
- }
-
- /**
- * Structure of rows in this response stream. The first (and only the first)
- * response streamed from the server will be of this type.
- *
- * Generated from protobuf field .google.bigtable.v2.ResultSetMetadata metadata = 1;
- * @param \Google\Cloud\Bigtable\V2\ResultSetMetadata $var
- * @return $this
- */
- public function setMetadata($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\V2\ResultSetMetadata::class);
- $this->writeOneof(1, $var);
-
- return $this;
- }
-
- /**
- * A partial result set with row data potentially including additional
- * instructions on how recent past and future partial responses should be
- * interpreted.
- *
- * Generated from protobuf field .google.bigtable.v2.PartialResultSet results = 2;
- * @return \Google\Cloud\Bigtable\V2\PartialResultSet|null
- */
- public function getResults()
- {
- return $this->readOneof(2);
- }
-
- public function hasResults()
- {
- return $this->hasOneof(2);
- }
-
- /**
- * A partial result set with row data potentially including additional
- * instructions on how recent past and future partial responses should be
- * interpreted.
- *
- * Generated from protobuf field .google.bigtable.v2.PartialResultSet results = 2;
- * @param \Google\Cloud\Bigtable\V2\PartialResultSet $var
- * @return $this
- */
- public function setResults($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\V2\PartialResultSet::class);
- $this->writeOneof(2, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getResponse()
- {
- return $this->whichOneof("response");
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/Family.php b/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/Family.php
deleted file mode 100644
index 429023c4587d..000000000000
--- a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/Family.php
+++ /dev/null
@@ -1,122 +0,0 @@
-google.bigtable.v2.Family
- */
-class Family extends \Google\Protobuf\Internal\Message
-{
- /**
- * The unique key which identifies this family within its row. This is the
- * same key that's used to identify the family in, for example, a RowFilter
- * which sets its "family_name_regex_filter" field.
- * Must match `[-_.a-zA-Z0-9]+`, except that AggregatingRowProcessors may
- * produce cells in a sentinel family with an empty name.
- * Must be no greater than 64 characters in length.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * Must not be empty. Sorted in order of increasing "qualifier".
- *
- * Generated from protobuf field repeated .google.bigtable.v2.Column columns = 2;
- */
- private $columns;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The unique key which identifies this family within its row. This is the
- * same key that's used to identify the family in, for example, a RowFilter
- * which sets its "family_name_regex_filter" field.
- * Must match `[-_.a-zA-Z0-9]+`, except that AggregatingRowProcessors may
- * produce cells in a sentinel family with an empty name.
- * Must be no greater than 64 characters in length.
- * @type array<\Google\Cloud\Bigtable\V2\Column>|\Google\Protobuf\Internal\RepeatedField $columns
- * Must not be empty. Sorted in order of increasing "qualifier".
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\V2\Data::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The unique key which identifies this family within its row. This is the
- * same key that's used to identify the family in, for example, a RowFilter
- * which sets its "family_name_regex_filter" field.
- * Must match `[-_.a-zA-Z0-9]+`, except that AggregatingRowProcessors may
- * produce cells in a sentinel family with an empty name.
- * Must be no greater than 64 characters in length.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The unique key which identifies this family within its row. This is the
- * same key that's used to identify the family in, for example, a RowFilter
- * which sets its "family_name_regex_filter" field.
- * Must match `[-_.a-zA-Z0-9]+`, except that AggregatingRowProcessors may
- * produce cells in a sentinel family with an empty name.
- * Must be no greater than 64 characters in length.
- *
- * 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;
- }
-
- /**
- * Must not be empty. Sorted in order of increasing "qualifier".
- *
- * Generated from protobuf field repeated .google.bigtable.v2.Column columns = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getColumns()
- {
- return $this->columns;
- }
-
- /**
- * Must not be empty. Sorted in order of increasing "qualifier".
- *
- * Generated from protobuf field repeated .google.bigtable.v2.Column columns = 2;
- * @param array<\Google\Cloud\Bigtable\V2\Column>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setColumns($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\V2\Column::class);
- $this->columns = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/FeatureFlags.php b/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/FeatureFlags.php
deleted file mode 100644
index 51c17b64d53f..000000000000
--- a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/FeatureFlags.php
+++ /dev/null
@@ -1,378 +0,0 @@
-google.bigtable.v2.FeatureFlags
- */
-class FeatureFlags extends \Google\Protobuf\Internal\Message
-{
- /**
- * Notify the server that the client supports reverse scans. The server will
- * reject ReadRowsRequests with the reverse bit set when this is absent.
- *
- * Generated from protobuf field bool reverse_scans = 1;
- */
- protected $reverse_scans = false;
- /**
- * Notify the server that the client enables batch write flow control by
- * requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons,
- * this disables partial retries.
- *
- * Generated from protobuf field bool mutate_rows_rate_limit = 3;
- */
- protected $mutate_rows_rate_limit = false;
- /**
- * Notify the server that the client enables batch write flow control by
- * requesting RateLimitInfo from MutateRowsResponse. With partial retries
- * enabled.
- *
- * Generated from protobuf field bool mutate_rows_rate_limit2 = 5;
- */
- protected $mutate_rows_rate_limit2 = false;
- /**
- * Notify the server that the client supports the last_scanned_row field
- * in ReadRowsResponse for long-running scans.
- *
- * Generated from protobuf field bool last_scanned_row_responses = 4;
- */
- protected $last_scanned_row_responses = false;
- /**
- * Notify the server that the client supports using encoded routing cookie
- * strings to retry requests with.
- *
- * Generated from protobuf field bool routing_cookie = 6;
- */
- protected $routing_cookie = false;
- /**
- * Notify the server that the client supports using retry info back off
- * durations to retry requests with.
- *
- * Generated from protobuf field bool retry_info = 7;
- */
- protected $retry_info = false;
- /**
- * Notify the server that the client has client side metrics enabled.
- *
- * Generated from protobuf field bool client_side_metrics_enabled = 8;
- */
- protected $client_side_metrics_enabled = false;
- /**
- * Notify the server that the client using Traffic Director endpoint.
- *
- * Generated from protobuf field bool traffic_director_enabled = 9;
- */
- protected $traffic_director_enabled = false;
- /**
- * Notify the server that the client explicitly opted in for Direct Access.
- *
- * Generated from protobuf field bool direct_access_requested = 10;
- */
- protected $direct_access_requested = false;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type bool $reverse_scans
- * Notify the server that the client supports reverse scans. The server will
- * reject ReadRowsRequests with the reverse bit set when this is absent.
- * @type bool $mutate_rows_rate_limit
- * Notify the server that the client enables batch write flow control by
- * requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons,
- * this disables partial retries.
- * @type bool $mutate_rows_rate_limit2
- * Notify the server that the client enables batch write flow control by
- * requesting RateLimitInfo from MutateRowsResponse. With partial retries
- * enabled.
- * @type bool $last_scanned_row_responses
- * Notify the server that the client supports the last_scanned_row field
- * in ReadRowsResponse for long-running scans.
- * @type bool $routing_cookie
- * Notify the server that the client supports using encoded routing cookie
- * strings to retry requests with.
- * @type bool $retry_info
- * Notify the server that the client supports using retry info back off
- * durations to retry requests with.
- * @type bool $client_side_metrics_enabled
- * Notify the server that the client has client side metrics enabled.
- * @type bool $traffic_director_enabled
- * Notify the server that the client using Traffic Director endpoint.
- * @type bool $direct_access_requested
- * Notify the server that the client explicitly opted in for Direct Access.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\V2\FeatureFlags::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Notify the server that the client supports reverse scans. The server will
- * reject ReadRowsRequests with the reverse bit set when this is absent.
- *
- * Generated from protobuf field bool reverse_scans = 1;
- * @return bool
- */
- public function getReverseScans()
- {
- return $this->reverse_scans;
- }
-
- /**
- * Notify the server that the client supports reverse scans. The server will
- * reject ReadRowsRequests with the reverse bit set when this is absent.
- *
- * Generated from protobuf field bool reverse_scans = 1;
- * @param bool $var
- * @return $this
- */
- public function setReverseScans($var)
- {
- GPBUtil::checkBool($var);
- $this->reverse_scans = $var;
-
- return $this;
- }
-
- /**
- * Notify the server that the client enables batch write flow control by
- * requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons,
- * this disables partial retries.
- *
- * Generated from protobuf field bool mutate_rows_rate_limit = 3;
- * @return bool
- */
- public function getMutateRowsRateLimit()
- {
- return $this->mutate_rows_rate_limit;
- }
-
- /**
- * Notify the server that the client enables batch write flow control by
- * requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons,
- * this disables partial retries.
- *
- * Generated from protobuf field bool mutate_rows_rate_limit = 3;
- * @param bool $var
- * @return $this
- */
- public function setMutateRowsRateLimit($var)
- {
- GPBUtil::checkBool($var);
- $this->mutate_rows_rate_limit = $var;
-
- return $this;
- }
-
- /**
- * Notify the server that the client enables batch write flow control by
- * requesting RateLimitInfo from MutateRowsResponse. With partial retries
- * enabled.
- *
- * Generated from protobuf field bool mutate_rows_rate_limit2 = 5;
- * @return bool
- */
- public function getMutateRowsRateLimit2()
- {
- return $this->mutate_rows_rate_limit2;
- }
-
- /**
- * Notify the server that the client enables batch write flow control by
- * requesting RateLimitInfo from MutateRowsResponse. With partial retries
- * enabled.
- *
- * Generated from protobuf field bool mutate_rows_rate_limit2 = 5;
- * @param bool $var
- * @return $this
- */
- public function setMutateRowsRateLimit2($var)
- {
- GPBUtil::checkBool($var);
- $this->mutate_rows_rate_limit2 = $var;
-
- return $this;
- }
-
- /**
- * Notify the server that the client supports the last_scanned_row field
- * in ReadRowsResponse for long-running scans.
- *
- * Generated from protobuf field bool last_scanned_row_responses = 4;
- * @return bool
- */
- public function getLastScannedRowResponses()
- {
- return $this->last_scanned_row_responses;
- }
-
- /**
- * Notify the server that the client supports the last_scanned_row field
- * in ReadRowsResponse for long-running scans.
- *
- * Generated from protobuf field bool last_scanned_row_responses = 4;
- * @param bool $var
- * @return $this
- */
- public function setLastScannedRowResponses($var)
- {
- GPBUtil::checkBool($var);
- $this->last_scanned_row_responses = $var;
-
- return $this;
- }
-
- /**
- * Notify the server that the client supports using encoded routing cookie
- * strings to retry requests with.
- *
- * Generated from protobuf field bool routing_cookie = 6;
- * @return bool
- */
- public function getRoutingCookie()
- {
- return $this->routing_cookie;
- }
-
- /**
- * Notify the server that the client supports using encoded routing cookie
- * strings to retry requests with.
- *
- * Generated from protobuf field bool routing_cookie = 6;
- * @param bool $var
- * @return $this
- */
- public function setRoutingCookie($var)
- {
- GPBUtil::checkBool($var);
- $this->routing_cookie = $var;
-
- return $this;
- }
-
- /**
- * Notify the server that the client supports using retry info back off
- * durations to retry requests with.
- *
- * Generated from protobuf field bool retry_info = 7;
- * @return bool
- */
- public function getRetryInfo()
- {
- return $this->retry_info;
- }
-
- /**
- * Notify the server that the client supports using retry info back off
- * durations to retry requests with.
- *
- * Generated from protobuf field bool retry_info = 7;
- * @param bool $var
- * @return $this
- */
- public function setRetryInfo($var)
- {
- GPBUtil::checkBool($var);
- $this->retry_info = $var;
-
- return $this;
- }
-
- /**
- * Notify the server that the client has client side metrics enabled.
- *
- * Generated from protobuf field bool client_side_metrics_enabled = 8;
- * @return bool
- */
- public function getClientSideMetricsEnabled()
- {
- return $this->client_side_metrics_enabled;
- }
-
- /**
- * Notify the server that the client has client side metrics enabled.
- *
- * Generated from protobuf field bool client_side_metrics_enabled = 8;
- * @param bool $var
- * @return $this
- */
- public function setClientSideMetricsEnabled($var)
- {
- GPBUtil::checkBool($var);
- $this->client_side_metrics_enabled = $var;
-
- return $this;
- }
-
- /**
- * Notify the server that the client using Traffic Director endpoint.
- *
- * Generated from protobuf field bool traffic_director_enabled = 9;
- * @return bool
- */
- public function getTrafficDirectorEnabled()
- {
- return $this->traffic_director_enabled;
- }
-
- /**
- * Notify the server that the client using Traffic Director endpoint.
- *
- * Generated from protobuf field bool traffic_director_enabled = 9;
- * @param bool $var
- * @return $this
- */
- public function setTrafficDirectorEnabled($var)
- {
- GPBUtil::checkBool($var);
- $this->traffic_director_enabled = $var;
-
- return $this;
- }
-
- /**
- * Notify the server that the client explicitly opted in for Direct Access.
- *
- * Generated from protobuf field bool direct_access_requested = 10;
- * @return bool
- */
- public function getDirectAccessRequested()
- {
- return $this->direct_access_requested;
- }
-
- /**
- * Notify the server that the client explicitly opted in for Direct Access.
- *
- * Generated from protobuf field bool direct_access_requested = 10;
- * @param bool $var
- * @return $this
- */
- public function setDirectAccessRequested($var)
- {
- GPBUtil::checkBool($var);
- $this->direct_access_requested = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/FullReadStatsView.php b/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/FullReadStatsView.php
deleted file mode 100644
index 3376ecb5017e..000000000000
--- a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/FullReadStatsView.php
+++ /dev/null
@@ -1,137 +0,0 @@
-google.bigtable.v2.FullReadStatsView
- */
-class FullReadStatsView extends \Google\Protobuf\Internal\Message
-{
- /**
- * Iteration stats describe how efficient the read is, e.g. comparing
- * rows seen vs. rows returned or cells seen vs cells returned can provide an
- * indication of read efficiency (the higher the ratio of seen to retuned the
- * better).
- *
- * Generated from protobuf field .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1;
- */
- protected $read_iteration_stats = null;
- /**
- * Request latency stats describe the time taken to complete a request, from
- * the server side.
- *
- * Generated from protobuf field .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2;
- */
- protected $request_latency_stats = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\V2\ReadIterationStats $read_iteration_stats
- * Iteration stats describe how efficient the read is, e.g. comparing
- * rows seen vs. rows returned or cells seen vs cells returned can provide an
- * indication of read efficiency (the higher the ratio of seen to retuned the
- * better).
- * @type \Google\Cloud\Bigtable\V2\RequestLatencyStats $request_latency_stats
- * Request latency stats describe the time taken to complete a request, from
- * the server side.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\V2\RequestStats::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Iteration stats describe how efficient the read is, e.g. comparing
- * rows seen vs. rows returned or cells seen vs cells returned can provide an
- * indication of read efficiency (the higher the ratio of seen to retuned the
- * better).
- *
- * Generated from protobuf field .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1;
- * @return \Google\Cloud\Bigtable\V2\ReadIterationStats|null
- */
- public function getReadIterationStats()
- {
- return $this->read_iteration_stats;
- }
-
- public function hasReadIterationStats()
- {
- return isset($this->read_iteration_stats);
- }
-
- public function clearReadIterationStats()
- {
- unset($this->read_iteration_stats);
- }
-
- /**
- * Iteration stats describe how efficient the read is, e.g. comparing
- * rows seen vs. rows returned or cells seen vs cells returned can provide an
- * indication of read efficiency (the higher the ratio of seen to retuned the
- * better).
- *
- * Generated from protobuf field .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1;
- * @param \Google\Cloud\Bigtable\V2\ReadIterationStats $var
- * @return $this
- */
- public function setReadIterationStats($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\V2\ReadIterationStats::class);
- $this->read_iteration_stats = $var;
-
- return $this;
- }
-
- /**
- * Request latency stats describe the time taken to complete a request, from
- * the server side.
- *
- * Generated from protobuf field .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2;
- * @return \Google\Cloud\Bigtable\V2\RequestLatencyStats|null
- */
- public function getRequestLatencyStats()
- {
- return $this->request_latency_stats;
- }
-
- public function hasRequestLatencyStats()
- {
- return isset($this->request_latency_stats);
- }
-
- public function clearRequestLatencyStats()
- {
- unset($this->request_latency_stats);
- }
-
- /**
- * Request latency stats describe the time taken to complete a request, from
- * the server side.
- *
- * Generated from protobuf field .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2;
- * @param \Google\Cloud\Bigtable\V2\RequestLatencyStats $var
- * @return $this
- */
- public function setRequestLatencyStats($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\V2\RequestLatencyStats::class);
- $this->request_latency_stats = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/GenerateInitialChangeStreamPartitionsRequest.php b/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/GenerateInitialChangeStreamPartitionsRequest.php
deleted file mode 100644
index 67233adb93bf..000000000000
--- a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/GenerateInitialChangeStreamPartitionsRequest.php
+++ /dev/null
@@ -1,160 +0,0 @@
-google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest
- */
-class GenerateInitialChangeStreamPartitionsRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The unique name of the table from which to get change stream
- * partitions. Values are of the form
- * `projects//instances//tables/`.
- * Change streaming must be enabled on the table.
- *
- * Generated from protobuf field string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $table_name = '';
- /**
- * This value specifies routing for replication. If not specified, the
- * "default" application profile will be used.
- * Single cluster routing must be configured on the profile.
- *
- * Generated from protobuf field string app_profile_id = 2;
- */
- protected $app_profile_id = '';
-
- /**
- * @param string $tableName Required. The unique name of the table from which to get change stream
- * partitions. Values are of the form
- * `projects//instances//tables/`.
- * Change streaming must be enabled on the table. Please see
- * {@see BigtableClient::tableName()} for help formatting this field.
- *
- * @return \Google\Cloud\Bigtable\V2\GenerateInitialChangeStreamPartitionsRequest
- *
- * @experimental
- */
- public static function build(string $tableName): self
- {
- return (new self())
- ->setTableName($tableName);
- }
-
- /**
- * @param string $tableName Required. The unique name of the table from which to get change stream
- * partitions. Values are of the form
- * `projects//instances//tables/`.
- * Change streaming must be enabled on the table. Please see
- * {@see BigtableClient::tableName()} for help formatting this field.
- * @param string $appProfileId This value specifies routing for replication. If not specified, the
- * "default" application profile will be used.
- * Single cluster routing must be configured on the profile.
- *
- * @return \Google\Cloud\Bigtable\V2\GenerateInitialChangeStreamPartitionsRequest
- *
- * @experimental
- */
- public static function buildFromTableNameAppProfileId(string $tableName, string $appProfileId): self
- {
- return (new self())
- ->setTableName($tableName)
- ->setAppProfileId($appProfileId);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $table_name
- * Required. The unique name of the table from which to get change stream
- * partitions. Values are of the form
- * `projects//instances//tables/`.
- * Change streaming must be enabled on the table.
- * @type string $app_profile_id
- * This value specifies routing for replication. If not specified, the
- * "default" application profile will be used.
- * Single cluster routing must be configured on the profile.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\V2\Bigtable::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The unique name of the table from which to get change stream
- * partitions. Values are of the form
- * `projects//instances//tables/`.
- * Change streaming must be enabled on the table.
- *
- * Generated from protobuf field string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getTableName()
- {
- return $this->table_name;
- }
-
- /**
- * Required. The unique name of the table from which to get change stream
- * partitions. Values are of the form
- * `projects//instances//tables/`.
- * Change streaming must be enabled on the table.
- *
- * Generated from protobuf field string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setTableName($var)
- {
- GPBUtil::checkString($var, True);
- $this->table_name = $var;
-
- return $this;
- }
-
- /**
- * This value specifies routing for replication. If not specified, the
- * "default" application profile will be used.
- * Single cluster routing must be configured on the profile.
- *
- * Generated from protobuf field string app_profile_id = 2;
- * @return string
- */
- public function getAppProfileId()
- {
- return $this->app_profile_id;
- }
-
- /**
- * This value specifies routing for replication. If not specified, the
- * "default" application profile will be used.
- * Single cluster routing must be configured on the profile.
- *
- * Generated from protobuf field string app_profile_id = 2;
- * @param string $var
- * @return $this
- */
- public function setAppProfileId($var)
- {
- GPBUtil::checkString($var, True);
- $this->app_profile_id = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/GenerateInitialChangeStreamPartitionsResponse.php b/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/GenerateInitialChangeStreamPartitionsResponse.php
deleted file mode 100644
index 26f241b3bd8c..000000000000
--- a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/GenerateInitialChangeStreamPartitionsResponse.php
+++ /dev/null
@@ -1,78 +0,0 @@
-google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse
- */
-class GenerateInitialChangeStreamPartitionsResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * A partition of the change stream.
- *
- * Generated from protobuf field .google.bigtable.v2.StreamPartition partition = 1;
- */
- protected $partition = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Bigtable\V2\StreamPartition $partition
- * A partition of the change stream.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Bigtable\V2\Bigtable::initOnce();
- parent::__construct($data);
- }
-
- /**
- * A partition of the change stream.
- *
- * Generated from protobuf field .google.bigtable.v2.StreamPartition partition = 1;
- * @return \Google\Cloud\Bigtable\V2\StreamPartition|null
- */
- public function getPartition()
- {
- return $this->partition;
- }
-
- public function hasPartition()
- {
- return isset($this->partition);
- }
-
- public function clearPartition()
- {
- unset($this->partition);
- }
-
- /**
- * A partition of the change stream.
- *
- * Generated from protobuf field .google.bigtable.v2.StreamPartition partition = 1;
- * @param \Google\Cloud\Bigtable\V2\StreamPartition $var
- * @return $this
- */
- public function setPartition($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\V2\StreamPartition::class);
- $this->partition = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/MutateRowRequest.php b/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/MutateRowRequest.php
deleted file mode 100644
index 50e64e6e0217..000000000000
--- a/owl-bot-staging/Bigtable/v2/proto/src/Google/Cloud/Bigtable/V2/MutateRowRequest.php
+++ /dev/null
@@ -1,290 +0,0 @@
-google.bigtable.v2.MutateRowRequest
- */
-class MutateRowRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Optional. The unique name of the table to which the mutation should be
- * applied.
- * Values are of the form
- * `projects//instances//tables/`.
- *
- * Generated from protobuf field string table_name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
- */
- protected $table_name = '';
- /**
- * Optional. The unique name of the AuthorizedView to which the mutation
- * should be applied.
- * Values are of the form
- * `projects//instances//tables//authorizedViews/`.
- *
- * Generated from protobuf field