1// Copyright 2018 The Grafeas Authors. All rights reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//    http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// Code generated by protoc-gen-go. DO NOT EDIT.
16// versions:
17// 	protoc-gen-go v1.22.0
18// 	protoc        v3.11.2
19// source: google/devtools/containeranalysis/v1beta1/build/build.proto
20
21package build
22
23import (
24	reflect "reflect"
25	sync "sync"
26
27	proto "github.com/golang/protobuf/proto"
28	provenance "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance"
29	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31)
32
33const (
34	// Verify that this generated code is sufficiently up-to-date.
35	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36	// Verify that runtime/protoimpl is sufficiently up-to-date.
37	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38)
39
40// This is a compile-time assertion that a sufficiently up-to-date version
41// of the legacy proto package is being used.
42const _ = proto.ProtoPackageIsVersion4
43
44// Public key formats.
45type BuildSignature_KeyType int32
46
47const (
48	// `KeyType` is not set.
49	BuildSignature_KEY_TYPE_UNSPECIFIED BuildSignature_KeyType = 0
50	// `PGP ASCII Armored` public key.
51	BuildSignature_PGP_ASCII_ARMORED BuildSignature_KeyType = 1
52	// `PKIX PEM` public key.
53	BuildSignature_PKIX_PEM BuildSignature_KeyType = 2
54)
55
56// Enum value maps for BuildSignature_KeyType.
57var (
58	BuildSignature_KeyType_name = map[int32]string{
59		0: "KEY_TYPE_UNSPECIFIED",
60		1: "PGP_ASCII_ARMORED",
61		2: "PKIX_PEM",
62	}
63	BuildSignature_KeyType_value = map[string]int32{
64		"KEY_TYPE_UNSPECIFIED": 0,
65		"PGP_ASCII_ARMORED":    1,
66		"PKIX_PEM":             2,
67	}
68)
69
70func (x BuildSignature_KeyType) Enum() *BuildSignature_KeyType {
71	p := new(BuildSignature_KeyType)
72	*p = x
73	return p
74}
75
76func (x BuildSignature_KeyType) String() string {
77	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
78}
79
80func (BuildSignature_KeyType) Descriptor() protoreflect.EnumDescriptor {
81	return file_google_devtools_containeranalysis_v1beta1_build_build_proto_enumTypes[0].Descriptor()
82}
83
84func (BuildSignature_KeyType) Type() protoreflect.EnumType {
85	return &file_google_devtools_containeranalysis_v1beta1_build_build_proto_enumTypes[0]
86}
87
88func (x BuildSignature_KeyType) Number() protoreflect.EnumNumber {
89	return protoreflect.EnumNumber(x)
90}
91
92// Deprecated: Use BuildSignature_KeyType.Descriptor instead.
93func (BuildSignature_KeyType) EnumDescriptor() ([]byte, []int) {
94	return file_google_devtools_containeranalysis_v1beta1_build_build_proto_rawDescGZIP(), []int{1, 0}
95}
96
97// Note holding the version of the provider's builder and the signature of the
98// provenance message in the build details occurrence.
99type Build struct {
100	state         protoimpl.MessageState
101	sizeCache     protoimpl.SizeCache
102	unknownFields protoimpl.UnknownFields
103
104	// Required. Immutable. Version of the builder which produced this build.
105	BuilderVersion string `protobuf:"bytes,1,opt,name=builder_version,json=builderVersion,proto3" json:"builder_version,omitempty"`
106	// Signature of the build in occurrences pointing to this build note
107	// containing build details.
108	Signature *BuildSignature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
109}
110
111func (x *Build) Reset() {
112	*x = Build{}
113	if protoimpl.UnsafeEnabled {
114		mi := &file_google_devtools_containeranalysis_v1beta1_build_build_proto_msgTypes[0]
115		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
116		ms.StoreMessageInfo(mi)
117	}
118}
119
120func (x *Build) String() string {
121	return protoimpl.X.MessageStringOf(x)
122}
123
124func (*Build) ProtoMessage() {}
125
126func (x *Build) ProtoReflect() protoreflect.Message {
127	mi := &file_google_devtools_containeranalysis_v1beta1_build_build_proto_msgTypes[0]
128	if protoimpl.UnsafeEnabled && x != nil {
129		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
130		if ms.LoadMessageInfo() == nil {
131			ms.StoreMessageInfo(mi)
132		}
133		return ms
134	}
135	return mi.MessageOf(x)
136}
137
138// Deprecated: Use Build.ProtoReflect.Descriptor instead.
139func (*Build) Descriptor() ([]byte, []int) {
140	return file_google_devtools_containeranalysis_v1beta1_build_build_proto_rawDescGZIP(), []int{0}
141}
142
143func (x *Build) GetBuilderVersion() string {
144	if x != nil {
145		return x.BuilderVersion
146	}
147	return ""
148}
149
150func (x *Build) GetSignature() *BuildSignature {
151	if x != nil {
152		return x.Signature
153	}
154	return nil
155}
156
157// Message encapsulating the signature of the verified build.
158type BuildSignature struct {
159	state         protoimpl.MessageState
160	sizeCache     protoimpl.SizeCache
161	unknownFields protoimpl.UnknownFields
162
163	// Public key of the builder which can be used to verify that the related
164	// findings are valid and unchanged. If `key_type` is empty, this defaults
165	// to PEM encoded public keys.
166	//
167	// This field may be empty if `key_id` references an external key.
168	//
169	// For Cloud Build based signatures, this is a PEM encoded public
170	// key. To verify the Cloud Build signature, place the contents of
171	// this field into a file (public.pem). The signature field is base64-decoded
172	// into its binary representation in signature.bin, and the provenance bytes
173	// from `BuildDetails` are base64-decoded into a binary representation in
174	// signed.bin. OpenSSL can then verify the signature:
175	// `openssl sha256 -verify public.pem -signature signature.bin signed.bin`
176	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
177	// Required. Signature of the related `BuildProvenance`. In JSON, this is
178	// base-64 encoded.
179	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
180	// An ID for the key used to sign. This could be either an ID for the key
181	// stored in `public_key` (such as the ID or fingerprint for a PGP key, or the
182	// CN for a cert), or a reference to an external key (such as a reference to a
183	// key in Cloud Key Management Service).
184	KeyId string `protobuf:"bytes,3,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
185	// The type of the key, either stored in `public_key` or referenced in
186	// `key_id`.
187	KeyType BuildSignature_KeyType `protobuf:"varint,4,opt,name=key_type,json=keyType,proto3,enum=grafeas.v1beta1.build.BuildSignature_KeyType" json:"key_type,omitempty"`
188}
189
190func (x *BuildSignature) Reset() {
191	*x = BuildSignature{}
192	if protoimpl.UnsafeEnabled {
193		mi := &file_google_devtools_containeranalysis_v1beta1_build_build_proto_msgTypes[1]
194		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
195		ms.StoreMessageInfo(mi)
196	}
197}
198
199func (x *BuildSignature) String() string {
200	return protoimpl.X.MessageStringOf(x)
201}
202
203func (*BuildSignature) ProtoMessage() {}
204
205func (x *BuildSignature) ProtoReflect() protoreflect.Message {
206	mi := &file_google_devtools_containeranalysis_v1beta1_build_build_proto_msgTypes[1]
207	if protoimpl.UnsafeEnabled && x != nil {
208		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
209		if ms.LoadMessageInfo() == nil {
210			ms.StoreMessageInfo(mi)
211		}
212		return ms
213	}
214	return mi.MessageOf(x)
215}
216
217// Deprecated: Use BuildSignature.ProtoReflect.Descriptor instead.
218func (*BuildSignature) Descriptor() ([]byte, []int) {
219	return file_google_devtools_containeranalysis_v1beta1_build_build_proto_rawDescGZIP(), []int{1}
220}
221
222func (x *BuildSignature) GetPublicKey() string {
223	if x != nil {
224		return x.PublicKey
225	}
226	return ""
227}
228
229func (x *BuildSignature) GetSignature() []byte {
230	if x != nil {
231		return x.Signature
232	}
233	return nil
234}
235
236func (x *BuildSignature) GetKeyId() string {
237	if x != nil {
238		return x.KeyId
239	}
240	return ""
241}
242
243func (x *BuildSignature) GetKeyType() BuildSignature_KeyType {
244	if x != nil {
245		return x.KeyType
246	}
247	return BuildSignature_KEY_TYPE_UNSPECIFIED
248}
249
250// Details of a build occurrence.
251type Details struct {
252	state         protoimpl.MessageState
253	sizeCache     protoimpl.SizeCache
254	unknownFields protoimpl.UnknownFields
255
256	// Required. The actual provenance for the build.
257	Provenance *provenance.BuildProvenance `protobuf:"bytes,1,opt,name=provenance,proto3" json:"provenance,omitempty"`
258	// Serialized JSON representation of the provenance, used in generating the
259	// build signature in the corresponding build note. After verifying the
260	// signature, `provenance_bytes` can be unmarshalled and compared to the
261	// provenance to confirm that it is unchanged. A base64-encoded string
262	// representation of the provenance bytes is used for the signature in order
263	// to interoperate with openssl which expects this format for signature
264	// verification.
265	//
266	// The serialized form is captured both to avoid ambiguity in how the
267	// provenance is marshalled to json as well to prevent incompatibilities with
268	// future changes.
269	ProvenanceBytes string `protobuf:"bytes,2,opt,name=provenance_bytes,json=provenanceBytes,proto3" json:"provenance_bytes,omitempty"`
270}
271
272func (x *Details) Reset() {
273	*x = Details{}
274	if protoimpl.UnsafeEnabled {
275		mi := &file_google_devtools_containeranalysis_v1beta1_build_build_proto_msgTypes[2]
276		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
277		ms.StoreMessageInfo(mi)
278	}
279}
280
281func (x *Details) String() string {
282	return protoimpl.X.MessageStringOf(x)
283}
284
285func (*Details) ProtoMessage() {}
286
287func (x *Details) ProtoReflect() protoreflect.Message {
288	mi := &file_google_devtools_containeranalysis_v1beta1_build_build_proto_msgTypes[2]
289	if protoimpl.UnsafeEnabled && x != nil {
290		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
291		if ms.LoadMessageInfo() == nil {
292			ms.StoreMessageInfo(mi)
293		}
294		return ms
295	}
296	return mi.MessageOf(x)
297}
298
299// Deprecated: Use Details.ProtoReflect.Descriptor instead.
300func (*Details) Descriptor() ([]byte, []int) {
301	return file_google_devtools_containeranalysis_v1beta1_build_build_proto_rawDescGZIP(), []int{2}
302}
303
304func (x *Details) GetProvenance() *provenance.BuildProvenance {
305	if x != nil {
306		return x.Provenance
307	}
308	return nil
309}
310
311func (x *Details) GetProvenanceBytes() string {
312	if x != nil {
313		return x.ProvenanceBytes
314	}
315	return ""
316}
317
318var File_google_devtools_containeranalysis_v1beta1_build_build_proto protoreflect.FileDescriptor
319
320var file_google_devtools_containeranalysis_v1beta1_build_build_proto_rawDesc = []byte{
321	0x0a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
322	0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79,
323	0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x62, 0x75, 0x69, 0x6c,
324	0x64, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67,
325	0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x62,
326	0x75, 0x69, 0x6c, 0x64, 0x1a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76,
327	0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61,
328	0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f,
329	0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x65,
330	0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x05, 0x42,
331	0x75, 0x69, 0x6c, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5f,
332	0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62,
333	0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a,
334	0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
335	0x32, 0x25, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
336	0x61, 0x31, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x69,
337	0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75,
338	0x72, 0x65, 0x22, 0xf8, 0x01, 0x0a, 0x0e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x69, 0x67, 0x6e,
339	0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f,
340	0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69,
341	0x63, 0x4b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72,
342	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75,
343	0x72, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
344	0x28, 0x09, 0x52, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x08, 0x6b, 0x65, 0x79,
345	0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x72,
346	0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x62, 0x75,
347	0x69, 0x6c, 0x64, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75,
348	0x72, 0x65, 0x2e, 0x4b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x54,
349	0x79, 0x70, 0x65, 0x22, 0x48, 0x0a, 0x07, 0x4b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18,
350	0x0a, 0x14, 0x4b, 0x45, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
351	0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x47, 0x50, 0x5f,
352	0x41, 0x53, 0x43, 0x49, 0x49, 0x5f, 0x41, 0x52, 0x4d, 0x4f, 0x52, 0x45, 0x44, 0x10, 0x01, 0x12,
353	0x0c, 0x0a, 0x08, 0x50, 0x4b, 0x49, 0x58, 0x5f, 0x50, 0x45, 0x4d, 0x10, 0x02, 0x22, 0x81, 0x01,
354	0x0a, 0x07, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x4b, 0x0a, 0x0a, 0x70, 0x72, 0x6f,
355	0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e,
356	0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
357	0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64,
358	0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76,
359	0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e,
360	0x61, 0x6e, 0x63, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
361	0x52, 0x0f, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x79, 0x74, 0x65,
362	0x73, 0x42, 0x78, 0x0a, 0x18, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e,
363	0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x50, 0x01, 0x5a,
364	0x54, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
365	0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67,
366	0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f,
367	0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69,
368	0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x3b,
369	0x62, 0x75, 0x69, 0x6c, 0x64, 0xa2, 0x02, 0x03, 0x47, 0x52, 0x41, 0x62, 0x06, 0x70, 0x72, 0x6f,
370	0x74, 0x6f, 0x33,
371}
372
373var (
374	file_google_devtools_containeranalysis_v1beta1_build_build_proto_rawDescOnce sync.Once
375	file_google_devtools_containeranalysis_v1beta1_build_build_proto_rawDescData = file_google_devtools_containeranalysis_v1beta1_build_build_proto_rawDesc
376)
377
378func file_google_devtools_containeranalysis_v1beta1_build_build_proto_rawDescGZIP() []byte {
379	file_google_devtools_containeranalysis_v1beta1_build_build_proto_rawDescOnce.Do(func() {
380		file_google_devtools_containeranalysis_v1beta1_build_build_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_containeranalysis_v1beta1_build_build_proto_rawDescData)
381	})
382	return file_google_devtools_containeranalysis_v1beta1_build_build_proto_rawDescData
383}
384
385var file_google_devtools_containeranalysis_v1beta1_build_build_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
386var file_google_devtools_containeranalysis_v1beta1_build_build_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
387var file_google_devtools_containeranalysis_v1beta1_build_build_proto_goTypes = []interface{}{
388	(BuildSignature_KeyType)(0),        // 0: grafeas.v1beta1.build.BuildSignature.KeyType
389	(*Build)(nil),                      // 1: grafeas.v1beta1.build.Build
390	(*BuildSignature)(nil),             // 2: grafeas.v1beta1.build.BuildSignature
391	(*Details)(nil),                    // 3: grafeas.v1beta1.build.Details
392	(*provenance.BuildProvenance)(nil), // 4: grafeas.v1beta1.provenance.BuildProvenance
393}
394var file_google_devtools_containeranalysis_v1beta1_build_build_proto_depIdxs = []int32{
395	2, // 0: grafeas.v1beta1.build.Build.signature:type_name -> grafeas.v1beta1.build.BuildSignature
396	0, // 1: grafeas.v1beta1.build.BuildSignature.key_type:type_name -> grafeas.v1beta1.build.BuildSignature.KeyType
397	4, // 2: grafeas.v1beta1.build.Details.provenance:type_name -> grafeas.v1beta1.provenance.BuildProvenance
398	3, // [3:3] is the sub-list for method output_type
399	3, // [3:3] is the sub-list for method input_type
400	3, // [3:3] is the sub-list for extension type_name
401	3, // [3:3] is the sub-list for extension extendee
402	0, // [0:3] is the sub-list for field type_name
403}
404
405func init() { file_google_devtools_containeranalysis_v1beta1_build_build_proto_init() }
406func file_google_devtools_containeranalysis_v1beta1_build_build_proto_init() {
407	if File_google_devtools_containeranalysis_v1beta1_build_build_proto != nil {
408		return
409	}
410	if !protoimpl.UnsafeEnabled {
411		file_google_devtools_containeranalysis_v1beta1_build_build_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
412			switch v := v.(*Build); i {
413			case 0:
414				return &v.state
415			case 1:
416				return &v.sizeCache
417			case 2:
418				return &v.unknownFields
419			default:
420				return nil
421			}
422		}
423		file_google_devtools_containeranalysis_v1beta1_build_build_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
424			switch v := v.(*BuildSignature); i {
425			case 0:
426				return &v.state
427			case 1:
428				return &v.sizeCache
429			case 2:
430				return &v.unknownFields
431			default:
432				return nil
433			}
434		}
435		file_google_devtools_containeranalysis_v1beta1_build_build_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
436			switch v := v.(*Details); i {
437			case 0:
438				return &v.state
439			case 1:
440				return &v.sizeCache
441			case 2:
442				return &v.unknownFields
443			default:
444				return nil
445			}
446		}
447	}
448	type x struct{}
449	out := protoimpl.TypeBuilder{
450		File: protoimpl.DescBuilder{
451			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
452			RawDescriptor: file_google_devtools_containeranalysis_v1beta1_build_build_proto_rawDesc,
453			NumEnums:      1,
454			NumMessages:   3,
455			NumExtensions: 0,
456			NumServices:   0,
457		},
458		GoTypes:           file_google_devtools_containeranalysis_v1beta1_build_build_proto_goTypes,
459		DependencyIndexes: file_google_devtools_containeranalysis_v1beta1_build_build_proto_depIdxs,
460		EnumInfos:         file_google_devtools_containeranalysis_v1beta1_build_build_proto_enumTypes,
461		MessageInfos:      file_google_devtools_containeranalysis_v1beta1_build_build_proto_msgTypes,
462	}.Build()
463	File_google_devtools_containeranalysis_v1beta1_build_build_proto = out.File
464	file_google_devtools_containeranalysis_v1beta1_build_build_proto_rawDesc = nil
465	file_google_devtools_containeranalysis_v1beta1_build_build_proto_goTypes = nil
466	file_google_devtools_containeranalysis_v1beta1_build_build_proto_depIdxs = nil
467}
468