...

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

View as plain text