...

Source file src/google.golang.org/genproto/googleapis/grafeas/v1/sbom.pb.go

Documentation: google.golang.org/genproto/googleapis/grafeas/v1

     1  // Copyright 2023 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        v4.24.4
    19  // source: grafeas/v1/sbom.proto
    20  
    21  package grafeas
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    28  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    29  )
    30  
    31  const (
    32  	// Verify that this generated code is sufficiently up-to-date.
    33  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    34  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    36  )
    37  
    38  // The note representing an SBOM reference.
    39  type SBOMReferenceNote struct {
    40  	state         protoimpl.MessageState
    41  	sizeCache     protoimpl.SizeCache
    42  	unknownFields protoimpl.UnknownFields
    43  
    44  	// The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
    45  	Format string `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"`
    46  	// The version of the format that the SBOM takes. E.g. if the format
    47  	// is spdx, the version may be 2.3.
    48  	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
    49  }
    50  
    51  func (x *SBOMReferenceNote) Reset() {
    52  	*x = SBOMReferenceNote{}
    53  	if protoimpl.UnsafeEnabled {
    54  		mi := &file_grafeas_v1_sbom_proto_msgTypes[0]
    55  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    56  		ms.StoreMessageInfo(mi)
    57  	}
    58  }
    59  
    60  func (x *SBOMReferenceNote) String() string {
    61  	return protoimpl.X.MessageStringOf(x)
    62  }
    63  
    64  func (*SBOMReferenceNote) ProtoMessage() {}
    65  
    66  func (x *SBOMReferenceNote) ProtoReflect() protoreflect.Message {
    67  	mi := &file_grafeas_v1_sbom_proto_msgTypes[0]
    68  	if protoimpl.UnsafeEnabled && x != nil {
    69  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    70  		if ms.LoadMessageInfo() == nil {
    71  			ms.StoreMessageInfo(mi)
    72  		}
    73  		return ms
    74  	}
    75  	return mi.MessageOf(x)
    76  }
    77  
    78  // Deprecated: Use SBOMReferenceNote.ProtoReflect.Descriptor instead.
    79  func (*SBOMReferenceNote) Descriptor() ([]byte, []int) {
    80  	return file_grafeas_v1_sbom_proto_rawDescGZIP(), []int{0}
    81  }
    82  
    83  func (x *SBOMReferenceNote) GetFormat() string {
    84  	if x != nil {
    85  		return x.Format
    86  	}
    87  	return ""
    88  }
    89  
    90  func (x *SBOMReferenceNote) GetVersion() string {
    91  	if x != nil {
    92  		return x.Version
    93  	}
    94  	return ""
    95  }
    96  
    97  // The occurrence representing an SBOM reference as applied to a specific
    98  // resource. The occurrence follows the DSSE specification. See
    99  // https://github.com/secure-systems-lab/dsse/blob/master/envelope.md for more
   100  // details.
   101  type SBOMReferenceOccurrence struct {
   102  	state         protoimpl.MessageState
   103  	sizeCache     protoimpl.SizeCache
   104  	unknownFields protoimpl.UnknownFields
   105  
   106  	// The actual payload that contains the SBOM reference data.
   107  	Payload *SbomReferenceIntotoPayload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
   108  	// The kind of payload that SbomReferenceIntotoPayload takes. Since it's in
   109  	// the intoto format, this value is expected to be
   110  	// 'application/vnd.in-toto+json'.
   111  	PayloadType string `protobuf:"bytes,2,opt,name=payload_type,json=payloadType,proto3" json:"payload_type,omitempty"`
   112  	// The signatures over the payload.
   113  	Signatures []*EnvelopeSignature `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"`
   114  }
   115  
   116  func (x *SBOMReferenceOccurrence) Reset() {
   117  	*x = SBOMReferenceOccurrence{}
   118  	if protoimpl.UnsafeEnabled {
   119  		mi := &file_grafeas_v1_sbom_proto_msgTypes[1]
   120  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   121  		ms.StoreMessageInfo(mi)
   122  	}
   123  }
   124  
   125  func (x *SBOMReferenceOccurrence) String() string {
   126  	return protoimpl.X.MessageStringOf(x)
   127  }
   128  
   129  func (*SBOMReferenceOccurrence) ProtoMessage() {}
   130  
   131  func (x *SBOMReferenceOccurrence) ProtoReflect() protoreflect.Message {
   132  	mi := &file_grafeas_v1_sbom_proto_msgTypes[1]
   133  	if protoimpl.UnsafeEnabled && x != nil {
   134  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   135  		if ms.LoadMessageInfo() == nil {
   136  			ms.StoreMessageInfo(mi)
   137  		}
   138  		return ms
   139  	}
   140  	return mi.MessageOf(x)
   141  }
   142  
   143  // Deprecated: Use SBOMReferenceOccurrence.ProtoReflect.Descriptor instead.
   144  func (*SBOMReferenceOccurrence) Descriptor() ([]byte, []int) {
   145  	return file_grafeas_v1_sbom_proto_rawDescGZIP(), []int{1}
   146  }
   147  
   148  func (x *SBOMReferenceOccurrence) GetPayload() *SbomReferenceIntotoPayload {
   149  	if x != nil {
   150  		return x.Payload
   151  	}
   152  	return nil
   153  }
   154  
   155  func (x *SBOMReferenceOccurrence) GetPayloadType() string {
   156  	if x != nil {
   157  		return x.PayloadType
   158  	}
   159  	return ""
   160  }
   161  
   162  func (x *SBOMReferenceOccurrence) GetSignatures() []*EnvelopeSignature {
   163  	if x != nil {
   164  		return x.Signatures
   165  	}
   166  	return nil
   167  }
   168  
   169  // The actual payload that contains the SBOM Reference data.
   170  // The payload follows the intoto statement specification. See
   171  // https://github.com/in-toto/attestation/blob/main/spec/v1.0/statement.md
   172  // for more details.
   173  type SbomReferenceIntotoPayload struct {
   174  	state         protoimpl.MessageState
   175  	sizeCache     protoimpl.SizeCache
   176  	unknownFields protoimpl.UnknownFields
   177  
   178  	// Identifier for the schema of the Statement.
   179  	Type string `protobuf:"bytes,1,opt,name=type,json=_type,proto3" json:"type,omitempty"`
   180  	// URI identifying the type of the Predicate.
   181  	PredicateType string `protobuf:"bytes,2,opt,name=predicate_type,json=predicateType,proto3" json:"predicate_type,omitempty"`
   182  	// Set of software artifacts that the attestation applies to. Each element
   183  	// represents a single software artifact.
   184  	Subject []*Subject `protobuf:"bytes,3,rep,name=subject,proto3" json:"subject,omitempty"`
   185  	// Additional parameters of the Predicate. Includes the actual data about the
   186  	// SBOM.
   187  	Predicate *SbomReferenceIntotoPredicate `protobuf:"bytes,4,opt,name=predicate,proto3" json:"predicate,omitempty"`
   188  }
   189  
   190  func (x *SbomReferenceIntotoPayload) Reset() {
   191  	*x = SbomReferenceIntotoPayload{}
   192  	if protoimpl.UnsafeEnabled {
   193  		mi := &file_grafeas_v1_sbom_proto_msgTypes[2]
   194  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   195  		ms.StoreMessageInfo(mi)
   196  	}
   197  }
   198  
   199  func (x *SbomReferenceIntotoPayload) String() string {
   200  	return protoimpl.X.MessageStringOf(x)
   201  }
   202  
   203  func (*SbomReferenceIntotoPayload) ProtoMessage() {}
   204  
   205  func (x *SbomReferenceIntotoPayload) ProtoReflect() protoreflect.Message {
   206  	mi := &file_grafeas_v1_sbom_proto_msgTypes[2]
   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 SbomReferenceIntotoPayload.ProtoReflect.Descriptor instead.
   218  func (*SbomReferenceIntotoPayload) Descriptor() ([]byte, []int) {
   219  	return file_grafeas_v1_sbom_proto_rawDescGZIP(), []int{2}
   220  }
   221  
   222  func (x *SbomReferenceIntotoPayload) GetType() string {
   223  	if x != nil {
   224  		return x.Type
   225  	}
   226  	return ""
   227  }
   228  
   229  func (x *SbomReferenceIntotoPayload) GetPredicateType() string {
   230  	if x != nil {
   231  		return x.PredicateType
   232  	}
   233  	return ""
   234  }
   235  
   236  func (x *SbomReferenceIntotoPayload) GetSubject() []*Subject {
   237  	if x != nil {
   238  		return x.Subject
   239  	}
   240  	return nil
   241  }
   242  
   243  func (x *SbomReferenceIntotoPayload) GetPredicate() *SbomReferenceIntotoPredicate {
   244  	if x != nil {
   245  		return x.Predicate
   246  	}
   247  	return nil
   248  }
   249  
   250  // A predicate which describes the SBOM being referenced.
   251  type SbomReferenceIntotoPredicate struct {
   252  	state         protoimpl.MessageState
   253  	sizeCache     protoimpl.SizeCache
   254  	unknownFields protoimpl.UnknownFields
   255  
   256  	// The person or system referring this predicate to the consumer.
   257  	ReferrerId string `protobuf:"bytes,1,opt,name=referrer_id,json=referrerId,proto3" json:"referrer_id,omitempty"`
   258  	// The location of the SBOM.
   259  	Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
   260  	// The mime type of the SBOM.
   261  	MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
   262  	// A map of algorithm to digest of the contents of the SBOM.
   263  	Digest map[string]string `protobuf:"bytes,4,rep,name=digest,proto3" json:"digest,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   264  }
   265  
   266  func (x *SbomReferenceIntotoPredicate) Reset() {
   267  	*x = SbomReferenceIntotoPredicate{}
   268  	if protoimpl.UnsafeEnabled {
   269  		mi := &file_grafeas_v1_sbom_proto_msgTypes[3]
   270  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   271  		ms.StoreMessageInfo(mi)
   272  	}
   273  }
   274  
   275  func (x *SbomReferenceIntotoPredicate) String() string {
   276  	return protoimpl.X.MessageStringOf(x)
   277  }
   278  
   279  func (*SbomReferenceIntotoPredicate) ProtoMessage() {}
   280  
   281  func (x *SbomReferenceIntotoPredicate) ProtoReflect() protoreflect.Message {
   282  	mi := &file_grafeas_v1_sbom_proto_msgTypes[3]
   283  	if protoimpl.UnsafeEnabled && x != nil {
   284  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   285  		if ms.LoadMessageInfo() == nil {
   286  			ms.StoreMessageInfo(mi)
   287  		}
   288  		return ms
   289  	}
   290  	return mi.MessageOf(x)
   291  }
   292  
   293  // Deprecated: Use SbomReferenceIntotoPredicate.ProtoReflect.Descriptor instead.
   294  func (*SbomReferenceIntotoPredicate) Descriptor() ([]byte, []int) {
   295  	return file_grafeas_v1_sbom_proto_rawDescGZIP(), []int{3}
   296  }
   297  
   298  func (x *SbomReferenceIntotoPredicate) GetReferrerId() string {
   299  	if x != nil {
   300  		return x.ReferrerId
   301  	}
   302  	return ""
   303  }
   304  
   305  func (x *SbomReferenceIntotoPredicate) GetLocation() string {
   306  	if x != nil {
   307  		return x.Location
   308  	}
   309  	return ""
   310  }
   311  
   312  func (x *SbomReferenceIntotoPredicate) GetMimeType() string {
   313  	if x != nil {
   314  		return x.MimeType
   315  	}
   316  	return ""
   317  }
   318  
   319  func (x *SbomReferenceIntotoPredicate) GetDigest() map[string]string {
   320  	if x != nil {
   321  		return x.Digest
   322  	}
   323  	return nil
   324  }
   325  
   326  var File_grafeas_v1_sbom_proto protoreflect.FileDescriptor
   327  
   328  var file_grafeas_v1_sbom_proto_rawDesc = []byte{
   329  	0x0a, 0x15, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x62, 0x6f,
   330  	0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73,
   331  	0x2e, 0x76, 0x31, 0x1a, 0x17, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f,
   332  	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x67, 0x72,
   333  	0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x74, 0x6f, 0x74, 0x6f, 0x5f,
   334  	0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
   335  	0x45, 0x0a, 0x11, 0x53, 0x42, 0x4f, 0x4d, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
   336  	0x4e, 0x6f, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x01,
   337  	0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x18, 0x0a, 0x07,
   338  	0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76,
   339  	0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xbd, 0x01, 0x0a, 0x17, 0x53, 0x42, 0x4f, 0x4d, 0x52,
   340  	0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e,
   341  	0x63, 0x65, 0x12, 0x40, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20,
   342  	0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31,
   343  	0x2e, 0x53, 0x62, 0x6f, 0x6d, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6e,
   344  	0x74, 0x6f, 0x74, 0x6f, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07, 0x70, 0x61, 0x79,
   345  	0x6c, 0x6f, 0x61, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f,
   346  	0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6c,
   347  	0x6f, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61,
   348  	0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72,
   349  	0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70,
   350  	0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e,
   351  	0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0xcf, 0x01, 0x0a, 0x1a, 0x53, 0x62, 0x6f, 0x6d, 0x52,
   352  	0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x74, 0x6f, 0x74, 0x6f, 0x50, 0x61,
   353  	0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x13, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
   354  	0x01, 0x28, 0x09, 0x52, 0x05, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72,
   355  	0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
   356  	0x28, 0x09, 0x52, 0x0d, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70,
   357  	0x65, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x03,
   358  	0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e,
   359  	0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74,
   360  	0x12, 0x46, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20,
   361  	0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31,
   362  	0x2e, 0x53, 0x62, 0x6f, 0x6d, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6e,
   363  	0x74, 0x6f, 0x74, 0x6f, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x09, 0x70,
   364  	0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22, 0x81, 0x02, 0x0a, 0x1c, 0x53, 0x62, 0x6f,
   365  	0x6d, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x74, 0x6f, 0x74, 0x6f,
   366  	0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x66,
   367  	0x65, 0x72, 0x72, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
   368  	0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f,
   369  	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f,
   370  	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74,
   371  	0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54,
   372  	0x79, 0x70, 0x65, 0x12, 0x4c, 0x0a, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x04, 0x20,
   373  	0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31,
   374  	0x2e, 0x53, 0x62, 0x6f, 0x6d, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6e,
   375  	0x74, 0x6f, 0x74, 0x6f, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x2e, 0x44, 0x69,
   376  	0x67, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73,
   377  	0x74, 0x1a, 0x39, 0x0a, 0x0b, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79,
   378  	0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
   379  	0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
   380  	0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x51, 0x0a, 0x0d,
   381  	0x69, 0x6f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a,
   382  	0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
   383  	0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67,
   384  	0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76,
   385  	0x31, 0x3b, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x52, 0x41, 0x62,
   386  	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   387  }
   388  
   389  var (
   390  	file_grafeas_v1_sbom_proto_rawDescOnce sync.Once
   391  	file_grafeas_v1_sbom_proto_rawDescData = file_grafeas_v1_sbom_proto_rawDesc
   392  )
   393  
   394  func file_grafeas_v1_sbom_proto_rawDescGZIP() []byte {
   395  	file_grafeas_v1_sbom_proto_rawDescOnce.Do(func() {
   396  		file_grafeas_v1_sbom_proto_rawDescData = protoimpl.X.CompressGZIP(file_grafeas_v1_sbom_proto_rawDescData)
   397  	})
   398  	return file_grafeas_v1_sbom_proto_rawDescData
   399  }
   400  
   401  var file_grafeas_v1_sbom_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   402  var file_grafeas_v1_sbom_proto_goTypes = []interface{}{
   403  	(*SBOMReferenceNote)(nil),            // 0: grafeas.v1.SBOMReferenceNote
   404  	(*SBOMReferenceOccurrence)(nil),      // 1: grafeas.v1.SBOMReferenceOccurrence
   405  	(*SbomReferenceIntotoPayload)(nil),   // 2: grafeas.v1.SbomReferenceIntotoPayload
   406  	(*SbomReferenceIntotoPredicate)(nil), // 3: grafeas.v1.SbomReferenceIntotoPredicate
   407  	nil,                                  // 4: grafeas.v1.SbomReferenceIntotoPredicate.DigestEntry
   408  	(*EnvelopeSignature)(nil),            // 5: grafeas.v1.EnvelopeSignature
   409  	(*Subject)(nil),                      // 6: grafeas.v1.Subject
   410  }
   411  var file_grafeas_v1_sbom_proto_depIdxs = []int32{
   412  	2, // 0: grafeas.v1.SBOMReferenceOccurrence.payload:type_name -> grafeas.v1.SbomReferenceIntotoPayload
   413  	5, // 1: grafeas.v1.SBOMReferenceOccurrence.signatures:type_name -> grafeas.v1.EnvelopeSignature
   414  	6, // 2: grafeas.v1.SbomReferenceIntotoPayload.subject:type_name -> grafeas.v1.Subject
   415  	3, // 3: grafeas.v1.SbomReferenceIntotoPayload.predicate:type_name -> grafeas.v1.SbomReferenceIntotoPredicate
   416  	4, // 4: grafeas.v1.SbomReferenceIntotoPredicate.digest:type_name -> grafeas.v1.SbomReferenceIntotoPredicate.DigestEntry
   417  	5, // [5:5] is the sub-list for method output_type
   418  	5, // [5:5] is the sub-list for method input_type
   419  	5, // [5:5] is the sub-list for extension type_name
   420  	5, // [5:5] is the sub-list for extension extendee
   421  	0, // [0:5] is the sub-list for field type_name
   422  }
   423  
   424  func init() { file_grafeas_v1_sbom_proto_init() }
   425  func file_grafeas_v1_sbom_proto_init() {
   426  	if File_grafeas_v1_sbom_proto != nil {
   427  		return
   428  	}
   429  	file_grafeas_v1_common_proto_init()
   430  	file_grafeas_v1_intoto_statement_proto_init()
   431  	if !protoimpl.UnsafeEnabled {
   432  		file_grafeas_v1_sbom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   433  			switch v := v.(*SBOMReferenceNote); i {
   434  			case 0:
   435  				return &v.state
   436  			case 1:
   437  				return &v.sizeCache
   438  			case 2:
   439  				return &v.unknownFields
   440  			default:
   441  				return nil
   442  			}
   443  		}
   444  		file_grafeas_v1_sbom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   445  			switch v := v.(*SBOMReferenceOccurrence); i {
   446  			case 0:
   447  				return &v.state
   448  			case 1:
   449  				return &v.sizeCache
   450  			case 2:
   451  				return &v.unknownFields
   452  			default:
   453  				return nil
   454  			}
   455  		}
   456  		file_grafeas_v1_sbom_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   457  			switch v := v.(*SbomReferenceIntotoPayload); i {
   458  			case 0:
   459  				return &v.state
   460  			case 1:
   461  				return &v.sizeCache
   462  			case 2:
   463  				return &v.unknownFields
   464  			default:
   465  				return nil
   466  			}
   467  		}
   468  		file_grafeas_v1_sbom_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   469  			switch v := v.(*SbomReferenceIntotoPredicate); i {
   470  			case 0:
   471  				return &v.state
   472  			case 1:
   473  				return &v.sizeCache
   474  			case 2:
   475  				return &v.unknownFields
   476  			default:
   477  				return nil
   478  			}
   479  		}
   480  	}
   481  	type x struct{}
   482  	out := protoimpl.TypeBuilder{
   483  		File: protoimpl.DescBuilder{
   484  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   485  			RawDescriptor: file_grafeas_v1_sbom_proto_rawDesc,
   486  			NumEnums:      0,
   487  			NumMessages:   5,
   488  			NumExtensions: 0,
   489  			NumServices:   0,
   490  		},
   491  		GoTypes:           file_grafeas_v1_sbom_proto_goTypes,
   492  		DependencyIndexes: file_grafeas_v1_sbom_proto_depIdxs,
   493  		MessageInfos:      file_grafeas_v1_sbom_proto_msgTypes,
   494  	}.Build()
   495  	File_grafeas_v1_sbom_proto = out.File
   496  	file_grafeas_v1_sbom_proto_rawDesc = nil
   497  	file_grafeas_v1_sbom_proto_goTypes = nil
   498  	file_grafeas_v1_sbom_proto_depIdxs = nil
   499  }
   500  

View as plain text