Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 2bcd97c

Browse files
feat: Updating the grafeas protos to include compliance and intoto attestation 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
1 parent cef2f85 commit 2bcd97c

76 files changed

Lines changed: 35138 additions & 392 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/main/java/io/grafeas/v1/Attestation.java

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
3636
internal_static_grafeas_v1_AttestationNote_Hint_descriptor;
3737
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
3838
internal_static_grafeas_v1_AttestationNote_Hint_fieldAccessorTable;
39+
static final com.google.protobuf.Descriptors.Descriptor internal_static_grafeas_v1_Jwt_descriptor;
40+
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
41+
internal_static_grafeas_v1_Jwt_fieldAccessorTable;
3942
static final com.google.protobuf.Descriptors.Descriptor
4043
internal_static_grafeas_v1_AttestationOccurrence_descriptor;
4144
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -53,11 +56,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
5356
+ "v1\032\027grafeas/v1/common.proto\"f\n\017Attestati"
5457
+ "onNote\022.\n\004hint\030\001 \001(\0132 .grafeas.v1.Attest"
5558
+ "ationNote.Hint\032#\n\004Hint\022\033\n\023human_readable"
56-
+ "_name\030\001 \001(\t\"^\n\025AttestationOccurrence\022\032\n\022"
57-
+ "serialized_payload\030\001 \001(\014\022)\n\nsignatures\030\002"
58-
+ " \003(\0132\025.grafeas.v1.SignatureBQ\n\rio.grafea"
59-
+ "s.v1P\001Z8google.golang.org/genproto/googl"
60-
+ "eapis/grafeas/v1;grafeas\242\002\003GRAb\006proto3"
59+
+ "_name\030\001 \001(\t\"\032\n\003Jwt\022\023\n\013compact_jwt\030\001 \001(\t\""
60+
+ "}\n\025AttestationOccurrence\022\032\n\022serialized_p"
61+
+ "ayload\030\001 \001(\014\022)\n\nsignatures\030\002 \003(\0132\025.grafe"
62+
+ "as.v1.Signature\022\035\n\004jwts\030\003 \003(\0132\017.grafeas."
63+
+ "v1.JwtBQ\n\rio.grafeas.v1P\001Z8google.golang"
64+
+ ".org/genproto/googleapis/grafeas/v1;graf"
65+
+ "eas\242\002\003GRAb\006proto3"
6166
};
6267
descriptor =
6368
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -81,13 +86,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
8186
new java.lang.String[] {
8287
"HumanReadableName",
8388
});
89+
internal_static_grafeas_v1_Jwt_descriptor = getDescriptor().getMessageTypes().get(1);
90+
internal_static_grafeas_v1_Jwt_fieldAccessorTable =
91+
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
92+
internal_static_grafeas_v1_Jwt_descriptor,
93+
new java.lang.String[] {
94+
"CompactJwt",
95+
});
8496
internal_static_grafeas_v1_AttestationOccurrence_descriptor =
85-
getDescriptor().getMessageTypes().get(1);
97+
getDescriptor().getMessageTypes().get(2);
8698
internal_static_grafeas_v1_AttestationOccurrence_fieldAccessorTable =
8799
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
88100
internal_static_grafeas_v1_AttestationOccurrence_descriptor,
89101
new java.lang.String[] {
90-
"SerializedPayload", "Signatures",
102+
"SerializedPayload", "Signatures", "Jwts",
91103
});
92104
io.grafeas.v1.Common.getDescriptor();
93105
}

0 commit comments

Comments
 (0)