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

require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/cloud/websecurityscanner/v1beta/scan_config_error.proto", :syntax => :proto3) do
    add_message "google.cloud.websecurityscanner.v1beta.ScanConfigError" do
      optional :code, :enum, 1, "google.cloud.websecurityscanner.v1beta.ScanConfigError.Code"
      optional :field_name, :string, 2
    end
    add_enum "google.cloud.websecurityscanner.v1beta.ScanConfigError.Code" do
      value :CODE_UNSPECIFIED, 0
      value :OK, 0
      value :INTERNAL_ERROR, 1
      value :APPENGINE_API_BACKEND_ERROR, 2
      value :APPENGINE_API_NOT_ACCESSIBLE, 3
      value :APPENGINE_DEFAULT_HOST_MISSING, 4
      value :CANNOT_USE_GOOGLE_COM_ACCOUNT, 6
      value :CANNOT_USE_OWNER_ACCOUNT, 7
      value :COMPUTE_API_BACKEND_ERROR, 8
      value :COMPUTE_API_NOT_ACCESSIBLE, 9
      value :CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT, 10
      value :CUSTOM_LOGIN_URL_MALFORMED, 11
      value :CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS, 12
      value :CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS, 13
      value :CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS, 14
      value :CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS, 15
      value :DUPLICATE_SCAN_NAME, 16
      value :INVALID_FIELD_VALUE, 18
      value :FAILED_TO_AUTHENTICATE_TO_TARGET, 19
      value :FINDING_TYPE_UNSPECIFIED, 20
      value :FORBIDDEN_TO_SCAN_COMPUTE, 21
      value :FORBIDDEN_UPDATE_TO_MANAGED_SCAN, 43
      value :MALFORMED_FILTER, 22
      value :MALFORMED_RESOURCE_NAME, 23
      value :PROJECT_INACTIVE, 24
      value :REQUIRED_FIELD, 25
      value :RESOURCE_NAME_INCONSISTENT, 26
      value :SCAN_ALREADY_RUNNING, 27
      value :SCAN_NOT_RUNNING, 28
      value :SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT, 29
      value :SEED_URL_MALFORMED, 30
      value :SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS, 31
      value :SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS, 32
      value :SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS, 33
      value :SEED_URL_HAS_UNRESERVED_IP_ADDRESS, 35
      value :SERVICE_ACCOUNT_NOT_CONFIGURED, 36
      value :TOO_MANY_SCANS, 37
      value :UNABLE_TO_RESOLVE_PROJECT_INFO, 38
      value :UNSUPPORTED_BLACKLIST_PATTERN_FORMAT, 39
      value :UNSUPPORTED_FILTER, 40
      value :UNSUPPORTED_FINDING_TYPE, 41
      value :UNSUPPORTED_URL_SCHEME, 42
    end
  end
end

module Google
  module Cloud
    module WebSecurityScanner
      module V1beta
        ScanConfigError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1beta.ScanConfigError").msgclass
        ScanConfigError::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.websecurityscanner.v1beta.ScanConfigError.Code").enummodule
      end
    end
  end
end
