Skip to content

Commit abb0761

Browse files
gcf-owl-bot[bot]kelskBenjamin E. Coe
authored
build: add java_outer_classname to intoto protos to fix java client generation issues due to name collisions (#308)
PiperOrigin-RevId: 414718329 Source-Link: googleapis/googleapis@297bfd8 Source-Link: googleapis/googleapis-gen@f4b3102 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjRiMzEwMjUwNDc2MDE5MjMxZTZiZTYzYTRjOTFjOTZjZWExYThlZiJ9 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com> Co-authored-by: Benjamin E. Coe <bencoe@google.com>
1 parent 446584b commit abb0761

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

packages/grafeas/protos/grafeas/v1/intoto_provenance.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ option go_package = "google.golang.org/genproto/googleapis/grafeas/v1;grafeas";
2323
option java_multiple_files = true;
2424
option java_package = "io.grafeas.v1";
2525
option objc_class_prefix = "GRA";
26+
option java_outer_classname = "InTotoProvenanceProto";
2627

2728
// Spec defined at
2829
// https://github.com/in-toto/attestation/blob/main/spec/predicates/provenance.md

packages/grafeas/protos/grafeas/v1/intoto_statement.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ option go_package = "google.golang.org/genproto/googleapis/grafeas/v1;grafeas";
2323
option java_multiple_files = true;
2424
option java_package = "io.grafeas.v1";
2525
option objc_class_prefix = "GRA";
26+
option java_outer_classname = "InTotoStatementProto";
2627

2728
// Spec defined at
2829
// https://github.com/in-toto/attestation/tree/main/spec#statement The

packages/grafeas/protos/protos.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)