...

Source file src/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/scan_run.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha

     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/v1alpha/scan_run.proto
    21  
    22  package websecurityscanner
    23  
    24  import (
    25  	reflect "reflect"
    26  	sync "sync"
    27  
    28  	_ "google.golang.org/genproto/googleapis/api/annotations"
    29  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    30  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    31  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    32  )
    33  
    34  const (
    35  	// Verify that this generated code is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    37  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    38  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    39  )
    40  
    41  // Types of ScanRun execution state.
    42  type ScanRun_ExecutionState int32
    43  
    44  const (
    45  	// Represents an invalid state caused by internal server error. This value
    46  	// should never be returned.
    47  	ScanRun_EXECUTION_STATE_UNSPECIFIED ScanRun_ExecutionState = 0
    48  	// The scan is waiting in the queue.
    49  	ScanRun_QUEUED ScanRun_ExecutionState = 1
    50  	// The scan is in progress.
    51  	ScanRun_SCANNING ScanRun_ExecutionState = 2
    52  	// The scan is either finished or stopped by user.
    53  	ScanRun_FINISHED ScanRun_ExecutionState = 3
    54  )
    55  
    56  // Enum value maps for ScanRun_ExecutionState.
    57  var (
    58  	ScanRun_ExecutionState_name = map[int32]string{
    59  		0: "EXECUTION_STATE_UNSPECIFIED",
    60  		1: "QUEUED",
    61  		2: "SCANNING",
    62  		3: "FINISHED",
    63  	}
    64  	ScanRun_ExecutionState_value = map[string]int32{
    65  		"EXECUTION_STATE_UNSPECIFIED": 0,
    66  		"QUEUED":                      1,
    67  		"SCANNING":                    2,
    68  		"FINISHED":                    3,
    69  	}
    70  )
    71  
    72  func (x ScanRun_ExecutionState) Enum() *ScanRun_ExecutionState {
    73  	p := new(ScanRun_ExecutionState)
    74  	*p = x
    75  	return p
    76  }
    77  
    78  func (x ScanRun_ExecutionState) String() string {
    79  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    80  }
    81  
    82  func (ScanRun_ExecutionState) Descriptor() protoreflect.EnumDescriptor {
    83  	return file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_enumTypes[0].Descriptor()
    84  }
    85  
    86  func (ScanRun_ExecutionState) Type() protoreflect.EnumType {
    87  	return &file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_enumTypes[0]
    88  }
    89  
    90  func (x ScanRun_ExecutionState) Number() protoreflect.EnumNumber {
    91  	return protoreflect.EnumNumber(x)
    92  }
    93  
    94  // Deprecated: Use ScanRun_ExecutionState.Descriptor instead.
    95  func (ScanRun_ExecutionState) EnumDescriptor() ([]byte, []int) {
    96  	return file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_rawDescGZIP(), []int{0, 0}
    97  }
    98  
    99  // Types of ScanRun result state.
   100  type ScanRun_ResultState int32
   101  
   102  const (
   103  	// Default value. This value is returned when the ScanRun is not yet
   104  	// finished.
   105  	ScanRun_RESULT_STATE_UNSPECIFIED ScanRun_ResultState = 0
   106  	// The scan finished without errors.
   107  	ScanRun_SUCCESS ScanRun_ResultState = 1
   108  	// The scan finished with errors.
   109  	ScanRun_ERROR ScanRun_ResultState = 2
   110  	// The scan was terminated by user.
   111  	ScanRun_KILLED ScanRun_ResultState = 3
   112  )
   113  
   114  // Enum value maps for ScanRun_ResultState.
   115  var (
   116  	ScanRun_ResultState_name = map[int32]string{
   117  		0: "RESULT_STATE_UNSPECIFIED",
   118  		1: "SUCCESS",
   119  		2: "ERROR",
   120  		3: "KILLED",
   121  	}
   122  	ScanRun_ResultState_value = map[string]int32{
   123  		"RESULT_STATE_UNSPECIFIED": 0,
   124  		"SUCCESS":                  1,
   125  		"ERROR":                    2,
   126  		"KILLED":                   3,
   127  	}
   128  )
   129  
   130  func (x ScanRun_ResultState) Enum() *ScanRun_ResultState {
   131  	p := new(ScanRun_ResultState)
   132  	*p = x
   133  	return p
   134  }
   135  
   136  func (x ScanRun_ResultState) String() string {
   137  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   138  }
   139  
   140  func (ScanRun_ResultState) Descriptor() protoreflect.EnumDescriptor {
   141  	return file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_enumTypes[1].Descriptor()
   142  }
   143  
   144  func (ScanRun_ResultState) Type() protoreflect.EnumType {
   145  	return &file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_enumTypes[1]
   146  }
   147  
   148  func (x ScanRun_ResultState) Number() protoreflect.EnumNumber {
   149  	return protoreflect.EnumNumber(x)
   150  }
   151  
   152  // Deprecated: Use ScanRun_ResultState.Descriptor instead.
   153  func (ScanRun_ResultState) EnumDescriptor() ([]byte, []int) {
   154  	return file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_rawDescGZIP(), []int{0, 1}
   155  }
   156  
   157  // A ScanRun is a output-only resource representing an actual run of the scan.
   158  type ScanRun struct {
   159  	state         protoimpl.MessageState
   160  	sizeCache     protoimpl.SizeCache
   161  	unknownFields protoimpl.UnknownFields
   162  
   163  	// The resource name of the ScanRun. The name follows the format of
   164  	// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
   165  	// The ScanRun IDs are generated by the system.
   166  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   167  	// The execution state of the ScanRun.
   168  	ExecutionState ScanRun_ExecutionState `protobuf:"varint,2,opt,name=execution_state,json=executionState,proto3,enum=google.cloud.websecurityscanner.v1alpha.ScanRun_ExecutionState" json:"execution_state,omitempty"`
   169  	// The result state of the ScanRun. This field is only available after the
   170  	// execution state reaches "FINISHED".
   171  	ResultState ScanRun_ResultState `protobuf:"varint,3,opt,name=result_state,json=resultState,proto3,enum=google.cloud.websecurityscanner.v1alpha.ScanRun_ResultState" json:"result_state,omitempty"`
   172  	// The time at which the ScanRun started.
   173  	StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
   174  	// The time at which the ScanRun reached termination state - that the ScanRun
   175  	// is either finished or stopped by user.
   176  	EndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
   177  	// The number of URLs crawled during this ScanRun. If the scan is in progress,
   178  	// the value represents the number of URLs crawled up to now.
   179  	UrlsCrawledCount int64 `protobuf:"varint,6,opt,name=urls_crawled_count,json=urlsCrawledCount,proto3" json:"urls_crawled_count,omitempty"`
   180  	// The number of URLs tested during this ScanRun. If the scan is in progress,
   181  	// the value represents the number of URLs tested up to now. The number of
   182  	// URLs tested is usually larger than the number URLS crawled because
   183  	// typically a crawled URL is tested with multiple test payloads.
   184  	UrlsTestedCount int64 `protobuf:"varint,7,opt,name=urls_tested_count,json=urlsTestedCount,proto3" json:"urls_tested_count,omitempty"`
   185  	// Whether the scan run has found any vulnerabilities.
   186  	HasVulnerabilities bool `protobuf:"varint,8,opt,name=has_vulnerabilities,json=hasVulnerabilities,proto3" json:"has_vulnerabilities,omitempty"`
   187  	// The percentage of total completion ranging from 0 to 100.
   188  	// If the scan is in queue, the value is 0.
   189  	// If the scan is running, the value ranges from 0 to 100.
   190  	// If the scan is finished, the value is 100.
   191  	ProgressPercent int32 `protobuf:"varint,9,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"`
   192  }
   193  
   194  func (x *ScanRun) Reset() {
   195  	*x = ScanRun{}
   196  	if protoimpl.UnsafeEnabled {
   197  		mi := &file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_msgTypes[0]
   198  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   199  		ms.StoreMessageInfo(mi)
   200  	}
   201  }
   202  
   203  func (x *ScanRun) String() string {
   204  	return protoimpl.X.MessageStringOf(x)
   205  }
   206  
   207  func (*ScanRun) ProtoMessage() {}
   208  
   209  func (x *ScanRun) ProtoReflect() protoreflect.Message {
   210  	mi := &file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_msgTypes[0]
   211  	if protoimpl.UnsafeEnabled && x != nil {
   212  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   213  		if ms.LoadMessageInfo() == nil {
   214  			ms.StoreMessageInfo(mi)
   215  		}
   216  		return ms
   217  	}
   218  	return mi.MessageOf(x)
   219  }
   220  
   221  // Deprecated: Use ScanRun.ProtoReflect.Descriptor instead.
   222  func (*ScanRun) Descriptor() ([]byte, []int) {
   223  	return file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_rawDescGZIP(), []int{0}
   224  }
   225  
   226  func (x *ScanRun) GetName() string {
   227  	if x != nil {
   228  		return x.Name
   229  	}
   230  	return ""
   231  }
   232  
   233  func (x *ScanRun) GetExecutionState() ScanRun_ExecutionState {
   234  	if x != nil {
   235  		return x.ExecutionState
   236  	}
   237  	return ScanRun_EXECUTION_STATE_UNSPECIFIED
   238  }
   239  
   240  func (x *ScanRun) GetResultState() ScanRun_ResultState {
   241  	if x != nil {
   242  		return x.ResultState
   243  	}
   244  	return ScanRun_RESULT_STATE_UNSPECIFIED
   245  }
   246  
   247  func (x *ScanRun) GetStartTime() *timestamppb.Timestamp {
   248  	if x != nil {
   249  		return x.StartTime
   250  	}
   251  	return nil
   252  }
   253  
   254  func (x *ScanRun) GetEndTime() *timestamppb.Timestamp {
   255  	if x != nil {
   256  		return x.EndTime
   257  	}
   258  	return nil
   259  }
   260  
   261  func (x *ScanRun) GetUrlsCrawledCount() int64 {
   262  	if x != nil {
   263  		return x.UrlsCrawledCount
   264  	}
   265  	return 0
   266  }
   267  
   268  func (x *ScanRun) GetUrlsTestedCount() int64 {
   269  	if x != nil {
   270  		return x.UrlsTestedCount
   271  	}
   272  	return 0
   273  }
   274  
   275  func (x *ScanRun) GetHasVulnerabilities() bool {
   276  	if x != nil {
   277  		return x.HasVulnerabilities
   278  	}
   279  	return false
   280  }
   281  
   282  func (x *ScanRun) GetProgressPercent() int32 {
   283  	if x != nil {
   284  		return x.ProgressPercent
   285  	}
   286  	return 0
   287  }
   288  
   289  var File_google_cloud_websecurityscanner_v1alpha_scan_run_proto protoreflect.FileDescriptor
   290  
   291  var file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_rawDesc = []byte{
   292  	0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77,
   293  	0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65,
   294  	0x72, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x72,
   295  	0x75, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   296  	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
   297  	0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
   298  	0x61, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65,
   299  	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
   300  	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
   301  	0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x06,
   302  	0x0a, 0x07, 0x53, 0x63, 0x61, 0x6e, 0x52, 0x75, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
   303  	0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x68, 0x0a,
   304  	0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65,
   305  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   306  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
   307  	0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
   308  	0x2e, 0x53, 0x63, 0x61, 0x6e, 0x52, 0x75, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69,
   309  	0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69,
   310  	0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x5f, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x75, 0x6c,
   311  	0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e,
   312  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62,
   313  	0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e,
   314  	0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x63, 0x61, 0x6e, 0x52, 0x75, 0x6e, 0x2e,
   315  	0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x72, 0x65, 0x73,
   316  	0x75, 0x6c, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72,
   317  	0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
   318  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
   319  	0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54,
   320  	0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
   321  	0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
   322  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
   323  	0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x75, 0x72,
   324  	0x6c, 0x73, 0x5f, 0x63, 0x72, 0x61, 0x77, 0x6c, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
   325  	0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x75, 0x72, 0x6c, 0x73, 0x43, 0x72, 0x61, 0x77,
   326  	0x6c, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x75, 0x72, 0x6c, 0x73,
   327  	0x5f, 0x74, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20,
   328  	0x01, 0x28, 0x03, 0x52, 0x0f, 0x75, 0x72, 0x6c, 0x73, 0x54, 0x65, 0x73, 0x74, 0x65, 0x64, 0x43,
   329  	0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x68, 0x61, 0x73, 0x5f, 0x76, 0x75, 0x6c, 0x6e,
   330  	0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28,
   331  	0x08, 0x52, 0x12, 0x68, 0x61, 0x73, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c,
   332  	0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73,
   333  	0x73, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52,
   334  	0x0f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74,
   335  	0x22, 0x59, 0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61,
   336  	0x74, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f,
   337  	0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
   338  	0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x51, 0x55, 0x45, 0x55, 0x45, 0x44, 0x10, 0x01, 0x12,
   339  	0x0c, 0x0a, 0x08, 0x53, 0x43, 0x41, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0c, 0x0a,
   340  	0x08, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x03, 0x22, 0x4f, 0x0a, 0x0b, 0x52,
   341  	0x65, 0x73, 0x75, 0x6c, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x45,
   342  	0x53, 0x55, 0x4c, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
   343  	0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43,
   344  	0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02,
   345  	0x12, 0x0a, 0x0a, 0x06, 0x4b, 0x49, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x3a, 0x70, 0xea, 0x41,
   346  	0x6d, 0x0a, 0x29, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63,
   347  	0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
   348  	0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x63, 0x61, 0x6e, 0x52, 0x75, 0x6e, 0x12, 0x40, 0x70, 0x72,
   349  	0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d,
   350  	0x2f, 0x73, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x7b, 0x73, 0x63,
   351  	0x61, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d, 0x2f, 0x73, 0x63, 0x61, 0x6e, 0x52,
   352  	0x75, 0x6e, 0x73, 0x2f, 0x7b, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x72, 0x75, 0x6e, 0x7d, 0x42, 0x98,
   353  	0x01, 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
   354  	0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73,
   355  	0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x0c,
   356  	0x53, 0x63, 0x61, 0x6e, 0x52, 0x75, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59,
   357  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
   358  	0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   359  	0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77, 0x65, 0x62, 0x73,
   360  	0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76,
   361  	0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
   362  	0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   363  	0x33,
   364  }
   365  
   366  var (
   367  	file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_rawDescOnce sync.Once
   368  	file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_rawDescData = file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_rawDesc
   369  )
   370  
   371  func file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_rawDescGZIP() []byte {
   372  	file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_rawDescOnce.Do(func() {
   373  		file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_rawDescData)
   374  	})
   375  	return file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_rawDescData
   376  }
   377  
   378  var file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
   379  var file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   380  var file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_goTypes = []interface{}{
   381  	(ScanRun_ExecutionState)(0),   // 0: google.cloud.websecurityscanner.v1alpha.ScanRun.ExecutionState
   382  	(ScanRun_ResultState)(0),      // 1: google.cloud.websecurityscanner.v1alpha.ScanRun.ResultState
   383  	(*ScanRun)(nil),               // 2: google.cloud.websecurityscanner.v1alpha.ScanRun
   384  	(*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp
   385  }
   386  var file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_depIdxs = []int32{
   387  	0, // 0: google.cloud.websecurityscanner.v1alpha.ScanRun.execution_state:type_name -> google.cloud.websecurityscanner.v1alpha.ScanRun.ExecutionState
   388  	1, // 1: google.cloud.websecurityscanner.v1alpha.ScanRun.result_state:type_name -> google.cloud.websecurityscanner.v1alpha.ScanRun.ResultState
   389  	3, // 2: google.cloud.websecurityscanner.v1alpha.ScanRun.start_time:type_name -> google.protobuf.Timestamp
   390  	3, // 3: google.cloud.websecurityscanner.v1alpha.ScanRun.end_time:type_name -> google.protobuf.Timestamp
   391  	4, // [4:4] is the sub-list for method output_type
   392  	4, // [4:4] is the sub-list for method input_type
   393  	4, // [4:4] is the sub-list for extension type_name
   394  	4, // [4:4] is the sub-list for extension extendee
   395  	0, // [0:4] is the sub-list for field type_name
   396  }
   397  
   398  func init() { file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_init() }
   399  func file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_init() {
   400  	if File_google_cloud_websecurityscanner_v1alpha_scan_run_proto != nil {
   401  		return
   402  	}
   403  	if !protoimpl.UnsafeEnabled {
   404  		file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   405  			switch v := v.(*ScanRun); i {
   406  			case 0:
   407  				return &v.state
   408  			case 1:
   409  				return &v.sizeCache
   410  			case 2:
   411  				return &v.unknownFields
   412  			default:
   413  				return nil
   414  			}
   415  		}
   416  	}
   417  	type x struct{}
   418  	out := protoimpl.TypeBuilder{
   419  		File: protoimpl.DescBuilder{
   420  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   421  			RawDescriptor: file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_rawDesc,
   422  			NumEnums:      2,
   423  			NumMessages:   1,
   424  			NumExtensions: 0,
   425  			NumServices:   0,
   426  		},
   427  		GoTypes:           file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_goTypes,
   428  		DependencyIndexes: file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_depIdxs,
   429  		EnumInfos:         file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_enumTypes,
   430  		MessageInfos:      file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_msgTypes,
   431  	}.Build()
   432  	File_google_cloud_websecurityscanner_v1alpha_scan_run_proto = out.File
   433  	file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_rawDesc = nil
   434  	file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_goTypes = nil
   435  	file_google_cloud_websecurityscanner_v1alpha_scan_run_proto_depIdxs = nil
   436  }
   437  

View as plain text