api: use unique outer class names for tap proto files (#7434)

When building protos using the Java protoc, multiple input files mapping
to the same output file causes an erorr. This updates the name of the
generated files for the tap proto files to be unique.

Signed-off-by: Snow Pettersen <snowp@squareup.com>

Mirrored from https://github.com/envoyproxy/envoy @ 3c8a1ef9d128bf11ccc179b2e171e180a0861332
pull/620/head
data-plane-api(CircleCI) 5 years ago
parent 829b48c237
commit fc01ae705c
  1. 2
      envoy/service/tap/v2alpha/tap.proto
  2. 2
      envoy/service/tap/v2alpha/tapds.proto

@ -7,7 +7,7 @@ package envoy.service.tap.v2alpha;
import "validate/validate.proto";
option java_outer_classname = "CommonProto";
option java_outer_classname = "TapProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.service.tap.v2alpha";

@ -8,7 +8,7 @@ package envoy.service.tap.v2alpha;
import "google/api/annotations.proto";
option java_outer_classname = "CommonProto";
option java_outer_classname = "TapDsProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.service.tap.v2alpha";

Loading…
Cancel
Save