| 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.26.0 |
| 19 |
// protoc v3.12.2 |
| 20 |
// source: google/cloud/websecurityscanner/v1beta/scan_run_error_trace.proto |
| 21 |
|
| 22 |
package websecurityscanner |
| 23 |
|
| 24 |
import ( |
| 25 |
reflect "reflect" |
| 26 |
sync "sync" |
| 27 |
|
| 28 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 29 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 30 |
) |
| 31 |
|
| 32 |
const ( |
| 33 |
// Verify that this generated code is sufficiently up-to-date. |
| 34 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 35 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 36 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 37 |
) |
| 38 |
|
| 39 |
// Output only. |
| 40 |
// Defines an error reason code. |
| 41 |
// Next id: 7 |
| 42 |
type ScanRunErrorTrace_Code int32 |
| 43 |
|
| 44 |
const ( |
| 45 |
// Default value is never used. |
| 46 |
ScanRunErrorTrace_CODE_UNSPECIFIED ScanRunErrorTrace_Code = 0 |
| 47 |
// Indicates that the scan run failed due to an internal server error. |
| 48 |
ScanRunErrorTrace_INTERNAL_ERROR ScanRunErrorTrace_Code = 1 |
| 49 |
// Indicates a scan configuration error, usually due to outdated ScanConfig |
| 50 |
// settings, such as starting_urls or the DNS configuration. |
| 51 |
ScanRunErrorTrace_SCAN_CONFIG_ISSUE ScanRunErrorTrace_Code = 2 |
| 52 |
// Indicates an authentication error, usually due to outdated ScanConfig |
| 53 |
// authentication settings. |
| 54 |
ScanRunErrorTrace_AUTHENTICATION_CONFIG_ISSUE ScanRunErrorTrace_Code = 3 |
| 55 |
// Indicates a scan operation timeout, usually caused by a very large site. |
| 56 |
ScanRunErrorTrace_TIMED_OUT_WHILE_SCANNING ScanRunErrorTrace_Code = 4 |
| 57 |
// Indicates that a scan encountered excessive redirects, either to |
| 58 |
// authentication or some other page outside of the scan scope. |
| 59 |
ScanRunErrorTrace_TOO_MANY_REDIRECTS ScanRunErrorTrace_Code = 5 |
| 60 |
// Indicates that a scan encountered numerous errors from the web site |
| 61 |
// pages. When available, most_common_http_error_code field indicates the |
| 62 |
// most common HTTP error code encountered during the scan. |
| 63 |
ScanRunErrorTrace_TOO_MANY_HTTP_ERRORS ScanRunErrorTrace_Code = 6 |
| 64 |
) |
| 65 |
|
| 66 |
// Enum value maps for ScanRunErrorTrace_Code. |
| 67 |
var ( |
| 68 |
ScanRunErrorTrace_Code_name = map[int32]string{ |
| 69 |
0: "CODE_UNSPECIFIED", |
| 70 |
1: "INTERNAL_ERROR", |
| 71 |
2: "SCAN_CONFIG_ISSUE", |
| 72 |
3: "AUTHENTICATION_CONFIG_ISSUE", |
| 73 |
4: "TIMED_OUT_WHILE_SCANNING", |
| 74 |
5: "TOO_MANY_REDIRECTS", |
| 75 |
6: "TOO_MANY_HTTP_ERRORS", |
| 76 |
} |
| 77 |
ScanRunErrorTrace_Code_value = map[string]int32{ |
| 78 |
"CODE_UNSPECIFIED": 0, |
| 79 |
"INTERNAL_ERROR": 1, |
| 80 |
"SCAN_CONFIG_ISSUE": 2, |
| 81 |
"AUTHENTICATION_CONFIG_ISSUE": 3, |
| 82 |
"TIMED_OUT_WHILE_SCANNING": 4, |
| 83 |
"TOO_MANY_REDIRECTS": 5, |
| 84 |
"TOO_MANY_HTTP_ERRORS": 6, |
| 85 |
} |
| 86 |
) |
| 87 |
|
| 88 |
func (x ScanRunErrorTrace_Code) Enum() *ScanRunErrorTrace_Code { |
| 89 |
p := new(ScanRunErrorTrace_Code) |
| 90 |
*p = x |
| 91 |
return p |
| 92 |
} |
| 93 |
|
| 94 |
func (x ScanRunErrorTrace_Code) String() string { |
| 95 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 96 |
} |
| 97 |
|
| 98 |
func (ScanRunErrorTrace_Code) Descriptor() protoreflect.EnumDescriptor { |
| 99 |
return file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_enumTypes[0].Descriptor() |
| 100 |
} |
| 101 |
|
| 102 |
func (ScanRunErrorTrace_Code) Type() protoreflect.EnumType { |
| 103 |
return &file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_enumTypes[0] |
| 104 |
} |
| 105 |
|
| 106 |
func (x ScanRunErrorTrace_Code) Number() protoreflect.EnumNumber { |
| 107 |
return protoreflect.EnumNumber(x) |
| 108 |
} |
| 109 |
|
| 110 |
// Deprecated: Use ScanRunErrorTrace_Code.Descriptor instead. |
| 111 |
func (ScanRunErrorTrace_Code) EnumDescriptor() ([]byte, []int) { |
| 112 |
return file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_rawDescGZIP(), []int{0, 0} |
| 113 |
} |
| 114 |
|
| 115 |
// Output only. |
| 116 |
// Defines an error trace message for a ScanRun. |
| 117 |
type ScanRunErrorTrace struct { |
| 118 |
state protoimpl.MessageState |
| 119 |
sizeCache protoimpl.SizeCache |
| 120 |
unknownFields protoimpl.UnknownFields |
| 121 |
|
| 122 |
// Indicates the error reason code. |
| 123 |
Code ScanRunErrorTrace_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace_Code" json:"code,omitempty"` |
| 124 |
// If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error |
| 125 |
// message encountered during scan configuration validation that is performed |
| 126 |
// before each scan run. |
| 127 |
ScanConfigError *ScanConfigError `protobuf:"bytes,2,opt,name=scan_config_error,json=scanConfigError,proto3" json:"scan_config_error,omitempty"` |
| 128 |
// If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most |
| 129 |
// common HTTP error code, if such is available. For example, if this code is |
| 130 |
// 404, the scan has encountered too many NOT_FOUND responses. |
| 131 |
MostCommonHttpErrorCode int32 `protobuf:"varint,3,opt,name=most_common_http_error_code,json=mostCommonHttpErrorCode,proto3" json:"most_common_http_error_code,omitempty"` |
| 132 |
} |
| 133 |
|
| 134 |
func (x *ScanRunErrorTrace) Reset() { |
| 135 |
*x = ScanRunErrorTrace{} |
| 136 |
if protoimpl.UnsafeEnabled { |
| 137 |
mi := &file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_msgTypes[0] |
| 138 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 139 |
ms.StoreMessageInfo(mi) |
| 140 |
} |
| 141 |
} |
| 142 |
|
| 143 |
func (x *ScanRunErrorTrace) String() string { |
| 144 |
return protoimpl.X.MessageStringOf(x) |
| 145 |
} |
| 146 |
|
| 147 |
func (*ScanRunErrorTrace) ProtoMessage() {} |
| 148 |
|
| 149 |
func (x *ScanRunErrorTrace) ProtoReflect() protoreflect.Message { |
| 150 |
mi := &file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_msgTypes[0] |
| 151 |
if protoimpl.UnsafeEnabled && x != nil { |
| 152 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 153 |
if ms.LoadMessageInfo() == nil { |
| 154 |
ms.StoreMessageInfo(mi) |
| 155 |
} |
| 156 |
return ms |
| 157 |
} |
| 158 |
return mi.MessageOf(x) |
| 159 |
} |
| 160 |
|
| 161 |
// Deprecated: Use ScanRunErrorTrace.ProtoReflect.Descriptor instead. |
| 162 |
func (*ScanRunErrorTrace) Descriptor() ([]byte, []int) { |
| 163 |
return file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_rawDescGZIP(), []int{0} |
| 164 |
} |
| 165 |
|
| 166 |
func (x *ScanRunErrorTrace) GetCode() ScanRunErrorTrace_Code { |
| 167 |
if x != nil { |
| 168 |
return x.Code |
| 169 |
} |
| 170 |
return ScanRunErrorTrace_CODE_UNSPECIFIED |
| 171 |
} |
| 172 |
|
| 173 |
func (x *ScanRunErrorTrace) GetScanConfigError() *ScanConfigError { |
| 174 |
if x != nil { |
| 175 |
return x.ScanConfigError |
| 176 |
} |
| 177 |
return nil |
| 178 |
} |
| 179 |
|
| 180 |
func (x *ScanRunErrorTrace) GetMostCommonHttpErrorCode() int32 { |
| 181 |
if x != nil { |
| 182 |
return x.MostCommonHttpErrorCode |
| 183 |
} |
| 184 |
return 0 |
| 185 |
} |
| 186 |
|
| 187 |
var File_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto protoreflect.FileDescriptor |
| 188 |
|
| 189 |
var file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_rawDesc = []byte{ |
| 190 |
0x0a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77, |
| 191 |
0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, |
| 192 |
0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x72, 0x75, |
| 193 |
0x6e, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, |
| 194 |
0x6f, 0x74, 0x6f, 0x12, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 195 |
0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, |
| 196 |
0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x3e, 0x67, 0x6f, 0x6f, |
| 197 |
0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, |
| 198 |
0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, |
| 199 |
0x65, 0x74, 0x61, 0x2f, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, |
| 200 |
0x65, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc5, 0x03, 0x0a, 0x11, |
| 201 |
0x53, 0x63, 0x61, 0x6e, 0x52, 0x75, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x72, 0x61, 0x63, |
| 202 |
0x65, 0x12, 0x52, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, |
| 203 |
0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, |
| 204 |
0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, |
| 205 |
0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x63, 0x61, 0x6e, 0x52, 0x75, 0x6e, |
| 206 |
0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52, |
| 207 |
0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x63, 0x0a, 0x11, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x63, 0x6f, |
| 208 |
0x6e, 0x66, 0x69, 0x67, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, |
| 209 |
0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 210 |
0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, |
| 211 |
0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, |
| 212 |
0x6e, 0x66, 0x69, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x0f, 0x73, 0x63, 0x61, 0x6e, 0x43, |
| 213 |
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x3c, 0x0a, 0x1b, 0x6d, 0x6f, |
| 214 |
0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x65, |
| 215 |
0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, |
| 216 |
0x17, 0x6d, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x48, 0x74, 0x74, 0x70, 0x45, |
| 217 |
0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x22, 0xb8, 0x01, 0x0a, 0x04, 0x43, 0x6f, 0x64, |
| 218 |
0x65, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, |
| 219 |
0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4e, 0x54, 0x45, 0x52, |
| 220 |
0x4e, 0x41, 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, |
| 221 |
0x43, 0x41, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, |
| 222 |
0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, |
| 223 |
0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x5f, 0x49, 0x53, 0x53, 0x55, |
| 224 |
0x45, 0x10, 0x03, 0x12, 0x1c, 0x0a, 0x18, 0x54, 0x49, 0x4d, 0x45, 0x44, 0x5f, 0x4f, 0x55, 0x54, |
| 225 |
0x5f, 0x57, 0x48, 0x49, 0x4c, 0x45, 0x5f, 0x53, 0x43, 0x41, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, |
| 226 |
0x04, 0x12, 0x16, 0x0a, 0x12, 0x54, 0x4f, 0x4f, 0x5f, 0x4d, 0x41, 0x4e, 0x59, 0x5f, 0x52, 0x45, |
| 227 |
0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x53, 0x10, 0x05, 0x12, 0x18, 0x0a, 0x14, 0x54, 0x4f, 0x4f, |
| 228 |
0x5f, 0x4d, 0x41, 0x4e, 0x59, 0x5f, 0x48, 0x54, 0x54, 0x50, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, |
| 229 |
0x53, 0x10, 0x06, 0x42, 0x9e, 0x02, 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 230 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, |
| 231 |
0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, |
| 232 |
0x74, 0x61, 0x42, 0x16, 0x53, 0x63, 0x61, 0x6e, 0x52, 0x75, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, |
| 233 |
0x54, 0x72, 0x61, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x58, 0x67, 0x6f, |
| 234 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, |
| 235 |
0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, |
| 236 |
0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, |
| 237 |
0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, |
| 238 |
0x65, 0x74, 0x61, 0x3b, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, |
| 239 |
0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0xaa, 0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 240 |
0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x57, 0x65, 0x62, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, |
| 241 |
0x79, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0xca, |
| 242 |
0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x57, |
| 243 |
0x65, 0x62, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x65, |
| 244 |
0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x29, 0x47, 0x6f, 0x6f, 0x67, 0x6c, |
| 245 |
0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x57, 0x65, 0x62, 0x53, 0x65, 0x63, |
| 246 |
0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, |
| 247 |
0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 248 |
} |
| 249 |
|
| 250 |
var ( |
| 251 |
file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_rawDescOnce sync.Once |
| 252 |
file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_rawDescData = file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_rawDesc |
| 253 |
) |
| 254 |
|
| 255 |
func file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_rawDescGZIP() []byte { |
| 256 |
file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_rawDescOnce.Do(func() { |
| 257 |
file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_rawDescData) |
| 258 |
}) |
| 259 |
return file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_rawDescData |
| 260 |
} |
| 261 |
|
| 262 |
var file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 263 |
var file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 264 |
var file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_goTypes = []interface{}{ |
| 265 |
(ScanRunErrorTrace_Code)(0), // 0: google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace.Code |
| 266 |
(*ScanRunErrorTrace)(nil), // 1: google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace |
| 267 |
(*ScanConfigError)(nil), // 2: google.cloud.websecurityscanner.v1beta.ScanConfigError |
| 268 |
} |
| 269 |
var file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_depIdxs = []int32{ |
| 270 |
0, // 0: google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace.code:type_name -> google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace.Code |
| 271 |
2, // 1: google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace.scan_config_error:type_name -> google.cloud.websecurityscanner.v1beta.ScanConfigError |
| 272 |
2, // [2:2] is the sub-list for method output_type |
| 273 |
2, // [2:2] is the sub-list for method input_type |
| 274 |
2, // [2:2] is the sub-list for extension type_name |
| 275 |
2, // [2:2] is the sub-list for extension extendee |
| 276 |
0, // [0:2] is the sub-list for field type_name |
| 277 |
} |
| 278 |
|
| 279 |
func init() { file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_init() } |
| 280 |
func file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_init() { |
| 281 |
if File_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto != nil { |
| 282 |
return |
| 283 |
} |
| 284 |
file_google_cloud_websecurityscanner_v1beta_scan_config_error_proto_init() |
| 285 |
if !protoimpl.UnsafeEnabled { |
| 286 |
file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 287 |
switch v := v.(*ScanRunErrorTrace); i { |
| 288 |
case 0: |
| 289 |
return &v.state |
| 290 |
case 1: |
| 291 |
return &v.sizeCache |
| 292 |
case 2: |
| 293 |
return &v.unknownFields |
| 294 |
default: |
| 295 |
return nil |
| 296 |
} |
| 297 |
} |
| 298 |
} |
| 299 |
type x struct{} |
| 300 |
out := protoimpl.TypeBuilder{ |
| 301 |
File: protoimpl.DescBuilder{ |
| 302 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 303 |
RawDescriptor: file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_rawDesc, |
| 304 |
NumEnums: 1, |
| 305 |
NumMessages: 1, |
| 306 |
NumExtensions: 0, |
| 307 |
NumServices: 0, |
| 308 |
}, |
| 309 |
GoTypes: file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_goTypes, |
| 310 |
DependencyIndexes: file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_depIdxs, |
| 311 |
EnumInfos: file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_enumTypes, |
| 312 |
MessageInfos: file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_msgTypes, |
| 313 |
}.Build() |
| 314 |
File_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto = out.File |
| 315 |
file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_rawDesc = nil |
| 316 |
file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_goTypes = nil |
| 317 |
file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_depIdxs = nil |
| 318 |
} |