Skip to content

Adding Bigtable Cluster.from_pb factory. - #1235

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

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

Conversation

@dhermes

Copy link
Copy Markdown
Contributor

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.

@dhermesdhermes added the api: bigtable Issues related to the Bigtable API. label Nov 19, 2015
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 19, 2015
Comment threadgcloud/bigtable/cluster.py Outdated

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
dhermesforce-pushed the bigtable-cluster-from-pb branch from 48dce46 to 083e738CompareNovember 20, 2015 19:15
@dhermes

Copy link
Copy Markdown
ContributorAuthor

@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
Copy Markdown
Contributor

LGTM

dhermes added a commit that referenced this pull request Nov 20, 2015
@dhermes
dhermes merged commit 21101e0 into googleapis:masterNov 20, 2015
@dhermes
dhermes deleted the bigtable-cluster-from-pb branch November 20, 2015 19:30
@dhermesdhermes mentioned this pull request Jan 25, 2016
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>
parthea pushed a commit that referenced this pull request Mar 6, 2026
* feat: add support for table clones
* feat: clone test
* feat: debugging
* feat: more debugging
* feat: more debugging
* feat: even more debugging
* feat: debugging test
* feat: even more test debugging
* feat: check
* feat: modify test
* feat: deleting print statement
* feat: testing
* feat: test update
* feat: change table name
* feat: debugging table name
* feat: cleaning up test
* feat: degubbing test
* feat: add properties check to test
* feat: test change
* feat: added more properties
* Update samples/snippets/requirements.txt
Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
Co-authored-by: Steffany Brown <30247553+steffnay@users.noreply.github.com>
parthea added a commit that referenced this pull request Mar 9, 2026
* chore(python): update dependencies in .kokoro/docker/docs
Source-Link: googleapis/synthtool@59171c8
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:2ed982f884312e4883e01b5ab8af8b6935f0216a5a2d82928d273081fc3be562
* update replacement in owlbot.py
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtableIssues related to the Bigtable API.cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@dhermes@tseaver@googlebot