NAME

Google::Bigtable::V2::Session - Compiled Protocol Buffers messages for google/bigtable/v2/session.proto

SYNOPSIS

use Google::Bigtable::V2::Session;

my $msg = Google::Bigtable::V2::Session::GetClientConfigurationRequest->new({
    instance_name => $instance_name,
    app_profile_id => $app_profile_id,
});

# Read or update a field
my $val = $msg->instance_name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Bigtable::V2::Session::GetClientConfigurationRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/bigtable/v2/session.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Bigtable::V2::Session::GetClientConfigurationRequest

See GetClientConfiguration() RPC in bigtable.proto. Internal usage only.

Inherits from Protobuf::Message.

Accessors

  • $msg->instance_name() / $msg->instance_name($value)

    Type: String

    Required. The unique name of the instance for which the client will target with Data API requests.

    Values are of the form `projects/<project>/instances/<instance>`

  • $msg->app_profile_id() / $msg->app_profile_id($value)

    Type: String

    Optional. The name of the AppProfile which will be used by the client when sending requests in the Data API.

    If not specified, the `default` application profile will be used.

Google::Bigtable::V2::Session::LoadBalancingOptions

Configuration for how to balance vRPCs over sessions. Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::SessionScopeDiversionConfiguration

Configuration for how a given slice of traffic is diverted to sessions. Internal usage only.

Inherits from Protobuf::Message.

Accessors

  • $msg->session_load() / $msg->session_load($value)

    Type: Float

    What share of in-scope requests should operate on a session, [0, 1]. The remaining requests within this scope should operate on the classic API.

Google::Bigtable::V2::Session::SessionDiversionConfiguration

Configuration for how to divert load to sessions. Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::SessionClientConfiguration

Configuration for the Session API. Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::TelemetryConfiguration

Server provided instructions for enabling finer grained observability on the client to help diagnose customer issues. Internal usage only.

Inherits from Protobuf::Message.

Accessors

Enum: TelemetryConfiguration::Level

  • LEVEL_UNSPECIFIED => 0

  • DEBUG => 1

  • INFO => 2

  • WARN => 3

  • ERROR => 4

Google::Bigtable::V2::Session::ClientConfiguration

Configuration for the Session API. Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::SessionRequest

Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::SessionResponse

Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::OpenSessionRequest

Internal usage only.

Inherits from Protobuf::Message.

Accessors

  • $msg->protocol_version() / $msg->protocol_version($value)

    Type: Int64

    A version indicator from the client stating its understanding of the protocol. This is to disambiguate client behavior amidst changes in semantic usage of the API, e.g. if the structure remains the same but behavior changes.

  • $msg->flags() / $msg->flags($value)

    Type: Message (Google::Bigtable::V2::FeatureFlags::FeatureFlags)

    Client settings, including a record of

  • $msg->consecutive_failed_connection_attempts() / $msg->consecutive_failed_connection_attempts($value)

    Type: Int64

    Used for serverside observability.

  • $msg->routing_cookie() / $msg->routing_cookie($value)

    Type: Bytes

    How the request should be routed (if presented as part of a GOAWAY from a previous session). Post V1.

  • $msg->payload() / $msg->payload($value)

    Type: Bytes

    Can be Open{Table,AuthorizedView,MaterializedView}Request, (or in post-V1, PrepareSqlQueryRequest)

Google::Bigtable::V2::Session::BackendIdentifier

Information about the connected backends from a session client's perspective. This information may be used to make choices about session re-establishment en-masse for sessions with the same backend identifiers. Internal usage only.

Inherits from Protobuf::Message.

Accessors

  • $msg->google_frontend_id() / $msg->google_frontend_id($value)

    Type: Int64

    An opaque identifier for the Google Frontend which serviced this request. Only set when not using DirectAccess.

  • $msg->application_frontend_id() / $msg->application_frontend_id($value)

    Type: Int64

    An opaque identifier for the application frontend which serviced this request.

  • $msg->application_frontend_zone() / $msg->application_frontend_zone($value)

    Type: String

    The zone of the application frontend that served this request.

Google::Bigtable::V2::Session::OpenSessionResponse

Internal usage only.

Inherits from Protobuf::Message.

