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/compliance.proto 19 20 package io.grafeas.v1; 21 22 public final class Compliance { Compliance()23 private Compliance() {} 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_ComplianceNote_descriptor; 33 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 34 internal_static_grafeas_v1_ComplianceNote_fieldAccessorTable; 35 static final com.google.protobuf.Descriptors.Descriptor 36 internal_static_grafeas_v1_ComplianceNote_CisBenchmark_descriptor; 37 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 38 internal_static_grafeas_v1_ComplianceNote_CisBenchmark_fieldAccessorTable; 39 static final com.google.protobuf.Descriptors.Descriptor 40 internal_static_grafeas_v1_ComplianceVersion_descriptor; 41 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 42 internal_static_grafeas_v1_ComplianceVersion_fieldAccessorTable; 43 static final com.google.protobuf.Descriptors.Descriptor 44 internal_static_grafeas_v1_ComplianceOccurrence_descriptor; 45 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 46 internal_static_grafeas_v1_ComplianceOccurrence_fieldAccessorTable; 47 static final com.google.protobuf.Descriptors.Descriptor 48 internal_static_grafeas_v1_NonCompliantFile_descriptor; 49 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 50 internal_static_grafeas_v1_NonCompliantFile_fieldAccessorTable; 51 getDescriptor()52 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 53 return descriptor; 54 } 55 56 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 57 58 static { 59 java.lang.String[] descriptorData = { 60 "\n\033grafeas/v1/compliance.proto\022\ngrafeas.v" 61 + "1\032\031grafeas/v1/severity.proto\"\313\002\n\016Complia" 62 + "nceNote\022\r\n\005title\030\001 \001(\t\022\023\n\013description\030\002 " 63 + "\001(\t\022.\n\007version\030\003 \003(\0132\035.grafeas.v1.Compli" 64 + "anceVersion\022\021\n\trationale\030\004 \001(\t\022\023\n\013remedi" 65 + "ation\030\005 \001(\t\022@\n\rcis_benchmark\030\006 \001(\0132\'.gra" 66 + "feas.v1.ComplianceNote.CisBenchmarkH\000\022\031\n" 67 + "\021scan_instructions\030\007 \001(\014\032M\n\014CisBenchmark" 68 + "\022\025\n\rprofile_level\030\001 \001(\005\022&\n\010severity\030\002 \001(" 69 + "\0162\024.grafeas.v1.SeverityB\021\n\017compliance_ty" 70 + "pe\"Q\n\021ComplianceVersion\022\017\n\007cpe_uri\030\001 \001(\t" 71 + "\022\032\n\022benchmark_document\030\003 \001(\t\022\017\n\007version\030" 72 + "\002 \001(\t\"p\n\024ComplianceOccurrence\0229\n\023non_com" 73 + "pliant_files\030\002 \003(\0132\034.grafeas.v1.NonCompl" 74 + "iantFile\022\035\n\025non_compliance_reason\030\003 \001(\t\"" 75 + "I\n\020NonCompliantFile\022\014\n\004path\030\001 \001(\t\022\027\n\017dis" 76 + "play_command\030\002 \001(\t\022\016\n\006reason\030\003 \001(\tBQ\n\rio" 77 + ".grafeas.v1P\001Z8google.golang.org/genprot" 78 + "o/googleapis/grafeas/v1;grafeas\242\002\003GRAb\006p" 79 + "roto3" 80 }; 81 descriptor = 82 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 83 descriptorData, 84 new com.google.protobuf.Descriptors.FileDescriptor[] { 85 io.grafeas.v1.SeverityOuterClass.getDescriptor(), 86 }); 87 internal_static_grafeas_v1_ComplianceNote_descriptor = getDescriptor().getMessageTypes().get(0); 88 internal_static_grafeas_v1_ComplianceNote_fieldAccessorTable = 89 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 90 internal_static_grafeas_v1_ComplianceNote_descriptor, 91 new java.lang.String[] { 92 "Title", 93 "Description", 94 "Version", 95 "Rationale", 96 "Remediation", 97 "CisBenchmark", 98 "ScanInstructions", 99 "ComplianceType", 100 }); 101 internal_static_grafeas_v1_ComplianceNote_CisBenchmark_descriptor = 102 internal_static_grafeas_v1_ComplianceNote_descriptor.getNestedTypes().get(0); 103 internal_static_grafeas_v1_ComplianceNote_CisBenchmark_fieldAccessorTable = 104 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 105 internal_static_grafeas_v1_ComplianceNote_CisBenchmark_descriptor, 106 new java.lang.String[] { 107 "ProfileLevel", "Severity", 108 }); 109 internal_static_grafeas_v1_ComplianceVersion_descriptor = 110 getDescriptor().getMessageTypes().get(1); 111 internal_static_grafeas_v1_ComplianceVersion_fieldAccessorTable = 112 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 113 internal_static_grafeas_v1_ComplianceVersion_descriptor, 114 new java.lang.String[] { 115 "CpeUri", "BenchmarkDocument", "Version", 116 }); 117 internal_static_grafeas_v1_ComplianceOccurrence_descriptor = 118 getDescriptor().getMessageTypes().get(2); 119 internal_static_grafeas_v1_ComplianceOccurrence_fieldAccessorTable = 120 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 121 internal_static_grafeas_v1_ComplianceOccurrence_descriptor, 122 new java.lang.String[] { 123 "NonCompliantFiles", "NonComplianceReason", 124 }); 125 internal_static_grafeas_v1_NonCompliantFile_descriptor = 126 getDescriptor().getMessageTypes().get(3); 127 internal_static_grafeas_v1_NonCompliantFile_fieldAccessorTable = 128 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 129 internal_static_grafeas_v1_NonCompliantFile_descriptor, 130 new java.lang.String[] { 131 "Path", "DisplayCommand", "Reason", 132 }); io.grafeas.v1.SeverityOuterClass.getDescriptor()133 io.grafeas.v1.SeverityOuterClass.getDescriptor(); 134 } 135 136 // @@protoc_insertion_point(outer_class_scope) 137 } 138