Skip to content

Commit

Permalink
fix: add java_outer_classname to intoto protos to fix java client gen…
Browse files Browse the repository at this point in the history
…eration issues due to name collisions

PiperOrigin-RevId: 414718329
  • Loading branch information
Google APIs authored and copybara-github committed Dec 7, 2021
1 parent 9b9da22 commit 297bfd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions grafeas/v1/intoto_provenance.proto
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ option go_package = "google.golang.org/genproto/googleapis/grafeas/v1;grafeas";
option java_multiple_files = true;
option java_package = "io.grafeas.v1";
option objc_class_prefix = "GRA";
option java_outer_classname = "InTotoProvenanceProto";

// Spec defined at
// https://github.com/in-toto/attestation/blob/main/spec/predicates/provenance.md
Expand Down
1 change: 1 addition & 0 deletions grafeas/v1/intoto_statement.proto
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ option go_package = "google.golang.org/genproto/googleapis/grafeas/v1;grafeas";
option java_multiple_files = true;
option java_package = "io.grafeas.v1";
option objc_class_prefix = "GRA";
option java_outer_classname = "InTotoStatementProto";

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

0 comments on commit 297bfd8

Please sign in to comment.