@Generated public final class FeatureFlags extends com.google.protobuf.GeneratedMessage implements FeatureFlagsOrBuilder
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.Protobuf type
google.bigtable.v2.FeatureFlags| Modifier and Type | Class and Description |
|---|---|
static class |
FeatureFlags.Builder
Feature flags supported or enabled by a client.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CLIENT_SIDE_METRICS_ENABLED_FIELD_NUMBER |
static int |
DIRECT_ACCESS_REQUESTED_FIELD_NUMBER |
static int |
LAST_SCANNED_ROW_RESPONSES_FIELD_NUMBER |
static int |
MUTATE_ROWS_RATE_LIMIT_FIELD_NUMBER |
static int |
MUTATE_ROWS_RATE_LIMIT2_FIELD_NUMBER |
static int |
PEER_INFO_FIELD_NUMBER |
static int |
RETRY_INFO_FIELD_NUMBER |
static int |
REVERSE_SCANS_FIELD_NUMBER |
static int |
ROUTING_COOKIE_FIELD_NUMBER |
static int |
SESSIONS_COMPATIBLE_FIELD_NUMBER |
static int |
SESSIONS_REQUIRED_FIELD_NUMBER |
static int |
TRAFFIC_DIRECTOR_ENABLED_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getClientSideMetricsEnabled()
Notify the server that the client has client side metrics enabled.
|
static FeatureFlags |
getDefaultInstance() |
FeatureFlags |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getDirectAccessRequested()
Notify the server that the client explicitly opted in for Direct Access.
|
boolean |
getLastScannedRowResponses()
Notify the server that the client supports the last_scanned_row field
in ReadRowsResponse for long-running scans.
|
boolean |
getMutateRowsRateLimit()
Notify the server that the client enables batch write flow control by
requesting RateLimitInfo from MutateRowsResponse.
|
boolean |
getMutateRowsRateLimit2()
Notify the server that the client enables batch write flow control by
requesting RateLimitInfo from MutateRowsResponse.
|
com.google.protobuf.Parser<FeatureFlags> |
getParserForType() |
boolean |
getPeerInfo()
If the client can support using BigtablePeerInfo.
|
boolean |
getRetryInfo()
Notify the server that the client supports using retry info back off
durations to retry requests with.
|
boolean |
getReverseScans()
Notify the server that the client supports reverse scans.
|
boolean |
getRoutingCookie()
Notify the server that the client supports using encoded routing cookie
strings to retry requests with.
|
int |
getSerializedSize() |
boolean |
getSessionsCompatible()
Indicates whether the client supports the Bigtable Sessions API.
|
boolean |
getSessionsRequired()
Internal flag to force sessions for internal projects.
|
boolean |
getTrafficDirectorEnabled()
Notify the server that the client using Traffic Director endpoint.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FeatureFlags.Builder |
newBuilder() |
static FeatureFlags.Builder |
newBuilder(FeatureFlags prototype) |
FeatureFlags.Builder |
newBuilderForType() |
protected FeatureFlags.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static FeatureFlags |
parseDelimitedFrom(InputStream input) |
static FeatureFlags |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FeatureFlags |
parseFrom(byte[] data) |
static FeatureFlags |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FeatureFlags |
parseFrom(ByteBuffer data) |
static FeatureFlags |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FeatureFlags |
parseFrom(com.google.protobuf.ByteString data) |
static FeatureFlags |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FeatureFlags |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FeatureFlags |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FeatureFlags |
parseFrom(InputStream input) |
static FeatureFlags |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FeatureFlags> |
parser() |
FeatureFlags.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int REVERSE_SCANS_FIELD_NUMBER
public static final int MUTATE_ROWS_RATE_LIMIT_FIELD_NUMBER
public static final int MUTATE_ROWS_RATE_LIMIT2_FIELD_NUMBER
public static final int LAST_SCANNED_ROW_RESPONSES_FIELD_NUMBER
public static final int ROUTING_COOKIE_FIELD_NUMBER
public static final int RETRY_INFO_FIELD_NUMBER
public static final int CLIENT_SIDE_METRICS_ENABLED_FIELD_NUMBER
public static final int TRAFFIC_DIRECTOR_ENABLED_FIELD_NUMBER
public static final int DIRECT_ACCESS_REQUESTED_FIELD_NUMBER
public static final int PEER_INFO_FIELD_NUMBER
public static final int SESSIONS_COMPATIBLE_FIELD_NUMBER
public static final int SESSIONS_REQUIRED_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean getReverseScans()
Notify the server that the client supports reverse scans. The server will reject ReadRowsRequests with the reverse bit set when this is absent.
bool reverse_scans = 1;getReverseScans in interface FeatureFlagsOrBuilderpublic boolean 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.
bool mutate_rows_rate_limit = 3;getMutateRowsRateLimit in interface FeatureFlagsOrBuilderpublic boolean getMutateRowsRateLimit2()
Notify the server that the client enables batch write flow control by requesting RateLimitInfo from MutateRowsResponse. With partial retries enabled.
bool mutate_rows_rate_limit2 = 5;getMutateRowsRateLimit2 in interface FeatureFlagsOrBuilderpublic boolean getLastScannedRowResponses()
Notify the server that the client supports the last_scanned_row field in ReadRowsResponse for long-running scans.
bool last_scanned_row_responses = 4;getLastScannedRowResponses in interface FeatureFlagsOrBuilderpublic boolean getRoutingCookie()
Notify the server that the client supports using encoded routing cookie strings to retry requests with.
bool routing_cookie = 6;getRoutingCookie in interface FeatureFlagsOrBuilderpublic boolean getRetryInfo()
Notify the server that the client supports using retry info back off durations to retry requests with.
bool retry_info = 7;getRetryInfo in interface FeatureFlagsOrBuilderpublic boolean getClientSideMetricsEnabled()
Notify the server that the client has client side metrics enabled.
bool client_side_metrics_enabled = 8;getClientSideMetricsEnabled in interface FeatureFlagsOrBuilderpublic boolean getTrafficDirectorEnabled()
Notify the server that the client using Traffic Director endpoint.
bool traffic_director_enabled = 9;getTrafficDirectorEnabled in interface FeatureFlagsOrBuilderpublic boolean getDirectAccessRequested()
Notify the server that the client explicitly opted in for Direct Access.
bool direct_access_requested = 10;getDirectAccessRequested in interface FeatureFlagsOrBuilderpublic boolean getPeerInfo()
If the client can support using BigtablePeerInfo.
bool peer_info = 11;getPeerInfo in interface FeatureFlagsOrBuilderpublic boolean getSessionsCompatible()
Indicates whether the client supports the Bigtable Sessions API.
bool sessions_compatible = 12;getSessionsCompatible in interface FeatureFlagsOrBuilderpublic boolean getSessionsRequired()
Internal flag to force sessions for internal projects.
bool sessions_required = 13;getSessionsRequired in interface FeatureFlagsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static FeatureFlags parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FeatureFlags parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FeatureFlags parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FeatureFlags parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FeatureFlags parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FeatureFlags parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FeatureFlags parseFrom(InputStream input) throws IOException
IOExceptionpublic static FeatureFlags parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FeatureFlags parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FeatureFlags parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FeatureFlags parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FeatureFlags parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FeatureFlags.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FeatureFlags.Builder newBuilder()
public static FeatureFlags.Builder newBuilder(FeatureFlags prototype)
public FeatureFlags.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FeatureFlags.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static FeatureFlags getDefaultInstance()
public static com.google.protobuf.Parser<FeatureFlags> parser()
public com.google.protobuf.Parser<FeatureFlags> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic FeatureFlags getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2026 Google LLC. All rights reserved.