Skip to content
Permalink
Browse files
feat: Updating the grafeas protos to include compliance and intoto at…
…testation protos (#428)

* feat: Updating the grafeas protos to include compliance and intoto attestation protos

PiperOrigin-RevId: 407119231

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Nov 2 10:32:10 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 381ab78414f71d6f9476c3044c212e13d762e822
Source-Link: googleapis/googleapis@381ab78

* chore: update Java and Python dependencies

PiperOrigin-RevId: 408420890

Source-Author: Google APIs <noreply@google.com>
Source-Date: Mon Nov 8 13:03:45 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 2921f9fb3bfbd16f6b2da0104373e2b47a80a65e
Source-Link: googleapis/googleapis@2921f9f

* fix: add java_outer_classname to intoto protos to fix java client generation issues due to name collisions

PiperOrigin-RevId: 414718329

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Dec 7 07:23:02 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 297bfd86f13acc8e06251bc0b23207f91bcba081
Source-Link: googleapis/googleapis@297bfd8
  • Loading branch information
yoshi-automation committed Dec 8, 2021
1 parent cef2f85 commit 2bcd97cfdb56199139fe0d5bd823b8810e48db86
Showing with 35,138 additions and 392 deletions.
  1. +19 −7 src/main/java/io/grafeas/v1/Attestation.java
  2. +654 −0 src/main/java/io/grafeas/v1/AttestationOccurrence.java
  3. +91 −0 src/main/java/io/grafeas/v1/AttestationOccurrenceOrBuilder.java
  4. +17 −9 src/main/java/io/grafeas/v1/Build.java
  5. +612 −12 src/main/java/io/grafeas/v1/BuildOccurrence.java
  6. +85 −3 src/main/java/io/grafeas/v1/BuildOccurrenceOrBuilder.java
  7. +571 −0 src/main/java/io/grafeas/v1/BuilderConfig.java
  8. +39 −0 src/main/java/io/grafeas/v1/BuilderConfigOrBuilder.java
  9. +35 −7 src/main/java/io/grafeas/v1/Common.java
  10. +731 −0 src/main/java/io/grafeas/v1/Completeness.java
  11. +68 −0 src/main/java/io/grafeas/v1/CompletenessOrBuilder.java
  12. +136 −0 src/main/java/io/grafeas/v1/Compliance.java
  13. +2,658 −0 src/main/java/io/grafeas/v1/ComplianceNote.java
  14. +207 −0 src/main/java/io/grafeas/v1/ComplianceNoteOrBuilder.java
  15. +901 −0 src/main/java/io/grafeas/v1/ComplianceOccurrence.java
  16. +51 −0 src/main/java/io/grafeas/v1/ComplianceOccurrenceOrBuilder.java
  17. +821 −0 src/main/java/io/grafeas/v1/ComplianceVersion.java
  18. +80 −0 src/main/java/io/grafeas/v1/ComplianceVersionOrBuilder.java
  19. +1,381 −0 src/main/java/io/grafeas/v1/DSSEAttestationNote.java
  20. +61 −0 src/main/java/io/grafeas/v1/DSSEAttestationNoteOrBuilder.java
  21. +1,016 −0 src/main/java/io/grafeas/v1/DSSEAttestationOccurrence.java
  22. +81 −0 src/main/java/io/grafeas/v1/DSSEAttestationOccurrenceOrBuilder.java
  23. +101 −0 src/main/java/io/grafeas/v1/DsseAttestation.java
  24. +963 −0 src/main/java/io/grafeas/v1/Envelope.java
  25. +57 −0 src/main/java/io/grafeas/v1/EnvelopeOrBuilder.java
  26. +637 −0 src/main/java/io/grafeas/v1/EnvelopeSignature.java
  27. +46 −0 src/main/java/io/grafeas/v1/EnvelopeSignatureOrBuilder.java
  28. +1 −0 src/main/java/io/grafeas/v1/GrafeasGrpc.java
  29. +165 −148 src/main/java/io/grafeas/v1/GrafeasOuterClass.java
  30. +1,499 −0 src/main/java/io/grafeas/v1/InTotoProvenance.java
  31. +183 −0 src/main/java/io/grafeas/v1/InTotoProvenanceOrBuilder.java
  32. +135 −0 src/main/java/io/grafeas/v1/InTotoProvenanceProto.java
  33. +1,606 −0 src/main/java/io/grafeas/v1/InTotoStatement.java
  34. +119 −0 src/main/java/io/grafeas/v1/InTotoStatementOrBuilder.java
  35. +103 −0 src/main/java/io/grafeas/v1/InTotoStatementProto.java
  36. +621 −0 src/main/java/io/grafeas/v1/Jwt.java
  37. +55 −0 src/main/java/io/grafeas/v1/JwtOrBuilder.java
  38. +1,571 −0 src/main/java/io/grafeas/v1/Metadata.java
  39. +177 −0 src/main/java/io/grafeas/v1/MetadataOrBuilder.java
  40. +983 −0 src/main/java/io/grafeas/v1/NonCompliantFile.java
  41. +101 −0 src/main/java/io/grafeas/v1/NonCompliantFileOrBuilder.java
  42. +600 −0 src/main/java/io/grafeas/v1/Note.java
  43. +46 −2 src/main/java/io/grafeas/v1/NoteKind.java
  44. +70 −0 src/main/java/io/grafeas/v1/NoteOrBuilder.java
  45. +869 −0 src/main/java/io/grafeas/v1/Occurrence.java
  46. +105 −0 src/main/java/io/grafeas/v1/OccurrenceOrBuilder.java
  47. +11 −11 src/main/java/io/grafeas/v1/Package.java
  48. +2,097 −0 src/main/java/io/grafeas/v1/Recipe.java
  49. +245 −0 src/main/java/io/grafeas/v1/RecipeOrBuilder.java
  50. +7 −7 src/main/java/io/grafeas/v1/Signature.java
  51. +2 −2 src/main/java/io/grafeas/v1/SignatureOrBuilder.java
  52. +7,426 −0 src/main/java/io/grafeas/v1/SlsaProvenance.java
  53. +187 −0 src/main/java/io/grafeas/v1/SlsaProvenanceOrBuilder.java
  54. +168 −0 src/main/java/io/grafeas/v1/SlsaProvenanceOuterClass.java
  55. +925 −0 src/main/java/io/grafeas/v1/Subject.java
  56. +108 −0 src/main/java/io/grafeas/v1/SubjectOrBuilder.java
  57. +110 −0 src/main/java/io/grafeas/v1/Version.java
  58. +18 −0 src/main/java/io/grafeas/v1/VersionOrBuilder.java
  59. +76 −46 src/main/java/io/grafeas/v1/Vulnerability.java
  60. +408 −0 src/main/java/io/grafeas/v1/VulnerabilityNote.java
  61. +1,602 −130 src/main/java/io/grafeas/v1/VulnerabilityOccurrence.java
  62. +49 −0 src/main/java/io/grafeas/v1/VulnerabilityOccurrenceOrBuilder.java
  63. +3 −1 src/main/java/io/grafeas/v1/package-info.java
  64. +17 −0 src/main/proto/grafeas/v1/attestation.proto
  65. +13 −1 src/main/proto/grafeas/v1/build.proto
  66. +20 −2 src/main/proto/grafeas/v1/common.proto
  67. +79 −0 src/main/proto/grafeas/v1/compliance.proto
  68. +52 −0 src/main/proto/grafeas/v1/dsse_attestation.proto
  69. +13 −0 src/main/proto/grafeas/v1/grafeas.proto
  70. +113 −0 src/main/proto/grafeas/v1/intoto_provenance.proto
  71. +50 −0 src/main/proto/grafeas/v1/intoto_statement.proto
  72. +9 −1 src/main/proto/grafeas/v1/package.proto
  73. +114 −0 src/main/proto/grafeas/v1/slsa_provenance.proto
  74. +35 −0 src/main/proto/grafeas/v1/vulnerability.proto
  75. +6 −0 src/test/java/io/grafeas/v1/GrafeasClientTest.java
  76. +47 −3 synth.metadata
@@ -36,6 +36,9 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_grafeas_v1_AttestationNote_Hint_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_grafeas_v1_AttestationNote_Hint_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor internal_static_grafeas_v1_Jwt_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_grafeas_v1_Jwt_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_grafeas_v1_AttestationOccurrence_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -53,11 +56,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "v1\032\027grafeas/v1/common.proto\"f\n\017Attestati"
+ "onNote\022.\n\004hint\030\001 \001(\0132 .grafeas.v1.Attest"
+ "ationNote.Hint\032#\n\004Hint\022\033\n\023human_readable"
+ "_name\030\001 \001(\t\"^\n\025AttestationOccurrence\022\032\n\022"
+ "serialized_payload\030\001 \001(\014\022)\n\nsignatures\030\002"
+ " \003(\0132\025.grafeas.v1.SignatureBQ\n\rio.grafea"
+ "s.v1P\001Z8google.golang.org/genproto/googl"
+ "eapis/grafeas/v1;grafeas\242\002\003GRAb\006proto3"
+ "_name\030\001 \001(\t\"\032\n\003Jwt\022\023\n\013compact_jwt\030\001 \001(\t\""
+ "}\n\025AttestationOccurrence\022\032\n\022serialized_p"
+ "ayload\030\001 \001(\014\022)\n\nsignatures\030\002 \003(\0132\025.grafe"
+ "as.v1.Signature\022\035\n\004jwts\030\003 \003(\0132\017.grafeas."
+ "v1.JwtBQ\n\rio.grafeas.v1P\001Z8google.golang"
+ ".org/genproto/googleapis/grafeas/v1;graf"
+ "eas\242\002\003GRAb\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -81,13 +86,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"HumanReadableName",
});
internal_static_grafeas_v1_Jwt_descriptor = getDescriptor().getMessageTypes().get(1);
internal_static_grafeas_v1_Jwt_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_grafeas_v1_Jwt_descriptor,
new java.lang.String[] {
"CompactJwt",
});
internal_static_grafeas_v1_AttestationOccurrence_descriptor =
getDescriptor().getMessageTypes().get(1);
getDescriptor().getMessageTypes().get(2);
internal_static_grafeas_v1_AttestationOccurrence_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_grafeas_v1_AttestationOccurrence_descriptor,
new java.lang.String[] {
"SerializedPayload", "Signatures",
"SerializedPayload", "Signatures", "Jwts",
});
io.grafeas.v1.Common.getDescriptor();
}

0 comments on commit 2bcd97c

Please sign in to comment.