...

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

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

     1  // Copyright 2021 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: grafeas/v1/slsa_provenance.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  	anypb "google.golang.org/protobuf/types/known/anypb"
    30  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    31  )
    32  
    33  const (
    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  type SlsaProvenance struct {
    41  	state         protoimpl.MessageState
    42  	sizeCache     protoimpl.SizeCache
    43  	unknownFields protoimpl.UnknownFields
    44  
    45  	Builder *SlsaProvenance_SlsaBuilder `protobuf:"bytes,1,opt,name=builder,proto3" json:"builder,omitempty"` // required
    46  	// Identifies the configuration used for the build.
    47  	// When combined with materials, this SHOULD fully describe the build,
    48  	// such that re-running this recipe results in bit-for-bit identical output
    49  	// (if the build is reproducible).
    50  	Recipe   *SlsaProvenance_SlsaRecipe   `protobuf:"bytes,2,opt,name=recipe,proto3" json:"recipe,omitempty"` // required
    51  	Metadata *SlsaProvenance_SlsaMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
    52  	// The collection of artifacts that influenced the build including sources,
    53  	// dependencies, build tools, base images, and so on. This is considered to be
    54  	// incomplete unless metadata.completeness.materials is true. Unset or null is
    55  	// equivalent to empty.
    56  	Materials []*SlsaProvenance_Material `protobuf:"bytes,4,rep,name=materials,proto3" json:"materials,omitempty"`
    57  }
    58  
    59  func (x *SlsaProvenance) Reset() {
    60  	*x = SlsaProvenance{}
    61  	if protoimpl.UnsafeEnabled {
    62  		mi := &file_grafeas_v1_slsa_provenance_proto_msgTypes[0]
    63  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    64  		ms.StoreMessageInfo(mi)
    65  	}
    66  }
    67  
    68  func (x *SlsaProvenance) String() string {
    69  	return protoimpl.X.MessageStringOf(x)
    70  }
    71  
    72  func (*SlsaProvenance) ProtoMessage() {}
    73  
    74  func (x *SlsaProvenance) ProtoReflect() protoreflect.Message {
    75  	mi := &file_grafeas_v1_slsa_provenance_proto_msgTypes[0]
    76  	if protoimpl.UnsafeEnabled && x != nil {
    77  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    78  		if ms.LoadMessageInfo() == nil {
    79  			ms.StoreMessageInfo(mi)
    80  		}
    81  		return ms
    82  	}
    83  	return mi.MessageOf(x)
    84  }
    85  
    86  // Deprecated: Use SlsaProvenance.ProtoReflect.Descriptor instead.
    87  func (*SlsaProvenance) Descriptor() ([]byte, []int) {
    88  	return file_grafeas_v1_slsa_provenance_proto_rawDescGZIP(), []int{0}
    89  }
    90  
    91  func (x *SlsaProvenance) GetBuilder() *SlsaProvenance_SlsaBuilder {
    92  	if x != nil {
    93  		return x.Builder
    94  	}
    95  	return nil
    96  }
    97  
    98  func (x *SlsaProvenance) GetRecipe() *SlsaProvenance_SlsaRecipe {
    99  	if x != nil {
   100  		return x.Recipe
   101  	}
   102  	return nil
   103  }
   104  
   105  func (x *SlsaProvenance) GetMetadata() *SlsaProvenance_SlsaMetadata {
   106  	if x != nil {
   107  		return x.Metadata
   108  	}
   109  	return nil
   110  }
   111  
   112  func (x *SlsaProvenance) GetMaterials() []*SlsaProvenance_Material {
   113  	if x != nil {
   114  		return x.Materials
   115  	}
   116  	return nil
   117  }
   118  
   119  // Steps taken to build the artifact.
   120  // For a TaskRun, typically each container corresponds to one step in the
   121  // recipe.
   122  type SlsaProvenance_SlsaRecipe struct {
   123  	state         protoimpl.MessageState
   124  	sizeCache     protoimpl.SizeCache
   125  	unknownFields protoimpl.UnknownFields
   126  
   127  	// URI indicating what type of recipe was performed. It determines the
   128  	// meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and
   129  	// materials.
   130  	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
   131  	// Index in materials containing the recipe steps that are not implied by
   132  	// recipe.type. For example, if the recipe type were "make", then this would
   133  	// point to the source containing the Makefile, not the make program itself.
   134  	// Set to -1 if the recipe doesn't come from a material, as zero is default
   135  	// unset value for int64.
   136  	DefinedInMaterial int64 `protobuf:"varint,2,opt,name=defined_in_material,json=definedInMaterial,proto3" json:"defined_in_material,omitempty"`
   137  	// String identifying the entry point into the build.
   138  	// This is often a path to a configuration file and/or a target label within
   139  	// that file. The syntax and meaning are defined by recipe.type. For
   140  	// example, if the recipe type were "make", then this would reference the
   141  	// directory in which to run make as well as which target to use.
   142  	EntryPoint string `protobuf:"bytes,3,opt,name=entry_point,json=entryPoint,proto3" json:"entry_point,omitempty"`
   143  	// Collection of all external inputs that influenced the build on top of
   144  	// recipe.definedInMaterial and recipe.entryPoint. For example, if the
   145  	// recipe type were "make", then this might be the flags passed to make
   146  	// aside from the target, which is captured in recipe.entryPoint. Depending
   147  	// on the recipe Type, the structure may be different.
   148  	Arguments *anypb.Any `protobuf:"bytes,4,opt,name=arguments,proto3" json:"arguments,omitempty"`
   149  	// Any other builder-controlled inputs necessary for correctly evaluating
   150  	// the recipe. Usually only needed for reproducing the build but not
   151  	// evaluated as part of policy. Depending on the recipe Type, the structure
   152  	// may be different.
   153  	Environment *anypb.Any `protobuf:"bytes,5,opt,name=environment,proto3" json:"environment,omitempty"`
   154  }
   155  
   156  func (x *SlsaProvenance_SlsaRecipe) Reset() {
   157  	*x = SlsaProvenance_SlsaRecipe{}
   158  	if protoimpl.UnsafeEnabled {
   159  		mi := &file_grafeas_v1_slsa_provenance_proto_msgTypes[1]
   160  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   161  		ms.StoreMessageInfo(mi)
   162  	}
   163  }
   164  
   165  func (x *SlsaProvenance_SlsaRecipe) String() string {
   166  	return protoimpl.X.MessageStringOf(x)
   167  }
   168  
   169  func (*SlsaProvenance_SlsaRecipe) ProtoMessage() {}
   170  
   171  func (x *SlsaProvenance_SlsaRecipe) ProtoReflect() protoreflect.Message {
   172  	mi := &file_grafeas_v1_slsa_provenance_proto_msgTypes[1]
   173  	if protoimpl.UnsafeEnabled && x != nil {
   174  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   175  		if ms.LoadMessageInfo() == nil {
   176  			ms.StoreMessageInfo(mi)
   177  		}
   178  		return ms
   179  	}
   180  	return mi.MessageOf(x)
   181  }
   182  
   183  // Deprecated: Use SlsaProvenance_SlsaRecipe.ProtoReflect.Descriptor instead.
   184  func (*SlsaProvenance_SlsaRecipe) Descriptor() ([]byte, []int) {
   185  	return file_grafeas_v1_slsa_provenance_proto_rawDescGZIP(), []int{0, 0}
   186  }
   187  
   188  func (x *SlsaProvenance_SlsaRecipe) GetType() string {
   189  	if x != nil {
   190  		return x.Type
   191  	}
   192  	return ""
   193  }
   194  
   195  func (x *SlsaProvenance_SlsaRecipe) GetDefinedInMaterial() int64 {
   196  	if x != nil {
   197  		return x.DefinedInMaterial
   198  	}
   199  	return 0
   200  }
   201  
   202  func (x *SlsaProvenance_SlsaRecipe) GetEntryPoint() string {
   203  	if x != nil {
   204  		return x.EntryPoint
   205  	}
   206  	return ""
   207  }
   208  
   209  func (x *SlsaProvenance_SlsaRecipe) GetArguments() *anypb.Any {
   210  	if x != nil {
   211  		return x.Arguments
   212  	}
   213  	return nil
   214  }
   215  
   216  func (x *SlsaProvenance_SlsaRecipe) GetEnvironment() *anypb.Any {
   217  	if x != nil {
   218  		return x.Environment
   219  	}
   220  	return nil
   221  }
   222  
   223  // Indicates that the builder claims certain fields in this message to be
   224  // complete.
   225  type SlsaProvenance_SlsaCompleteness struct {
   226  	state         protoimpl.MessageState
   227  	sizeCache     protoimpl.SizeCache
   228  	unknownFields protoimpl.UnknownFields
   229  
   230  	// If true, the builder claims that recipe.arguments is complete, meaning
   231  	// that all external inputs are properly captured in the recipe.
   232  	Arguments bool `protobuf:"varint,1,opt,name=arguments,proto3" json:"arguments,omitempty"`
   233  	// If true, the builder claims that recipe.environment is claimed to be
   234  	// complete.
   235  	Environment bool `protobuf:"varint,2,opt,name=environment,proto3" json:"environment,omitempty"`
   236  	// If true, the builder claims that materials are complete, usually through
   237  	// some controls to prevent network access. Sometimes called "hermetic".
   238  	Materials bool `protobuf:"varint,3,opt,name=materials,proto3" json:"materials,omitempty"`
   239  }
   240  
   241  func (x *SlsaProvenance_SlsaCompleteness) Reset() {
   242  	*x = SlsaProvenance_SlsaCompleteness{}
   243  	if protoimpl.UnsafeEnabled {
   244  		mi := &file_grafeas_v1_slsa_provenance_proto_msgTypes[2]
   245  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   246  		ms.StoreMessageInfo(mi)
   247  	}
   248  }
   249  
   250  func (x *SlsaProvenance_SlsaCompleteness) String() string {
   251  	return protoimpl.X.MessageStringOf(x)
   252  }
   253  
   254  func (*SlsaProvenance_SlsaCompleteness) ProtoMessage() {}
   255  
   256  func (x *SlsaProvenance_SlsaCompleteness) ProtoReflect() protoreflect.Message {
   257  	mi := &file_grafeas_v1_slsa_provenance_proto_msgTypes[2]
   258  	if protoimpl.UnsafeEnabled && x != nil {
   259  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   260  		if ms.LoadMessageInfo() == nil {
   261  			ms.StoreMessageInfo(mi)
   262  		}
   263  		return ms
   264  	}
   265  	return mi.MessageOf(x)
   266  }
   267  
   268  // Deprecated: Use SlsaProvenance_SlsaCompleteness.ProtoReflect.Descriptor instead.
   269  func (*SlsaProvenance_SlsaCompleteness) Descriptor() ([]byte, []int) {
   270  	return file_grafeas_v1_slsa_provenance_proto_rawDescGZIP(), []int{0, 1}
   271  }
   272  
   273  func (x *SlsaProvenance_SlsaCompleteness) GetArguments() bool {
   274  	if x != nil {
   275  		return x.Arguments
   276  	}
   277  	return false
   278  }
   279  
   280  func (x *SlsaProvenance_SlsaCompleteness) GetEnvironment() bool {
   281  	if x != nil {
   282  		return x.Environment
   283  	}
   284  	return false
   285  }
   286  
   287  func (x *SlsaProvenance_SlsaCompleteness) GetMaterials() bool {
   288  	if x != nil {
   289  		return x.Materials
   290  	}
   291  	return false
   292  }
   293  
   294  // Other properties of the build.
   295  type SlsaProvenance_SlsaMetadata struct {
   296  	state         protoimpl.MessageState
   297  	sizeCache     protoimpl.SizeCache
   298  	unknownFields protoimpl.UnknownFields
   299  
   300  	// Identifies the particular build invocation, which can be useful for
   301  	// finding associated logs or other ad-hoc analysis. The value SHOULD be
   302  	// globally unique, per in-toto Provenance spec.
   303  	BuildInvocationId string `protobuf:"bytes,1,opt,name=build_invocation_id,json=buildInvocationId,proto3" json:"build_invocation_id,omitempty"`
   304  	// The timestamp of when the build started.
   305  	BuildStartedOn *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=build_started_on,json=buildStartedOn,proto3" json:"build_started_on,omitempty"`
   306  	// The timestamp of when the build completed.
   307  	BuildFinishedOn *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=build_finished_on,json=buildFinishedOn,proto3" json:"build_finished_on,omitempty"`
   308  	// Indicates that the builder claims certain fields in this message to be
   309  	// complete.
   310  	Completeness *SlsaProvenance_SlsaCompleteness `protobuf:"bytes,4,opt,name=completeness,proto3" json:"completeness,omitempty"`
   311  	// If true, the builder claims that running the recipe on materials will
   312  	// produce bit-for-bit identical output.
   313  	Reproducible bool `protobuf:"varint,5,opt,name=reproducible,proto3" json:"reproducible,omitempty"`
   314  }
   315  
   316  func (x *SlsaProvenance_SlsaMetadata) Reset() {
   317  	*x = SlsaProvenance_SlsaMetadata{}
   318  	if protoimpl.UnsafeEnabled {
   319  		mi := &file_grafeas_v1_slsa_provenance_proto_msgTypes[3]
   320  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   321  		ms.StoreMessageInfo(mi)
   322  	}
   323  }
   324  
   325  func (x *SlsaProvenance_SlsaMetadata) String() string {
   326  	return protoimpl.X.MessageStringOf(x)
   327  }
   328  
   329  func (*SlsaProvenance_SlsaMetadata) ProtoMessage() {}
   330  
   331  func (x *SlsaProvenance_SlsaMetadata) ProtoReflect() protoreflect.Message {
   332  	mi := &file_grafeas_v1_slsa_provenance_proto_msgTypes[3]
   333  	if protoimpl.UnsafeEnabled && x != nil {
   334  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   335  		if ms.LoadMessageInfo() == nil {
   336  			ms.StoreMessageInfo(mi)
   337  		}
   338  		return ms
   339  	}
   340  	return mi.MessageOf(x)
   341  }
   342  
   343  // Deprecated: Use SlsaProvenance_SlsaMetadata.ProtoReflect.Descriptor instead.
   344  func (*SlsaProvenance_SlsaMetadata) Descriptor() ([]byte, []int) {
   345  	return file_grafeas_v1_slsa_provenance_proto_rawDescGZIP(), []int{0, 2}
   346  }
   347  
   348  func (x *SlsaProvenance_SlsaMetadata) GetBuildInvocationId() string {
   349  	if x != nil {
   350  		return x.BuildInvocationId
   351  	}
   352  	return ""
   353  }
   354  
   355  func (x *SlsaProvenance_SlsaMetadata) GetBuildStartedOn() *timestamppb.Timestamp {
   356  	if x != nil {
   357  		return x.BuildStartedOn
   358  	}
   359  	return nil
   360  }
   361  
   362  func (x *SlsaProvenance_SlsaMetadata) GetBuildFinishedOn() *timestamppb.Timestamp {
   363  	if x != nil {
   364  		return x.BuildFinishedOn
   365  	}
   366  	return nil
   367  }
   368  
   369  func (x *SlsaProvenance_SlsaMetadata) GetCompleteness() *SlsaProvenance_SlsaCompleteness {
   370  	if x != nil {
   371  		return x.Completeness
   372  	}
   373  	return nil
   374  }
   375  
   376  func (x *SlsaProvenance_SlsaMetadata) GetReproducible() bool {
   377  	if x != nil {
   378  		return x.Reproducible
   379  	}
   380  	return false
   381  }
   382  
   383  type SlsaProvenance_SlsaBuilder struct {
   384  	state         protoimpl.MessageState
   385  	sizeCache     protoimpl.SizeCache
   386  	unknownFields protoimpl.UnknownFields
   387  
   388  	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
   389  }
   390  
   391  func (x *SlsaProvenance_SlsaBuilder) Reset() {
   392  	*x = SlsaProvenance_SlsaBuilder{}
   393  	if protoimpl.UnsafeEnabled {
   394  		mi := &file_grafeas_v1_slsa_provenance_proto_msgTypes[4]
   395  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   396  		ms.StoreMessageInfo(mi)
   397  	}
   398  }
   399  
   400  func (x *SlsaProvenance_SlsaBuilder) String() string {
   401  	return protoimpl.X.MessageStringOf(x)
   402  }
   403  
   404  func (*SlsaProvenance_SlsaBuilder) ProtoMessage() {}
   405  
   406  func (x *SlsaProvenance_SlsaBuilder) ProtoReflect() protoreflect.Message {
   407  	mi := &file_grafeas_v1_slsa_provenance_proto_msgTypes[4]
   408  	if protoimpl.UnsafeEnabled && x != nil {
   409  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   410  		if ms.LoadMessageInfo() == nil {
   411  			ms.StoreMessageInfo(mi)
   412  		}
   413  		return ms
   414  	}
   415  	return mi.MessageOf(x)
   416  }
   417  
   418  // Deprecated: Use SlsaProvenance_SlsaBuilder.ProtoReflect.Descriptor instead.
   419  func (*SlsaProvenance_SlsaBuilder) Descriptor() ([]byte, []int) {
   420  	return file_grafeas_v1_slsa_provenance_proto_rawDescGZIP(), []int{0, 3}
   421  }
   422  
   423  func (x *SlsaProvenance_SlsaBuilder) GetId() string {
   424  	if x != nil {
   425  		return x.Id
   426  	}
   427  	return ""
   428  }
   429  
   430  type SlsaProvenance_Material struct {
   431  	state         protoimpl.MessageState
   432  	sizeCache     protoimpl.SizeCache
   433  	unknownFields protoimpl.UnknownFields
   434  
   435  	Uri    string            `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
   436  	Digest map[string]string `protobuf:"bytes,2,rep,name=digest,proto3" json:"digest,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   437  }
   438  
   439  func (x *SlsaProvenance_Material) Reset() {
   440  	*x = SlsaProvenance_Material{}
   441  	if protoimpl.UnsafeEnabled {
   442  		mi := &file_grafeas_v1_slsa_provenance_proto_msgTypes[5]
   443  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   444  		ms.StoreMessageInfo(mi)
   445  	}
   446  }
   447  
   448  func (x *SlsaProvenance_Material) String() string {
   449  	return protoimpl.X.MessageStringOf(x)
   450  }
   451  
   452  func (*SlsaProvenance_Material) ProtoMessage() {}
   453  
   454  func (x *SlsaProvenance_Material) ProtoReflect() protoreflect.Message {
   455  	mi := &file_grafeas_v1_slsa_provenance_proto_msgTypes[5]
   456  	if protoimpl.UnsafeEnabled && x != nil {
   457  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   458  		if ms.LoadMessageInfo() == nil {
   459  			ms.StoreMessageInfo(mi)
   460  		}
   461  		return ms
   462  	}
   463  	return mi.MessageOf(x)
   464  }
   465  
   466  // Deprecated: Use SlsaProvenance_Material.ProtoReflect.Descriptor instead.
   467  func (*SlsaProvenance_Material) Descriptor() ([]byte, []int) {
   468  	return file_grafeas_v1_slsa_provenance_proto_rawDescGZIP(), []int{0, 4}
   469  }
   470  
   471  func (x *SlsaProvenance_Material) GetUri() string {
   472  	if x != nil {
   473  		return x.Uri
   474  	}
   475  	return ""
   476  }
   477  
   478  func (x *SlsaProvenance_Material) GetDigest() map[string]string {
   479  	if x != nil {
   480  		return x.Digest
   481  	}
   482  	return nil
   483  }
   484  
   485  var File_grafeas_v1_slsa_provenance_proto protoreflect.FileDescriptor
   486  
   487  var file_grafeas_v1_slsa_provenance_proto_rawDesc = []byte{
   488  	0x0a, 0x20, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x6c, 0x73,
   489  	0x61, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   490  	0x74, 0x6f, 0x12, 0x0a, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x19,
   491  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
   492  	0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   493  	0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73,
   494  	0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf1, 0x08, 0x0a, 0x0e, 0x53,
   495  	0x6c, 0x73, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x40, 0x0a,
   496  	0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26,
   497  	0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x73, 0x61,
   498  	0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x6c, 0x73, 0x61, 0x42,
   499  	0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x12,
   500  	0x3d, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x69, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
   501  	0x25, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x73,
   502  	0x61, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x6c, 0x73, 0x61,
   503  	0x52, 0x65, 0x63, 0x69, 0x70, 0x65, 0x52, 0x06, 0x72, 0x65, 0x63, 0x69, 0x70, 0x65, 0x12, 0x43,
   504  	0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
   505  	0x32, 0x27, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c,
   506  	0x73, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x6c, 0x73,
   507  	0x61, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64,
   508  	0x61, 0x74, 0x61, 0x12, 0x41, 0x0a, 0x09, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x73,
   509  	0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73,
   510  	0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x73, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e,
   511  	0x63, 0x65, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x09, 0x6d, 0x61, 0x74,
   512  	0x65, 0x72, 0x69, 0x61, 0x6c, 0x73, 0x1a, 0xdd, 0x01, 0x0a, 0x0a, 0x53, 0x6c, 0x73, 0x61, 0x52,
   513  	0x65, 0x63, 0x69, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
   514  	0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x65, 0x66,
   515  	0x69, 0x6e, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x5f, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c,
   516  	0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x49,
   517  	0x6e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x74,
   518  	0x72, 0x79, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
   519  	0x65, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x09, 0x61, 0x72,
   520  	0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e,
   521  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
   522  	0x41, 0x6e, 0x79, 0x52, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x36,
   523  	0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20,
   524  	0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   525  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72,
   526  	0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x1a, 0x70, 0x0a, 0x10, 0x53, 0x6c, 0x73, 0x61, 0x43, 0x6f,
   527  	0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x72,
   528  	0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61,
   529  	0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69,
   530  	0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x65,
   531  	0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x61,
   532  	0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6d,
   533  	0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x73, 0x1a, 0xc1, 0x02, 0x0a, 0x0c, 0x53, 0x6c, 0x73,
   534  	0x61, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2e, 0x0a, 0x13, 0x62, 0x75, 0x69,
   535  	0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64,
   536  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x76,
   537  	0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x10, 0x62, 0x75, 0x69,
   538  	0x6c, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x02, 0x20,
   539  	0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   540  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
   541  	0x0e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x12,
   542  	0x46, 0x0a, 0x11, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65,
   543  	0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
   544  	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
   545  	0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x69, 0x6e,
   546  	0x69, 0x73, 0x68, 0x65, 0x64, 0x4f, 0x6e, 0x12, 0x4f, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x6c,
   547  	0x65, 0x74, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e,
   548  	0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x73, 0x61, 0x50,
   549  	0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x6c, 0x73, 0x61, 0x43, 0x6f,
   550  	0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x70,
   551  	0x6c, 0x65, 0x74, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x72,
   552  	0x6f, 0x64, 0x75, 0x63, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c,
   553  	0x72, 0x65, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x69, 0x62, 0x6c, 0x65, 0x1a, 0x1d, 0x0a, 0x0b,
   554  	0x53, 0x6c, 0x73, 0x61, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69,
   555  	0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x1a, 0xa0, 0x01, 0x0a, 0x08,
   556  	0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18,
   557  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x47, 0x0a, 0x06, 0x64, 0x69,
   558  	0x67, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x72, 0x61,
   559  	0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x73, 0x61, 0x50, 0x72, 0x6f, 0x76,
   560  	0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e,
   561  	0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x64, 0x69, 0x67,
   562  	0x65, 0x73, 0x74, 0x1a, 0x39, 0x0a, 0x0b, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74,
   563  	0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
   564  	0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
   565  	0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x66,
   566  	0x0a, 0x0d, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x42,
   567  	0x13, 0x53, 0x6c, 0x73, 0x61, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x50,
   568  	0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67,
   569  	0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f,
   570  	0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x72,
   571  	0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73,
   572  	0xa2, 0x02, 0x03, 0x47, 0x52, 0x41, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   573  }
   574  
   575  var (
   576  	file_grafeas_v1_slsa_provenance_proto_rawDescOnce sync.Once
   577  	file_grafeas_v1_slsa_provenance_proto_rawDescData = file_grafeas_v1_slsa_provenance_proto_rawDesc
   578  )
   579  
   580  func file_grafeas_v1_slsa_provenance_proto_rawDescGZIP() []byte {
   581  	file_grafeas_v1_slsa_provenance_proto_rawDescOnce.Do(func() {
   582  		file_grafeas_v1_slsa_provenance_proto_rawDescData = protoimpl.X.CompressGZIP(file_grafeas_v1_slsa_provenance_proto_rawDescData)
   583  	})
   584  	return file_grafeas_v1_slsa_provenance_proto_rawDescData
   585  }
   586  
   587  var file_grafeas_v1_slsa_provenance_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
   588  var file_grafeas_v1_slsa_provenance_proto_goTypes = []interface{}{
   589  	(*SlsaProvenance)(nil),                  // 0: grafeas.v1.SlsaProvenance
   590  	(*SlsaProvenance_SlsaRecipe)(nil),       // 1: grafeas.v1.SlsaProvenance.SlsaRecipe
   591  	(*SlsaProvenance_SlsaCompleteness)(nil), // 2: grafeas.v1.SlsaProvenance.SlsaCompleteness
   592  	(*SlsaProvenance_SlsaMetadata)(nil),     // 3: grafeas.v1.SlsaProvenance.SlsaMetadata
   593  	(*SlsaProvenance_SlsaBuilder)(nil),      // 4: grafeas.v1.SlsaProvenance.SlsaBuilder
   594  	(*SlsaProvenance_Material)(nil),         // 5: grafeas.v1.SlsaProvenance.Material
   595  	nil,                                     // 6: grafeas.v1.SlsaProvenance.Material.DigestEntry
   596  	(*anypb.Any)(nil),                       // 7: google.protobuf.Any
   597  	(*timestamppb.Timestamp)(nil),           // 8: google.protobuf.Timestamp
   598  }
   599  var file_grafeas_v1_slsa_provenance_proto_depIdxs = []int32{
   600  	4,  // 0: grafeas.v1.SlsaProvenance.builder:type_name -> grafeas.v1.SlsaProvenance.SlsaBuilder
   601  	1,  // 1: grafeas.v1.SlsaProvenance.recipe:type_name -> grafeas.v1.SlsaProvenance.SlsaRecipe
   602  	3,  // 2: grafeas.v1.SlsaProvenance.metadata:type_name -> grafeas.v1.SlsaProvenance.SlsaMetadata
   603  	5,  // 3: grafeas.v1.SlsaProvenance.materials:type_name -> grafeas.v1.SlsaProvenance.Material
   604  	7,  // 4: grafeas.v1.SlsaProvenance.SlsaRecipe.arguments:type_name -> google.protobuf.Any
   605  	7,  // 5: grafeas.v1.SlsaProvenance.SlsaRecipe.environment:type_name -> google.protobuf.Any
   606  	8,  // 6: grafeas.v1.SlsaProvenance.SlsaMetadata.build_started_on:type_name -> google.protobuf.Timestamp
   607  	8,  // 7: grafeas.v1.SlsaProvenance.SlsaMetadata.build_finished_on:type_name -> google.protobuf.Timestamp
   608  	2,  // 8: grafeas.v1.SlsaProvenance.SlsaMetadata.completeness:type_name -> grafeas.v1.SlsaProvenance.SlsaCompleteness
   609  	6,  // 9: grafeas.v1.SlsaProvenance.Material.digest:type_name -> grafeas.v1.SlsaProvenance.Material.DigestEntry
   610  	10, // [10:10] is the sub-list for method output_type
   611  	10, // [10:10] is the sub-list for method input_type
   612  	10, // [10:10] is the sub-list for extension type_name
   613  	10, // [10:10] is the sub-list for extension extendee
   614  	0,  // [0:10] is the sub-list for field type_name
   615  }
   616  
   617  func init() { file_grafeas_v1_slsa_provenance_proto_init() }
   618  func file_grafeas_v1_slsa_provenance_proto_init() {
   619  	if File_grafeas_v1_slsa_provenance_proto != nil {
   620  		return
   621  	}
   622  	if !protoimpl.UnsafeEnabled {
   623  		file_grafeas_v1_slsa_provenance_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   624  			switch v := v.(*SlsaProvenance); i {
   625  			case 0:
   626  				return &v.state
   627  			case 1:
   628  				return &v.sizeCache
   629  			case 2:
   630  				return &v.unknownFields
   631  			default:
   632  				return nil
   633  			}
   634  		}
   635  		file_grafeas_v1_slsa_provenance_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   636  			switch v := v.(*SlsaProvenance_SlsaRecipe); i {
   637  			case 0:
   638  				return &v.state
   639  			case 1:
   640  				return &v.sizeCache
   641  			case 2:
   642  				return &v.unknownFields
   643  			default:
   644  				return nil
   645  			}
   646  		}
   647  		file_grafeas_v1_slsa_provenance_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   648  			switch v := v.(*SlsaProvenance_SlsaCompleteness); i {
   649  			case 0:
   650  				return &v.state
   651  			case 1:
   652  				return &v.sizeCache
   653  			case 2:
   654  				return &v.unknownFields
   655  			default:
   656  				return nil
   657  			}
   658  		}
   659  		file_grafeas_v1_slsa_provenance_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   660  			switch v := v.(*SlsaProvenance_SlsaMetadata); i {
   661  			case 0:
   662  				return &v.state
   663  			case 1:
   664  				return &v.sizeCache
   665  			case 2:
   666  				return &v.unknownFields
   667  			default:
   668  				return nil
   669  			}
   670  		}
   671  		file_grafeas_v1_slsa_provenance_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   672  			switch v := v.(*SlsaProvenance_SlsaBuilder); i {
   673  			case 0:
   674  				return &v.state
   675  			case 1:
   676  				return &v.sizeCache
   677  			case 2:
   678  				return &v.unknownFields
   679  			default:
   680  				return nil
   681  			}
   682  		}
   683  		file_grafeas_v1_slsa_provenance_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   684  			switch v := v.(*SlsaProvenance_Material); i {
   685  			case 0:
   686  				return &v.state
   687  			case 1:
   688  				return &v.sizeCache
   689  			case 2:
   690  				return &v.unknownFields
   691  			default:
   692  				return nil
   693  			}
   694  		}
   695  	}
   696  	type x struct{}
   697  	out := protoimpl.TypeBuilder{
   698  		File: protoimpl.DescBuilder{
   699  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   700  			RawDescriptor: file_grafeas_v1_slsa_provenance_proto_rawDesc,
   701  			NumEnums:      0,
   702  			NumMessages:   7,
   703  			NumExtensions: 0,
   704  			NumServices:   0,
   705  		},
   706  		GoTypes:           file_grafeas_v1_slsa_provenance_proto_goTypes,
   707  		DependencyIndexes: file_grafeas_v1_slsa_provenance_proto_depIdxs,
   708  		MessageInfos:      file_grafeas_v1_slsa_provenance_proto_msgTypes,
   709  	}.Build()
   710  	File_grafeas_v1_slsa_provenance_proto = out.File
   711  	file_grafeas_v1_slsa_provenance_proto_rawDesc = nil
   712  	file_grafeas_v1_slsa_provenance_proto_goTypes = nil
   713  	file_grafeas_v1_slsa_provenance_proto_depIdxs = nil
   714  }
   715  

View as plain text