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/discovery.proto 19 20 package io.grafeas.v1; 21 22 public final class Discovery { Discovery()23 private Discovery() {} 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_DiscoveryNote_descriptor; 33 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 34 internal_static_grafeas_v1_DiscoveryNote_fieldAccessorTable; 35 static final com.google.protobuf.Descriptors.Descriptor 36 internal_static_grafeas_v1_DiscoveryOccurrence_descriptor; 37 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 38 internal_static_grafeas_v1_DiscoveryOccurrence_fieldAccessorTable; 39 static final com.google.protobuf.Descriptors.Descriptor 40 internal_static_grafeas_v1_DiscoveryOccurrence_AnalysisCompleted_descriptor; 41 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 42 internal_static_grafeas_v1_DiscoveryOccurrence_AnalysisCompleted_fieldAccessorTable; 43 getDescriptor()44 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 45 return descriptor; 46 } 47 48 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 49 50 static { 51 java.lang.String[] descriptorData = { 52 "\n\032grafeas/v1/discovery.proto\022\ngrafeas.v1" 53 + "\032\037google/api/field_behavior.proto\032\037googl" 54 + "e/protobuf/timestamp.proto\032\027google/rpc/s" 55 + "tatus.proto\032\027grafeas/v1/common.proto\"<\n\r" 56 + "DiscoveryNote\022+\n\ranalysis_kind\030\001 \001(\0162\024.g" 57 + "rafeas.v1.NoteKind\"\374\005\n\023DiscoveryOccurren" 58 + "ce\022O\n\023continuous_analysis\030\001 \001(\01622.grafea" 59 + "s.v1.DiscoveryOccurrence.ContinuousAnaly" 60 + "sis\022G\n\017analysis_status\030\002 \001(\0162..grafeas.v" 61 + "1.DiscoveryOccurrence.AnalysisStatus\022M\n\022" 62 + "analysis_completed\030\007 \001(\01321.grafeas.v1.Di" 63 + "scoveryOccurrence.AnalysisCompleted\022*\n\016a" 64 + "nalysis_error\030\010 \003(\0132\022.google.rpc.Status\022" 65 + "1\n\025analysis_status_error\030\003 \001(\0132\022.google." 66 + "rpc.Status\022\013\n\003cpe\030\004 \001(\t\0222\n\016last_scan_tim" 67 + "e\030\005 \001(\0132\032.google.protobuf.Timestamp\0225\n\014a" 68 + "rchive_time\030\006 \001(\0132\032.google.protobuf.Time" 69 + "stampB\003\340A\003\032*\n\021AnalysisCompleted\022\025\n\ranaly" 70 + "sis_type\030\001 \003(\t\"S\n\022ContinuousAnalysis\022#\n\037" 71 + "CONTINUOUS_ANALYSIS_UNSPECIFIED\020\000\022\n\n\006ACT" 72 + "IVE\020\001\022\014\n\010INACTIVE\020\002\"\243\001\n\016AnalysisStatus\022\037" 73 + "\n\033ANALYSIS_STATUS_UNSPECIFIED\020\000\022\013\n\007PENDI" 74 + "NG\020\001\022\014\n\010SCANNING\020\002\022\024\n\020FINISHED_SUCCESS\020\003" 75 + "\022\014\n\010COMPLETE\020\003\022\023\n\017FINISHED_FAILED\020\004\022\030\n\024F" 76 + "INISHED_UNSUPPORTED\020\005\032\002\020\001BQ\n\rio.grafeas." 77 + "v1P\001Z8google.golang.org/genproto/googlea" 78 + "pis/grafeas/v1;grafeas\242\002\003GRAb\006proto3" 79 }; 80 descriptor = 81 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 82 descriptorData, 83 new com.google.protobuf.Descriptors.FileDescriptor[] { 84 com.google.api.FieldBehaviorProto.getDescriptor(), 85 com.google.protobuf.TimestampProto.getDescriptor(), 86 com.google.rpc.StatusProto.getDescriptor(), 87 io.grafeas.v1.Common.getDescriptor(), 88 }); 89 internal_static_grafeas_v1_DiscoveryNote_descriptor = getDescriptor().getMessageTypes().get(0); 90 internal_static_grafeas_v1_DiscoveryNote_fieldAccessorTable = 91 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 92 internal_static_grafeas_v1_DiscoveryNote_descriptor, 93 new java.lang.String[] { 94 "AnalysisKind", 95 }); 96 internal_static_grafeas_v1_DiscoveryOccurrence_descriptor = 97 getDescriptor().getMessageTypes().get(1); 98 internal_static_grafeas_v1_DiscoveryOccurrence_fieldAccessorTable = 99 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 100 internal_static_grafeas_v1_DiscoveryOccurrence_descriptor, 101 new java.lang.String[] { 102 "ContinuousAnalysis", 103 "AnalysisStatus", 104 "AnalysisCompleted", 105 "AnalysisError", 106 "AnalysisStatusError", 107 "Cpe", 108 "LastScanTime", 109 "ArchiveTime", 110 }); 111 internal_static_grafeas_v1_DiscoveryOccurrence_AnalysisCompleted_descriptor = 112 internal_static_grafeas_v1_DiscoveryOccurrence_descriptor.getNestedTypes().get(0); 113 internal_static_grafeas_v1_DiscoveryOccurrence_AnalysisCompleted_fieldAccessorTable = 114 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 115 internal_static_grafeas_v1_DiscoveryOccurrence_AnalysisCompleted_descriptor, 116 new java.lang.String[] { 117 "AnalysisType", 118 }); 119 com.google.protobuf.ExtensionRegistry registry = 120 com.google.protobuf.ExtensionRegistry.newInstance(); 121 registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)122 com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( 123 descriptor, registry); com.google.api.FieldBehaviorProto.getDescriptor()124 com.google.api.FieldBehaviorProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor()125 com.google.protobuf.TimestampProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor()126 com.google.rpc.StatusProto.getDescriptor(); io.grafeas.v1.Common.getDescriptor()127 io.grafeas.v1.Common.getDescriptor(); 128 } 129 130 // @@protoc_insertion_point(outer_class_scope) 131 } 132