Skip to content

bigquery/v2: failed to generate in Librarian #13382

@ldetmer

Description

@ldetmer

Client

bigquery/v2

Expected behavior

Should be able to be generated in Librarian with latest protos

Actual behavior

It fails to generate see PR

Additional context

error message:

time=2025-11-19T08:09:20.288Z level=INFO msg="librariangen: building" module=bigquery/v2
  | time=2025-11-19T08:09:54.949Z level=ERROR msg="librariangen: failed" error="librariangen: failed to run 'go build': librariangen: command failed with exit error: go: downloading github.com/googleapis/gax-go/v2 v2.15.0\ngo: downloading google.golang.org/api v0.256.0\ngo: downloading google.golang.org/genproto/googleapis/api v0.0.0-20251111163417-95abcf5c77ba\ngo: downloading google.golang.org/genproto v0.0.0-20251111163417-95abcf5c77ba\ngo: downloading golang.org/x/oauth2 v0.33.0\ngo: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0\ngo: downloading golang.org/x/net v0.47.0\ngo: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0\ngo: downloading golang.org/x/time v0.14.0\ngo: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20251111163417-95abcf5c77ba\ngo: downloading github.com/google/s2a-go v0.1.9\ngo: downloading github.com/felixge/httpsnoop v1.0.4\ngo: downloading go.opentelemetry.io/otel v1.38.0\ngo: downloading go.opentelemetry.io/otel/metric v1.38.0\ngo: downloading go.opentelemetry.io/otel/trace v1.38.0\ngo: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.7\ngo: downloading golang.org/x/sys v0.38.0\ngo: downloading github.com/go-logr/logr v1.4.3\ngo: downloading golang.org/x/text v0.31.0\ngo: downloading github.com/go-logr/stdr v1.2.2\ngo: downloading go.opentelemetry.io/auto/sdk v1.2.1\ngo: downloading golang.org/x/crypto v0.44.0\n# cloud.google.com/go/bigquery/v2/apiv2_client\napiv2_client/client_routine.go:44:69: undefined: bigquerypb.PatchRoutineRequest\napiv2_client/client_routine.go:45:23: mc.routClient.PatchRoutine undefined (type *bigquery.RoutineClient has no field or method PatchRoutine)\n: exit status 1"

full logs here

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the BigQuery API.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions