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/vex.proto 19 20 package io.grafeas.v1; 21 22 public final class Vex { Vex()23 private Vex() {} 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_VulnerabilityAssessmentNote_descriptor; 33 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 34 internal_static_grafeas_v1_VulnerabilityAssessmentNote_fieldAccessorTable; 35 static final com.google.protobuf.Descriptors.Descriptor 36 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Publisher_descriptor; 37 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 38 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Publisher_fieldAccessorTable; 39 static final com.google.protobuf.Descriptors.Descriptor 40 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Product_descriptor; 41 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 42 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Product_fieldAccessorTable; 43 static final com.google.protobuf.Descriptors.Descriptor 44 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Assessment_descriptor; 45 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 46 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Assessment_fieldAccessorTable; 47 static final com.google.protobuf.Descriptors.Descriptor 48 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Assessment_Justification_descriptor; 49 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 50 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Assessment_Justification_fieldAccessorTable; 51 static final com.google.protobuf.Descriptors.Descriptor 52 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Assessment_Remediation_descriptor; 53 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 54 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Assessment_Remediation_fieldAccessorTable; 55 getDescriptor()56 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 57 return descriptor; 58 } 59 60 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 61 62 static { 63 java.lang.String[] descriptorData = { 64 "\n\024grafeas/v1/vex.proto\022\ngrafeas.v1\032\027graf" 65 + "eas/v1/common.proto\"\252\r\n\033VulnerabilityAss" 66 + "essmentNote\022\r\n\005title\030\001 \001(\t\022\031\n\021short_desc" 67 + "ription\030\002 \001(\t\022\030\n\020long_description\030\003 \001(\t\022" 68 + "\025\n\rlanguage_code\030\004 \001(\t\022D\n\tpublisher\030\005 \001(" 69 + "\01321.grafeas.v1.VulnerabilityAssessmentNo" 70 + "te.Publisher\022@\n\007product\030\006 \001(\0132/.grafeas." 71 + "v1.VulnerabilityAssessmentNote.Product\022F" 72 + "\n\nassessment\030\007 \001(\01322.grafeas.v1.Vulnerab" 73 + "ilityAssessmentNote.Assessment\032Q\n\tPublis" 74 + "her\022\014\n\004name\030\001 \001(\t\022\031\n\021issuing_authority\030\002" 75 + " \001(\t\022\033\n\023publisher_namespace\030\003 \001(\t\032H\n\007Pro" 76 + "duct\022\014\n\004name\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\022\025\n\013generi" 77 + "c_uri\030\003 \001(\tH\000B\014\n\nidentifier\032\302\t\n\nAssessme" 78 + "nt\022\013\n\003cve\030\001 \001(\t\022\031\n\021short_description\030\002 \001" 79 + "(\t\022\030\n\020long_description\030\003 \001(\t\022,\n\014related_" 80 + "uris\030\004 \003(\0132\026.grafeas.v1.RelatedUrl\022G\n\005st" 81 + "ate\030\005 \001(\01628.grafeas.v1.VulnerabilityAsse" 82 + "ssmentNote.Assessment.State\022\017\n\007impacts\030\006" 83 + " \003(\t\022W\n\rjustification\030\007 \001(\0132@.grafeas.v1" 84 + ".VulnerabilityAssessmentNote.Assessment." 85 + "Justification\022T\n\014remediations\030\010 \003(\0132>.gr" 86 + "afeas.v1.VulnerabilityAssessmentNote.Ass" 87 + "essment.Remediation\032\214\003\n\rJustification\022n\n" 88 + "\022justification_type\030\001 \001(\0162R.grafeas.v1.V" 89 + "ulnerabilityAssessmentNote.Assessment.Ju" 90 + "stification.JustificationType\022\017\n\007details" 91 + "\030\002 \001(\t\"\371\001\n\021JustificationType\022\"\n\036JUSTIFIC" 92 + "ATION_TYPE_UNSPECIFIED\020\000\022\031\n\025COMPONENT_NO" 93 + "T_PRESENT\020\001\022\037\n\033VULNERABLE_CODE_NOT_PRESE" 94 + "NT\020\002\022\'\n#VULNERABLE_CODE_NOT_IN_EXECUTE_P" 95 + "ATH\020\003\0225\n1VULNERABLE_CODE_CANNOT_BE_CONTR" 96 + "OLLED_BY_ADVERSARY\020\004\022$\n INLINE_MITIGATIO" 97 + "NS_ALREADY_EXIST\020\005\032\307\002\n\013Remediation\022h\n\020re" 98 + "mediation_type\030\001 \001(\0162N.grafeas.v1.Vulner" 99 + "abilityAssessmentNote.Assessment.Remedia" 100 + "tion.RemediationType\022\017\n\007details\030\002 \001(\t\022/\n" 101 + "\017remediation_uri\030\003 \001(\0132\026.grafeas.v1.Rela" 102 + "tedUrl\"\213\001\n\017RemediationType\022 \n\034REMEDIATIO" 103 + "N_TYPE_UNSPECIFIED\020\000\022\016\n\nMITIGATION\020\001\022\022\n\016" 104 + "NO_FIX_PLANNED\020\002\022\022\n\016NONE_AVAILABLE\020\003\022\016\n\n" 105 + "VENDOR_FIX\020\004\022\016\n\nWORKAROUND\020\005\"b\n\005State\022\025\n" 106 + "\021STATE_UNSPECIFIED\020\000\022\014\n\010AFFECTED\020\001\022\020\n\014NO" 107 + "T_AFFECTED\020\002\022\t\n\005FIXED\020\003\022\027\n\023UNDER_INVESTI" 108 + "GATION\020\004BQ\n\rio.grafeas.v1P\001Z8google.gola" 109 + "ng.org/genproto/googleapis/grafeas/v1;gr" 110 + "afeas\242\002\003GRAb\006proto3" 111 }; 112 descriptor = 113 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 114 descriptorData, 115 new com.google.protobuf.Descriptors.FileDescriptor[] { 116 io.grafeas.v1.Common.getDescriptor(), 117 }); 118 internal_static_grafeas_v1_VulnerabilityAssessmentNote_descriptor = 119 getDescriptor().getMessageTypes().get(0); 120 internal_static_grafeas_v1_VulnerabilityAssessmentNote_fieldAccessorTable = 121 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 122 internal_static_grafeas_v1_VulnerabilityAssessmentNote_descriptor, 123 new java.lang.String[] { 124 "Title", 125 "ShortDescription", 126 "LongDescription", 127 "LanguageCode", 128 "Publisher", 129 "Product", 130 "Assessment", 131 }); 132 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Publisher_descriptor = 133 internal_static_grafeas_v1_VulnerabilityAssessmentNote_descriptor.getNestedTypes().get(0); 134 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Publisher_fieldAccessorTable = 135 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 136 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Publisher_descriptor, 137 new java.lang.String[] { 138 "Name", "IssuingAuthority", "PublisherNamespace", 139 }); 140 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Product_descriptor = 141 internal_static_grafeas_v1_VulnerabilityAssessmentNote_descriptor.getNestedTypes().get(1); 142 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Product_fieldAccessorTable = 143 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 144 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Product_descriptor, 145 new java.lang.String[] { 146 "Name", "Id", "GenericUri", "Identifier", 147 }); 148 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Assessment_descriptor = 149 internal_static_grafeas_v1_VulnerabilityAssessmentNote_descriptor.getNestedTypes().get(2); 150 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Assessment_fieldAccessorTable = 151 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 152 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Assessment_descriptor, 153 new java.lang.String[] { 154 "Cve", 155 "ShortDescription", 156 "LongDescription", 157 "RelatedUris", 158 "State", 159 "Impacts", 160 "Justification", 161 "Remediations", 162 }); 163 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Assessment_Justification_descriptor = 164 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Assessment_descriptor 165 .getNestedTypes() 166 .get(0); 167 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Assessment_Justification_fieldAccessorTable = 168 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 169 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Assessment_Justification_descriptor, 170 new java.lang.String[] { 171 "JustificationType", "Details", 172 }); 173 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Assessment_Remediation_descriptor = 174 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Assessment_descriptor 175 .getNestedTypes() 176 .get(1); 177 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Assessment_Remediation_fieldAccessorTable = 178 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 179 internal_static_grafeas_v1_VulnerabilityAssessmentNote_Assessment_Remediation_descriptor, 180 new java.lang.String[] { 181 "RemediationType", "Details", "RemediationUri", 182 }); io.grafeas.v1.Common.getDescriptor()183 io.grafeas.v1.Common.getDescriptor(); 184 } 185 186 // @@protoc_insertion_point(outer_class_scope) 187 } 188