From bf3966452ddad9e75eb955ff780b891f4128a63d Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Tue, 19 Dec 2023 09:29:46 -0800
Subject: [PATCH] feat: Adding feature flags for routing cookie and retry info
 (#6900)

PiperOrigin-RevId: 591912877
Source-Link: https://github.com/googleapis/googleapis/commit/f6505fe8d0daac2426c22be985ad3b745a4b5485
Source-Link: https://github.com/googleapis/googleapis-gen/commit/7499187415f8d405ef0d46dd6ff608b125c53c8f
Copy-Tag: eyJwIjoiQmlndGFibGUvLk93bEJvdC55YW1sIiwiaCI6Ijc0OTkxODc0MTVmOGQ0MDVlZjBkNDZkZDZmZjYwOGIxMjVjNTNjOGYifQ==
---
 Bigtable/metadata/V2/FeatureFlags.php |  9 ++--
 Bigtable/src/V2/FeatureFlags.php      | 76 +++++++++++++++++++++++++++
 2 files changed, 82 insertions(+), 3 deletions(-)

diff --git a/Bigtable/metadata/V2/FeatureFlags.php b/Bigtable/metadata/V2/FeatureFlags.php
index 669e6a0ec1bf..d8a9b49e8810 100644
--- a/Bigtable/metadata/V2/FeatureFlags.php
+++ b/Bigtable/metadata/V2/FeatureFlags.php
@@ -16,13 +16,16 @@ 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 (
 mutate_rows_rate_limit2 ("
-last_scanned_row_responses (B½
+last_scanned_row_responses (
+routing_cookie (
+
+retry_info (B½
 com.google.bigtable.v2BFeatureFlagsProtoPZ:google.golang.org/genproto/googleapis/bigtable/v2;bigtableª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 26273ff51463..90c3a53e83e8 100644
--- a/Bigtable/src/V2/FeatureFlags.php
+++ b/Bigtable/src/V2/FeatureFlags.php
@@ -52,6 +52,20 @@ class FeatureFlags extends \Google\Protobuf\Internal\Message
      * Generated from protobuf field <code>bool last_scanned_row_responses = 4;</code>
      */
     private $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 <code>bool routing_cookie = 6;</code>
+     */
+    private $routing_cookie = false;
+    /**
+     * Notify the server that the client supports using retry info back off
+     * durations to retry requests with.
+     *
+     * Generated from protobuf field <code>bool retry_info = 7;</code>
+     */
+    private $retry_info = false;
 
     /**
      * Constructor.
@@ -73,6 +87,12 @@ class FeatureFlags extends \Google\Protobuf\Internal\Message
      *     @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.
      * }
      */
     public function __construct($data = NULL) {
@@ -196,5 +216,61 @@ public function setLastScannedRowResponses($var)
         return $this;
     }
 
+    /**
+     * Notify the server that the client supports using encoded routing cookie
+     * strings to retry requests with.
+     *
+     * Generated from protobuf field <code>bool routing_cookie = 6;</code>
+     * @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 <code>bool routing_cookie = 6;</code>
+     * @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 <code>bool retry_info = 7;</code>
+     * @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 <code>bool retry_info = 7;</code>
+     * @param bool $var
+     * @return $this
+     */
+    public function setRetryInfo($var)
+    {
+        GPBUtil::checkBool($var);
+        $this->retry_info = $var;
+
+        return $this;
+    }
+
 }