1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/cloud/websecurityscanner/v1beta/scan_config.proto
3
4package websecurityscanner
5
6import (
7	fmt "fmt"
8	math "math"
9
10	proto "github.com/golang/protobuf/proto"
11	timestamp "github.com/golang/protobuf/ptypes/timestamp"
12	_ "google.golang.org/genproto/googleapis/api/annotations"
13)
14
15// Reference imports to suppress errors if they are not otherwise used.
16var _ = proto.Marshal
17var _ = fmt.Errorf
18var _ = math.Inf
19
20// This is a compile-time assertion to ensure that this generated file
21// is compatible with the proto package it is being compiled against.
22// A compilation error at this line likely means your copy of the
23// proto package needs to be updated.
24const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
25
26// Type of user agents used for scanning.
27type ScanConfig_UserAgent int32
28
29const (
30	// The user agent is unknown. Service will default to CHROME_LINUX.
31	ScanConfig_USER_AGENT_UNSPECIFIED ScanConfig_UserAgent = 0
32	// Chrome on Linux. This is the service default if unspecified.
33	ScanConfig_CHROME_LINUX ScanConfig_UserAgent = 1
34	// Chrome on Android.
35	ScanConfig_CHROME_ANDROID ScanConfig_UserAgent = 2
36	// Safari on IPhone.
37	ScanConfig_SAFARI_IPHONE ScanConfig_UserAgent = 3
38)
39
40var ScanConfig_UserAgent_name = map[int32]string{
41	0: "USER_AGENT_UNSPECIFIED",
42	1: "CHROME_LINUX",
43	2: "CHROME_ANDROID",
44	3: "SAFARI_IPHONE",
45}
46
47var ScanConfig_UserAgent_value = map[string]int32{
48	"USER_AGENT_UNSPECIFIED": 0,
49	"CHROME_LINUX":           1,
50	"CHROME_ANDROID":         2,
51	"SAFARI_IPHONE":          3,
52}
53
54func (x ScanConfig_UserAgent) String() string {
55	return proto.EnumName(ScanConfig_UserAgent_name, int32(x))
56}
57
58func (ScanConfig_UserAgent) EnumDescriptor() ([]byte, []int) {
59	return fileDescriptor_0b8e0c37c8759a6e, []int{0, 0}
60}
61
62// Cloud platforms supported by Cloud Web Security Scanner.
63type ScanConfig_TargetPlatform int32
64
65const (
66	// The target platform is unknown. Requests with this enum value will be
67	// rejected with INVALID_ARGUMENT error.
68	ScanConfig_TARGET_PLATFORM_UNSPECIFIED ScanConfig_TargetPlatform = 0
69	// Google App Engine service.
70	ScanConfig_APP_ENGINE ScanConfig_TargetPlatform = 1
71	// Google Compute Engine service.
72	ScanConfig_COMPUTE ScanConfig_TargetPlatform = 2
73)
74
75var ScanConfig_TargetPlatform_name = map[int32]string{
76	0: "TARGET_PLATFORM_UNSPECIFIED",
77	1: "APP_ENGINE",
78	2: "COMPUTE",
79}
80
81var ScanConfig_TargetPlatform_value = map[string]int32{
82	"TARGET_PLATFORM_UNSPECIFIED": 0,
83	"APP_ENGINE":                  1,
84	"COMPUTE":                     2,
85}
86
87func (x ScanConfig_TargetPlatform) String() string {
88	return proto.EnumName(ScanConfig_TargetPlatform_name, int32(x))
89}
90
91func (ScanConfig_TargetPlatform) EnumDescriptor() ([]byte, []int) {
92	return fileDescriptor_0b8e0c37c8759a6e, []int{0, 1}
93}
94
95// Scan risk levels supported by Cloud Web Security Scanner. LOW impact
96// scanning will minimize requests with the potential to modify data. To
97// achieve the maximum scan coverage, NORMAL risk level is recommended.
98type ScanConfig_RiskLevel int32
99
100const (
101	// Use default, which is NORMAL.
102	ScanConfig_RISK_LEVEL_UNSPECIFIED ScanConfig_RiskLevel = 0
103	// Normal scanning (Recommended)
104	ScanConfig_NORMAL ScanConfig_RiskLevel = 1
105	// Lower impact scanning
106	ScanConfig_LOW ScanConfig_RiskLevel = 2
107)
108
109var ScanConfig_RiskLevel_name = map[int32]string{
110	0: "RISK_LEVEL_UNSPECIFIED",
111	1: "NORMAL",
112	2: "LOW",
113}
114
115var ScanConfig_RiskLevel_value = map[string]int32{
116	"RISK_LEVEL_UNSPECIFIED": 0,
117	"NORMAL":                 1,
118	"LOW":                    2,
119}
120
121func (x ScanConfig_RiskLevel) String() string {
122	return proto.EnumName(ScanConfig_RiskLevel_name, int32(x))
123}
124
125func (ScanConfig_RiskLevel) EnumDescriptor() ([]byte, []int) {
126	return fileDescriptor_0b8e0c37c8759a6e, []int{0, 2}
127}
128
129// Controls export of scan configurations and results to Cloud Security
130// Command Center.
131type ScanConfig_ExportToSecurityCommandCenter int32
132
133const (
134	// Use default, which is ENABLED.
135	ScanConfig_EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED ScanConfig_ExportToSecurityCommandCenter = 0
136	// Export results of this scan to Cloud Security Command Center.
137	ScanConfig_ENABLED ScanConfig_ExportToSecurityCommandCenter = 1
138	// Do not export results of this scan to Cloud Security Command Center.
139	ScanConfig_DISABLED ScanConfig_ExportToSecurityCommandCenter = 2
140)
141
142var ScanConfig_ExportToSecurityCommandCenter_name = map[int32]string{
143	0: "EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED",
144	1: "ENABLED",
145	2: "DISABLED",
146}
147
148var ScanConfig_ExportToSecurityCommandCenter_value = map[string]int32{
149	"EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED": 0,
150	"ENABLED":  1,
151	"DISABLED": 2,
152}
153
154func (x ScanConfig_ExportToSecurityCommandCenter) String() string {
155	return proto.EnumName(ScanConfig_ExportToSecurityCommandCenter_name, int32(x))
156}
157
158func (ScanConfig_ExportToSecurityCommandCenter) EnumDescriptor() ([]byte, []int) {
159	return fileDescriptor_0b8e0c37c8759a6e, []int{0, 3}
160}
161
162// A ScanConfig resource contains the configurations to launch a scan.
163type ScanConfig struct {
164	// The resource name of the ScanConfig. The name follows the format of
165	// 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are
166	// generated by the system.
167	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
168	// Required. The user provided display name of the ScanConfig.
169	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
170	// The maximum QPS during scanning. A valid value ranges from 5 to 20
171	// inclusively. If the field is unspecified or its value is set 0, server will
172	// default to 15. Other values outside of [5, 20] range will be rejected with
173	// INVALID_ARGUMENT error.
174	MaxQps int32 `protobuf:"varint,3,opt,name=max_qps,json=maxQps,proto3" json:"max_qps,omitempty"`
175	// Required. The starting URLs from which the scanner finds site pages.
176	StartingUrls []string `protobuf:"bytes,4,rep,name=starting_urls,json=startingUrls,proto3" json:"starting_urls,omitempty"`
177	// The authentication configuration. If specified, service will use the
178	// authentication configuration during scanning.
179	Authentication *ScanConfig_Authentication `protobuf:"bytes,5,opt,name=authentication,proto3" json:"authentication,omitempty"`
180	// The user agent used during scanning.
181	UserAgent ScanConfig_UserAgent `protobuf:"varint,6,opt,name=user_agent,json=userAgent,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanConfig_UserAgent" json:"user_agent,omitempty"`
182	// The blacklist URL patterns as described in
183	// https://cloud.google.com/security-scanner/docs/excluded-urls
184	BlacklistPatterns []string `protobuf:"bytes,7,rep,name=blacklist_patterns,json=blacklistPatterns,proto3" json:"blacklist_patterns,omitempty"`
185	// The schedule of the ScanConfig.
186	Schedule *ScanConfig_Schedule `protobuf:"bytes,8,opt,name=schedule,proto3" json:"schedule,omitempty"`
187	// Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be
188	// used as a default.
189	TargetPlatforms []ScanConfig_TargetPlatform `protobuf:"varint,9,rep,packed,name=target_platforms,json=targetPlatforms,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanConfig_TargetPlatform" json:"target_platforms,omitempty"`
190	// Controls export of scan configurations and results to Cloud Security
191	// Command Center.
192	ExportToSecurityCommandCenter ScanConfig_ExportToSecurityCommandCenter `protobuf:"varint,10,opt,name=export_to_security_command_center,json=exportToSecurityCommandCenter,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanConfig_ExportToSecurityCommandCenter" json:"export_to_security_command_center,omitempty"`
193	// Latest ScanRun if available.
194	LatestRun *ScanRun `protobuf:"bytes,11,opt,name=latest_run,json=latestRun,proto3" json:"latest_run,omitempty"`
195	// The risk level selected for the scan
196	RiskLevel            ScanConfig_RiskLevel `protobuf:"varint,12,opt,name=risk_level,json=riskLevel,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanConfig_RiskLevel" json:"risk_level,omitempty"`
197	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
198	XXX_unrecognized     []byte               `json:"-"`
199	XXX_sizecache        int32                `json:"-"`
200}
201
202func (m *ScanConfig) Reset()         { *m = ScanConfig{} }
203func (m *ScanConfig) String() string { return proto.CompactTextString(m) }
204func (*ScanConfig) ProtoMessage()    {}
205func (*ScanConfig) Descriptor() ([]byte, []int) {
206	return fileDescriptor_0b8e0c37c8759a6e, []int{0}
207}
208
209func (m *ScanConfig) XXX_Unmarshal(b []byte) error {
210	return xxx_messageInfo_ScanConfig.Unmarshal(m, b)
211}
212func (m *ScanConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
213	return xxx_messageInfo_ScanConfig.Marshal(b, m, deterministic)
214}
215func (m *ScanConfig) XXX_Merge(src proto.Message) {
216	xxx_messageInfo_ScanConfig.Merge(m, src)
217}
218func (m *ScanConfig) XXX_Size() int {
219	return xxx_messageInfo_ScanConfig.Size(m)
220}
221func (m *ScanConfig) XXX_DiscardUnknown() {
222	xxx_messageInfo_ScanConfig.DiscardUnknown(m)
223}
224
225var xxx_messageInfo_ScanConfig proto.InternalMessageInfo
226
227func (m *ScanConfig) GetName() string {
228	if m != nil {
229		return m.Name
230	}
231	return ""
232}
233
234func (m *ScanConfig) GetDisplayName() string {
235	if m != nil {
236		return m.DisplayName
237	}
238	return ""
239}
240
241func (m *ScanConfig) GetMaxQps() int32 {
242	if m != nil {
243		return m.MaxQps
244	}
245	return 0
246}
247
248func (m *ScanConfig) GetStartingUrls() []string {
249	if m != nil {
250		return m.StartingUrls
251	}
252	return nil
253}
254
255func (m *ScanConfig) GetAuthentication() *ScanConfig_Authentication {
256	if m != nil {
257		return m.Authentication
258	}
259	return nil
260}
261
262func (m *ScanConfig) GetUserAgent() ScanConfig_UserAgent {
263	if m != nil {
264		return m.UserAgent
265	}
266	return ScanConfig_USER_AGENT_UNSPECIFIED
267}
268
269func (m *ScanConfig) GetBlacklistPatterns() []string {
270	if m != nil {
271		return m.BlacklistPatterns
272	}
273	return nil
274}
275
276func (m *ScanConfig) GetSchedule() *ScanConfig_Schedule {
277	if m != nil {
278		return m.Schedule
279	}
280	return nil
281}
282
283func (m *ScanConfig) GetTargetPlatforms() []ScanConfig_TargetPlatform {
284	if m != nil {
285		return m.TargetPlatforms
286	}
287	return nil
288}
289
290func (m *ScanConfig) GetExportToSecurityCommandCenter() ScanConfig_ExportToSecurityCommandCenter {
291	if m != nil {
292		return m.ExportToSecurityCommandCenter
293	}
294	return ScanConfig_EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED
295}
296
297func (m *ScanConfig) GetLatestRun() *ScanRun {
298	if m != nil {
299		return m.LatestRun
300	}
301	return nil
302}
303
304func (m *ScanConfig) GetRiskLevel() ScanConfig_RiskLevel {
305	if m != nil {
306		return m.RiskLevel
307	}
308	return ScanConfig_RISK_LEVEL_UNSPECIFIED
309}
310
311// Scan authentication configuration.
312type ScanConfig_Authentication struct {
313	// Required.
314	// Authentication configuration
315	//
316	// Types that are valid to be assigned to Authentication:
317	//	*ScanConfig_Authentication_GoogleAccount_
318	//	*ScanConfig_Authentication_CustomAccount_
319	Authentication       isScanConfig_Authentication_Authentication `protobuf_oneof:"authentication"`
320	XXX_NoUnkeyedLiteral struct{}                                   `json:"-"`
321	XXX_unrecognized     []byte                                     `json:"-"`
322	XXX_sizecache        int32                                      `json:"-"`
323}
324
325func (m *ScanConfig_Authentication) Reset()         { *m = ScanConfig_Authentication{} }
326func (m *ScanConfig_Authentication) String() string { return proto.CompactTextString(m) }
327func (*ScanConfig_Authentication) ProtoMessage()    {}
328func (*ScanConfig_Authentication) Descriptor() ([]byte, []int) {
329	return fileDescriptor_0b8e0c37c8759a6e, []int{0, 0}
330}
331
332func (m *ScanConfig_Authentication) XXX_Unmarshal(b []byte) error {
333	return xxx_messageInfo_ScanConfig_Authentication.Unmarshal(m, b)
334}
335func (m *ScanConfig_Authentication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
336	return xxx_messageInfo_ScanConfig_Authentication.Marshal(b, m, deterministic)
337}
338func (m *ScanConfig_Authentication) XXX_Merge(src proto.Message) {
339	xxx_messageInfo_ScanConfig_Authentication.Merge(m, src)
340}
341func (m *ScanConfig_Authentication) XXX_Size() int {
342	return xxx_messageInfo_ScanConfig_Authentication.Size(m)
343}
344func (m *ScanConfig_Authentication) XXX_DiscardUnknown() {
345	xxx_messageInfo_ScanConfig_Authentication.DiscardUnknown(m)
346}
347
348var xxx_messageInfo_ScanConfig_Authentication proto.InternalMessageInfo
349
350type isScanConfig_Authentication_Authentication interface {
351	isScanConfig_Authentication_Authentication()
352}
353
354type ScanConfig_Authentication_GoogleAccount_ struct {
355	GoogleAccount *ScanConfig_Authentication_GoogleAccount `protobuf:"bytes,1,opt,name=google_account,json=googleAccount,proto3,oneof"`
356}
357
358type ScanConfig_Authentication_CustomAccount_ struct {
359	CustomAccount *ScanConfig_Authentication_CustomAccount `protobuf:"bytes,2,opt,name=custom_account,json=customAccount,proto3,oneof"`
360}
361
362func (*ScanConfig_Authentication_GoogleAccount_) isScanConfig_Authentication_Authentication() {}
363
364func (*ScanConfig_Authentication_CustomAccount_) isScanConfig_Authentication_Authentication() {}
365
366func (m *ScanConfig_Authentication) GetAuthentication() isScanConfig_Authentication_Authentication {
367	if m != nil {
368		return m.Authentication
369	}
370	return nil
371}
372
373func (m *ScanConfig_Authentication) GetGoogleAccount() *ScanConfig_Authentication_GoogleAccount {
374	if x, ok := m.GetAuthentication().(*ScanConfig_Authentication_GoogleAccount_); ok {
375		return x.GoogleAccount
376	}
377	return nil
378}
379
380func (m *ScanConfig_Authentication) GetCustomAccount() *ScanConfig_Authentication_CustomAccount {
381	if x, ok := m.GetAuthentication().(*ScanConfig_Authentication_CustomAccount_); ok {
382		return x.CustomAccount
383	}
384	return nil
385}
386
387// XXX_OneofWrappers is for the internal use of the proto package.
388func (*ScanConfig_Authentication) XXX_OneofWrappers() []interface{} {
389	return []interface{}{
390		(*ScanConfig_Authentication_GoogleAccount_)(nil),
391		(*ScanConfig_Authentication_CustomAccount_)(nil),
392	}
393}
394
395// Describes authentication configuration that uses a Google account.
396type ScanConfig_Authentication_GoogleAccount struct {
397	// Required. The user name of the Google account.
398	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
399	// Required. Input only. The password of the Google account. The credential is stored encrypted
400	// and not returned in any response nor included in audit logs.
401	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
402	XXX_NoUnkeyedLiteral struct{} `json:"-"`
403	XXX_unrecognized     []byte   `json:"-"`
404	XXX_sizecache        int32    `json:"-"`
405}
406
407func (m *ScanConfig_Authentication_GoogleAccount) Reset() {
408	*m = ScanConfig_Authentication_GoogleAccount{}
409}
410func (m *ScanConfig_Authentication_GoogleAccount) String() string { return proto.CompactTextString(m) }
411func (*ScanConfig_Authentication_GoogleAccount) ProtoMessage()    {}
412func (*ScanConfig_Authentication_GoogleAccount) Descriptor() ([]byte, []int) {
413	return fileDescriptor_0b8e0c37c8759a6e, []int{0, 0, 0}
414}
415
416func (m *ScanConfig_Authentication_GoogleAccount) XXX_Unmarshal(b []byte) error {
417	return xxx_messageInfo_ScanConfig_Authentication_GoogleAccount.Unmarshal(m, b)
418}
419func (m *ScanConfig_Authentication_GoogleAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
420	return xxx_messageInfo_ScanConfig_Authentication_GoogleAccount.Marshal(b, m, deterministic)
421}
422func (m *ScanConfig_Authentication_GoogleAccount) XXX_Merge(src proto.Message) {
423	xxx_messageInfo_ScanConfig_Authentication_GoogleAccount.Merge(m, src)
424}
425func (m *ScanConfig_Authentication_GoogleAccount) XXX_Size() int {
426	return xxx_messageInfo_ScanConfig_Authentication_GoogleAccount.Size(m)
427}
428func (m *ScanConfig_Authentication_GoogleAccount) XXX_DiscardUnknown() {
429	xxx_messageInfo_ScanConfig_Authentication_GoogleAccount.DiscardUnknown(m)
430}
431
432var xxx_messageInfo_ScanConfig_Authentication_GoogleAccount proto.InternalMessageInfo
433
434func (m *ScanConfig_Authentication_GoogleAccount) GetUsername() string {
435	if m != nil {
436		return m.Username
437	}
438	return ""
439}
440
441func (m *ScanConfig_Authentication_GoogleAccount) GetPassword() string {
442	if m != nil {
443		return m.Password
444	}
445	return ""
446}
447
448// Describes authentication configuration that uses a custom account.
449type ScanConfig_Authentication_CustomAccount struct {
450	// Required. The user name of the custom account.
451	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
452	// Required. Input only. The password of the custom account. The credential is stored encrypted
453	// and not returned in any response nor included in audit logs.
454	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
455	// Required. The login form URL of the website.
456	LoginUrl             string   `protobuf:"bytes,3,opt,name=login_url,json=loginUrl,proto3" json:"login_url,omitempty"`
457	XXX_NoUnkeyedLiteral struct{} `json:"-"`
458	XXX_unrecognized     []byte   `json:"-"`
459	XXX_sizecache        int32    `json:"-"`
460}
461
462func (m *ScanConfig_Authentication_CustomAccount) Reset() {
463	*m = ScanConfig_Authentication_CustomAccount{}
464}
465func (m *ScanConfig_Authentication_CustomAccount) String() string { return proto.CompactTextString(m) }
466func (*ScanConfig_Authentication_CustomAccount) ProtoMessage()    {}
467func (*ScanConfig_Authentication_CustomAccount) Descriptor() ([]byte, []int) {
468	return fileDescriptor_0b8e0c37c8759a6e, []int{0, 0, 1}
469}
470
471func (m *ScanConfig_Authentication_CustomAccount) XXX_Unmarshal(b []byte) error {
472	return xxx_messageInfo_ScanConfig_Authentication_CustomAccount.Unmarshal(m, b)
473}
474func (m *ScanConfig_Authentication_CustomAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
475	return xxx_messageInfo_ScanConfig_Authentication_CustomAccount.Marshal(b, m, deterministic)
476}
477func (m *ScanConfig_Authentication_CustomAccount) XXX_Merge(src proto.Message) {
478	xxx_messageInfo_ScanConfig_Authentication_CustomAccount.Merge(m, src)
479}
480func (m *ScanConfig_Authentication_CustomAccount) XXX_Size() int {
481	return xxx_messageInfo_ScanConfig_Authentication_CustomAccount.Size(m)
482}
483func (m *ScanConfig_Authentication_CustomAccount) XXX_DiscardUnknown() {
484	xxx_messageInfo_ScanConfig_Authentication_CustomAccount.DiscardUnknown(m)
485}
486
487var xxx_messageInfo_ScanConfig_Authentication_CustomAccount proto.InternalMessageInfo
488
489func (m *ScanConfig_Authentication_CustomAccount) GetUsername() string {
490	if m != nil {
491		return m.Username
492	}
493	return ""
494}
495
496func (m *ScanConfig_Authentication_CustomAccount) GetPassword() string {
497	if m != nil {
498		return m.Password
499	}
500	return ""
501}
502
503func (m *ScanConfig_Authentication_CustomAccount) GetLoginUrl() string {
504	if m != nil {
505		return m.LoginUrl
506	}
507	return ""
508}
509
510// Scan schedule configuration.
511type ScanConfig_Schedule struct {
512	// A timestamp indicates when the next run will be scheduled. The value is
513	// refreshed by the server after each run. If unspecified, it will default
514	// to current server time, which means the scan will be scheduled to start
515	// immediately.
516	ScheduleTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"`
517	// Required. The duration of time between executions in days.
518	IntervalDurationDays int32    `protobuf:"varint,2,opt,name=interval_duration_days,json=intervalDurationDays,proto3" json:"interval_duration_days,omitempty"`
519	XXX_NoUnkeyedLiteral struct{} `json:"-"`
520	XXX_unrecognized     []byte   `json:"-"`
521	XXX_sizecache        int32    `json:"-"`
522}
523
524func (m *ScanConfig_Schedule) Reset()         { *m = ScanConfig_Schedule{} }
525func (m *ScanConfig_Schedule) String() string { return proto.CompactTextString(m) }
526func (*ScanConfig_Schedule) ProtoMessage()    {}
527func (*ScanConfig_Schedule) Descriptor() ([]byte, []int) {
528	return fileDescriptor_0b8e0c37c8759a6e, []int{0, 1}
529}
530
531func (m *ScanConfig_Schedule) XXX_Unmarshal(b []byte) error {
532	return xxx_messageInfo_ScanConfig_Schedule.Unmarshal(m, b)
533}
534func (m *ScanConfig_Schedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
535	return xxx_messageInfo_ScanConfig_Schedule.Marshal(b, m, deterministic)
536}
537func (m *ScanConfig_Schedule) XXX_Merge(src proto.Message) {
538	xxx_messageInfo_ScanConfig_Schedule.Merge(m, src)
539}
540func (m *ScanConfig_Schedule) XXX_Size() int {
541	return xxx_messageInfo_ScanConfig_Schedule.Size(m)
542}
543func (m *ScanConfig_Schedule) XXX_DiscardUnknown() {
544	xxx_messageInfo_ScanConfig_Schedule.DiscardUnknown(m)
545}
546
547var xxx_messageInfo_ScanConfig_Schedule proto.InternalMessageInfo
548
549func (m *ScanConfig_Schedule) GetScheduleTime() *timestamp.Timestamp {
550	if m != nil {
551		return m.ScheduleTime
552	}
553	return nil
554}
555
556func (m *ScanConfig_Schedule) GetIntervalDurationDays() int32 {
557	if m != nil {
558		return m.IntervalDurationDays
559	}
560	return 0
561}
562
563func init() {
564	proto.RegisterEnum("google.cloud.websecurityscanner.v1beta.ScanConfig_UserAgent", ScanConfig_UserAgent_name, ScanConfig_UserAgent_value)
565	proto.RegisterEnum("google.cloud.websecurityscanner.v1beta.ScanConfig_TargetPlatform", ScanConfig_TargetPlatform_name, ScanConfig_TargetPlatform_value)
566	proto.RegisterEnum("google.cloud.websecurityscanner.v1beta.ScanConfig_RiskLevel", ScanConfig_RiskLevel_name, ScanConfig_RiskLevel_value)
567	proto.RegisterEnum("google.cloud.websecurityscanner.v1beta.ScanConfig_ExportToSecurityCommandCenter", ScanConfig_ExportToSecurityCommandCenter_name, ScanConfig_ExportToSecurityCommandCenter_value)
568	proto.RegisterType((*ScanConfig)(nil), "google.cloud.websecurityscanner.v1beta.ScanConfig")
569	proto.RegisterType((*ScanConfig_Authentication)(nil), "google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication")
570	proto.RegisterType((*ScanConfig_Authentication_GoogleAccount)(nil), "google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount")
571	proto.RegisterType((*ScanConfig_Authentication_CustomAccount)(nil), "google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount")
572	proto.RegisterType((*ScanConfig_Schedule)(nil), "google.cloud.websecurityscanner.v1beta.ScanConfig.Schedule")
573}
574
575func init() {
576	proto.RegisterFile("google/cloud/websecurityscanner/v1beta/scan_config.proto", fileDescriptor_0b8e0c37c8759a6e)
577}
578
579var fileDescriptor_0b8e0c37c8759a6e = []byte{
580	// 1045 bytes of a gzipped FileDescriptorProto
581	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x5b, 0x6f, 0x1b, 0x45,
582	0x14, 0xee, 0xda, 0xb9, 0xd8, 0xe3, 0x4b, 0xb6, 0x23, 0x54, 0x8c, 0x51, 0x15, 0xe3, 0x87, 0xc8,
583	0x42, 0xad, 0x57, 0x0d, 0x42, 0x02, 0x5a, 0x09, 0x6d, 0xec, 0x4d, 0x62, 0x61, 0xaf, 0x97, 0xf1,
584	0xba, 0x09, 0x10, 0x69, 0x18, 0xaf, 0x27, 0x9b, 0x25, 0x7b, 0x63, 0x66, 0x36, 0x4d, 0x54, 0xf5,
585	0x95, 0x1f, 0xc1, 0xcf, 0x81, 0x37, 0x7e, 0x45, 0x1e, 0x78, 0xe2, 0x57, 0xa0, 0xbd, 0x39, 0x76,
586	0x8a, 0x4a, 0x9b, 0xf6, 0x6d, 0xe6, 0x5c, 0xbe, 0xef, 0xcc, 0xf1, 0x39, 0x9f, 0x17, 0x7c, 0x65,
587	0x07, 0x81, 0xed, 0x52, 0xc5, 0x72, 0x83, 0x68, 0xae, 0xbc, 0xa0, 0x33, 0x4e, 0xad, 0x88, 0x39,
588	0xe2, 0x8a, 0x5b, 0xc4, 0xf7, 0x29, 0x53, 0x2e, 0x9e, 0xcc, 0xa8, 0x20, 0x4a, 0x7c, 0xc5, 0x56,
589	0xe0, 0x9f, 0x3a, 0x76, 0x37, 0x64, 0x81, 0x08, 0xe0, 0x4e, 0x9a, 0xd9, 0x4d, 0x32, 0xbb, 0xaf,
590	0x67, 0x76, 0xd3, 0xcc, 0xe6, 0x76, 0xc6, 0x40, 0x42, 0x47, 0x39, 0x75, 0xa8, 0x3b, 0xc7, 0x33,
591	0x7a, 0x46, 0x2e, 0x9c, 0x80, 0xa5, 0x40, 0xcd, 0x4f, 0x96, 0x02, 0x18, 0xe5, 0x41, 0xc4, 0x2c,
592	0x9a, 0xb9, 0xbe, 0x7c, 0x97, 0xea, 0x58, 0xe4, 0x67, 0x69, 0x39, 0x65, 0x72, 0x9b, 0x45, 0xa7,
593	0x8a, 0x70, 0x3c, 0xca, 0x05, 0xf1, 0xc2, 0x34, 0xa0, 0xfd, 0xe7, 0x16, 0x00, 0x13, 0x8b, 0xf8,
594	0xbd, 0xe4, 0x41, 0x10, 0x82, 0x35, 0x9f, 0x78, 0xb4, 0x21, 0xb5, 0xa4, 0x4e, 0x19, 0x25, 0x67,
595	0xb8, 0x03, 0xaa, 0x73, 0x87, 0x87, 0x2e, 0xb9, 0xc2, 0x89, 0xaf, 0x10, 0xfb, 0xf6, 0x8a, 0xd7,
596	0x6a, 0x01, 0x55, 0x32, 0x87, 0x1e, 0xc7, 0x7d, 0x0c, 0x36, 0x3d, 0x72, 0x89, 0x7f, 0x0d, 0x79,
597	0xa3, 0xd8, 0x92, 0x3a, 0xeb, 0x68, 0xc3, 0x23, 0x97, 0xdf, 0x87, 0x1c, 0x76, 0x40, 0x8d, 0x0b,
598	0xc2, 0x84, 0xe3, 0xdb, 0x38, 0x62, 0x2e, 0x6f, 0xac, 0xb5, 0x8a, 0x39, 0x42, 0x35, 0xf7, 0x4c,
599	0x99, 0xcb, 0xa1, 0x03, 0xea, 0x24, 0x12, 0x67, 0xd4, 0x17, 0x8e, 0x45, 0x84, 0x13, 0xf8, 0x8d,
600	0xf5, 0x96, 0xd4, 0xa9, 0xec, 0xaa, 0xdd, 0xb7, 0x6b, 0x71, 0xf7, 0xe6, 0x29, 0x5d, 0x75, 0x05,
601	0x08, 0xdd, 0x02, 0x86, 0x3f, 0x01, 0x10, 0x71, 0xca, 0x30, 0xb1, 0xa9, 0x2f, 0x1a, 0x1b, 0x2d,
602	0xa9, 0x53, 0xdf, 0x7d, 0x76, 0x07, 0x9a, 0x29, 0xa7, 0x4c, 0x8d, 0x31, 0x50, 0x39, 0xca, 0x8f,
603	0xf0, 0x31, 0x80, 0x33, 0x97, 0x58, 0xe7, 0xae, 0xc3, 0x05, 0x0e, 0x89, 0x10, 0x94, 0xf9, 0xbc,
604	0xb1, 0x19, 0x3f, 0x1b, 0xdd, 0x5f, 0x78, 0x8c, 0xcc, 0x01, 0x8f, 0x40, 0x89, 0x5b, 0x67, 0x74,
605	0x1e, 0xb9, 0xb4, 0x51, 0x4a, 0x1e, 0xfc, 0xf4, 0x0e, 0x95, 0x4c, 0x32, 0x08, 0xb4, 0x00, 0x83,
606	0x2e, 0x90, 0x05, 0x61, 0x36, 0x15, 0x38, 0x74, 0x89, 0x38, 0x0d, 0x98, 0xc7, 0x1b, 0xe5, 0x56,
607	0xb1, 0x53, 0xbf, 0x53, 0x47, 0xcd, 0x04, 0xca, 0xc8, 0x90, 0xd0, 0x96, 0x58, 0xb9, 0x73, 0xf8,
608	0xbb, 0x04, 0x3e, 0xa3, 0x97, 0x61, 0xc0, 0x04, 0x16, 0x01, 0xce, 0xf1, 0xb0, 0x15, 0x78, 0x1e,
609	0xf1, 0xe7, 0xd8, 0xa2, 0xbe, 0xa0, 0xac, 0x01, 0x92, 0x56, 0x1b, 0x77, 0xe0, 0xd7, 0x12, 0x6c,
610	0x33, 0x98, 0x64, 0x91, 0xbd, 0x14, 0xb8, 0x97, 0xe0, 0xa2, 0x87, 0xf4, 0x4d, 0x6e, 0xa8, 0x03,
611	0xe0, 0x12, 0x41, 0xb9, 0x88, 0xb7, 0xa3, 0x51, 0x49, 0xba, 0xac, 0xbc, 0x4b, 0x11, 0x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