# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/websecurityscanner/v1alpha/web_security_scanner.proto

require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/cloud/websecurityscanner/v1alpha/crawled_url_pb'
require 'google/cloud/websecurityscanner/v1alpha/finding_pb'
require 'google/cloud/websecurityscanner/v1alpha/finding_type_stats_pb'
require 'google/cloud/websecurityscanner/v1alpha/scan_config_pb'
require 'google/cloud/websecurityscanner/v1alpha/scan_run_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/field_mask_pb'
require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/cloud/websecurityscanner/v1alpha/web_security_scanner.proto", :syntax => :proto3) do
    add_message "google.cloud.websecurityscanner.v1alpha.CreateScanConfigRequest" do
      optional :parent, :string, 1
      optional :scan_config, :message, 2, "google.cloud.websecurityscanner.v1alpha.ScanConfig"
    end
    add_message "google.cloud.websecurityscanner.v1alpha.DeleteScanConfigRequest" do
      optional :name, :string, 1
    end
    add_message "google.cloud.websecurityscanner.v1alpha.GetScanConfigRequest" do
      optional :name, :string, 1
    end
    add_message "google.cloud.websecurityscanner.v1alpha.ListScanConfigsRequest" do
      optional :parent, :string, 1
      optional :page_token, :string, 2
      optional :page_size, :int32, 3
    end
    add_message "google.cloud.websecurityscanner.v1alpha.UpdateScanConfigRequest" do
      optional :scan_config, :message, 2, "google.cloud.websecurityscanner.v1alpha.ScanConfig"
      optional :update_mask, :message, 3, "google.protobuf.FieldMask"
    end
    add_message "google.cloud.websecurityscanner.v1alpha.ListScanConfigsResponse" do
      repeated :scan_configs, :message, 1, "google.cloud.websecurityscanner.v1alpha.ScanConfig"
      optional :next_page_token, :string, 2
    end
    add_message "google.cloud.websecurityscanner.v1alpha.StartScanRunRequest" do
      optional :name, :string, 1
    end
    add_message "google.cloud.websecurityscanner.v1alpha.GetScanRunRequest" do
      optional :name, :string, 1
    end
    add_message "google.cloud.websecurityscanner.v1alpha.ListScanRunsRequest" do
      optional :parent, :string, 1
      optional :page_token, :string, 2
      optional :page_size, :int32, 3
    end
    add_message "google.cloud.websecurityscanner.v1alpha.ListScanRunsResponse" do
      repeated :scan_runs, :message, 1, "google.cloud.websecurityscanner.v1alpha.ScanRun"
      optional :next_page_token, :string, 2
    end
    add_message "google.cloud.websecurityscanner.v1alpha.StopScanRunRequest" do
      optional :name, :string, 1
    end
    add_message "google.cloud.websecurityscanner.v1alpha.ListCrawledUrlsRequest" do
      optional :parent, :string, 1
      optional :page_token, :string, 2
      optional :page_size, :int32, 3
    end
    add_message "google.cloud.websecurityscanner.v1alpha.ListCrawledUrlsResponse" do
      repeated :crawled_urls, :message, 1, "google.cloud.websecurityscanner.v1alpha.CrawledUrl"
      optional :next_page_token, :string, 2
    end
    add_message "google.cloud.websecurityscanner.v1alpha.GetFindingRequest" do
      optional :name, :string, 1
    end
    add_message "google.cloud.websecurityscanner.v1alpha.ListFindingsRequest" do
      optional :parent, :string, 1
      optional :filter, :string, 2
      optional :page_token, :string, 3
      optional :page_size, :int32, 4
    end
    add_message "google.cloud.websecurityscanner.v1alpha.ListFindingsResponse" do
      repeated :findings, :message, 1, "google.cloud.websecurityscanner.v1alpha.Finding"
      optional :next_page_token, :string, 2
    end
    add_message "google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsRequest" do
      optional :parent, :string, 1
    end
    add_message "google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsResponse" do
      repeated :finding_type_stats, :message, 1, "google.cloud.websecurityscanner.v1alpha.FindingTypeStats"
    end
  end
end

module Google
  module Cloud
    module Websecurityscanner
      module V1alpha
        CreateScanConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1alpha.CreateScanConfigRequest").msgclass
        DeleteScanConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1alpha.DeleteScanConfigRequest").msgclass
        GetScanConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1alpha.GetScanConfigRequest").msgclass
        ListScanConfigsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1alpha.ListScanConfigsRequest").msgclass
        UpdateScanConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1alpha.UpdateScanConfigRequest").msgclass
        ListScanConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1alpha.ListScanConfigsResponse").msgclass
        StartScanRunRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1alpha.StartScanRunRequest").msgclass
        GetScanRunRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1alpha.GetScanRunRequest").msgclass
        ListScanRunsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1alpha.ListScanRunsRequest").msgclass
        ListScanRunsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1alpha.ListScanRunsResponse").msgclass
        StopScanRunRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1alpha.StopScanRunRequest").msgclass
        ListCrawledUrlsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1alpha.ListCrawledUrlsRequest").msgclass
        ListCrawledUrlsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1alpha.ListCrawledUrlsResponse").msgclass
        GetFindingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1alpha.GetFindingRequest").msgclass
        ListFindingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1alpha.ListFindingsRequest").msgclass
        ListFindingsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1alpha.ListFindingsResponse").msgclass
        ListFindingTypeStatsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsRequest").msgclass
        ListFindingTypeStatsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsResponse").msgclass
      end
    end
  end
end
