Reference documentation and code samples for the Cloud Bigtable V2 Client class FeatureFlags.
Feature flags supported or enabled by a client.
This is intended to be sent as part of request metadata to assure the server
that certain behaviors are safe to enable. This proto is meant to be
serialized and websafe-base64 encoded under the bigtable-features
metadata
key. The value will remain constant for the lifetime of a client and due to
HTTP2's HPACK compression, the request overhead will be tiny.
This is an internal implementation detail and should not be used by end users
directly.
Generated from protobuf message google.bigtable.v2.FeatureFlags
Namespace
Google \ Cloud \ Bigtable \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ reverse_scans |
bool
Notify the server that the client supports reverse scans. The server will reject ReadRowsRequests with the reverse bit set when this is absent. |
↳ mutate_rows_rate_limit |
bool
Notify the server that the client enables batch write flow control by requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons, this disables partial retries. |
↳ mutate_rows_rate_limit2 |
bool
Notify the server that the client enables batch write flow control by requesting RateLimitInfo from MutateRowsResponse. With partial retries enabled. |
↳ last_scanned_row_responses |
bool
Notify the server that the client supports the last_scanned_row field in ReadRowsResponse for long-running scans. |
↳ routing_cookie |
bool
Notify the server that the client supports using encoded routing cookie strings to retry requests with. |
↳ retry_info |
bool
Notify the server that the client supports using retry info back off durations to retry requests with. |
↳ client_side_metrics_enabled |
bool
Notify the server that the client has client side metrics enabled. |
↳ traffic_director_enabled |
bool
Notify the server that the client using Traffic Director endpoint. |
↳ direct_access_requested |
bool
Notify the server that the client explicitly opted in for Direct Access. |
getReverseScans
Notify the server that the client supports reverse scans. The server will reject ReadRowsRequests with the reverse bit set when this is absent.
Returns | |
---|---|
Type | Description |
bool |
setReverseScans
Notify the server that the client supports reverse scans. The server will reject ReadRowsRequests with the reverse bit set when this is absent.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getMutateRowsRateLimit
Notify the server that the client enables batch write flow control by requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons, this disables partial retries.
Returns | |
---|---|
Type | Description |
bool |
setMutateRowsRateLimit
Notify the server that the client enables batch write flow control by requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons, this disables partial retries.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getMutateRowsRateLimit2
Notify the server that the client enables batch write flow control by requesting RateLimitInfo from MutateRowsResponse. With partial retries enabled.
Returns | |
---|---|
Type | Description |
bool |
setMutateRowsRateLimit2
Notify the server that the client enables batch write flow control by requesting RateLimitInfo from MutateRowsResponse. With partial retries enabled.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getLastScannedRowResponses
Notify the server that the client supports the last_scanned_row field in ReadRowsResponse for long-running scans.
Returns | |
---|---|
Type | Description |
bool |
setLastScannedRowResponses
Notify the server that the client supports the last_scanned_row field in ReadRowsResponse for long-running scans.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getRoutingCookie
Notify the server that the client supports using encoded routing cookie strings to retry requests with.
Returns | |
---|---|
Type | Description |
bool |
setRoutingCookie
Notify the server that the client supports using encoded routing cookie strings to retry requests with.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getRetryInfo
Notify the server that the client supports using retry info back off durations to retry requests with.
Returns | |
---|---|
Type | Description |
bool |
setRetryInfo
Notify the server that the client supports using retry info back off durations to retry requests with.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getClientSideMetricsEnabled
Notify the server that the client has client side metrics enabled.
Returns | |
---|---|
Type | Description |
bool |
setClientSideMetricsEnabled
Notify the server that the client has client side metrics enabled.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getTrafficDirectorEnabled
Notify the server that the client using Traffic Director endpoint.
Returns | |
---|---|
Type | Description |
bool |
setTrafficDirectorEnabled
Notify the server that the client using Traffic Director endpoint.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getDirectAccessRequested
Notify the server that the client explicitly opted in for Direct Access.
Returns | |
---|---|
Type | Description |
bool |
setDirectAccessRequested
Notify the server that the client explicitly opted in for Direct Access.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |