1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/cloud/websecurityscanner/v1alpha/finding_addon.proto
3
4package websecurityscanner // import "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha"
5
6import proto "github.com/golang/protobuf/proto"
7import fmt "fmt"
8import math "math"
9import _ "google.golang.org/genproto/googleapis/api/annotations"
10
11// Reference imports to suppress errors if they are not otherwise used.
12var _ = proto.Marshal
13var _ = fmt.Errorf
14var _ = math.Inf
15
16// This is a compile-time assertion to ensure that this generated file
17// is compatible with the proto package it is being compiled against.
18// A compilation error at this line likely means your copy of the
19// proto package needs to be updated.
20const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
21
22// Information reported for an outdated library.
23type OutdatedLibrary struct {
24	// The name of the outdated library.
25	LibraryName string `protobuf:"bytes,1,opt,name=library_name,json=libraryName,proto3" json:"library_name,omitempty"`
26	// The version number.
27	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
28	// URLs to learn more information about the vulnerabilities in the library.
29	LearnMoreUrls        []string `protobuf:"bytes,3,rep,name=learn_more_urls,json=learnMoreUrls,proto3" json:"learn_more_urls,omitempty"`
30	XXX_NoUnkeyedLiteral struct{} `json:"-"`
31	XXX_unrecognized     []byte   `json:"-"`
32	XXX_sizecache        int32    `json:"-"`
33}
34
35func (m *OutdatedLibrary) Reset()         { *m = OutdatedLibrary{} }
36func (m *OutdatedLibrary) String() string { return proto.CompactTextString(m) }
37func (*OutdatedLibrary) ProtoMessage()    {}
38func (*OutdatedLibrary) Descriptor() ([]byte, []int) {
39	return fileDescriptor_finding_addon_10f44c23dab1483b, []int{0}
40}
41func (m *OutdatedLibrary) XXX_Unmarshal(b []byte) error {
42	return xxx_messageInfo_OutdatedLibrary.Unmarshal(m, b)
43}
44func (m *OutdatedLibrary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
45	return xxx_messageInfo_OutdatedLibrary.Marshal(b, m, deterministic)
46}
47func (dst *OutdatedLibrary) XXX_Merge(src proto.Message) {
48	xxx_messageInfo_OutdatedLibrary.Merge(dst, src)
49}
50func (m *OutdatedLibrary) XXX_Size() int {
51	return xxx_messageInfo_OutdatedLibrary.Size(m)
52}
53func (m *OutdatedLibrary) XXX_DiscardUnknown() {
54	xxx_messageInfo_OutdatedLibrary.DiscardUnknown(m)
55}
56
57var xxx_messageInfo_OutdatedLibrary proto.InternalMessageInfo
58
59func (m *OutdatedLibrary) GetLibraryName() string {
60	if m != nil {
61		return m.LibraryName
62	}
63	return ""
64}
65
66func (m *OutdatedLibrary) GetVersion() string {
67	if m != nil {
68		return m.Version
69	}
70	return ""
71}
72
73func (m *OutdatedLibrary) GetLearnMoreUrls() []string {
74	if m != nil {
75		return m.LearnMoreUrls
76	}
77	return nil
78}
79
80// Information regarding any resource causing the vulnerability such
81// as JavaScript sources, image, audio files, etc.
82type ViolatingResource struct {
83	// The MIME type of this resource.
84	ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
85	// URL of this violating resource.
86	ResourceUrl          string   `protobuf:"bytes,2,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"`
87	XXX_NoUnkeyedLiteral struct{} `json:"-"`
88	XXX_unrecognized     []byte   `json:"-"`
89	XXX_sizecache        int32    `json:"-"`
90}
91
92func (m *ViolatingResource) Reset()         { *m = ViolatingResource{} }
93func (m *ViolatingResource) String() string { return proto.CompactTextString(m) }
94func (*ViolatingResource) ProtoMessage()    {}
95func (*ViolatingResource) Descriptor() ([]byte, []int) {
96	return fileDescriptor_finding_addon_10f44c23dab1483b, []int{1}
97}
98func (m *ViolatingResource) XXX_Unmarshal(b []byte) error {
99	return xxx_messageInfo_ViolatingResource.Unmarshal(m, b)
100}
101func (m *ViolatingResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
102	return xxx_messageInfo_ViolatingResource.Marshal(b, m, deterministic)
103}
104func (dst *ViolatingResource) XXX_Merge(src proto.Message) {
105	xxx_messageInfo_ViolatingResource.Merge(dst, src)
106}
107func (m *ViolatingResource) XXX_Size() int {
108	return xxx_messageInfo_ViolatingResource.Size(m)
109}
110func (m *ViolatingResource) XXX_DiscardUnknown() {
111	xxx_messageInfo_ViolatingResource.DiscardUnknown(m)
112}
113
114var xxx_messageInfo_ViolatingResource proto.InternalMessageInfo
115
116func (m *ViolatingResource) GetContentType() string {
117	if m != nil {
118		return m.ContentType
119	}
120	return ""
121}
122
123func (m *ViolatingResource) GetResourceUrl() string {
124	if m != nil {
125		return m.ResourceUrl
126	}
127	return ""
128}
129
130// Information about vulnerable request parameters.
131type VulnerableParameters struct {
132	// The vulnerable parameter names.
133	ParameterNames       []string `protobuf:"bytes,1,rep,name=parameter_names,json=parameterNames,proto3" json:"parameter_names,omitempty"`
134	XXX_NoUnkeyedLiteral struct{} `json:"-"`
135	XXX_unrecognized     []byte   `json:"-"`
136	XXX_sizecache        int32    `json:"-"`
137}
138
139func (m *VulnerableParameters) Reset()         { *m = VulnerableParameters{} }
140func (m *VulnerableParameters) String() string { return proto.CompactTextString(m) }
141func (*VulnerableParameters) ProtoMessage()    {}
142func (*VulnerableParameters) Descriptor() ([]byte, []int) {
143	return fileDescriptor_finding_addon_10f44c23dab1483b, []int{2}
144}
145func (m *VulnerableParameters) XXX_Unmarshal(b []byte) error {
146	return xxx_messageInfo_VulnerableParameters.Unmarshal(m, b)
147}
148func (m *VulnerableParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
149	return xxx_messageInfo_VulnerableParameters.Marshal(b, m, deterministic)
150}
151func (dst *VulnerableParameters) XXX_Merge(src proto.Message) {
152	xxx_messageInfo_VulnerableParameters.Merge(dst, src)
153}
154func (m *VulnerableParameters) XXX_Size() int {
155	return xxx_messageInfo_VulnerableParameters.Size(m)
156}
157func (m *VulnerableParameters) XXX_DiscardUnknown() {
158	xxx_messageInfo_VulnerableParameters.DiscardUnknown(m)
159}
160
161var xxx_messageInfo_VulnerableParameters proto.InternalMessageInfo
162
163func (m *VulnerableParameters) GetParameterNames() []string {
164	if m != nil {
165		return m.ParameterNames
166	}
167	return nil
168}
169
170// Information reported for an XSS.
171type Xss struct {
172	// Stack traces leading to the point where the XSS occurred.
173	StackTraces []string `protobuf:"bytes,1,rep,name=stack_traces,json=stackTraces,proto3" json:"stack_traces,omitempty"`
174	// An error message generated by a javascript breakage.
175	ErrorMessage         string   `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
176	XXX_NoUnkeyedLiteral struct{} `json:"-"`
177	XXX_unrecognized     []byte   `json:"-"`
178	XXX_sizecache        int32    `json:"-"`
179}
180
181func (m *Xss) Reset()         { *m = Xss{} }
182func (m *Xss) String() string { return proto.CompactTextString(m) }
183func (*Xss) ProtoMessage()    {}
184func (*Xss) Descriptor() ([]byte, []int) {
185	return fileDescriptor_finding_addon_10f44c23dab1483b, []int{3}
186}
187func (m *Xss) XXX_Unmarshal(b []byte) error {
188	return xxx_messageInfo_Xss.Unmarshal(m, b)
189}
190func (m *Xss) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
191	return xxx_messageInfo_Xss.Marshal(b, m, deterministic)
192}
193func (dst *Xss) XXX_Merge(src proto.Message) {
194	xxx_messageInfo_Xss.Merge(dst, src)
195}
196func (m *Xss) XXX_Size() int {
197	return xxx_messageInfo_Xss.Size(m)
198}
199func (m *Xss) XXX_DiscardUnknown() {
200	xxx_messageInfo_Xss.DiscardUnknown(m)
201}
202
203var xxx_messageInfo_Xss proto.InternalMessageInfo
204
205func (m *Xss) GetStackTraces() []string {
206	if m != nil {
207		return m.StackTraces
208	}
209	return nil
210}
211
212func (m *Xss) GetErrorMessage() string {
213	if m != nil {
214		return m.ErrorMessage
215	}
216	return ""
217}
218
219func init() {
220	proto.RegisterType((*OutdatedLibrary)(nil), "google.cloud.websecurityscanner.v1alpha.OutdatedLibrary")
221	proto.RegisterType((*ViolatingResource)(nil), "google.cloud.websecurityscanner.v1alpha.ViolatingResource")
222	proto.RegisterType((*VulnerableParameters)(nil), "google.cloud.websecurityscanner.v1alpha.VulnerableParameters")
223	proto.RegisterType((*Xss)(nil), "google.cloud.websecurityscanner.v1alpha.Xss")
224}
225
226func init() {
227	proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/finding_addon.proto", fileDescriptor_finding_addon_10f44c23dab1483b)
228}
229
230var fileDescriptor_finding_addon_10f44c23dab1483b = []byte{
231	// 388 bytes of a gzipped FileDescriptorProto
232	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x6b, 0xd4, 0x50,
233	0x10, 0xc6, 0x89, 0x0b, 0x4a, 0xdf, 0xb6, 0x2e, 0x0d, 0x1e, 0x82, 0x78, 0xa8, 0x2b, 0xd8, 0x82,
234	0x90, 0x20, 0x1e, 0x7b, 0x10, 0x7b, 0xf0, 0xe4, 0xea, 0xb2, 0xb4, 0xc5, 0x7a, 0x09, 0xb3, 0xc9,
235	0xf8, 0x7c, 0xf8, 0x32, 0x13, 0x66, 0x5e, 0x56, 0xf2, 0xc7, 0xf8, 0xbf, 0x4a, 0x5e, 0xb2, 0x7b,
236	0xd9, 0x83, 0xbd, 0xe5, 0xfd, 0x66, 0xbe, 0xf9, 0x66, 0xf8, 0x62, 0xae, 0x2d, 0xb3, 0xf5, 0x58,
237	0x54, 0x9e, 0xbb, 0xba, 0xf8, 0x83, 0x5b, 0xc5, 0xaa, 0x13, 0x17, 0x7a, 0xad, 0x80, 0x08, 0xa5,
238	0xd8, 0xbd, 0x07, 0xdf, 0xfe, 0x82, 0xe2, 0xa7, 0xa3, 0xda, 0x91, 0x2d, 0xa1, 0xae, 0x99, 0xf2,
239	0x56, 0x38, 0x70, 0x7a, 0x39, 0x8a, 0xf3, 0x28, 0xce, 0x8f, 0xc5, 0xf9, 0x24, 0x7e, 0xf9, 0x6a,
240	0x72, 0x81, 0xd6, 0x15, 0x40, 0xc4, 0x01, 0x82, 0x63, 0xd2, 0x71, 0xcc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b8,
252	0x1a, 0xd9, 0xcd, 0xdf, 0xc4, 0xbc, 0xab, 0xb8, 0xc9, 0x1f, 0x19, 0xd8, 0xcd, 0xf9, 0xe7, 0x31,
253	0xee, 0x4f, 0x43, 0xda, 0xeb, 0x21, 0xa5, 0x75, 0xf2, 0xe3, 0x61, 0x52, 0x5b, 0xf6, 0x40, 0x36,
254	0x67, 0xb1, 0x85, 0x45, 0x8a, 0x19, 0x16, 0x63, 0x09, 0x5a, 0xa7, 0xff, 0xfd, 0x95, 0xae, 0x8f,
255	0x4b, 0xdb, 0xa7, 0x71, 0xca, 0x87, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb6, 0x61, 0x84, 0x84,
256	0x8f, 0x02, 0x00, 0x00,
257}
258