GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Regenerate Bigtable V2 protos · Issue #1918 · googleapis/google-cloud-python

Regenerate Bigtable V2 protos #1918

New issue
Copy link
New issue
Copy link
Closed
Closed
Regenerate Bigtable V2 protos#1918
Copy link
Assignees
tseaver
Labels
api: bigtableIssues related to the Bigtable API.

Description

@tseaver
tseaver
opened on Jun 27, 2016
Issue body actions

(after the version landed in #1903).

@sduskis reports:

There were some relatively minor changes in the v2 protos. Mostly the changes were in the comments. There were minor changes to rename fields from "name" to "parent" to better reflect the meaning of some of the proto elements. The latest version of the protos can be found in the official
google api repository at https://github.com/googleapis/googleapis/tree/master/google/bigtable.

Activity

  1. tseaver
    added
    api: bigtableIssues related to the Bigtable API.
    on Jun 27, 2016
  2. tseaver
    self-assigned this
    on Jun 27, 2016
  3. tseaver commented on Jun 28, 2016

    @tseaver
    tseaver
    on Jun 28, 2016
    ContributorAuthor
    More actions

    My setup for protoc v3 and the grpc_python_plugin is broken: the gRPC portion fails to generate with a "Missing input file" error.

    I scraped the needed gRPC stub code from #1895, but we really need to get #1384 or #1482 nailed down.

  4. tseaver commented on Jun 28, 2016

    @tseaver
    tseaver
    on Jun 28, 2016
    ContributorAuthor
    More actions

    Looks like grpcio-tools >= 0.14.0 can carry our water:

    $ python2.7 -m virtualenv /tmp/grpc_python
    $ /tmp/grpc_python/bin/pip install grcpio grpcio-tools
    $ git clone https://github.com/google/googleapis/
    $ mkdir generated
    $ /tmp/grpc_python/bin/python -m grpc.tools.protoc \
      --proto_path=googleapis --python_out=xxx --grpc_python_out=xxx \
      googleapis/google/bigtable/v2/bigtable.proto
  5. tseaver commented on Jun 28, 2016

    @tseaver
    tseaver
    on Jun 28, 2016
    ContributorAuthor
    More actions

    Via #1925.

  6. tseaver
    closed this as completedon Jun 28, 2016
  7. tseaver commented on Jun 28, 2016

    @tseaver
    tseaver
    on Jun 28, 2016
    ContributorAuthor
    More actions

    gRPC generation for $(GOOGLEAPIS)/google/longrunning/operations.proto is brokey:

      File "/home/tseaver/projects/agendaless/Google/src/gcloud-python/gcloud/bigtable/client.py", line 344, in start
        self._operations_stub_internal = self._make_operations_stub()
      File "/home/tseaver/projects/agendaless/Google/src/gcloud-python/gcloud/bigtable/client.py", line 307, in _make_operations_stub
        OPERATIONS_API_HOST_V2, OPERATIONS_API_PORT_V2)
      File "/home/tseaver/projects/agendaless/Google/src/gcloud-python/gcloud/bigtable/client.py", line 467, in _make_stub
        return stub_factory(channel)
      File "/home/tseaver/projects/agendaless/Google/src/gcloud-python/gcloud/bigtable/_generated_v2/operations_grpc_pb2.py", line 238, in beta_create_Operations_stub
        ('google.longrunning.Operations', 'CancelOperation'): CancelOperationRequest.SerializeToString,
    NameError: global name 'CancelOperationRequest' is not defined

    Adding the imports by hand to push forward on system tests:

    --- a/gcloud/bigtable/_generated_v2/operations_grpc_pb2.py
    +++ b/gcloud/bigtable/_generated_v2/operations_grpc_pb2.py
    @@ -1,4 +1,12 @@
    -
    +from google.longrunning.operations_pb2 import (
    +    CancelOperationRequest,
    +    DeleteOperationRequest,
    +    GetOperationRequest,
    +    ListOperationsRequest,
    +    ListOperationsResponse,
    +    Operation,
    +    google_dot_protobuf_dot_empty__pb2,
    +)
     from grpc.beta import implementations as beta_implementations
     from grpc.beta import interfaces as beta_interfaces
     from grpc.framework.common import cardinality
  8. tseaver
    reopened this on Jun 28, 2016
  9. tseaver
    closed this as completedin 24989d6on Jun 29, 2016
  10. parthea
    added 2 commits that reference this issue on Mar 2, 2026

    fix: Python 3.8 support (#1918)

    5b01d94

    chore: librarian release pull request: 20260106T130342Z (#1922)

    4b7a1fe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @tseaver
    tseaver

Labels

api: bigtableIssues related to the Bigtable API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.