Accessors

  • $msg->backend() / $msg->backend($value)

    Type: Message (Google::Bigtable::V2::Session::BackendIdentifier)

    Information on the backend(s) that are hosting this session.

  • $msg->payload() / $msg->payload($value)

    Type: Bytes

    Can be Open{Table,AuthorizedView,MaterializedView}Response, (or in post-V1, PrepareSqlQueryResponse)

Google::Bigtable::V2::Session::CloseSessionRequest

Internal usage only.

Inherits from Protobuf::Message.

Accessors

Enum: CloseSessionRequest::CloseSessionReason

  • CLOSE_SESSION_REASON_UNSET => 0

  • CLOSE_SESSION_REASON_GOAWAY => 1

  • CLOSE_SESSION_REASON_ERROR => 2

  • CLOSE_SESSION_REASON_USER => 3

  • CLOSE_SESSION_REASON_DOWNSIZE => 4

  • CLOSE_SESSION_REASON_MISSED_HEARTBEAT => 5

Google::Bigtable::V2::Session::OpenTableRequest

Internal usage only.

Inherits from Protobuf::Message.

Accessors

Enum: OpenTableRequest::Permission

  • PERMISSION_UNSET => 0

  • PERMISSION_READ => 1

  • PERMISSION_WRITE => 2

  • PERMISSION_READ_WRITE => 3

Google::Bigtable::V2::Session::OpenTableResponse

Internal usage only.

Inherits from Protobuf::Message.

Google::Bigtable::V2::Session::OpenAuthorizedViewRequest

Open sessions for an AuthorizedView. Internal usage only.

Inherits from Protobuf::Message.

Accessors

  • $msg->authorized_view_name() / $msg->authorized_view_name($value)

    Type: String

    The Authorized view name to read and write from. Values are of the form `projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>`.

  • $msg->app_profile_id() / $msg->app_profile_id($value)

    Type: String

    The app profile id to use for the authorized view sessions.

  • $msg->permission() / $msg->permission($value)

    Type: Enum (Google::Bigtable::V2::OpenAuthorizedViewRequest::Permission)

    Permission for the session.

Enum: OpenAuthorizedViewRequest::Permission

  • PERMISSION_UNSET => 0

  • PERMISSION_READ => 1

  • PERMISSION_WRITE => 2

  • PERMISSION_READ_WRITE => 3

Google::Bigtable::V2::Session::OpenAuthorizedViewResponse

Internal usage only.

Inherits from Protobuf::Message.

Google::Bigtable::V2::Session::OpenMaterializedViewRequest

Open sessions for a MaterializedView. Internal usage only.

Inherits from Protobuf::Message.

Accessors

  • $msg->materialized_view_name() / $msg->materialized_view_name($value)

    Type: String

    The Materialized view name to read and write from. Values are of the form `projects/<project>/instances/<instance>/materializedViews/<materialized_view>`.

  • $msg->app_profile_id() / $msg->app_profile_id($value)

    Type: String

    The app profile id to use for the materialized view sessions.

  • $msg->permission() / $msg->permission($value)

    Type: Enum (Google::Bigtable::V2::OpenMaterializedViewRequest::Permission)

    Permission for the session.

Enum: OpenMaterializedViewRequest::Permission

  • PERMISSION_UNSET => 0

  • PERMISSION_READ => 1

Google::Bigtable::V2::Session::OpenMaterializedViewResponse

Internal usage only.

Inherits from Protobuf::Message.

Google::Bigtable::V2::Session::VirtualRpcRequest

Internal usage only.

Inherits from Protobuf::Message.

