• 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/cvss.proto
19 
20 package io.grafeas.v1;
21 
22 public final class CVSSProto {
CVSSProto()23   private CVSSProto() {}
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_CVSSv3_descriptor;
33   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
34       internal_static_grafeas_v1_CVSSv3_fieldAccessorTable;
35   static final com.google.protobuf.Descriptors.Descriptor
36       internal_static_grafeas_v1_CVSS_descriptor;
37   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
38       internal_static_grafeas_v1_CVSS_fieldAccessorTable;
39 
getDescriptor()40   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
41     return descriptor;
42   }
43 
44   private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
45 
46   static {
47     java.lang.String[] descriptorData = {
48       "\n\025grafeas/v1/cvss.proto\022\ngrafeas.v1\"\305\t\n\006"
49           + "CVSSv3\022\022\n\nbase_score\030\001 \001(\002\022\034\n\024exploitabi"
50           + "lity_score\030\002 \001(\002\022\024\n\014impact_score\030\003 \001(\002\0226"
51           + "\n\rattack_vector\030\005 \001(\0162\037.grafeas.v1.CVSSv"
52           + "3.AttackVector\022>\n\021attack_complexity\030\006 \001("
53           + "\0162#.grafeas.v1.CVSSv3.AttackComplexity\022B"
54           + "\n\023privileges_required\030\007 \001(\0162%.grafeas.v1"
55           + ".CVSSv3.PrivilegesRequired\022<\n\020user_inter"
56           + "action\030\010 \001(\0162\".grafeas.v1.CVSSv3.UserInt"
57           + "eraction\022\'\n\005scope\030\t \001(\0162\030.grafeas.v1.CVS"
58           + "Sv3.Scope\0229\n\026confidentiality_impact\030\n \001("
59           + "\0162\031.grafeas.v1.CVSSv3.Impact\0223\n\020integrit"
60           + "y_impact\030\013 \001(\0162\031.grafeas.v1.CVSSv3.Impac"
61           + "t\0226\n\023availability_impact\030\014 \001(\0162\031.grafeas"
62           + ".v1.CVSSv3.Impact\"\231\001\n\014AttackVector\022\035\n\031AT"
63           + "TACK_VECTOR_UNSPECIFIED\020\000\022\031\n\025ATTACK_VECT"
64           + "OR_NETWORK\020\001\022\032\n\026ATTACK_VECTOR_ADJACENT\020\002"
65           + "\022\027\n\023ATTACK_VECTOR_LOCAL\020\003\022\032\n\026ATTACK_VECT"
66           + "OR_PHYSICAL\020\004\"l\n\020AttackComplexity\022!\n\035ATT"
67           + "ACK_COMPLEXITY_UNSPECIFIED\020\000\022\031\n\025ATTACK_C"
68           + "OMPLEXITY_LOW\020\001\022\032\n\026ATTACK_COMPLEXITY_HIG"
69           + "H\020\002\"\222\001\n\022PrivilegesRequired\022#\n\037PRIVILEGES"
70           + "_REQUIRED_UNSPECIFIED\020\000\022\034\n\030PRIVILEGES_RE"
71           + "QUIRED_NONE\020\001\022\033\n\027PRIVILEGES_REQUIRED_LOW"
72           + "\020\002\022\034\n\030PRIVILEGES_REQUIRED_HIGH\020\003\"m\n\017User"
73           + "Interaction\022 \n\034USER_INTERACTION_UNSPECIF"
74           + "IED\020\000\022\031\n\025USER_INTERACTION_NONE\020\001\022\035\n\031USER"
75           + "_INTERACTION_REQUIRED\020\002\"F\n\005Scope\022\025\n\021SCOP"
76           + "E_UNSPECIFIED\020\000\022\023\n\017SCOPE_UNCHANGED\020\001\022\021\n\r"
77           + "SCOPE_CHANGED\020\002\"R\n\006Impact\022\026\n\022IMPACT_UNSP"
78           + "ECIFIED\020\000\022\017\n\013IMPACT_HIGH\020\001\022\016\n\nIMPACT_LOW"
79           + "\020\002\022\017\n\013IMPACT_NONE\020\003\"\270\013\n\004CVSS\022\022\n\nbase_sco"
80           + "re\030\001 \001(\002\022\034\n\024exploitability_score\030\002 \001(\002\022\024"
81           + "\n\014impact_score\030\003 \001(\002\0224\n\rattack_vector\030\004 "
82           + "\001(\0162\035.grafeas.v1.CVSS.AttackVector\022<\n\021at"
83           + "tack_complexity\030\005 \001(\0162!.grafeas.v1.CVSS."
84           + "AttackComplexity\0227\n\016authentication\030\006 \001(\016"
85           + "2\037.grafeas.v1.CVSS.Authentication\022@\n\023pri"
86           + "vileges_required\030\007 \001(\0162#.grafeas.v1.CVSS"
87           + ".PrivilegesRequired\022:\n\020user_interaction\030"
88           + "\010 \001(\0162 .grafeas.v1.CVSS.UserInteraction\022"
89           + "%\n\005scope\030\t \001(\0162\026.grafeas.v1.CVSS.Scope\0227"
90           + "\n\026confidentiality_impact\030\n \001(\0162\027.grafeas"
91           + ".v1.CVSS.Impact\0221\n\020integrity_impact\030\013 \001("
92           + "\0162\027.grafeas.v1.CVSS.Impact\0224\n\023availabili"
93           + "ty_impact\030\014 \001(\0162\027.grafeas.v1.CVSS.Impact"
94           + "\"\231\001\n\014AttackVector\022\035\n\031ATTACK_VECTOR_UNSPE"
95           + "CIFIED\020\000\022\031\n\025ATTACK_VECTOR_NETWORK\020\001\022\032\n\026A"
96           + "TTACK_VECTOR_ADJACENT\020\002\022\027\n\023ATTACK_VECTOR"
97           + "_LOCAL\020\003\022\032\n\026ATTACK_VECTOR_PHYSICAL\020\004\"\212\001\n"
98           + "\020AttackComplexity\022!\n\035ATTACK_COMPLEXITY_U"
99           + "NSPECIFIED\020\000\022\031\n\025ATTACK_COMPLEXITY_LOW\020\001\022"
100           + "\032\n\026ATTACK_COMPLEXITY_HIGH\020\002\022\034\n\030ATTACK_CO"
101           + "MPLEXITY_MEDIUM\020\003\"\201\001\n\016Authentication\022\036\n\032"
102           + "AUTHENTICATION_UNSPECIFIED\020\000\022\033\n\027AUTHENTI"
103           + "CATION_MULTIPLE\020\001\022\031\n\025AUTHENTICATION_SING"
104           + "LE\020\002\022\027\n\023AUTHENTICATION_NONE\020\003\"\222\001\n\022Privil"
105           + "egesRequired\022#\n\037PRIVILEGES_REQUIRED_UNSP"
106           + "ECIFIED\020\000\022\034\n\030PRIVILEGES_REQUIRED_NONE\020\001\022"
107           + "\033\n\027PRIVILEGES_REQUIRED_LOW\020\002\022\034\n\030PRIVILEG"
108           + "ES_REQUIRED_HIGH\020\003\"m\n\017UserInteraction\022 \n"
109           + "\034USER_INTERACTION_UNSPECIFIED\020\000\022\031\n\025USER_"
110           + "INTERACTION_NONE\020\001\022\035\n\031USER_INTERACTION_R"
111           + "EQUIRED\020\002\"F\n\005Scope\022\025\n\021SCOPE_UNSPECIFIED\020"
112           + "\000\022\023\n\017SCOPE_UNCHANGED\020\001\022\021\n\rSCOPE_CHANGED\020"
113           + "\002\"{\n\006Impact\022\026\n\022IMPACT_UNSPECIFIED\020\000\022\017\n\013I"
114           + "MPACT_HIGH\020\001\022\016\n\nIMPACT_LOW\020\002\022\017\n\013IMPACT_N"
115           + "ONE\020\003\022\022\n\016IMPACT_PARTIAL\020\004\022\023\n\017IMPACT_COMP"
116           + "LETE\020\005*S\n\013CVSSVersion\022\034\n\030CVSS_VERSION_UN"
117           + "SPECIFIED\020\000\022\022\n\016CVSS_VERSION_2\020\001\022\022\n\016CVSS_"
118           + "VERSION_3\020\002B\\\n\rio.grafeas.v1B\tCVSSProtoP"
119           + "\001Z8google.golang.org/genproto/googleapis"
120           + "/grafeas/v1;grafeas\242\002\003GRAb\006proto3"
121     };
122     descriptor =
123         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
124             descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
125     internal_static_grafeas_v1_CVSSv3_descriptor = getDescriptor().getMessageTypes().get(0);
126     internal_static_grafeas_v1_CVSSv3_fieldAccessorTable =
127         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
128             internal_static_grafeas_v1_CVSSv3_descriptor,
129             new java.lang.String[] {
130               "BaseScore",
131               "ExploitabilityScore",
132               "ImpactScore",
133               "AttackVector",
134               "AttackComplexity",
135               "PrivilegesRequired",
136               "UserInteraction",
137               "Scope",
138               "ConfidentialityImpact",
139               "IntegrityImpact",
140               "AvailabilityImpact",
141             });
142     internal_static_grafeas_v1_CVSS_descriptor = getDescriptor().getMessageTypes().get(1);
143     internal_static_grafeas_v1_CVSS_fieldAccessorTable =
144         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
145             internal_static_grafeas_v1_CVSS_descriptor,
146             new java.lang.String[] {
147               "BaseScore",
148               "ExploitabilityScore",
149               "ImpactScore",
150               "AttackVector",
151               "AttackComplexity",
152               "Authentication",
153               "PrivilegesRequired",
154               "UserInteraction",
155               "Scope",
156               "ConfidentialityImpact",
157               "IntegrityImpact",
158               "AvailabilityImpact",
159             });
160   }
161 
162   // @@protoc_insertion_point(outer_class_scope)
163 }
164