Skip to content

Adding Bigtable Cluster.from_pb factory.#1235

Merged
dhermes merged 1 commit intogoogleapis:masterfrom
dhermes:bigtable-cluster-from-pb
Nov 20, 2015
Merged

Adding Bigtable Cluster.from_pb factory.#1235
dhermes merged 1 commit intogoogleapis:masterfrom
dhermes:bigtable-cluster-from-pb

Conversation

@dhermes
Copy link
Contributor

@dhermes dhermes commented Nov 19, 2015

For creating a Cluster object from a protobuf cluster returned from the API.

Also adding a helper for making sure properties are set on a protobuf object.

@dhermes dhermes added the api: bigtable Issues related to the Bigtable API. label Nov 19, 2015
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 19, 2015

This comment was marked as spam.

For creating a Cluster object from a protobuf
cluster returned from the API.

Also adding a helper for making sure properties are
set on a protobuf object.
@dhermes dhermes force-pushed the bigtable-cluster-from-pb branch from 48dce46 to 083e738 Compare November 20, 2015 19:15
@dhermes
Copy link
Contributor Author

dhermes commented Nov 20, 2015

@tseaver PTAL. I just implemented _get_pb_property_value (no YAGNI) and I updated the HasField() note to reflect the docs you pointed to (i.e. it doesn't work in proto3 for non-message fields).

@tseaver
Copy link
Contributor

tseaver commented Nov 20, 2015

LGTM

dhermes added a commit that referenced this pull request Nov 20, 2015
Adding Bigtable Cluster.from_pb factory.
@dhermes dhermes merged commit 21101e0 into googleapis:master Nov 20, 2015
@dhermes dhermes deleted the bigtable-cluster-from-pb branch November 20, 2015 19:30
parthea pushed a commit that referenced this pull request Nov 24, 2025
parthea pushed a commit that referenced this pull request Mar 2, 2026
There's an internal race condition where when an rpc hits the timeout
limit, it sometimes receives a DEADLINE_EXCEEDED, but sometimes receives
a CANCELLED error. This PR marks CANCELLED as retryable, so this
situation will always eventually reach a DEADLINE_EXCEEDED state.

This will fix the flake currently seen in the conformance tests
parthea pushed a commit that referenced this pull request Mar 2, 2026
PR created by the Librarian CLI to initialize a release. Merging this PR
will auto trigger a release.

Librarian Version: v0.7.0
Language Image:
us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:b8058df4c45e9a6e07f6b4d65b458d0d059241dd34c814f151c8bf6b89211209
<details><summary>google-cloud-bigtable: 2.35.0</summary>

##
[2.35.0](googleapis/python-bigtable@v2.34.0...v2.35.0)
(2025-12-16)

### Features

* add basic interceptor to client (#1206)
([6561cfac](googleapis/python-bigtable@6561cfac))

* Add encodings for STRUCT and the Timestamp type
([72dfdc44](googleapis/python-bigtable@72dfdc44))

* add PeerInfo proto in Bigtable API
([72dfdc44](googleapis/python-bigtable@72dfdc44))

* Add Type API updates needed to support structured keys in materialized
views
([72dfdc44](googleapis/python-bigtable@72dfdc44))

* support mTLS certificates when available (#1249)
([ca20219c](googleapis/python-bigtable@ca20219c))

### Bug Fixes

* re-export AddToCell for consistency (#1241)
([2a5baf11](googleapis/python-bigtable@2a5baf11))

* async client uses fixed grace period (#1236)
([544db1cd](googleapis/python-bigtable@544db1cd))

* Deprecate credentials_file argument
([72dfdc44](googleapis/python-bigtable@72dfdc44))

* Add ReadRows/SampleRowKeys bindings for materialized views
([72dfdc44](googleapis/python-bigtable@72dfdc44))

* retry cancelled errors (#1235)
([e3fd5d86](googleapis/python-bigtable@e3fd5d86))

</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the Bigtable API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants