• 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/package.proto
19 
20 package io.grafeas.v1;
21 
22 public final class Package {
Package()23   private Package() {}
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_Distribution_descriptor;
33   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
34       internal_static_grafeas_v1_Distribution_fieldAccessorTable;
35   static final com.google.protobuf.Descriptors.Descriptor
36       internal_static_grafeas_v1_Location_descriptor;
37   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
38       internal_static_grafeas_v1_Location_fieldAccessorTable;
39   static final com.google.protobuf.Descriptors.Descriptor
40       internal_static_grafeas_v1_PackageNote_descriptor;
41   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
42       internal_static_grafeas_v1_PackageNote_fieldAccessorTable;
43   static final com.google.protobuf.Descriptors.Descriptor
44       internal_static_grafeas_v1_PackageOccurrence_descriptor;
45   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
46       internal_static_grafeas_v1_PackageOccurrence_fieldAccessorTable;
47   static final com.google.protobuf.Descriptors.Descriptor
48       internal_static_grafeas_v1_Version_descriptor;
49   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
50       internal_static_grafeas_v1_Version_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\030grafeas/v1/package.proto\022\ngrafeas.v1\032\037"
61           + "google/api/field_behavior.proto\032\027grafeas"
62           + "/v1/common.proto\"\267\001\n\014Distribution\022\024\n\007cpe"
63           + "_uri\030\001 \001(\tB\003\340A\002\022.\n\014architecture\030\002 \001(\0162\030."
64           + "grafeas.v1.Architecture\022+\n\016latest_versio"
65           + "n\030\003 \001(\0132\023.grafeas.v1.Version\022\022\n\nmaintain"
66           + "er\030\004 \001(\t\022\013\n\003url\030\005 \001(\t\022\023\n\013description\030\006 \001"
67           + "(\t\"O\n\010Location\022\017\n\007cpe_uri\030\001 \001(\t\022$\n\007versi"
68           + "on\030\002 \001(\0132\023.grafeas.v1.Version\022\014\n\004path\030\003 "
69           + "\001(\t\"\320\002\n\013PackageNote\022\024\n\004name\030\001 \001(\tB\006\340A\002\340A"
70           + "\005\022.\n\014distribution\030\n \003(\0132\030.grafeas.v1.Dis"
71           + "tribution\022\024\n\014package_type\030\013 \001(\t\022\017\n\007cpe_u"
72           + "ri\030\014 \001(\t\022.\n\014architecture\030\r \001(\0162\030.grafeas"
73           + ".v1.Architecture\022$\n\007version\030\016 \001(\0132\023.graf"
74           + "eas.v1.Version\022\022\n\nmaintainer\030\017 \001(\t\022\013\n\003ur"
75           + "l\030\020 \001(\t\022\023\n\013description\030\021 \001(\t\022$\n\007license\030"
76           + "\022 \001(\0132\023.grafeas.v1.License\022\"\n\006digest\030\023 \003"
77           + "(\0132\022.grafeas.v1.Digest\"\210\002\n\021PackageOccurr"
78           + "ence\022\024\n\004name\030\001 \001(\tB\006\340A\002\340A\003\022&\n\010location\030\002"
79           + " \003(\0132\024.grafeas.v1.Location\022\031\n\014package_ty"
80           + "pe\030\003 \001(\tB\003\340A\003\022\024\n\007cpe_uri\030\004 \001(\tB\003\340A\003\0223\n\014a"
81           + "rchitecture\030\005 \001(\0162\030.grafeas.v1.Architect"
82           + "ureB\003\340A\003\022$\n\007license\030\006 \001(\0132\023.grafeas.v1.L"
83           + "icense\022)\n\007version\030\007 \001(\0132\023.grafeas.v1.Ver"
84           + "sionB\003\340A\003\"\340\001\n\007Version\022\r\n\005epoch\030\001 \001(\005\022\014\n\004"
85           + "name\030\002 \001(\t\022\020\n\010revision\030\003 \001(\t\022\021\n\tinclusiv"
86           + "e\030\006 \001(\010\022-\n\004kind\030\004 \001(\0162\037.grafeas.v1.Versi"
87           + "on.VersionKind\022\021\n\tfull_name\030\005 \001(\t\"Q\n\013Ver"
88           + "sionKind\022\034\n\030VERSION_KIND_UNSPECIFIED\020\000\022\n"
89           + "\n\006NORMAL\020\001\022\013\n\007MINIMUM\020\002\022\013\n\007MAXIMUM\020\003*>\n\014"
90           + "Architecture\022\034\n\030ARCHITECTURE_UNSPECIFIED"
91           + "\020\000\022\007\n\003X86\020\001\022\007\n\003X64\020\002BQ\n\rio.grafeas.v1P\001Z"
92           + "8google.golang.org/genproto/googleapis/g"
93           + "rafeas/v1;grafeas\242\002\003GRAb\006proto3"
94     };
95     descriptor =
96         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
97             descriptorData,
98             new com.google.protobuf.Descriptors.FileDescriptor[] {
99               com.google.api.FieldBehaviorProto.getDescriptor(),
100               io.grafeas.v1.Common.getDescriptor(),
101             });
102     internal_static_grafeas_v1_Distribution_descriptor = getDescriptor().getMessageTypes().get(0);
103     internal_static_grafeas_v1_Distribution_fieldAccessorTable =
104         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
105             internal_static_grafeas_v1_Distribution_descriptor,
106             new java.lang.String[] {
107               "CpeUri", "Architecture", "LatestVersion", "Maintainer", "Url", "Description",
108             });
109     internal_static_grafeas_v1_Location_descriptor = getDescriptor().getMessageTypes().get(1);
110     internal_static_grafeas_v1_Location_fieldAccessorTable =
111         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
112             internal_static_grafeas_v1_Location_descriptor,
113             new java.lang.String[] {
114               "CpeUri", "Version", "Path",
115             });
116     internal_static_grafeas_v1_PackageNote_descriptor = getDescriptor().getMessageTypes().get(2);
117     internal_static_grafeas_v1_PackageNote_fieldAccessorTable =
118         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
119             internal_static_grafeas_v1_PackageNote_descriptor,
120             new java.lang.String[] {
121               "Name",
122               "Distribution",
123               "PackageType",
124               "CpeUri",
125               "Architecture",
126               "Version",
127               "Maintainer",
128               "Url",
129               "Description",
130               "License",
131               "Digest",
132             });
133     internal_static_grafeas_v1_PackageOccurrence_descriptor =
134         getDescriptor().getMessageTypes().get(3);
135     internal_static_grafeas_v1_PackageOccurrence_fieldAccessorTable =
136         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
137             internal_static_grafeas_v1_PackageOccurrence_descriptor,
138             new java.lang.String[] {
139               "Name", "Location", "PackageType", "CpeUri", "Architecture", "License", "Version",
140             });
141     internal_static_grafeas_v1_Version_descriptor = getDescriptor().getMessageTypes().get(4);
142     internal_static_grafeas_v1_Version_fieldAccessorTable =
143         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
144             internal_static_grafeas_v1_Version_descriptor,
145             new java.lang.String[] {
146               "Epoch", "Name", "Revision", "Inclusive", "Kind", "FullName",
147             });
148     com.google.protobuf.ExtensionRegistry registry =
149         com.google.protobuf.ExtensionRegistry.newInstance();
150     registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)151     com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
152         descriptor, registry);
com.google.api.FieldBehaviorProto.getDescriptor()153     com.google.api.FieldBehaviorProto.getDescriptor();
io.grafeas.v1.Common.getDescriptor()154     io.grafeas.v1.Common.getDescriptor();
155   }
156 
157   // @@protoc_insertion_point(outer_class_scope)
158 }
159