...

Source file src/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build/build.pb.go

Documentation: google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build

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

View as plain text