Accessors

  • $msg->rpc_id() / $msg->rpc_id($value)

    Type: Int64

    Client chosen, monotonically increasing identifier for the request. Must be unique within a session.

  • $msg->deadline() / $msg->deadline($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Attempt deadline.

    Note, this may not be needed for V1, TBD (e.g. operation vs attempt deadline).

  • $msg->metadata() / $msg->metadata($value)

    Type: Message (Google::Bigtable::V2::Session::VirtualRpcRequest::Metadata)

    vRPC metadata.

  • $msg->payload() / $msg->payload($value)

    Type: Bytes

    Could be TableRequest (or in post-V1, SqlRequest)

Google::Bigtable::V2::Session::ContinueVirtualRpcRequest

Internal usage only.

Inherits from Protobuf::Message.

Accessors

  • $msg->rpc_id() / $msg->rpc_id($value)

    Type: Int64

Google::Bigtable::V2::Session::CancelVirtualRpcRequest

Internal usage only.

Inherits from Protobuf::Message.

Accessors

  • $msg->rpc_id() / $msg->rpc_id($value)

    Type: Int64

Google::Bigtable::V2::Session::ClusterInformation

Information on which Cluster served a vRPC, e.g. for Client-Side metrics. Internal usage only.

Inherits from Protobuf::Message.

Accessors

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

  • $msg->zone_id() / $msg->zone_id($value)

    Type: String

Google::Bigtable::V2::Session::SessionRequestStats

Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::VirtualRpcResponse

Internal usage only.

Inherits from Protobuf::Message.

Accessors

  • $msg->rpc_id() / $msg->rpc_id($value)

    Type: Int64

    Which vRPC this response is for.

  • $msg->cluster_info() / $msg->cluster_info($value)

    Type: Message (Google::Bigtable::V2::Session::ClusterInformation)

  • $msg->stats() / $msg->stats($value)

    Type: Message (Google::Bigtable::V2::Session::SessionRequestStats)

  • $msg->payload() / $msg->payload($value)

    Type: Bytes

    Could be TableResponse (or in post-V1, SqlResponse)

  • $msg->has_more() / $msg->has_more($value)

    Type: Bool

    If there are more responses for this rpc_id coming.

Google::Bigtable::V2::Session::ErrorResponse

Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::TableRequest

Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::TableResponse

Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::AuthorizedViewRequest

A request wrapper for operations on an authorized view. Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::AuthorizedViewResponse

A response wrapper for operations on an authorized view. Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::MaterializedViewRequest

A request wrapper for operations on a materialized view. Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::MaterializedViewResponse

A response wrapper for operations on a materialized view. Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::SessionReadRowRequest

Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::SessionReadRowResponse

Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::SessionReadRowsRequest

Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::SessionReadRowsResponse

Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::SessionMutateRowRequest

Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::SessionMutateRowResponse

Internal usage only.

Inherits from Protobuf::Message.

Google::Bigtable::V2::Session::SessionCheckAndMutateRowRequest

Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::SessionCheckAndMutateRowResponse

Internal usage only.

Inherits from Protobuf::Message.

Accessors

  • $msg->predicate_matched() / $msg->predicate_matched($value)

    Type: Bool

Google::Bigtable::V2::Session::SessionReadModifyWriteRowRequest

Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::SessionReadModifyWriteRowResponse

Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::SessionMutateRowsRequest

Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::SessionMutateRowsResponse

Internal usage only.

Inherits from Protobuf::Message.

Accessors

Google::Bigtable::V2::Session::SessionParametersResponse

Internal usage only.

Inherits from Protobuf::Message.

Accessors

  • $msg->keep_alive() / $msg->keep_alive($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Maximum time between messages that the AFE will send to the client. The client may use this information to determine its control-flow in relation to pruning black-holed or otherwise non-responsive sessions. Must be set and positive.

    See also Heartbeats.

  • $msg->softmax_streaming_prefetch_buffer_bytes() / $msg->softmax_streaming_prefetch_buffer_bytes($value)

    Type: Int32

    Client will pull this many bytes at most to make messages for steamed responses. If the last byte is mid-message, it will continue until a full message comes.

Google::Bigtable::V2::Session::HeartbeatResponse

Internal usage only.

Inherits from Protobuf::Message.

Google::Bigtable::V2::Session::GoAwayResponse

Internal usage only.

Inherits from Protobuf::Message.

Accessors

  • $msg->reason() / $msg->reason($value)

    Type: String

    Server-generated reason for GOAWAY, including a plain-text description of why. 'reason' may be used for CSM, while both may be logged.

  • $msg->description() / $msg->description($value)

    Type: String

  • $msg->last_rpc_id_admitted() / $msg->last_rpc_id_admitted($value)

    Type: Int64

    The last vRPC which was admitted by the AFE. The client may expect the result from the vRPC on the stream before disconnecting, and should retry vRPCs beyond this boundary.

Google::Bigtable::V2::Session::SessionRefreshConfig

Internal usage only.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Bigtable::V2::Session::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.