...

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

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

     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/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_v1beta_scan_run_proto_enumTypes[0].Descriptor()
    84  }
    85  
    86  func (ScanRun_ExecutionState) Type() protoreflect.EnumType {
    87  	return &file_google_cloud_websecurityscanner_v1beta_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_v1beta_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_v1beta_scan_run_proto_enumTypes[1].Descriptor()
   142  }
   143  
   144  func (ScanRun_ResultState) Type() protoreflect.EnumType {
   145  	return &file_google_cloud_websecurityscanner_v1beta_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_v1beta_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  // Next id: 12
   159  type ScanRun struct {
   160  	state         protoimpl.MessageState
   161  	sizeCache     protoimpl.SizeCache
   162  	unknownFields protoimpl.UnknownFields
   163  
   164  	// The resource name of the ScanRun. The name follows the format of
   165  	// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
   166  	// The ScanRun IDs are generated by the system.
   167  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   168  	// The execution state of the ScanRun.
   169  	ExecutionState ScanRun_ExecutionState `protobuf:"varint,2,opt,name=execution_state,json=executionState,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanRun_ExecutionState" json:"execution_state,omitempty"`
   170  	// The result state of the ScanRun. This field is only available after the
   171  	// execution state reaches "FINISHED".
   172  	ResultState ScanRun_ResultState `protobuf:"varint,3,opt,name=result_state,json=resultState,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanRun_ResultState" json:"result_state,omitempty"`
   173  	// The time at which the ScanRun started.
   174  	StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
   175  	// The time at which the ScanRun reached termination state - that the ScanRun
   176  	// is either finished or stopped by user.
   177  	EndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
   178  	// The number of URLs crawled during this ScanRun. If the scan is in progress,
   179  	// the value represents the number of URLs crawled up to now.
   180  	UrlsCrawledCount int64 `protobuf:"varint,6,opt,name=urls_crawled_count,json=urlsCrawledCount,proto3" json:"urls_crawled_count,omitempty"`
   181  	// The number of URLs tested during this ScanRun. If the scan is in progress,
   182  	// the value represents the number of URLs tested up to now. The number of
   183  	// URLs tested is usually larger than the number URLS crawled because
   184  	// typically a crawled URL is tested with multiple test payloads.
   185  	UrlsTestedCount int64 `protobuf:"varint,7,opt,name=urls_tested_count,json=urlsTestedCount,proto3" json:"urls_tested_count,omitempty"`
   186  	// Whether the scan run has found any vulnerabilities.
   187  	HasVulnerabilities bool `protobuf:"varint,8,opt,name=has_vulnerabilities,json=hasVulnerabilities,proto3" json:"has_vulnerabilities,omitempty"`
   188  	// The percentage of total completion ranging from 0 to 100.
   189  	// If the scan is in queue, the value is 0.
   190  	// If the scan is running, the value ranges from 0 to 100.
   191  	// If the scan is finished, the value is 100.
   192  	ProgressPercent int32 `protobuf:"varint,9,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"`
   193  	// If result_state is an ERROR, this field provides the primary reason for
   194  	// scan's termination and more details, if such are available.
   195  	ErrorTrace *ScanRunErrorTrace `protobuf:"bytes,10,opt,name=error_trace,json=errorTrace,proto3" json:"error_trace,omitempty"`
   196  	// A list of warnings, if such are encountered during this scan run.
   197  	WarningTraces []*ScanRunWarningTrace `protobuf:"bytes,11,rep,name=warning_traces,json=warningTraces,proto3" json:"warning_traces,omitempty"`
   198  }
   199  
   200  func (x *ScanRun) Reset() {
   201  	*x = ScanRun{}
   202  	if protoimpl.UnsafeEnabled {
   203  		mi := &file_google_cloud_websecurityscanner_v1beta_scan_run_proto_msgTypes[0]
   204  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   205  		ms.StoreMessageInfo(mi)
   206  	}
   207  }
   208  
   209  func (x *ScanRun) String() string {
   210  	return protoimpl.X.MessageStringOf(x)
   211  }
   212  
   213  func (*ScanRun) ProtoMessage() {}
   214  
   215  func (x *ScanRun) ProtoReflect() protoreflect.Message {
   216  	mi := &file_google_cloud_websecurityscanner_v1beta_scan_run_proto_msgTypes[0]
   217  	if protoimpl.UnsafeEnabled && x != nil {
   218  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   219  		if ms.LoadMessageInfo() == nil {
   220  			ms.StoreMessageInfo(mi)
   221  		}
   222  		return ms
   223  	}
   224  	return mi.MessageOf(x)
   225  }
   226  
   227  // Deprecated: Use ScanRun.ProtoReflect.Descriptor instead.
   228  func (*ScanRun) Descriptor() ([]byte, []int) {
   229  	return file_google_cloud_websecurityscanner_v1beta_scan_run_proto_rawDescGZIP(), []int{0}
   230  }
   231  
   232  func (x *ScanRun) GetName() string {
   233  	if x != nil {
   234  		return x.Name
   235  	}
   236  	return ""
   237  }
   238  
   239  func (x *ScanRun) GetExecutionState() ScanRun_ExecutionState {
   240  	if x != nil {
   241  		return x.ExecutionState
   242  	}
   243  	return ScanRun_EXECUTION_STATE_UNSPECIFIED
   244  }
   245  
   246  func (x *ScanRun) GetResultState() ScanRun_ResultState {
   247  	if x != nil {
   248  		return x.ResultState
   249  	}
   250  	return ScanRun_RESULT_STATE_UNSPECIFIED
   251  }
   252  
   253  func (x *ScanRun) GetStartTime() *timestamppb.Timestamp {
   254  	if x != nil {
   255  		return x.StartTime
   256  	}
   257  	return nil
   258  }
   259  
   260  func (x *ScanRun) GetEndTime() *timestamppb.Timestamp {
   261  	if x != nil {
   262  		return x.EndTime
   263  	}
   264  	return nil
   265  }
   266  
   267  func (x *ScanRun) GetUrlsCrawledCount() int64 {
   268  	if x != nil {
   269  		return x.UrlsCrawledCount
   270  	}
   271  	return 0
   272  }
   273  
   274  func (x *ScanRun) GetUrlsTestedCount() int64 {
   275  	if x != nil {
   276  		return x.UrlsTestedCount
   277  	}
   278  	return 0
   279  }
   280  
   281  func (x *ScanRun) GetHasVulnerabilities() bool {
   282  	if x != nil {
   283  		return x.HasVulnerabilities
   284  	}
   285  	return false
   286  }
   287  
   288  func (x *ScanRun) GetProgressPercent() int32 {
   289  	if x != nil {
   290  		return x.ProgressPercent
   291  	}
   292  	return 0
   293  }
   294  
   295  func (x *ScanRun) GetErrorTrace() *ScanRunErrorTrace {
   296  	if x != nil {
   297  		return x.ErrorTrace
   298  	}
   299  	return nil
   300  }
   301  
   302  func (x *ScanRun) GetWarningTraces() []*ScanRunWarningTrace {
   303  	if x != nil {
   304  		return x.WarningTraces
   305  	}
   306  	return nil
   307  }
   308  
   309  var File_google_cloud_websecurityscanner_v1beta_scan_run_proto protoreflect.FileDescriptor
   310  
   311  var file_google_cloud_websecurityscanner_v1beta_scan_run_proto_rawDesc = []byte{
   312  	0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77,
   313  	0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65,
   314  	0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x72, 0x75,
   315  	0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   316  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
   317  	0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x1a,
   318  	0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f,
   319  	0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x41, 0x67, 0x6f, 0x6f, 0x67,
   320  	0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75,
   321  	0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65,
   322  	0x74, 0x61, 0x2f, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x65, 0x72, 0x72, 0x6f,
   323  	0x72, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x43, 0x67,
   324  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77, 0x65, 0x62, 0x73,
   325  	0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76,
   326  	0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x77,
   327  	0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   328  	0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   329  	0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72,
   330  	0x6f, 0x74, 0x6f, 0x22, 0xec, 0x07, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6e, 0x52, 0x75, 0x6e, 0x12,
   331  	0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
   332  	0x61, 0x6d, 0x65, 0x12, 0x67, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e,
   333  	0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x67,
   334  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73,
   335  	0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76,
   336  	0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x63, 0x61, 0x6e, 0x52, 0x75, 0x6e, 0x2e, 0x45, 0x78,
   337  	0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0e, 0x65, 0x78,
   338  	0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x5e, 0x0a, 0x0c,
   339  	0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01,
   340  	0x28, 0x0e, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
   341  	0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61,
   342  	0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x63, 0x61, 0x6e,
   343  	0x52, 0x75, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52,
   344  	0x0b, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x39, 0x0a, 0x0a,
   345  	0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
   346  	0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
   347  	0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74,
   348  	0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74,
   349  	0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   350  	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
   351  	0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2c,
   352  	0x0a, 0x12, 0x75, 0x72, 0x6c, 0x73, 0x5f, 0x63, 0x72, 0x61, 0x77, 0x6c, 0x65, 0x64, 0x5f, 0x63,
   353  	0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x75, 0x72, 0x6c, 0x73,
   354  	0x43, 0x72, 0x61, 0x77, 0x6c, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11,
   355  	0x75, 0x72, 0x6c, 0x73, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e,
   356  	0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x75, 0x72, 0x6c, 0x73, 0x54, 0x65, 0x73,
   357  	0x74, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x68, 0x61, 0x73, 0x5f,
   358  	0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18,
   359  	0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x68, 0x61, 0x73, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72,
   360  	0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, 0x6f,
   361  	0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20,
   362  	0x01, 0x28, 0x05, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x50, 0x65, 0x72,
   363  	0x63, 0x65, 0x6e, 0x74, 0x12, 0x5a, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x74, 0x72,
   364  	0x61, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   365  	0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75,
   366  	0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65,
   367  	0x74, 0x61, 0x2e, 0x53, 0x63, 0x61, 0x6e, 0x52, 0x75, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54,
   368  	0x72, 0x61, 0x63, 0x65, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x72, 0x61, 0x63, 0x65,
   369  	0x12, 0x62, 0x0a, 0x0e, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x72, 0x61, 0x63,
   370  	0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   371  	0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72,
   372  	0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
   373  	0x61, 0x2e, 0x53, 0x63, 0x61, 0x6e, 0x52, 0x75, 0x6e, 0x57, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67,
   374  	0x54, 0x72, 0x61, 0x63, 0x65, 0x52, 0x0d, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x72,
   375  	0x61, 0x63, 0x65, 0x73, 0x22, 0x59, 0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f,
   376  	0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54,
   377  	0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
   378  	0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x51, 0x55, 0x45, 0x55, 0x45,
   379  	0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x43, 0x41, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10,
   380  	0x02, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x03, 0x22,
   381  	0x4f, 0x0a, 0x0b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c,
   382  	0x0a, 0x18, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55,
   383  	0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07,
   384  	0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52,
   385  	0x4f, 0x52, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x4b, 0x49, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x03,
   386  	0x3a, 0x70, 0xea, 0x41, 0x6d, 0x0a, 0x29, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
   387  	0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   388  	0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x63, 0x61, 0x6e, 0x52, 0x75, 0x6e,
   389  	0x12, 0x40, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a,
   390  	0x65, 0x63, 0x74, 0x7d, 0x2f, 0x73, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73,
   391  	0x2f, 0x7b, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d, 0x2f, 0x73,
   392  	0x63, 0x61, 0x6e, 0x52, 0x75, 0x6e, 0x73, 0x2f, 0x7b, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x72, 0x75,
   393  	0x6e, 0x7d, 0x42, 0x94, 0x02, 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   394  	0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72,
   395  	0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
   396  	0x61, 0x42, 0x0c, 0x53, 0x63, 0x61, 0x6e, 0x52, 0x75, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
   397  	0x01, 0x5a, 0x58, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
   398  	0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
   399  	0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77,
   400  	0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65,
   401  	0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75,
   402  	0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0xaa, 0x02, 0x26, 0x47, 0x6f,
   403  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x57, 0x65, 0x62, 0x53, 0x65,
   404  	0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x56, 0x31,
   405  	0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c,
   406  	0x6f, 0x75, 0x64, 0x5c, 0x57, 0x65, 0x62, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53,
   407  	0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x29,
   408  	0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x57,
   409  	0x65, 0x62, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x65,
   410  	0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   411  	0x33,
   412  }
   413  
   414  var (
   415  	file_google_cloud_websecurityscanner_v1beta_scan_run_proto_rawDescOnce sync.Once
   416  	file_google_cloud_websecurityscanner_v1beta_scan_run_proto_rawDescData = file_google_cloud_websecurityscanner_v1beta_scan_run_proto_rawDesc
   417  )
   418  
   419  func file_google_cloud_websecurityscanner_v1beta_scan_run_proto_rawDescGZIP() []byte {
   420  	file_google_cloud_websecurityscanner_v1beta_scan_run_proto_rawDescOnce.Do(func() {
   421  		file_google_cloud_websecurityscanner_v1beta_scan_run_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_websecurityscanner_v1beta_scan_run_proto_rawDescData)
   422  	})
   423  	return file_google_cloud_websecurityscanner_v1beta_scan_run_proto_rawDescData
   424  }
   425  
   426  var file_google_cloud_websecurityscanner_v1beta_scan_run_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
   427  var file_google_cloud_websecurityscanner_v1beta_scan_run_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   428  var file_google_cloud_websecurityscanner_v1beta_scan_run_proto_goTypes = []interface{}{
   429  	(ScanRun_ExecutionState)(0),   // 0: google.cloud.websecurityscanner.v1beta.ScanRun.ExecutionState
   430  	(ScanRun_ResultState)(0),      // 1: google.cloud.websecurityscanner.v1beta.ScanRun.ResultState
   431  	(*ScanRun)(nil),               // 2: google.cloud.websecurityscanner.v1beta.ScanRun
   432  	(*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp
   433  	(*ScanRunErrorTrace)(nil),     // 4: google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace
   434  	(*ScanRunWarningTrace)(nil),   // 5: google.cloud.websecurityscanner.v1beta.ScanRunWarningTrace
   435  }
   436  var file_google_cloud_websecurityscanner_v1beta_scan_run_proto_depIdxs = []int32{
   437  	0, // 0: google.cloud.websecurityscanner.v1beta.ScanRun.execution_state:type_name -> google.cloud.websecurityscanner.v1beta.ScanRun.ExecutionState
   438  	1, // 1: google.cloud.websecurityscanner.v1beta.ScanRun.result_state:type_name -> google.cloud.websecurityscanner.v1beta.ScanRun.ResultState
   439  	3, // 2: google.cloud.websecurityscanner.v1beta.ScanRun.start_time:type_name -> google.protobuf.Timestamp
   440  	3, // 3: google.cloud.websecurityscanner.v1beta.ScanRun.end_time:type_name -> google.protobuf.Timestamp
   441  	4, // 4: google.cloud.websecurityscanner.v1beta.ScanRun.error_trace:type_name -> google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace
   442  	5, // 5: google.cloud.websecurityscanner.v1beta.ScanRun.warning_traces:type_name -> google.cloud.websecurityscanner.v1beta.ScanRunWarningTrace
   443  	6, // [6:6] is the sub-list for method output_type
   444  	6, // [6:6] is the sub-list for method input_type
   445  	6, // [6:6] is the sub-list for extension type_name
   446  	6, // [6:6] is the sub-list for extension extendee
   447  	0, // [0:6] is the sub-list for field type_name
   448  }
   449  
   450  func init() { file_google_cloud_websecurityscanner_v1beta_scan_run_proto_init() }
   451  func file_google_cloud_websecurityscanner_v1beta_scan_run_proto_init() {
   452  	if File_google_cloud_websecurityscanner_v1beta_scan_run_proto != nil {
   453  		return
   454  	}
   455  	file_google_cloud_websecurityscanner_v1beta_scan_run_error_trace_proto_init()
   456  	file_google_cloud_websecurityscanner_v1beta_scan_run_warning_trace_proto_init()
   457  	if !protoimpl.UnsafeEnabled {
   458  		file_google_cloud_websecurityscanner_v1beta_scan_run_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   459  			switch v := v.(*ScanRun); i {
   460  			case 0:
   461  				return &v.state
   462  			case 1:
   463  				return &v.sizeCache
   464  			case 2:
   465  				return &v.unknownFields
   466  			default:
   467  				return nil
   468  			}
   469  		}
   470  	}
   471  	type x struct{}
   472  	out := protoimpl.TypeBuilder{
   473  		File: protoimpl.DescBuilder{
   474  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   475  			RawDescriptor: file_google_cloud_websecurityscanner_v1beta_scan_run_proto_rawDesc,
   476  			NumEnums:      2,
   477  			NumMessages:   1,
   478  			NumExtensions: 0,
   479  			NumServices:   0,
   480  		},
   481  		GoTypes:           file_google_cloud_websecurityscanner_v1beta_scan_run_proto_goTypes,
   482  		DependencyIndexes: file_google_cloud_websecurityscanner_v1beta_scan_run_proto_depIdxs,
   483  		EnumInfos:         file_google_cloud_websecurityscanner_v1beta_scan_run_proto_enumTypes,
   484  		MessageInfos:      file_google_cloud_websecurityscanner_v1beta_scan_run_proto_msgTypes,
   485  	}.Build()
   486  	File_google_cloud_websecurityscanner_v1beta_scan_run_proto = out.File
   487  	file_google_cloud_websecurityscanner_v1beta_scan_run_proto_rawDesc = nil
   488  	file_google_cloud_websecurityscanner_v1beta_scan_run_proto_goTypes = nil
   489  	file_google_cloud_websecurityscanner_v1beta_scan_run_proto_depIdxs = nil
   490  }
   491  

View as plain text