We are using API Gateway + gRPC with transcoding via the “google.api.http” annotations. On the 2nd Feb 2024 (or earlier, definitely after the 29th) this stopped working with the error:
ERROR: (gcloud.api-gateway.api-configs.create) INVALID_ARGUMENT: Invalid file descriptor set "descriptor.pb": proto: extension field "google.api.http" cannot be declared in proto3 unless extended descriptor options
We tried:
-
updating the protoc version (and downgrading)
-
using old configs / protos
-
changing the version of the gcloud components
We concluded this is likely not an error on our side.
The error only went away after removing ‘import “google/api/annotations.proto”;’. However, without this we cannot translate http requests to the grpc endpoints. According to google docs this is still supported.
Any ideas if anything changed recently that could’ve impacted this?