1// Copyright 2019 Google LLC. 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 16// Code generated by protoc-gen-go. DO NOT EDIT. 17// versions: 18// protoc-gen-go v1.22.0 19// protoc v3.11.2 20// source: google/cloud/websecurityscanner/v1beta/scan_config_error.proto 21 22package websecurityscanner 23 24import ( 25 reflect "reflect" 26 sync "sync" 27 28 proto "github.com/golang/protobuf/proto" 29 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 30 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 31) 32 33const ( 34 // Verify that this generated code is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 36 // Verify that runtime/protoimpl is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 38) 39 40// This is a compile-time assertion that a sufficiently up-to-date version 41// of the legacy proto package is being used. 42const _ = proto.ProtoPackageIsVersion4 43 44// Output only. 45// Defines an error reason code. 46// Next id: 44 47type ScanConfigError_Code int32 48 49const ( 50 // There is no error. 51 ScanConfigError_CODE_UNSPECIFIED ScanConfigError_Code = 0 52 // There is no error. 53 ScanConfigError_OK ScanConfigError_Code = 0 54 // Indicates an internal server error. 55 // Please DO NOT USE THIS ERROR CODE unless the root cause is truly unknown. 56 ScanConfigError_INTERNAL_ERROR ScanConfigError_Code = 1 57 // One of the seed URLs is an App Engine URL but we cannot validate the scan 58 // settings due to an App Engine API backend error. 59 ScanConfigError_APPENGINE_API_BACKEND_ERROR ScanConfigError_Code = 2 60 // One of the seed URLs is an App Engine URL but we cannot access the 61 // App Engine API to validate scan settings. 62 ScanConfigError_APPENGINE_API_NOT_ACCESSIBLE ScanConfigError_Code = 3 63 // One of the seed URLs is an App Engine URL but the Default Host of the 64 // App Engine is not set. 65 ScanConfigError_APPENGINE_DEFAULT_HOST_MISSING ScanConfigError_Code = 4 66 // Google corporate accounts can not be used for scanning. 67 ScanConfigError_CANNOT_USE_GOOGLE_COM_ACCOUNT ScanConfigError_Code = 6 68 // The account of the scan creator can not be used for scanning. 69 ScanConfigError_CANNOT_USE_OWNER_ACCOUNT ScanConfigError_Code = 7 70 // This scan targets Compute Engine, but we cannot validate scan settings 71 // due to a Compute Engine API backend error. 72 ScanConfigError_COMPUTE_API_BACKEND_ERROR ScanConfigError_Code = 8 73 // This scan targets Compute Engine, but we cannot access the Compute Engine 74 // API to validate the scan settings. 75 ScanConfigError_COMPUTE_API_NOT_ACCESSIBLE ScanConfigError_Code = 9 76 // The Custom Login URL does not belong to the current project. 77 ScanConfigError_CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT ScanConfigError_Code = 10 78 // The Custom Login URL is malformed (can not be parsed). 79 ScanConfigError_CUSTOM_LOGIN_URL_MALFORMED ScanConfigError_Code = 11 80 // The Custom Login URL is mapped to a non-routable IP address in DNS. 81 ScanConfigError_CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS ScanConfigError_Code = 12 82 // The Custom Login URL is mapped to an IP address which is not reserved for 83 // the current project. 84 ScanConfigError_CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS ScanConfigError_Code = 13 85 // The Custom Login URL has a non-routable IP address. 86 ScanConfigError_CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS ScanConfigError_Code = 14 87 // The Custom Login URL has an IP address which is not reserved for the 88 // current project. 89 ScanConfigError_CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS ScanConfigError_Code = 15 90 // Another scan with the same name (case-sensitive) already exists. 91 ScanConfigError_DUPLICATE_SCAN_NAME ScanConfigError_Code = 16 92 // A field is set to an invalid value. 93 ScanConfigError_INVALID_FIELD_VALUE ScanConfigError_Code = 18 94 // There was an error trying to authenticate to the scan target. 95 ScanConfigError_FAILED_TO_AUTHENTICATE_TO_TARGET ScanConfigError_Code = 19 96 // Finding type value is not specified in the list findings request. 97 ScanConfigError_FINDING_TYPE_UNSPECIFIED ScanConfigError_Code = 20 98 // Scan targets Compute Engine, yet current project was not whitelisted for 99 // Google Compute Engine Scanning Alpha access. 100 ScanConfigError_FORBIDDEN_TO_SCAN_COMPUTE ScanConfigError_Code = 21 101 // User tries to update managed scan 102 ScanConfigError_FORBIDDEN_UPDATE_TO_MANAGED_SCAN ScanConfigError_Code = 43 103 // The supplied filter is malformed. For example, it can not be parsed, does 104 // not have a filter type in expression, or the same filter type appears 105 // more than once. 106 ScanConfigError_MALFORMED_FILTER ScanConfigError_Code = 22 107 // The supplied resource name is malformed (can not be parsed). 108 ScanConfigError_MALFORMED_RESOURCE_NAME ScanConfigError_Code = 23 109 // The current project is not in an active state. 110 ScanConfigError_PROJECT_INACTIVE ScanConfigError_Code = 24 111 // A required field is not set. 112 ScanConfigError_REQUIRED_FIELD ScanConfigError_Code = 25 113 // Project id, scanconfig id, scanrun id, or finding id are not consistent 114 // with each other in resource name. 115 ScanConfigError_RESOURCE_NAME_INCONSISTENT ScanConfigError_Code = 26 116 // The scan being requested to start is already running. 117 ScanConfigError_SCAN_ALREADY_RUNNING ScanConfigError_Code = 27 118 // The scan that was requested to be stopped is not running. 119 ScanConfigError_SCAN_NOT_RUNNING ScanConfigError_Code = 28 120 // One of the seed URLs does not belong to the current project. 121 ScanConfigError_SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT ScanConfigError_Code = 29 122 // One of the seed URLs is malformed (can not be parsed). 123 ScanConfigError_SEED_URL_MALFORMED ScanConfigError_Code = 30 124 // One of the seed URLs is mapped to a non-routable IP address in DNS. 125 ScanConfigError_SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS ScanConfigError_Code = 31 126 // One of the seed URLs is mapped to an IP address which is not reserved 127 // for the current project. 128 ScanConfigError_SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS ScanConfigError_Code = 32 129 // One of the seed URLs has on-routable IP address. 130 ScanConfigError_SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS ScanConfigError_Code = 33 131 // One of the seed URLs has an IP address that is not reserved 132 // for the current project. 133 ScanConfigError_SEED_URL_HAS_UNRESERVED_IP_ADDRESS ScanConfigError_Code = 35 134 // The Cloud Security Scanner service account is not configured under the 135 // project. 136 ScanConfigError_SERVICE_ACCOUNT_NOT_CONFIGURED ScanConfigError_Code = 36 137 // A project has reached the maximum number of scans. 138 ScanConfigError_TOO_MANY_SCANS ScanConfigError_Code = 37 139 // Resolving the details of the current project fails. 140 ScanConfigError_UNABLE_TO_RESOLVE_PROJECT_INFO ScanConfigError_Code = 38 141 // One or more blacklist patterns were in the wrong format. 142 ScanConfigError_UNSUPPORTED_BLACKLIST_PATTERN_FORMAT ScanConfigError_Code = 39 143 // The supplied filter is not supported. 144 ScanConfigError_UNSUPPORTED_FILTER ScanConfigError_Code = 40 145 // The supplied finding type is not supported. For example, we do not 146 // provide findings of the given finding type. 147 ScanConfigError_UNSUPPORTED_FINDING_TYPE ScanConfigError_Code = 41 148 // The URL scheme of one or more of the supplied URLs is not supported. 149 ScanConfigError_UNSUPPORTED_URL_SCHEME ScanConfigError_Code = 42 150) 151 152// Enum value maps for ScanConfigError_Code. 153var ( 154 ScanConfigError_Code_name = map[int32]string{ 155 0: "CODE_UNSPECIFIED", 156 // Duplicate value: 0: "OK", 157 1: "INTERNAL_ERROR", 158 2: "APPENGINE_API_BACKEND_ERROR", 159 3: "APPENGINE_API_NOT_ACCESSIBLE", 160 4: "APPENGINE_DEFAULT_HOST_MISSING", 161 6: "CANNOT_USE_GOOGLE_COM_ACCOUNT", 162 7: "CANNOT_USE_OWNER_ACCOUNT", 163 8: "COMPUTE_API_BACKEND_ERROR", 164 9: "COMPUTE_API_NOT_ACCESSIBLE", 165 10: "CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT", 166 11: "CUSTOM_LOGIN_URL_MALFORMED", 167 12: "CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS", 168 13: "CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS", 169 14: "CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS", 170 15: "CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS", 171 16: "DUPLICATE_SCAN_NAME", 172 18: "INVALID_FIELD_VALUE", 173 19: "FAILED_TO_AUTHENTICATE_TO_TARGET", 174 20: "FINDING_TYPE_UNSPECIFIED", 175 21: "FORBIDDEN_TO_SCAN_COMPUTE", 176 43: "FORBIDDEN_UPDATE_TO_MANAGED_SCAN", 177 22: "MALFORMED_FILTER", 178 23: "MALFORMED_RESOURCE_NAME", 179 24: "PROJECT_INACTIVE", 180 25: "REQUIRED_FIELD", 181 26: "RESOURCE_NAME_INCONSISTENT", 182 27: "SCAN_ALREADY_RUNNING", 183 28: "SCAN_NOT_RUNNING", 184 29: "SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT", 185 30: "SEED_URL_MALFORMED", 186 31: "SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS", 187 32: "SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS", 188 33: "SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS", 189 35: "SEED_URL_HAS_UNRESERVED_IP_ADDRESS", 190 36: "SERVICE_ACCOUNT_NOT_CONFIGURED", 191 37: "TOO_MANY_SCANS", 192 38: "UNABLE_TO_RESOLVE_PROJECT_INFO", 193 39: "UNSUPPORTED_BLACKLIST_PATTERN_FORMAT", 194 40: "UNSUPPORTED_FILTER", 195 41: "UNSUPPORTED_FINDING_TYPE", 196 42: "UNSUPPORTED_URL_SCHEME", 197 } 198 ScanConfigError_Code_value = map[string]int32{ 199 "CODE_UNSPECIFIED": 0, 200 "OK": 0, 201 "INTERNAL_ERROR": 1, 202 "APPENGINE_API_BACKEND_ERROR": 2, 203 "APPENGINE_API_NOT_ACCESSIBLE": 3, 204 "APPENGINE_DEFAULT_HOST_MISSING": 4, 205 "CANNOT_USE_GOOGLE_COM_ACCOUNT": 6, 206 "CANNOT_USE_OWNER_ACCOUNT": 7, 207 "COMPUTE_API_BACKEND_ERROR": 8, 208 "COMPUTE_API_NOT_ACCESSIBLE": 9, 209 "CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT": 10, 210 "CUSTOM_LOGIN_URL_MALFORMED": 11, 211 "CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS": 12, 212 "CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS": 13, 213 "CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS": 14, 214 "CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS": 15, 215 "DUPLICATE_SCAN_NAME": 16, 216 "INVALID_FIELD_VALUE": 18, 217 "FAILED_TO_AUTHENTICATE_TO_TARGET": 19, 218 "FINDING_TYPE_UNSPECIFIED": 20, 219 "FORBIDDEN_TO_SCAN_COMPUTE": 21, 220 "FORBIDDEN_UPDATE_TO_MANAGED_SCAN": 43, 221 "MALFORMED_FILTER": 22, 222 "MALFORMED_RESOURCE_NAME": 23, 223 "PROJECT_INACTIVE": 24, 224 "REQUIRED_FIELD": 25, 225 "RESOURCE_NAME_INCONSISTENT": 26, 226 "SCAN_ALREADY_RUNNING": 27, 227 "SCAN_NOT_RUNNING": 28, 228 "SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT": 29, 229 "SEED_URL_MALFORMED": 30, 230 "SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS": 31, 231 "SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS": 32, 232 "SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS": 33, 233 "SEED_URL_HAS_UNRESERVED_IP_ADDRESS": 35, 234 "SERVICE_ACCOUNT_NOT_CONFIGURED": 36, 235 "TOO_MANY_SCANS": 37, 236 "UNABLE_TO_RESOLVE_PROJECT_INFO": 38, 237 "UNSUPPORTED_BLACKLIST_PATTERN_FORMAT": 39, 238 "UNSUPPORTED_FILTER": 40, 239 "UNSUPPORTED_FINDING_TYPE": 41, 240 "UNSUPPORTED_URL_SCHEME": 42, 241 } 242) 243 244func (x ScanConfigError_Code) Enum() *ScanConfigError_Code { 245 p := new(ScanConfigError_Code) 246 *p = x 247 return p 248} 249 250func (x ScanConfigError_Code) String() string { 251 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 252} 253 254func (ScanConfigError_Code) Descriptor() protoreflect.EnumDescriptor { 255 return file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_enumTypes[0].Descriptor() 256} 257 258func (ScanConfigError_Code) Type() protoreflect.EnumType { 259 return &file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_enumTypes[0] 260} 261 262func (x ScanConfigError_Code) Number() protoreflect.EnumNumber { 263 return protoreflect.EnumNumber(x) 264} 265 266// Deprecated: Use ScanConfigError_Code.Descriptor instead. 267func (ScanConfigError_Code) EnumDescriptor() ([]byte, []int) { 268 return file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_rawDescGZIP(), []int{0, 0} 269} 270 271// Defines a custom error message used by CreateScanConfig and UpdateScanConfig 272// APIs when scan configuration validation fails. It is also reported as part of 273// a ScanRunErrorTrace message if scan validation fails due to a scan 274// configuration error. 275type ScanConfigError struct { 276 state protoimpl.MessageState 277 sizeCache protoimpl.SizeCache 278 unknownFields protoimpl.UnknownFields 279 280 // Indicates the reason code for a configuration failure. 281 Code ScanConfigError_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanConfigError_Code" json:"code,omitempty"` 282 // Indicates the full name of the ScanConfig field that triggers this error, 283 // for example "scan_config.max_qps". This field is provided for 284 // troubleshooting purposes only and its actual value can change in the 285 // future. 286 FieldName string `protobuf:"bytes,2,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` 287} 288 289func (x *ScanConfigError) Reset() { 290 *x = ScanConfigError{} 291 if protoimpl.UnsafeEnabled { 292 mi := &file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_msgTypes[0] 293 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 294 ms.StoreMessageInfo(mi) 295 } 296} 297 298func (x *ScanConfigError) String() string { 299 return protoimpl.X.MessageStringOf(x) 300} 301 302func (*ScanConfigError) ProtoMessage() {} 303 304func (x *ScanConfigError) ProtoReflect() protoreflect.Message { 305 mi := &file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_msgTypes[0] 306 if protoimpl.UnsafeEnabled && x != nil { 307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 308 if ms.LoadMessageInfo() == nil { 309 ms.StoreMessageInfo(mi) 310 } 311 return ms 312 } 313 return mi.MessageOf(x) 314} 315 316// Deprecated: Use ScanConfigError.ProtoReflect.Descriptor instead. 317func (*ScanConfigError) Descriptor() ([]byte, []int) { 318 return file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_rawDescGZIP(), []int{0} 319} 320 321func (x *ScanConfigError) GetCode() ScanConfigError_Code { 322 if x != nil { 323 return x.Code 324 } 325 return ScanConfigError_CODE_UNSPECIFIED 326} 327 328func (x *ScanConfigError) GetFieldName() string { 329 if x != nil { 330 return x.FieldName 331 } 332 return "" 333} 334 335var File_google_cloud_websecurityscanner_v1beta_scan_config_error_proto protoreflect.FileDescriptor 336 337var file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_rawDesc = []byte{ 338 0x0a, 0x3e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77, 339 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 340 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x63, 0x6f, 341 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 342 0x12, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 343 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 344 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x22, 0xfe, 0x0b, 0x0a, 0x0f, 0x53, 0x63, 0x61, 345 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x50, 0x0a, 0x04, 346 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 347 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 348 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 349 0x65, 0x74, 0x61, 0x2e, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x72, 350 0x72, 0x6f, 0x72, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 351 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 352 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xf9, 0x0a, 353 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55, 354 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 355 0x4f, 0x4b, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 356 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x50, 0x50, 0x45, 357 0x4e, 0x47, 0x49, 0x4e, 0x45, 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x45, 0x4e, 358 0x44, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x20, 0x0a, 0x1c, 0x41, 0x50, 0x50, 359 0x45, 0x4e, 0x47, 0x49, 0x4e, 0x45, 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 360 0x43, 0x43, 0x45, 0x53, 0x53, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x22, 0x0a, 0x1e, 0x41, 361 0x50, 0x50, 0x45, 0x4e, 0x47, 0x49, 0x4e, 0x45, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 362 0x5f, 0x48, 0x4f, 0x53, 0x54, 0x5f, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 363 0x21, 0x0a, 0x1d, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x47, 0x4f, 364 0x4f, 0x47, 0x4c, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 365 0x10, 0x06, 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x53, 0x45, 366 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x07, 367 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x50, 0x49, 0x5f, 368 0x42, 0x41, 0x43, 0x4b, 0x45, 0x4e, 0x44, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x08, 0x12, 369 0x1e, 0x0a, 0x1a, 0x43, 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x4e, 370 0x4f, 0x54, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x09, 0x12, 371 0x37, 0x0a, 0x33, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x4c, 0x4f, 0x47, 0x49, 0x4e, 0x5f, 372 0x55, 0x52, 0x4c, 0x5f, 0x44, 0x4f, 0x45, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x42, 0x45, 0x4c, 373 0x4f, 0x4e, 0x47, 0x5f, 0x54, 0x4f, 0x5f, 0x43, 0x55, 0x52, 0x52, 0x45, 0x4e, 0x54, 0x5f, 0x50, 374 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x0a, 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x55, 0x53, 0x54, 375 0x4f, 0x4d, 0x5f, 0x4c, 0x4f, 0x47, 0x49, 0x4e, 0x5f, 0x55, 0x52, 0x4c, 0x5f, 0x4d, 0x41, 0x4c, 376 0x46, 0x4f, 0x52, 0x4d, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x33, 0x0a, 0x2f, 0x43, 0x55, 0x53, 0x54, 377 0x4f, 0x4d, 0x5f, 0x4c, 0x4f, 0x47, 0x49, 0x4e, 0x5f, 0x55, 0x52, 0x4c, 0x5f, 0x4d, 0x41, 0x50, 378 0x50, 0x45, 0x44, 0x5f, 0x54, 0x4f, 0x5f, 0x4e, 0x4f, 0x4e, 0x5f, 0x52, 0x4f, 0x55, 0x54, 0x41, 379 0x42, 0x4c, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x10, 0x0c, 0x12, 0x31, 0x0a, 380 0x2d, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x4c, 0x4f, 0x47, 0x49, 0x4e, 0x5f, 0x55, 0x52, 381 0x4c, 0x5f, 0x4d, 0x41, 0x50, 0x50, 0x45, 0x44, 0x5f, 0x54, 0x4f, 0x5f, 0x55, 0x4e, 0x52, 0x45, 382 0x53, 0x45, 0x52, 0x56, 0x45, 0x44, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x10, 0x0d, 383 0x12, 0x30, 0x0a, 0x2c, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x4c, 0x4f, 0x47, 0x49, 0x4e, 384 0x5f, 0x55, 0x52, 0x4c, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x4e, 0x4f, 0x4e, 0x5f, 0x52, 0x4f, 0x55, 385 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x49, 0x50, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 386 0x10, 0x0e, 0x12, 0x2e, 0x0a, 0x2a, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x4c, 0x4f, 0x47, 387 0x49, 0x4e, 0x5f, 0x55, 0x52, 0x4c, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x55, 0x4e, 0x52, 0x45, 0x53, 388 0x45, 0x52, 0x56, 0x45, 0x44, 0x5f, 0x49, 0x50, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 389 0x10, 0x0f, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x5f, 390 0x53, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x10, 0x12, 0x17, 0x0a, 0x13, 0x49, 391 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x56, 0x41, 0x4c, 392 0x55, 0x45, 0x10, 0x12, 0x12, 0x24, 0x0a, 0x20, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x54, 393 0x4f, 0x5f, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x45, 0x5f, 0x54, 394 0x4f, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x10, 0x13, 0x12, 0x1c, 0x0a, 0x18, 0x46, 0x49, 395 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 396 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x14, 0x12, 0x1d, 0x0a, 0x19, 0x46, 0x4f, 0x52, 0x42, 397 0x49, 0x44, 0x44, 0x45, 0x4e, 0x5f, 0x54, 0x4f, 0x5f, 0x53, 0x43, 0x41, 0x4e, 0x5f, 0x43, 0x4f, 398 0x4d, 0x50, 0x55, 0x54, 0x45, 0x10, 0x15, 0x12, 0x24, 0x0a, 0x20, 0x46, 0x4f, 0x52, 0x42, 0x49, 399 0x44, 0x44, 0x45, 0x4e, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x4f, 0x5f, 0x4d, 400 0x41, 0x4e, 0x41, 0x47, 0x45, 0x44, 0x5f, 0x53, 0x43, 0x41, 0x4e, 0x10, 0x2b, 0x12, 0x14, 0x0a, 401 0x10, 0x4d, 0x41, 0x4c, 0x46, 0x4f, 0x52, 0x4d, 0x45, 0x44, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, 402 0x52, 0x10, 0x16, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x41, 0x4c, 0x46, 0x4f, 0x52, 0x4d, 0x45, 0x44, 403 0x5f, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x17, 404 0x12, 0x14, 0x0a, 0x10, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x49, 0x4e, 0x41, 0x43, 405 0x54, 0x49, 0x56, 0x45, 0x10, 0x18, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 406 0x45, 0x44, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x19, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x45, 407 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x5f, 0x49, 0x4e, 0x43, 0x4f, 408 0x4e, 0x53, 0x49, 0x53, 0x54, 0x45, 0x4e, 0x54, 0x10, 0x1a, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x43, 409 0x41, 0x4e, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 410 0x4e, 0x47, 0x10, 0x1b, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 411 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x1c, 0x12, 0x2f, 0x0a, 0x2b, 0x53, 0x45, 412 0x45, 0x44, 0x5f, 0x55, 0x52, 0x4c, 0x5f, 0x44, 0x4f, 0x45, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 413 0x42, 0x45, 0x4c, 0x4f, 0x4e, 0x47, 0x5f, 0x54, 0x4f, 0x5f, 0x43, 0x55, 0x52, 0x52, 0x45, 0x4e, 414 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x1d, 0x12, 0x16, 0x0a, 0x12, 0x53, 415 0x45, 0x45, 0x44, 0x5f, 0x55, 0x52, 0x4c, 0x5f, 0x4d, 0x41, 0x4c, 0x46, 0x4f, 0x52, 0x4d, 0x45, 416 0x44, 0x10, 0x1e, 0x12, 0x2b, 0x0a, 0x27, 0x53, 0x45, 0x45, 0x44, 0x5f, 0x55, 0x52, 0x4c, 0x5f, 417 0x4d, 0x41, 0x50, 0x50, 0x45, 0x44, 0x5f, 0x54, 0x4f, 0x5f, 0x4e, 0x4f, 0x4e, 0x5f, 0x52, 0x4f, 418 0x55, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x10, 0x1f, 419 0x12, 0x29, 0x0a, 0x25, 0x53, 0x45, 0x45, 0x44, 0x5f, 0x55, 0x52, 0x4c, 0x5f, 0x4d, 0x41, 0x50, 420 0x50, 0x45, 0x44, 0x5f, 0x54, 0x4f, 0x5f, 0x55, 0x4e, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x45, 421 0x44, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x10, 0x20, 0x12, 0x28, 0x0a, 0x24, 0x53, 422 0x45, 0x45, 0x44, 0x5f, 0x55, 0x52, 0x4c, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x4e, 0x4f, 0x4e, 0x5f, 423 0x52, 0x4f, 0x55, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x49, 0x50, 0x5f, 0x41, 0x44, 0x44, 0x52, 424 0x45, 0x53, 0x53, 0x10, 0x21, 0x12, 0x26, 0x0a, 0x22, 0x53, 0x45, 0x45, 0x44, 0x5f, 0x55, 0x52, 425 0x4c, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x55, 0x4e, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x45, 0x44, 426 0x5f, 0x49, 0x50, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x10, 0x23, 0x12, 0x22, 0x0a, 427 0x1e, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 428 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x55, 0x52, 0x45, 0x44, 0x10, 429 0x24, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x4f, 0x4f, 0x5f, 0x4d, 0x41, 0x4e, 0x59, 0x5f, 0x53, 0x43, 430 0x41, 0x4e, 0x53, 0x10, 0x25, 0x12, 0x22, 0x0a, 0x1e, 0x55, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x5f, 431 0x54, 0x4f, 0x5f, 0x52, 0x45, 0x53, 0x4f, 0x4c, 0x56, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 432 0x43, 0x54, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x26, 0x12, 0x28, 0x0a, 0x24, 0x55, 0x4e, 0x53, 433 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x5f, 0x42, 0x4c, 0x41, 0x43, 0x4b, 0x4c, 0x49, 434 0x53, 0x54, 0x5f, 0x50, 0x41, 0x54, 0x54, 0x45, 0x52, 0x4e, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 435 0x54, 0x10, 0x27, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x4e, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 436 0x45, 0x44, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x10, 0x28, 0x12, 0x1c, 0x0a, 0x18, 0x55, 437 0x4e, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x5f, 0x46, 0x49, 0x4e, 0x44, 0x49, 438 0x4e, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x29, 0x12, 0x1a, 0x0a, 0x16, 0x55, 0x4e, 0x53, 439 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x5f, 0x55, 0x52, 0x4c, 0x5f, 0x53, 0x43, 0x48, 440 0x45, 0x4d, 0x45, 0x10, 0x2a, 0x1a, 0x02, 0x10, 0x01, 0x42, 0xc7, 0x01, 0x0a, 0x2a, 0x63, 0x6f, 441 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 442 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 443 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x14, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 444 0x6e, 0x66, 0x69, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 445 0x5a, 0x58, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 446 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 447 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77, 0x65, 448 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 449 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 450 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0xca, 0x02, 0x26, 0x47, 0x6f, 0x6f, 451 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x57, 0x65, 0x62, 0x53, 0x65, 0x63, 452 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 453 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 454} 455 456var ( 457 file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_rawDescOnce sync.Once 458 file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_rawDescData = file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_rawDesc 459) 460 461func file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_rawDescGZIP() []byte { 462 file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_rawDescOnce.Do(func() { 463 file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_rawDescData) 464 }) 465 return file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_rawDescData 466} 467 468var file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 469var file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 470var file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_goTypes = []interface{}{ 471 (ScanConfigError_Code)(0), // 0: google.cloud.websecurityscanner.v1beta.ScanConfigError.Code 472 (*ScanConfigError)(nil), // 1: google.cloud.websecurityscanner.v1beta.ScanConfigError 473} 474var file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_depIdxs = []int32{ 475 0, // 0: google.cloud.websecurityscanner.v1beta.ScanConfigError.code:type_name -> google.cloud.websecurityscanner.v1beta.ScanConfigError.Code 476 1, // [1:1] is the sub-list for method output_type 477 1, // [1:1] is the sub-list for method input_type 478 1, // [1:1] is the sub-list for extension type_name 479 1, // [1:1] is the sub-list for extension extendee 480 0, // [0:1] is the sub-list for field type_name 481} 482 483func init() { file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_init() } 484func file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_init() { 485 if File_google_cloud_websecurityscanner_v1beta_scan_config_error_proto != nil { 486 return 487 } 488 if !protoimpl.UnsafeEnabled { 489 file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 490 switch v := v.(*ScanConfigError); i { 491 case 0: 492 return &v.state 493 case 1: 494 return &v.sizeCache 495 case 2: 496 return &v.unknownFields 497 default: 498 return nil 499 } 500 } 501 } 502 type x struct{} 503 out := protoimpl.TypeBuilder{ 504 File: protoimpl.DescBuilder{ 505 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 506 RawDescriptor: file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_rawDesc, 507 NumEnums: 1, 508 NumMessages: 1, 509 NumExtensions: 0, 510 NumServices: 0, 511 }, 512 GoTypes: file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_goTypes, 513 DependencyIndexes: file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_depIdxs, 514 EnumInfos: file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_enumTypes, 515 MessageInfos: file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_msgTypes, 516 }.Build() 517 File_google_cloud_websecurityscanner_v1beta_scan_config_error_proto = out.File 518 file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_rawDesc = nil 519 file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_goTypes = nil 520 file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_depIdxs = nil 521} 522