1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40
41
42 type CrawledUrl struct {
43 state protoimpl.MessageState
44 sizeCache protoimpl.SizeCache
45 unknownFields protoimpl.UnknownFields
46
47
48
49 HttpMethod string `protobuf:"bytes,1,opt,name=http_method,json=httpMethod,proto3" json:"http_method,omitempty"`
50
51 Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
52
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_v1alpha_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_v1alpha_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
84 func (*CrawledUrl) Descriptor() ([]byte, []int) {
85 return file_google_cloud_websecurityscanner_v1alpha_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_v1alpha_crawled_url_proto protoreflect.FileDescriptor
110
111 var file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_rawDesc = []byte{
112 0x0a, 0x39, 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, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x63, 0x72, 0x61, 0x77, 0x6c, 0x65,
115 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x27, 0x67, 0x6f, 0x6f,
116 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63,
117 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x61,
118 0x6c, 0x70, 0x68, 0x61, 0x22, 0x53, 0x0a, 0x0a, 0x43, 0x72, 0x61, 0x77, 0x6c, 0x65, 0x64, 0x55,
119 0x72, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f,
120 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x68, 0x74, 0x74, 0x70, 0x4d, 0x65, 0x74,
121 0x68, 0x6f, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
122 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20,
123 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x42, 0x9b, 0x01, 0x0a, 0x2b, 0x63, 0x6f,
124 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77,
125 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65,
126 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x0f, 0x43, 0x72, 0x61, 0x77, 0x6c,
127 0x65, 0x64, 0x55, 0x72, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x6f,
128 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
129 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
130 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63,
131 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x61,
132 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
133 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
134 }
135
136 var (
137 file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_rawDescOnce sync.Once
138 file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_rawDescData = file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_rawDesc
139 )
140
141 func file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_rawDescGZIP() []byte {
142 file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_rawDescOnce.Do(func() {
143 file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_rawDescData)
144 })
145 return file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_rawDescData
146 }
147
148 var file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
149 var file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_goTypes = []interface{}{
150 (*CrawledUrl)(nil),
151 }
152 var file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_depIdxs = []int32{
153 0,
154 0,
155 0,
156 0,
157 0,
158 }
159
160 func init() { file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_init() }
161 func file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_init() {
162 if File_google_cloud_websecurityscanner_v1alpha_crawled_url_proto != nil {
163 return
164 }
165 if !protoimpl.UnsafeEnabled {
166 file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
167 switch v := v.(*CrawledUrl); i {
168 case 0:
169 return &v.state
170 case 1:
171 return &v.sizeCache
172 case 2:
173 return &v.unknownFields
174 default:
175 return nil
176 }
177 }
178 }
179 type x struct{}
180 out := protoimpl.TypeBuilder{
181 File: protoimpl.DescBuilder{
182 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
183 RawDescriptor: file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_rawDesc,
184 NumEnums: 0,
185 NumMessages: 1,
186 NumExtensions: 0,
187 NumServices: 0,
188 },
189 GoTypes: file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_goTypes,
190 DependencyIndexes: file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_depIdxs,
191 MessageInfos: file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_msgTypes,
192 }.Build()
193 File_google_cloud_websecurityscanner_v1alpha_crawled_url_proto = out.File
194 file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_rawDesc = nil
195 file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_goTypes = nil
196 file_google_cloud_websecurityscanner_v1alpha_crawled_url_proto_depIdxs = nil
197 }
198
View as plain text