-
I want to generate a client for I have buf.yaml: version: v1
deps:
- buf.build/opentelemetry/opentelemetry
breaking:
use:
- FILE
lint:
use:
- DEFAULT and version: v1
managed:
enabled: true
plugins:
- plugin: buf.build/community/timostamm-protobuf-ts:v2.9.1
out: lib/grpc
opt:
- client_generic
- optimize_speed
- server_none but when running
I understand that I'm not specifically referencing the service, but I also can't find how I specifically reference the service that I want to generate a client for. How do I generate a client for this file? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Create a syntax = "proto3";
import "opentelemetry/proto/collector/trace/v1/trace_service.proto";
package causiq.sdkapi.v1; and run |
Beta Was this translation helpful? Give feedback.
Create a
client.proto
like soand run
buf generate --include-imports