# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/devtools/containeranalysis/v1/containeranalysis.proto

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/iam/v1/iam_policy_pb'
require 'google/iam/v1/policy_pb'
require 'grafeas/v1/severity_pb'


descriptor_data = "\n<google/devtools/containeranalysis/v1/containeranalysis.proto\x12$google.devtools.containeranalysis.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x19grafeas/v1/severity.proto\"\xbd\x01\n\x11\x45xportSBOMRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12s\n\x16\x63loud_storage_location\x18\x02 \x01(\x0b\x32L.google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocationB\x03\xe0\x41\x01H\x00\x1a\x16\n\x14\x43loudStorageLocationB\x08\n\x06target\"2\n\x12\x45xportSBOMResponse\x12\x1c\n\x14\x64iscovery_occurrence\x18\x01 \x01(\t\"\x80\x01\n)GetVulnerabilityOccurrencesSummaryRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\"\x90\x02\n\x1fVulnerabilityOccurrencesSummary\x12j\n\x06\x63ounts\x18\x01 \x03(\x0b\x32Z.google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary.FixableTotalByDigest\x1a\x80\x01\n\x14\x46ixableTotalByDigest\x12\x14\n\x0cresource_uri\x18\x01 \x01(\t\x12&\n\x08severity\x18\x02 \x01(\x0e\x32\x14.grafeas.v1.Severity\x12\x15\n\rfixable_count\x18\x03 \x01(\x03\x12\x13\n\x0btotal_count\x18\x04 \x01(\x03\x32\x90\x0e\n\x11\x43ontainerAnalysis\x12\xdb\x02\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\x8f\x02\xda\x41\x0fresource,policy\x82\xd3\xe4\x93\x02\xf6\x01\"./v1/{resource=projects/*/notes/*}:setIamPolicy:\x01*Z9\"4/v1/{resource=projects/*/occurrences/*}:setIamPolicy:\x01*Z?\":/v1/{resource=projects/*/locations/*/notes/*}:setIamPolicy:\x01*ZE\"@/v1/{resource=projects/*/locations/*/occurrences/*}:setIamPolicy:\x01*\x12\xd4\x02\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\x88\x02\xda\x41\x08resource\x82\xd3\xe4\x93\x02\xf6\x01\"./v1/{resource=projects/*/notes/*}:getIamPolicy:\x01*Z9\"4/v1/{resource=projects/*/occurrences/*}:getIamPolicy:\x01*Z?\":/v1/{resource=projects/*/locations/*/notes/*}:getIamPolicy:\x01*ZE\"@/v1/{resource=projects/*/locations/*/occurrences/*}:getIamPolicy:\x01*\x12\x98\x03\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xac\x02\xda\x41\x14resource,permissions\x82\xd3\xe4\x93\x02\x8e\x02\"4/v1/{resource=projects/*/notes/*}:testIamPermissions:\x01*Z?\":/v1/{resource=projects/*/occurrences/*}:testIamPermissions:\x01*ZE\"@/v1/{resource=projects/*/locations/*/notes/*}:testIamPermissions:\x01*ZK\"F/v1/{resource=projects/*/locations/*/occurrences/*}:testIamPermissions:\x01*\x12\xd8\x02\n\"GetVulnerabilityOccurrencesSummary\x12O.google.devtools.containeranalysis.v1.GetVulnerabilityOccurrencesSummaryRequest\x1a\x45.google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary\"\x99\x01\xda\x41\rparent,filter\x82\xd3\xe4\x93\x02\x82\x01\x12\x38/v1/{parent=projects/*}/occurrences:vulnerabilitySummaryZF\x12\x44/v1/{parent=projects/*/locations/*}/occurrences:vulnerabilitySummary\x12\xf9\x01\n\nExportSBOM\x12\x37.google.devtools.containeranalysis.v1.ExportSBOMRequest\x1a\x38.google.devtools.containeranalysis.v1.ExportSBOMResponse\"x\x82\xd3\xe4\x93\x02r\"-/v1/{name=projects/*/resources/**}:exportSBOM:\x01*Z>\"9/v1/{name=projects/*/locations/*/resources/**}:exportSBOM:\x01*\x1aT\xca\x41 containeranalysis.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf6\x01\n\x1f\x63om.google.containeranalysis.v1P\x01ZScloud.google.com/go/containeranalysis/apiv1/containeranalysispb;containeranalysispb\xa2\x02\x03GCA\xaa\x02*Google.Cloud.DevTools.ContainerAnalysis.V1\xca\x02!Google\\Cloud\\ContainerAnalysis\\V1\xea\x02$Google::Cloud::ContainerAnalysis::V1b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Google
  module Cloud
    module ContainerAnalysis
      module V1
        ExportSBOMRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.containeranalysis.v1.ExportSBOMRequest").msgclass
        ExportSBOMRequest::CloudStorageLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation").msgclass
        ExportSBOMResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.containeranalysis.v1.ExportSBOMResponse").msgclass
        GetVulnerabilityOccurrencesSummaryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.containeranalysis.v1.GetVulnerabilityOccurrencesSummaryRequest").msgclass
        VulnerabilityOccurrencesSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary").msgclass
        VulnerabilityOccurrencesSummary::FixableTotalByDigest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary.FixableTotalByDigest").msgclass
      end
    end
  end
end
