Debian Codegraph @

googleapis/cloud/websecurityscanner/v1beta/crawled_url.pb.go

raw
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/crawled_url.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 // A CrawledUrl resource represents a URL that was crawled during a ScanRun. Web
40 // Security Scanner Service crawls the web applications, following all links
41 // within the scope of sites, to find the URLs to test against.
42 type CrawledUrl struct {
43 state protoimpl.MessageState
44 sizeCache protoimpl.SizeCache
45 unknownFields protoimpl.UnknownFields
46
47 // The http method of the request that was used to visit the URL, in
48 // uppercase.
49 HttpMethod string `protobuf:"bytes,1,opt,name=http_method,json=httpMethod,proto3" json:"http_method,omitempty"`
50 // The URL that was crawled.
51 Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
52 // The body of the request that was used to visit the URL.
53 Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
54 }
55
56 func (x *CrawledUrl) Reset() {
57 *x = CrawledUrl{}
58 if protoimpl.UnsafeEnabled {
59 mi := &file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_msgTypes[0]
60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61 ms.StoreMessageInfo(mi)
62 }
63 }
64
65 func (x *CrawledUrl) String() string {
66 return protoimpl.X.MessageStringOf(x)
67 }
68
69 func (*CrawledUrl) ProtoMessage() {}
70
71 func (x *CrawledUrl) ProtoReflect() protoreflect.Message {
72 mi := &file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_msgTypes[0]
73 if protoimpl.UnsafeEnabled && x != nil {
74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75 if ms.LoadMessageInfo() == nil {
76 ms.StoreMessageInfo(mi)
77 }
78 return ms
79 }
80 return mi.MessageOf(x)
81 }
82
83 // Deprecated: Use CrawledUrl.ProtoReflect.Descriptor instead.
84 func (*CrawledUrl) Descriptor() ([]byte, []int) {
85 return file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_rawDescGZIP(), []int{0}
86 }
87
88 func (x *CrawledUrl) GetHttpMethod() string {
89 if x != nil {
90 return x.HttpMethod
91 }
92 return ""
93 }
94
95 func (x *CrawledUrl) GetUrl() string {
96 if x != nil {
97 return x.Url
98 }
99 return ""
100 }
101
102 func (x *CrawledUrl) GetBody() string {
103 if x != nil {
104 return x.Body
105 }
106 return ""
107 }
108
109 var File_google_cloud_websecurityscanner_v1beta_crawled_url_proto protoreflect.FileDescriptor
110
111 var file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_rawDesc = []byte{
112 0x0a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77,
113 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65,
114 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x63, 0x72, 0x61, 0x77, 0x6c, 0x65, 0x64,
115 0x5f, 0x75, 0x72, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x67, 0x6f, 0x6f, 0x67,
116 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75,
117 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65,
118 0x74, 0x61, 0x22, 0x53, 0x0a, 0x0a, 0x43, 0x72, 0x61, 0x77, 0x6c, 0x65, 0x64, 0x55, 0x72, 0x6c,
119 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18,
120 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x68, 0x74, 0x74, 0x70, 0x4d, 0x65, 0x74, 0x68, 0x6f,
121 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
122 0x75, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
123 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x42, 0x97, 0x02, 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2e,
124 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62,
125 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e,
126 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x0f, 0x43, 0x72, 0x61, 0x77, 0x6c, 0x65, 0x64, 0x55,
127 0x72, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x58, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
128 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e,
129 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
130 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
131 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
132 0x3b, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e,
133 0x6e, 0x65, 0x72, 0xaa, 0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f,
134 0x75, 0x64, 0x2e, 0x57, 0x65, 0x62, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63,
135 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x26, 0x47,
136 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x57, 0x65, 0x62, 0x53,
137 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x5c, 0x56,
138 0x31, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x29, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a,
139 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x57, 0x65, 0x62, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69,
140 0x74, 0x79, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74,
141 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
142 }
143
144 var (
145 file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_rawDescOnce sync.Once
146 file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_rawDescData = file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_rawDesc
147 )
148
149 func file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_rawDescGZIP() []byte {
150 file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_rawDescOnce.Do(func() {
151 file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_rawDescData)
152 })
153 return file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_rawDescData
154 }
155
156 var file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
157 var file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_goTypes = []interface{}{
158 (*CrawledUrl)(nil), // 0: google.cloud.websecurityscanner.v1beta.CrawledUrl
159 }
160 var file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_depIdxs = []int32{
161 0, // [0:0] is the sub-list for method output_type
162 0, // [0:0] is the sub-list for method input_type
163 0, // [0:0] is the sub-list for extension type_name
164 0, // [0:0] is the sub-list for extension extendee
165 0, // [0:0] is the sub-list for field type_name
166 }
167
168 func init() { file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_init() }
169 func file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_init() {
170 if File_google_cloud_websecurityscanner_v1beta_crawled_url_proto != nil {
171 return
172 }
173 if !protoimpl.UnsafeEnabled {
174 file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
175 switch v := v.(*CrawledUrl); i {
176 case 0:
177 return &v.state
178 case 1:
179 return &v.sizeCache
180 case 2:
181 return &v.unknownFields
182 default:
183 return nil
184 }
185 }
186 }
187 type x struct{}
188 out := protoimpl.TypeBuilder{
189 File: protoimpl.DescBuilder{
190 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
191 RawDescriptor: file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_rawDesc,
192 NumEnums: 0,
193 NumMessages: 1,
194 NumExtensions: 0,
195 NumServices: 0,
196 },
197 GoTypes: file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_goTypes,
198 DependencyIndexes: file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_depIdxs,
199 MessageInfos: file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_msgTypes,
200 }.Build()
201 File_google_cloud_websecurityscanner_v1beta_crawled_url_proto = out.File
202 file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_rawDesc = nil
203 file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_goTypes = nil
204 file_google_cloud_websecurityscanner_v1beta_crawled_url_proto_depIdxs = nil
205 }