...

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

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

     1  // Copyright 2019 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/discovery.proto
    20  
    21  package grafeas
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	_ "google.golang.org/genproto/googleapis/api/annotations"
    28  	status "google.golang.org/genproto/googleapis/rpc/status"
    29  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    30  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    31  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    32  )
    33  
    34  const (
    35  	// Verify that this generated code is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    37  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    38  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    39  )
    40  
    41  // Whether the resource is continuously analyzed.
    42  type DiscoveryOccurrence_ContinuousAnalysis int32
    43  
    44  const (
    45  	// Unknown.
    46  	DiscoveryOccurrence_CONTINUOUS_ANALYSIS_UNSPECIFIED DiscoveryOccurrence_ContinuousAnalysis = 0
    47  	// The resource is continuously analyzed.
    48  	DiscoveryOccurrence_ACTIVE DiscoveryOccurrence_ContinuousAnalysis = 1
    49  	// The resource is ignored for continuous analysis.
    50  	DiscoveryOccurrence_INACTIVE DiscoveryOccurrence_ContinuousAnalysis = 2
    51  )
    52  
    53  // Enum value maps for DiscoveryOccurrence_ContinuousAnalysis.
    54  var (
    55  	DiscoveryOccurrence_ContinuousAnalysis_name = map[int32]string{
    56  		0: "CONTINUOUS_ANALYSIS_UNSPECIFIED",
    57  		1: "ACTIVE",
    58  		2: "INACTIVE",
    59  	}
    60  	DiscoveryOccurrence_ContinuousAnalysis_value = map[string]int32{
    61  		"CONTINUOUS_ANALYSIS_UNSPECIFIED": 0,
    62  		"ACTIVE":                          1,
    63  		"INACTIVE":                        2,
    64  	}
    65  )
    66  
    67  func (x DiscoveryOccurrence_ContinuousAnalysis) Enum() *DiscoveryOccurrence_ContinuousAnalysis {
    68  	p := new(DiscoveryOccurrence_ContinuousAnalysis)
    69  	*p = x
    70  	return p
    71  }
    72  
    73  func (x DiscoveryOccurrence_ContinuousAnalysis) String() string {
    74  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    75  }
    76  
    77  func (DiscoveryOccurrence_ContinuousAnalysis) Descriptor() protoreflect.EnumDescriptor {
    78  	return file_grafeas_v1_discovery_proto_enumTypes[0].Descriptor()
    79  }
    80  
    81  func (DiscoveryOccurrence_ContinuousAnalysis) Type() protoreflect.EnumType {
    82  	return &file_grafeas_v1_discovery_proto_enumTypes[0]
    83  }
    84  
    85  func (x DiscoveryOccurrence_ContinuousAnalysis) Number() protoreflect.EnumNumber {
    86  	return protoreflect.EnumNumber(x)
    87  }
    88  
    89  // Deprecated: Use DiscoveryOccurrence_ContinuousAnalysis.Descriptor instead.
    90  func (DiscoveryOccurrence_ContinuousAnalysis) EnumDescriptor() ([]byte, []int) {
    91  	return file_grafeas_v1_discovery_proto_rawDescGZIP(), []int{1, 0}
    92  }
    93  
    94  // Analysis status for a resource. Currently for initial analysis only (not
    95  // updated in continuous analysis).
    96  type DiscoveryOccurrence_AnalysisStatus int32
    97  
    98  const (
    99  	// Unknown.
   100  	DiscoveryOccurrence_ANALYSIS_STATUS_UNSPECIFIED DiscoveryOccurrence_AnalysisStatus = 0
   101  	// Resource is known but no action has been taken yet.
   102  	DiscoveryOccurrence_PENDING DiscoveryOccurrence_AnalysisStatus = 1
   103  	// Resource is being analyzed.
   104  	DiscoveryOccurrence_SCANNING DiscoveryOccurrence_AnalysisStatus = 2
   105  	// Analysis has finished successfully.
   106  	DiscoveryOccurrence_FINISHED_SUCCESS DiscoveryOccurrence_AnalysisStatus = 3
   107  	// Analysis has completed.
   108  	DiscoveryOccurrence_COMPLETE DiscoveryOccurrence_AnalysisStatus = 3
   109  	// Analysis has finished unsuccessfully, the analysis itself is in a bad
   110  	// state.
   111  	DiscoveryOccurrence_FINISHED_FAILED DiscoveryOccurrence_AnalysisStatus = 4
   112  	// The resource is known not to be supported.
   113  	DiscoveryOccurrence_FINISHED_UNSUPPORTED DiscoveryOccurrence_AnalysisStatus = 5
   114  )
   115  
   116  // Enum value maps for DiscoveryOccurrence_AnalysisStatus.
   117  var (
   118  	DiscoveryOccurrence_AnalysisStatus_name = map[int32]string{
   119  		0: "ANALYSIS_STATUS_UNSPECIFIED",
   120  		1: "PENDING",
   121  		2: "SCANNING",
   122  		3: "FINISHED_SUCCESS",
   123  		// Duplicate value: 3: "COMPLETE",
   124  		4: "FINISHED_FAILED",
   125  		5: "FINISHED_UNSUPPORTED",
   126  	}
   127  	DiscoveryOccurrence_AnalysisStatus_value = map[string]int32{
   128  		"ANALYSIS_STATUS_UNSPECIFIED": 0,
   129  		"PENDING":                     1,
   130  		"SCANNING":                    2,
   131  		"FINISHED_SUCCESS":            3,
   132  		"COMPLETE":                    3,
   133  		"FINISHED_FAILED":             4,
   134  		"FINISHED_UNSUPPORTED":        5,
   135  	}
   136  )
   137  
   138  func (x DiscoveryOccurrence_AnalysisStatus) Enum() *DiscoveryOccurrence_AnalysisStatus {
   139  	p := new(DiscoveryOccurrence_AnalysisStatus)
   140  	*p = x
   141  	return p
   142  }
   143  
   144  func (x DiscoveryOccurrence_AnalysisStatus) String() string {
   145  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   146  }
   147  
   148  func (DiscoveryOccurrence_AnalysisStatus) Descriptor() protoreflect.EnumDescriptor {
   149  	return file_grafeas_v1_discovery_proto_enumTypes[1].Descriptor()
   150  }
   151  
   152  func (DiscoveryOccurrence_AnalysisStatus) Type() protoreflect.EnumType {
   153  	return &file_grafeas_v1_discovery_proto_enumTypes[1]
   154  }
   155  
   156  func (x DiscoveryOccurrence_AnalysisStatus) Number() protoreflect.EnumNumber {
   157  	return protoreflect.EnumNumber(x)
   158  }
   159  
   160  // Deprecated: Use DiscoveryOccurrence_AnalysisStatus.Descriptor instead.
   161  func (DiscoveryOccurrence_AnalysisStatus) EnumDescriptor() ([]byte, []int) {
   162  	return file_grafeas_v1_discovery_proto_rawDescGZIP(), []int{1, 1}
   163  }
   164  
   165  // An enum indicating the progress of the SBOM generation.
   166  type DiscoveryOccurrence_SBOMStatus_SBOMState int32
   167  
   168  const (
   169  	// Default unknown state.
   170  	DiscoveryOccurrence_SBOMStatus_SBOM_STATE_UNSPECIFIED DiscoveryOccurrence_SBOMStatus_SBOMState = 0
   171  	// SBOM scanning is pending.
   172  	DiscoveryOccurrence_SBOMStatus_PENDING DiscoveryOccurrence_SBOMStatus_SBOMState = 1
   173  	// SBOM scanning has completed.
   174  	DiscoveryOccurrence_SBOMStatus_COMPLETE DiscoveryOccurrence_SBOMStatus_SBOMState = 2
   175  )
   176  
   177  // Enum value maps for DiscoveryOccurrence_SBOMStatus_SBOMState.
   178  var (
   179  	DiscoveryOccurrence_SBOMStatus_SBOMState_name = map[int32]string{
   180  		0: "SBOM_STATE_UNSPECIFIED",
   181  		1: "PENDING",
   182  		2: "COMPLETE",
   183  	}
   184  	DiscoveryOccurrence_SBOMStatus_SBOMState_value = map[string]int32{
   185  		"SBOM_STATE_UNSPECIFIED": 0,
   186  		"PENDING":                1,
   187  		"COMPLETE":               2,
   188  	}
   189  )
   190  
   191  func (x DiscoveryOccurrence_SBOMStatus_SBOMState) Enum() *DiscoveryOccurrence_SBOMStatus_SBOMState {
   192  	p := new(DiscoveryOccurrence_SBOMStatus_SBOMState)
   193  	*p = x
   194  	return p
   195  }
   196  
   197  func (x DiscoveryOccurrence_SBOMStatus_SBOMState) String() string {
   198  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   199  }
   200  
   201  func (DiscoveryOccurrence_SBOMStatus_SBOMState) Descriptor() protoreflect.EnumDescriptor {
   202  	return file_grafeas_v1_discovery_proto_enumTypes[2].Descriptor()
   203  }
   204  
   205  func (DiscoveryOccurrence_SBOMStatus_SBOMState) Type() protoreflect.EnumType {
   206  	return &file_grafeas_v1_discovery_proto_enumTypes[2]
   207  }
   208  
   209  func (x DiscoveryOccurrence_SBOMStatus_SBOMState) Number() protoreflect.EnumNumber {
   210  	return protoreflect.EnumNumber(x)
   211  }
   212  
   213  // Deprecated: Use DiscoveryOccurrence_SBOMStatus_SBOMState.Descriptor instead.
   214  func (DiscoveryOccurrence_SBOMStatus_SBOMState) EnumDescriptor() ([]byte, []int) {
   215  	return file_grafeas_v1_discovery_proto_rawDescGZIP(), []int{1, 1, 0}
   216  }
   217  
   218  // A note that indicates a type of analysis a provider would perform. This note
   219  // exists in a provider's project. A `Discovery` occurrence is created in a
   220  // consumer's project at the start of analysis.
   221  type DiscoveryNote struct {
   222  	state         protoimpl.MessageState
   223  	sizeCache     protoimpl.SizeCache
   224  	unknownFields protoimpl.UnknownFields
   225  
   226  	// Required. Immutable. The kind of analysis that is handled by this
   227  	// discovery.
   228  	AnalysisKind NoteKind `protobuf:"varint,1,opt,name=analysis_kind,json=analysisKind,proto3,enum=grafeas.v1.NoteKind" json:"analysis_kind,omitempty"`
   229  }
   230  
   231  func (x *DiscoveryNote) Reset() {
   232  	*x = DiscoveryNote{}
   233  	if protoimpl.UnsafeEnabled {
   234  		mi := &file_grafeas_v1_discovery_proto_msgTypes[0]
   235  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   236  		ms.StoreMessageInfo(mi)
   237  	}
   238  }
   239  
   240  func (x *DiscoveryNote) String() string {
   241  	return protoimpl.X.MessageStringOf(x)
   242  }
   243  
   244  func (*DiscoveryNote) ProtoMessage() {}
   245  
   246  func (x *DiscoveryNote) ProtoReflect() protoreflect.Message {
   247  	mi := &file_grafeas_v1_discovery_proto_msgTypes[0]
   248  	if protoimpl.UnsafeEnabled && x != nil {
   249  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   250  		if ms.LoadMessageInfo() == nil {
   251  			ms.StoreMessageInfo(mi)
   252  		}
   253  		return ms
   254  	}
   255  	return mi.MessageOf(x)
   256  }
   257  
   258  // Deprecated: Use DiscoveryNote.ProtoReflect.Descriptor instead.
   259  func (*DiscoveryNote) Descriptor() ([]byte, []int) {
   260  	return file_grafeas_v1_discovery_proto_rawDescGZIP(), []int{0}
   261  }
   262  
   263  func (x *DiscoveryNote) GetAnalysisKind() NoteKind {
   264  	if x != nil {
   265  		return x.AnalysisKind
   266  	}
   267  	return NoteKind_NOTE_KIND_UNSPECIFIED
   268  }
   269  
   270  // Provides information about the analysis status of a discovered resource.
   271  type DiscoveryOccurrence struct {
   272  	state         protoimpl.MessageState
   273  	sizeCache     protoimpl.SizeCache
   274  	unknownFields protoimpl.UnknownFields
   275  
   276  	// Whether the resource is continuously analyzed.
   277  	ContinuousAnalysis DiscoveryOccurrence_ContinuousAnalysis `protobuf:"varint,1,opt,name=continuous_analysis,json=continuousAnalysis,proto3,enum=grafeas.v1.DiscoveryOccurrence_ContinuousAnalysis" json:"continuous_analysis,omitempty"`
   278  	// The status of discovery for the resource.
   279  	AnalysisStatus    DiscoveryOccurrence_AnalysisStatus     `protobuf:"varint,2,opt,name=analysis_status,json=analysisStatus,proto3,enum=grafeas.v1.DiscoveryOccurrence_AnalysisStatus" json:"analysis_status,omitempty"`
   280  	AnalysisCompleted *DiscoveryOccurrence_AnalysisCompleted `protobuf:"bytes,7,opt,name=analysis_completed,json=analysisCompleted,proto3" json:"analysis_completed,omitempty"`
   281  	// Indicates any errors encountered during analysis of a resource. There
   282  	// could be 0 or more of these errors.
   283  	AnalysisError []*status.Status `protobuf:"bytes,8,rep,name=analysis_error,json=analysisError,proto3" json:"analysis_error,omitempty"`
   284  	// When an error is encountered this will contain a LocalizedMessage under
   285  	// details to show to the user. The LocalizedMessage is output only and
   286  	// populated by the API.
   287  	AnalysisStatusError *status.Status `protobuf:"bytes,3,opt,name=analysis_status_error,json=analysisStatusError,proto3" json:"analysis_status_error,omitempty"`
   288  	// The CPE of the resource being scanned.
   289  	Cpe string `protobuf:"bytes,4,opt,name=cpe,proto3" json:"cpe,omitempty"`
   290  	// The last time this resource was scanned.
   291  	LastScanTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_scan_time,json=lastScanTime,proto3" json:"last_scan_time,omitempty"`
   292  	// The time occurrences related to this discovery occurrence were archived.
   293  	ArchiveTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=archive_time,json=archiveTime,proto3" json:"archive_time,omitempty"`
   294  	// The status of an SBOM generation.
   295  	SbomStatus *DiscoveryOccurrence_SBOMStatus `protobuf:"bytes,9,opt,name=sbom_status,json=sbomStatus,proto3" json:"sbom_status,omitempty"`
   296  }
   297  
   298  func (x *DiscoveryOccurrence) Reset() {
   299  	*x = DiscoveryOccurrence{}
   300  	if protoimpl.UnsafeEnabled {
   301  		mi := &file_grafeas_v1_discovery_proto_msgTypes[1]
   302  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   303  		ms.StoreMessageInfo(mi)
   304  	}
   305  }
   306  
   307  func (x *DiscoveryOccurrence) String() string {
   308  	return protoimpl.X.MessageStringOf(x)
   309  }
   310  
   311  func (*DiscoveryOccurrence) ProtoMessage() {}
   312  
   313  func (x *DiscoveryOccurrence) ProtoReflect() protoreflect.Message {
   314  	mi := &file_grafeas_v1_discovery_proto_msgTypes[1]
   315  	if protoimpl.UnsafeEnabled && x != nil {
   316  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   317  		if ms.LoadMessageInfo() == nil {
   318  			ms.StoreMessageInfo(mi)
   319  		}
   320  		return ms
   321  	}
   322  	return mi.MessageOf(x)
   323  }
   324  
   325  // Deprecated: Use DiscoveryOccurrence.ProtoReflect.Descriptor instead.
   326  func (*DiscoveryOccurrence) Descriptor() ([]byte, []int) {
   327  	return file_grafeas_v1_discovery_proto_rawDescGZIP(), []int{1}
   328  }
   329  
   330  func (x *DiscoveryOccurrence) GetContinuousAnalysis() DiscoveryOccurrence_ContinuousAnalysis {
   331  	if x != nil {
   332  		return x.ContinuousAnalysis
   333  	}
   334  	return DiscoveryOccurrence_CONTINUOUS_ANALYSIS_UNSPECIFIED
   335  }
   336  
   337  func (x *DiscoveryOccurrence) GetAnalysisStatus() DiscoveryOccurrence_AnalysisStatus {
   338  	if x != nil {
   339  		return x.AnalysisStatus
   340  	}
   341  	return DiscoveryOccurrence_ANALYSIS_STATUS_UNSPECIFIED
   342  }
   343  
   344  func (x *DiscoveryOccurrence) GetAnalysisCompleted() *DiscoveryOccurrence_AnalysisCompleted {
   345  	if x != nil {
   346  		return x.AnalysisCompleted
   347  	}
   348  	return nil
   349  }
   350  
   351  func (x *DiscoveryOccurrence) GetAnalysisError() []*status.Status {
   352  	if x != nil {
   353  		return x.AnalysisError
   354  	}
   355  	return nil
   356  }
   357  
   358  func (x *DiscoveryOccurrence) GetAnalysisStatusError() *status.Status {
   359  	if x != nil {
   360  		return x.AnalysisStatusError
   361  	}
   362  	return nil
   363  }
   364  
   365  func (x *DiscoveryOccurrence) GetCpe() string {
   366  	if x != nil {
   367  		return x.Cpe
   368  	}
   369  	return ""
   370  }
   371  
   372  func (x *DiscoveryOccurrence) GetLastScanTime() *timestamppb.Timestamp {
   373  	if x != nil {
   374  		return x.LastScanTime
   375  	}
   376  	return nil
   377  }
   378  
   379  func (x *DiscoveryOccurrence) GetArchiveTime() *timestamppb.Timestamp {
   380  	if x != nil {
   381  		return x.ArchiveTime
   382  	}
   383  	return nil
   384  }
   385  
   386  func (x *DiscoveryOccurrence) GetSbomStatus() *DiscoveryOccurrence_SBOMStatus {
   387  	if x != nil {
   388  		return x.SbomStatus
   389  	}
   390  	return nil
   391  }
   392  
   393  // Indicates which analysis completed successfully. Multiple types of
   394  // analysis can be performed on a single resource.
   395  type DiscoveryOccurrence_AnalysisCompleted struct {
   396  	state         protoimpl.MessageState
   397  	sizeCache     protoimpl.SizeCache
   398  	unknownFields protoimpl.UnknownFields
   399  
   400  	AnalysisType []string `protobuf:"bytes,1,rep,name=analysis_type,json=analysisType,proto3" json:"analysis_type,omitempty"`
   401  }
   402  
   403  func (x *DiscoveryOccurrence_AnalysisCompleted) Reset() {
   404  	*x = DiscoveryOccurrence_AnalysisCompleted{}
   405  	if protoimpl.UnsafeEnabled {
   406  		mi := &file_grafeas_v1_discovery_proto_msgTypes[2]
   407  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   408  		ms.StoreMessageInfo(mi)
   409  	}
   410  }
   411  
   412  func (x *DiscoveryOccurrence_AnalysisCompleted) String() string {
   413  	return protoimpl.X.MessageStringOf(x)
   414  }
   415  
   416  func (*DiscoveryOccurrence_AnalysisCompleted) ProtoMessage() {}
   417  
   418  func (x *DiscoveryOccurrence_AnalysisCompleted) ProtoReflect() protoreflect.Message {
   419  	mi := &file_grafeas_v1_discovery_proto_msgTypes[2]
   420  	if protoimpl.UnsafeEnabled && x != nil {
   421  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   422  		if ms.LoadMessageInfo() == nil {
   423  			ms.StoreMessageInfo(mi)
   424  		}
   425  		return ms
   426  	}
   427  	return mi.MessageOf(x)
   428  }
   429  
   430  // Deprecated: Use DiscoveryOccurrence_AnalysisCompleted.ProtoReflect.Descriptor instead.
   431  func (*DiscoveryOccurrence_AnalysisCompleted) Descriptor() ([]byte, []int) {
   432  	return file_grafeas_v1_discovery_proto_rawDescGZIP(), []int{1, 0}
   433  }
   434  
   435  func (x *DiscoveryOccurrence_AnalysisCompleted) GetAnalysisType() []string {
   436  	if x != nil {
   437  		return x.AnalysisType
   438  	}
   439  	return nil
   440  }
   441  
   442  // The status of an SBOM generation.
   443  type DiscoveryOccurrence_SBOMStatus struct {
   444  	state         protoimpl.MessageState
   445  	sizeCache     protoimpl.SizeCache
   446  	unknownFields protoimpl.UnknownFields
   447  
   448  	// The progress of the SBOM generation.
   449  	SbomState DiscoveryOccurrence_SBOMStatus_SBOMState `protobuf:"varint,1,opt,name=sbom_state,json=sbomState,proto3,enum=grafeas.v1.DiscoveryOccurrence_SBOMStatus_SBOMState" json:"sbom_state,omitempty"`
   450  	// If there was an error generating an SBOM, this will indicate what that
   451  	// error was.
   452  	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
   453  }
   454  
   455  func (x *DiscoveryOccurrence_SBOMStatus) Reset() {
   456  	*x = DiscoveryOccurrence_SBOMStatus{}
   457  	if protoimpl.UnsafeEnabled {
   458  		mi := &file_grafeas_v1_discovery_proto_msgTypes[3]
   459  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   460  		ms.StoreMessageInfo(mi)
   461  	}
   462  }
   463  
   464  func (x *DiscoveryOccurrence_SBOMStatus) String() string {
   465  	return protoimpl.X.MessageStringOf(x)
   466  }
   467  
   468  func (*DiscoveryOccurrence_SBOMStatus) ProtoMessage() {}
   469  
   470  func (x *DiscoveryOccurrence_SBOMStatus) ProtoReflect() protoreflect.Message {
   471  	mi := &file_grafeas_v1_discovery_proto_msgTypes[3]
   472  	if protoimpl.UnsafeEnabled && x != nil {
   473  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   474  		if ms.LoadMessageInfo() == nil {
   475  			ms.StoreMessageInfo(mi)
   476  		}
   477  		return ms
   478  	}
   479  	return mi.MessageOf(x)
   480  }
   481  
   482  // Deprecated: Use DiscoveryOccurrence_SBOMStatus.ProtoReflect.Descriptor instead.
   483  func (*DiscoveryOccurrence_SBOMStatus) Descriptor() ([]byte, []int) {
   484  	return file_grafeas_v1_discovery_proto_rawDescGZIP(), []int{1, 1}
   485  }
   486  
   487  func (x *DiscoveryOccurrence_SBOMStatus) GetSbomState() DiscoveryOccurrence_SBOMStatus_SBOMState {
   488  	if x != nil {
   489  		return x.SbomState
   490  	}
   491  	return DiscoveryOccurrence_SBOMStatus_SBOM_STATE_UNSPECIFIED
   492  }
   493  
   494  func (x *DiscoveryOccurrence_SBOMStatus) GetError() string {
   495  	if x != nil {
   496  		return x.Error
   497  	}
   498  	return ""
   499  }
   500  
   501  var File_grafeas_v1_discovery_proto protoreflect.FileDescriptor
   502  
   503  var file_grafeas_v1_discovery_proto_rawDesc = []byte{
   504  	0x0a, 0x1a, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x69, 0x73,
   505  	0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x72,
   506  	0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   507  	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76,
   508  	0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   509  	0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73,
   510  	0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67,
   511  	0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72,
   512  	0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f,
   513  	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x0d,
   514  	0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x39, 0x0a,
   515  	0x0d, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01,
   516  	0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76,
   517  	0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x0c, 0x61, 0x6e, 0x61, 0x6c,
   518  	0x79, 0x73, 0x69, 0x73, 0x4b, 0x69, 0x6e, 0x64, 0x22, 0x90, 0x09, 0x0a, 0x13, 0x44, 0x69, 0x73,
   519  	0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65,
   520  	0x12, 0x63, 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x5f, 0x61,
   521  	0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e,
   522  	0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f,
   523  	0x76, 0x65, 0x72, 0x79, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x43,
   524  	0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69,
   525  	0x73, 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x41, 0x6e, 0x61,
   526  	0x6c, 0x79, 0x73, 0x69, 0x73, 0x12, 0x57, 0x0a, 0x0f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69,
   527  	0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e,
   528  	0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63,
   529  	0x6f, 0x76, 0x65, 0x72, 0x79, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e,
   530  	0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0e,
   531  	0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x60,
   532  	0x0a, 0x12, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c,
   533  	0x65, 0x74, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x72, 0x61,
   534  	0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72,
   535  	0x79, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x41, 0x6e, 0x61, 0x6c,
   536  	0x79, 0x73, 0x69, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x52, 0x11, 0x61,
   537  	0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64,
   538  	0x12, 0x39, 0x0a, 0x0e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 0x65, 0x72, 0x72,
   539  	0x6f, 0x72, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   540  	0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x61, 0x6e,
   541  	0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x46, 0x0a, 0x15, 0x61,
   542  	0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x65,
   543  	0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f,
   544  	0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x13,
   545  	0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x72,
   546  	0x72, 0x6f, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
   547  	0x52, 0x03, 0x63, 0x70, 0x65, 0x12, 0x40, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x63,
   548  	0x61, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
   549  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
   550  	0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x53,
   551  	0x63, 0x61, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69,
   552  	0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
   553  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
   554  	0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b,
   555  	0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x0b, 0x73,
   556  	0x62, 0x6f, 0x6d, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b,
   557  	0x32, 0x2a, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69,
   558  	0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63,
   559  	0x65, 0x2e, 0x53, 0x42, 0x4f, 0x4d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x73, 0x62,
   560  	0x6f, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x1a, 0x38, 0x0a, 0x11, 0x41, 0x6e, 0x61, 0x6c,
   561  	0x79, 0x73, 0x69, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x23, 0x0a,
   562  	0x0d, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
   563  	0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x54, 0x79,
   564  	0x70, 0x65, 0x1a, 0xbb, 0x01, 0x0a, 0x0a, 0x53, 0x42, 0x4f, 0x4d, 0x53, 0x74, 0x61, 0x74, 0x75,
   565  	0x73, 0x12, 0x53, 0x0a, 0x0a, 0x73, 0x62, 0x6f, 0x6d, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18,
   566  	0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e,
   567  	0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x4f, 0x63, 0x63, 0x75,
   568  	0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x42, 0x4f, 0x4d, 0x53, 0x74, 0x61, 0x74, 0x75,
   569  	0x73, 0x2e, 0x53, 0x42, 0x4f, 0x4d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x09, 0x73, 0x62, 0x6f,
   570  	0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18,
   571  	0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x42, 0x0a, 0x09,
   572  	0x53, 0x42, 0x4f, 0x4d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x42, 0x4f,
   573  	0x4d, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
   574  	0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47,
   575  	0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x02,
   576  	0x22, 0x53, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x41, 0x6e,
   577  	0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x12, 0x23, 0x0a, 0x1f, 0x43, 0x4f, 0x4e, 0x54, 0x49, 0x4e,
   578  	0x55, 0x4f, 0x55, 0x53, 0x5f, 0x41, 0x4e, 0x41, 0x4c, 0x59, 0x53, 0x49, 0x53, 0x5f, 0x55, 0x4e,
   579  	0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41,
   580  	0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x41, 0x43, 0x54,
   581  	0x49, 0x56, 0x45, 0x10, 0x02, 0x22, 0xa3, 0x01, 0x0a, 0x0e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73,
   582  	0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x4e, 0x41, 0x4c,
   583  	0x59, 0x53, 0x49, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50,
   584  	0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e,
   585  	0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x43, 0x41, 0x4e, 0x4e, 0x49,
   586  	0x4e, 0x47, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44,
   587  	0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f,
   588  	0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x46, 0x49, 0x4e, 0x49,
   589  	0x53, 0x48, 0x45, 0x44, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x18, 0x0a,
   590  	0x14, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x55, 0x50, 0x50,
   591  	0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x05, 0x1a, 0x02, 0x10, 0x01, 0x42, 0x51, 0x0a, 0x0d, 0x69,
   592  	0x6f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x38,
   593  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
   594  	0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   595  	0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31,
   596  	0x3b, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x52, 0x41, 0x62, 0x06,
   597  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   598  }
   599  
   600  var (
   601  	file_grafeas_v1_discovery_proto_rawDescOnce sync.Once
   602  	file_grafeas_v1_discovery_proto_rawDescData = file_grafeas_v1_discovery_proto_rawDesc
   603  )
   604  
   605  func file_grafeas_v1_discovery_proto_rawDescGZIP() []byte {
   606  	file_grafeas_v1_discovery_proto_rawDescOnce.Do(func() {
   607  		file_grafeas_v1_discovery_proto_rawDescData = protoimpl.X.CompressGZIP(file_grafeas_v1_discovery_proto_rawDescData)
   608  	})
   609  	return file_grafeas_v1_discovery_proto_rawDescData
   610  }
   611  
   612  var file_grafeas_v1_discovery_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
   613  var file_grafeas_v1_discovery_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   614  var file_grafeas_v1_discovery_proto_goTypes = []interface{}{
   615  	(DiscoveryOccurrence_ContinuousAnalysis)(0),   // 0: grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis
   616  	(DiscoveryOccurrence_AnalysisStatus)(0),       // 1: grafeas.v1.DiscoveryOccurrence.AnalysisStatus
   617  	(DiscoveryOccurrence_SBOMStatus_SBOMState)(0), // 2: grafeas.v1.DiscoveryOccurrence.SBOMStatus.SBOMState
   618  	(*DiscoveryNote)(nil),                         // 3: grafeas.v1.DiscoveryNote
   619  	(*DiscoveryOccurrence)(nil),                   // 4: grafeas.v1.DiscoveryOccurrence
   620  	(*DiscoveryOccurrence_AnalysisCompleted)(nil), // 5: grafeas.v1.DiscoveryOccurrence.AnalysisCompleted
   621  	(*DiscoveryOccurrence_SBOMStatus)(nil),        // 6: grafeas.v1.DiscoveryOccurrence.SBOMStatus
   622  	(NoteKind)(0),                                 // 7: grafeas.v1.NoteKind
   623  	(*status.Status)(nil),                         // 8: google.rpc.Status
   624  	(*timestamppb.Timestamp)(nil),                 // 9: google.protobuf.Timestamp
   625  }
   626  var file_grafeas_v1_discovery_proto_depIdxs = []int32{
   627  	7,  // 0: grafeas.v1.DiscoveryNote.analysis_kind:type_name -> grafeas.v1.NoteKind
   628  	0,  // 1: grafeas.v1.DiscoveryOccurrence.continuous_analysis:type_name -> grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis
   629  	1,  // 2: grafeas.v1.DiscoveryOccurrence.analysis_status:type_name -> grafeas.v1.DiscoveryOccurrence.AnalysisStatus
   630  	5,  // 3: grafeas.v1.DiscoveryOccurrence.analysis_completed:type_name -> grafeas.v1.DiscoveryOccurrence.AnalysisCompleted
   631  	8,  // 4: grafeas.v1.DiscoveryOccurrence.analysis_error:type_name -> google.rpc.Status
   632  	8,  // 5: grafeas.v1.DiscoveryOccurrence.analysis_status_error:type_name -> google.rpc.Status
   633  	9,  // 6: grafeas.v1.DiscoveryOccurrence.last_scan_time:type_name -> google.protobuf.Timestamp
   634  	9,  // 7: grafeas.v1.DiscoveryOccurrence.archive_time:type_name -> google.protobuf.Timestamp
   635  	6,  // 8: grafeas.v1.DiscoveryOccurrence.sbom_status:type_name -> grafeas.v1.DiscoveryOccurrence.SBOMStatus
   636  	2,  // 9: grafeas.v1.DiscoveryOccurrence.SBOMStatus.sbom_state:type_name -> grafeas.v1.DiscoveryOccurrence.SBOMStatus.SBOMState
   637  	10, // [10:10] is the sub-list for method output_type
   638  	10, // [10:10] is the sub-list for method input_type
   639  	10, // [10:10] is the sub-list for extension type_name
   640  	10, // [10:10] is the sub-list for extension extendee
   641  	0,  // [0:10] is the sub-list for field type_name
   642  }
   643  
   644  func init() { file_grafeas_v1_discovery_proto_init() }
   645  func file_grafeas_v1_discovery_proto_init() {
   646  	if File_grafeas_v1_discovery_proto != nil {
   647  		return
   648  	}
   649  	file_grafeas_v1_common_proto_init()
   650  	if !protoimpl.UnsafeEnabled {
   651  		file_grafeas_v1_discovery_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   652  			switch v := v.(*DiscoveryNote); i {
   653  			case 0:
   654  				return &v.state
   655  			case 1:
   656  				return &v.sizeCache
   657  			case 2:
   658  				return &v.unknownFields
   659  			default:
   660  				return nil
   661  			}
   662  		}
   663  		file_grafeas_v1_discovery_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   664  			switch v := v.(*DiscoveryOccurrence); i {
   665  			case 0:
   666  				return &v.state
   667  			case 1:
   668  				return &v.sizeCache
   669  			case 2:
   670  				return &v.unknownFields
   671  			default:
   672  				return nil
   673  			}
   674  		}
   675  		file_grafeas_v1_discovery_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   676  			switch v := v.(*DiscoveryOccurrence_AnalysisCompleted); i {
   677  			case 0:
   678  				return &v.state
   679  			case 1:
   680  				return &v.sizeCache
   681  			case 2:
   682  				return &v.unknownFields
   683  			default:
   684  				return nil
   685  			}
   686  		}
   687  		file_grafeas_v1_discovery_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   688  			switch v := v.(*DiscoveryOccurrence_SBOMStatus); i {
   689  			case 0:
   690  				return &v.state
   691  			case 1:
   692  				return &v.sizeCache
   693  			case 2:
   694  				return &v.unknownFields
   695  			default:
   696  				return nil
   697  			}
   698  		}
   699  	}
   700  	type x struct{}
   701  	out := protoimpl.TypeBuilder{
   702  		File: protoimpl.DescBuilder{
   703  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   704  			RawDescriptor: file_grafeas_v1_discovery_proto_rawDesc,
   705  			NumEnums:      3,
   706  			NumMessages:   4,
   707  			NumExtensions: 0,
   708  			NumServices:   0,
   709  		},
   710  		GoTypes:           file_grafeas_v1_discovery_proto_goTypes,
   711  		DependencyIndexes: file_grafeas_v1_discovery_proto_depIdxs,
   712  		EnumInfos:         file_grafeas_v1_discovery_proto_enumTypes,
   713  		MessageInfos:      file_grafeas_v1_discovery_proto_msgTypes,
   714  	}.Build()
   715  	File_grafeas_v1_discovery_proto = out.File
   716  	file_grafeas_v1_discovery_proto_rawDesc = nil
   717  	file_grafeas_v1_discovery_proto_goTypes = nil
   718  	file_grafeas_v1_discovery_proto_depIdxs = nil
   719  }
   720  

View as plain text