• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2019 The Grafeas Authors. All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 // Generated by the protocol buffer compiler.  DO NOT EDIT!
18 // source: grafeas/v1/common.proto
19 
20 package io.grafeas.v1;
21 
22 public final class Common {
Common()23   private Common() {}
24 
registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)25   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
26 
registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)27   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
28     registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
29   }
30 
31   static final com.google.protobuf.Descriptors.Descriptor
32       internal_static_grafeas_v1_RelatedUrl_descriptor;
33   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
34       internal_static_grafeas_v1_RelatedUrl_fieldAccessorTable;
35   static final com.google.protobuf.Descriptors.Descriptor
36       internal_static_grafeas_v1_Signature_descriptor;
37   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
38       internal_static_grafeas_v1_Signature_fieldAccessorTable;
39   static final com.google.protobuf.Descriptors.Descriptor
40       internal_static_grafeas_v1_Envelope_descriptor;
41   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
42       internal_static_grafeas_v1_Envelope_fieldAccessorTable;
43   static final com.google.protobuf.Descriptors.Descriptor
44       internal_static_grafeas_v1_EnvelopeSignature_descriptor;
45   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
46       internal_static_grafeas_v1_EnvelopeSignature_fieldAccessorTable;
47   static final com.google.protobuf.Descriptors.Descriptor
48       internal_static_grafeas_v1_FileLocation_descriptor;
49   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
50       internal_static_grafeas_v1_FileLocation_fieldAccessorTable;
51   static final com.google.protobuf.Descriptors.Descriptor
52       internal_static_grafeas_v1_License_descriptor;
53   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
54       internal_static_grafeas_v1_License_fieldAccessorTable;
55   static final com.google.protobuf.Descriptors.Descriptor
56       internal_static_grafeas_v1_Digest_descriptor;
57   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
58       internal_static_grafeas_v1_Digest_fieldAccessorTable;
59 
getDescriptor()60   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
61     return descriptor;
62   }
63 
64   private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
65 
66   static {
67     java.lang.String[] descriptorData = {
68       "\n\027grafeas/v1/common.proto\022\ngrafeas.v1\"(\n"
69           + "\nRelatedUrl\022\013\n\003url\030\001 \001(\t\022\r\n\005label\030\002 \001(\t\""
70           + "5\n\tSignature\022\021\n\tsignature\030\001 \001(\014\022\025\n\rpubli"
71           + "c_key_id\030\002 \001(\t\"d\n\010Envelope\022\017\n\007payload\030\001 "
72           + "\001(\014\022\024\n\014payload_type\030\002 \001(\t\0221\n\nsignatures\030"
73           + "\003 \003(\0132\035.grafeas.v1.EnvelopeSignature\"/\n\021"
74           + "EnvelopeSignature\022\013\n\003sig\030\001 \001(\014\022\r\n\005keyid\030"
75           + "\002 \001(\t\"!\n\014FileLocation\022\021\n\tfile_path\030\001 \001(\t"
76           + "\"/\n\007License\022\022\n\nexpression\030\001 \001(\t\022\020\n\010comme"
77           + "nts\030\002 \001(\t\",\n\006Digest\022\014\n\004algo\030\001 \001(\t\022\024\n\014dig"
78           + "est_bytes\030\002 \001(\014*\334\001\n\010NoteKind\022\031\n\025NOTE_KIN"
79           + "D_UNSPECIFIED\020\000\022\021\n\rVULNERABILITY\020\001\022\t\n\005BU"
80           + "ILD\020\002\022\t\n\005IMAGE\020\003\022\013\n\007PACKAGE\020\004\022\016\n\nDEPLOYM"
81           + "ENT\020\005\022\r\n\tDISCOVERY\020\006\022\017\n\013ATTESTATION\020\007\022\013\n"
82           + "\007UPGRADE\020\010\022\016\n\nCOMPLIANCE\020\t\022\024\n\020DSSE_ATTES"
83           + "TATION\020\n\022\034\n\030VULNERABILITY_ASSESSMENT\020\013BQ"
84           + "\n\rio.grafeas.v1P\001Z8google.golang.org/gen"
85           + "proto/googleapis/grafeas/v1;grafeas\242\002\003GR"
86           + "Ab\006proto3"
87     };
88     descriptor =
89         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
90             descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
91     internal_static_grafeas_v1_RelatedUrl_descriptor = getDescriptor().getMessageTypes().get(0);
92     internal_static_grafeas_v1_RelatedUrl_fieldAccessorTable =
93         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
94             internal_static_grafeas_v1_RelatedUrl_descriptor,
95             new java.lang.String[] {
96               "Url", "Label",
97             });
98     internal_static_grafeas_v1_Signature_descriptor = getDescriptor().getMessageTypes().get(1);
99     internal_static_grafeas_v1_Signature_fieldAccessorTable =
100         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
101             internal_static_grafeas_v1_Signature_descriptor,
102             new java.lang.String[] {
103               "Signature", "PublicKeyId",
104             });
105     internal_static_grafeas_v1_Envelope_descriptor = getDescriptor().getMessageTypes().get(2);
106     internal_static_grafeas_v1_Envelope_fieldAccessorTable =
107         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
108             internal_static_grafeas_v1_Envelope_descriptor,
109             new java.lang.String[] {
110               "Payload", "PayloadType", "Signatures",
111             });
112     internal_static_grafeas_v1_EnvelopeSignature_descriptor =
113         getDescriptor().getMessageTypes().get(3);
114     internal_static_grafeas_v1_EnvelopeSignature_fieldAccessorTable =
115         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
116             internal_static_grafeas_v1_EnvelopeSignature_descriptor,
117             new java.lang.String[] {
118               "Sig", "Keyid",
119             });
120     internal_static_grafeas_v1_FileLocation_descriptor = getDescriptor().getMessageTypes().get(4);
121     internal_static_grafeas_v1_FileLocation_fieldAccessorTable =
122         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
123             internal_static_grafeas_v1_FileLocation_descriptor,
124             new java.lang.String[] {
125               "FilePath",
126             });
127     internal_static_grafeas_v1_License_descriptor = getDescriptor().getMessageTypes().get(5);
128     internal_static_grafeas_v1_License_fieldAccessorTable =
129         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
130             internal_static_grafeas_v1_License_descriptor,
131             new java.lang.String[] {
132               "Expression", "Comments",
133             });
134     internal_static_grafeas_v1_Digest_descriptor = getDescriptor().getMessageTypes().get(6);
135     internal_static_grafeas_v1_Digest_fieldAccessorTable =
136         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
137             internal_static_grafeas_v1_Digest_descriptor,
138             new java.lang.String[] {
139               "Algo", "DigestBytes",
140             });
141   }
142 
143   // @@protoc_insertion_point(outer_class_scope)
144 }
145