...

Source file src/google.golang.org/genproto/googleapis/cloud/containers/workflow/analysis/package.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/containers/workflow/analysis

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.26.0
     4  // 	protoc        v3.12.2
     5  // source: cloud/containers/workflow/vulnerability/proto/package.proto
     6  
     7  package vulnerability
     8  
     9  import (
    10  	reflect "reflect"
    11  	sync "sync"
    12  
    13  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    14  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type PackageData struct {
    25  	state         protoimpl.MessageState
    26  	sizeCache     protoimpl.SizeCache
    27  	unknownFields protoimpl.UnknownFields
    28  
    29  	// The package being analysed for vulnerabilities
    30  	Package string `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
    31  	// The version of the package being analysed
    32  	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
    33  	// The OS affected by a vulnerability
    34  	// This field is deprecated and the information is in cpe_uri
    35  	//
    36  	// Deprecated: Do not use.
    37  	Os string `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"`
    38  	// The version of the OS
    39  	// This field is deprecated and the information is in cpe_uri
    40  	//
    41  	// Deprecated: Do not use.
    42  	OsVersion string `protobuf:"bytes,4,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"`
    43  	// The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) in
    44  	// which the vulnerability may manifest.  Examples include distro or storage
    45  	// location for vulnerable jar.
    46  	CpeUri string `protobuf:"bytes,5,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
    47  	Unused string `protobuf:"bytes,6,opt,name=unused,proto3" json:"unused,omitempty"`
    48  }
    49  
    50  func (x *PackageData) Reset() {
    51  	*x = PackageData{}
    52  	if protoimpl.UnsafeEnabled {
    53  		mi := &file_cloud_containers_workflow_vulnerability_proto_package_proto_msgTypes[0]
    54  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    55  		ms.StoreMessageInfo(mi)
    56  	}
    57  }
    58  
    59  func (x *PackageData) String() string {
    60  	return protoimpl.X.MessageStringOf(x)
    61  }
    62  
    63  func (*PackageData) ProtoMessage() {}
    64  
    65  func (x *PackageData) ProtoReflect() protoreflect.Message {
    66  	mi := &file_cloud_containers_workflow_vulnerability_proto_package_proto_msgTypes[0]
    67  	if protoimpl.UnsafeEnabled && x != nil {
    68  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    69  		if ms.LoadMessageInfo() == nil {
    70  			ms.StoreMessageInfo(mi)
    71  		}
    72  		return ms
    73  	}
    74  	return mi.MessageOf(x)
    75  }
    76  
    77  // Deprecated: Use PackageData.ProtoReflect.Descriptor instead.
    78  func (*PackageData) Descriptor() ([]byte, []int) {
    79  	return file_cloud_containers_workflow_vulnerability_proto_package_proto_rawDescGZIP(), []int{0}
    80  }
    81  
    82  func (x *PackageData) GetPackage() string {
    83  	if x != nil {
    84  		return x.Package
    85  	}
    86  	return ""
    87  }
    88  
    89  func (x *PackageData) GetVersion() string {
    90  	if x != nil {
    91  		return x.Version
    92  	}
    93  	return ""
    94  }
    95  
    96  // Deprecated: Do not use.
    97  func (x *PackageData) GetOs() string {
    98  	if x != nil {
    99  		return x.Os
   100  	}
   101  	return ""
   102  }
   103  
   104  // Deprecated: Do not use.
   105  func (x *PackageData) GetOsVersion() string {
   106  	if x != nil {
   107  		return x.OsVersion
   108  	}
   109  	return ""
   110  }
   111  
   112  func (x *PackageData) GetCpeUri() string {
   113  	if x != nil {
   114  		return x.CpeUri
   115  	}
   116  	return ""
   117  }
   118  
   119  func (x *PackageData) GetUnused() string {
   120  	if x != nil {
   121  		return x.Unused
   122  	}
   123  	return ""
   124  }
   125  
   126  var File_cloud_containers_workflow_vulnerability_proto_package_proto protoreflect.FileDescriptor
   127  
   128  var file_cloud_containers_workflow_vulnerability_proto_package_proto_rawDesc = []byte{
   129  	0x0a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
   130  	0x72, 0x73, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x76, 0x75, 0x6c, 0x6e,
   131  	0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
   132  	0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x36, 0x63,
   133  	0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e,
   134  	0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69,
   135  	0x73, 0x2e, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e,
   136  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x01, 0x0a, 0x0b, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67,
   137  	0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65,
   138  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12,
   139  	0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
   140  	0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x02, 0x6f, 0x73, 0x18,
   141  	0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x02, 0x6f, 0x73, 0x12, 0x21, 0x0a,
   142  	0x0a, 0x6f, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
   143  	0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x6f, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
   144  	0x12, 0x17, 0x0a, 0x07, 0x63, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x05, 0x20, 0x01, 0x28,
   145  	0x09, 0x52, 0x06, 0x63, 0x70, 0x65, 0x55, 0x72, 0x69, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x6e, 0x75,
   146  	0x73, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x6e, 0x75, 0x73, 0x65,
   147  	0x64, 0x42, 0xdc, 0x02, 0x0a, 0x3b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   148  	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
   149  	0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79,
   150  	0x73, 0x69, 0x73, 0x2e, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74,
   151  	0x79, 0x42, 0x10, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x72,
   152  	0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
   153  	0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74,
   154  	0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f,
   155  	0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2f, 0x77, 0x6f,
   156  	0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x3b,
   157  	0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0xaa, 0x02, 0x37,
   158  	0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x43, 0x6f, 0x6e,
   159  	0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77,
   160  	0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72,
   161  	0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0xca, 0x02, 0x37, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   162  	0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
   163  	0x73, 0x5c, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5c, 0x41, 0x6e, 0x61, 0x6c, 0x79,
   164  	0x73, 0x69, 0x73, 0x5c, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74,
   165  	0x79, 0xea, 0x02, 0x3c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75,
   166  	0x64, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x3a, 0x3a, 0x57,
   167  	0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x3a, 0x3a, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69,
   168  	0x73, 0x3a, 0x3a, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79,
   169  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   170  }
   171  
   172  var (
   173  	file_cloud_containers_workflow_vulnerability_proto_package_proto_rawDescOnce sync.Once
   174  	file_cloud_containers_workflow_vulnerability_proto_package_proto_rawDescData = file_cloud_containers_workflow_vulnerability_proto_package_proto_rawDesc
   175  )
   176  
   177  func file_cloud_containers_workflow_vulnerability_proto_package_proto_rawDescGZIP() []byte {
   178  	file_cloud_containers_workflow_vulnerability_proto_package_proto_rawDescOnce.Do(func() {
   179  		file_cloud_containers_workflow_vulnerability_proto_package_proto_rawDescData = protoimpl.X.CompressGZIP(file_cloud_containers_workflow_vulnerability_proto_package_proto_rawDescData)
   180  	})
   181  	return file_cloud_containers_workflow_vulnerability_proto_package_proto_rawDescData
   182  }
   183  
   184  var file_cloud_containers_workflow_vulnerability_proto_package_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   185  var file_cloud_containers_workflow_vulnerability_proto_package_proto_goTypes = []interface{}{
   186  	(*PackageData)(nil), // 0: cloud_containers.workflow.analysis.vulnerability.proto.PackageData
   187  }
   188  var file_cloud_containers_workflow_vulnerability_proto_package_proto_depIdxs = []int32{
   189  	0, // [0:0] is the sub-list for method output_type
   190  	0, // [0:0] is the sub-list for method input_type
   191  	0, // [0:0] is the sub-list for extension type_name
   192  	0, // [0:0] is the sub-list for extension extendee
   193  	0, // [0:0] is the sub-list for field type_name
   194  }
   195  
   196  func init() { file_cloud_containers_workflow_vulnerability_proto_package_proto_init() }
   197  func file_cloud_containers_workflow_vulnerability_proto_package_proto_init() {
   198  	if File_cloud_containers_workflow_vulnerability_proto_package_proto != nil {
   199  		return
   200  	}
   201  	if !protoimpl.UnsafeEnabled {
   202  		file_cloud_containers_workflow_vulnerability_proto_package_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   203  			switch v := v.(*PackageData); i {
   204  			case 0:
   205  				return &v.state
   206  			case 1:
   207  				return &v.sizeCache
   208  			case 2:
   209  				return &v.unknownFields
   210  			default:
   211  				return nil
   212  			}
   213  		}
   214  	}
   215  	type x struct{}
   216  	out := protoimpl.TypeBuilder{
   217  		File: protoimpl.DescBuilder{
   218  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   219  			RawDescriptor: file_cloud_containers_workflow_vulnerability_proto_package_proto_rawDesc,
   220  			NumEnums:      0,
   221  			NumMessages:   1,
   222  			NumExtensions: 0,
   223  			NumServices:   0,
   224  		},
   225  		GoTypes:           file_cloud_containers_workflow_vulnerability_proto_package_proto_goTypes,
   226  		DependencyIndexes: file_cloud_containers_workflow_vulnerability_proto_package_proto_depIdxs,
   227  		MessageInfos:      file_cloud_containers_workflow_vulnerability_proto_package_proto_msgTypes,
   228  	}.Build()
   229  	File_cloud_containers_workflow_vulnerability_proto_package_proto = out.File
   230  	file_cloud_containers_workflow_vulnerability_proto_package_proto_rawDesc = nil
   231  	file_cloud_containers_workflow_vulnerability_proto_package_proto_goTypes = nil
   232  	file_cloud_containers_workflow_vulnerability_proto_package_proto_depIdxs = nil
   233  }
   234  

View as plain text