1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/cloud/websecurityscanner/v1alpha/crawled_url.proto 3 4package websecurityscanner 5 6import ( 7 fmt "fmt" 8 math "math" 9 10 proto "github.com/golang/protobuf/proto" 11) 12 13// Reference imports to suppress errors if they are not otherwise used. 14var _ = proto.Marshal 15var _ = fmt.Errorf 16var _ = math.Inf 17 18// This is a compile-time assertion to ensure that this generated file 19// is compatible with the proto package it is being compiled against. 20// A compilation error at this line likely means your copy of the 21// proto package needs to be updated. 22const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 23 24// A CrawledUrl resource represents a URL that was crawled during a ScanRun. Web 25// Security Scanner Service crawls the web applications, following all links 26// within the scope of sites, to find the URLs to test against. 27type CrawledUrl struct { 28 // Output only. The http method of the request that was used to visit the URL, in 29 // uppercase. 30 HttpMethod string `protobuf:"bytes,1,opt,name=http_method,json=httpMethod,proto3" json:"http_method,omitempty"` 31 // Output only. The URL that was crawled. 32 Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` 33 // Output only. The body of the request that was used to visit the URL. 34 Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` 35 XXX_NoUnkeyedLiteral struct{} `json:"-"` 36 XXX_unrecognized []byte `json:"-"` 37 XXX_sizecache int32 `json:"-"` 38} 39 40func (m *CrawledUrl) Reset() { *m = CrawledUrl{} } 41func (m *CrawledUrl) String() string { return proto.CompactTextString(m) } 42func (*CrawledUrl) ProtoMessage() {} 43func (*CrawledUrl) Descriptor() ([]byte, []int) { 44 return fileDescriptor_a45f0d639c4b8a44, []int{0} 45} 46 47func (m *CrawledUrl) XXX_Unmarshal(b []byte) error { 48 return xxx_messageInfo_CrawledUrl.Unmarshal(m, b) 49} 50func (m *CrawledUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 51 return xxx_messageInfo_CrawledUrl.Marshal(b, m, deterministic) 52} 53func (m *CrawledUrl) XXX_Merge(src proto.Message) { 54 xxx_messageInfo_CrawledUrl.Merge(m, src) 55} 56func (m *CrawledUrl) XXX_Size() int { 57 return xxx_messageInfo_CrawledUrl.Size(m) 58} 59func (m *CrawledUrl) XXX_DiscardUnknown() { 60 xxx_messageInfo_CrawledUrl.DiscardUnknown(m) 61} 62 63var xxx_messageInfo_CrawledUrl proto.InternalMessageInfo 64 65func (m *CrawledUrl) GetHttpMethod() string { 66 if m != nil { 67 return m.HttpMethod 68 } 69 return "" 70} 71 72func (m *CrawledUrl) GetUrl() string { 73 if m != nil { 74 return m.Url 75 } 76 return "" 77} 78 79func (m *CrawledUrl) GetBody() string { 80 if m != nil { 81 return m.Body 82 } 83 return "" 84} 85 86func init() { 87 proto.RegisterType((*CrawledUrl)(nil), "google.cloud.websecurityscanner.v1alpha.CrawledUrl") 88} 89 90func init() { 91 proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/crawled_url.proto", fileDescriptor_a45f0d639c4b8a44) 92} 93 94var fileDescriptor_a45f0d639c4b8a44 = []byte{ 95 // 219 bytes of a gzipped FileDescriptorProto 96 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x31, 0x4b, 0x04, 0x31, 97 0x10, 0x85, 0x89, 0x27, 0x82, 0x63, 0xa1, 0xa4, 0xda, 0x4e, 0xb1, 0x51, 0x10, 0x12, 0xc4, 0x4a, 98 0xec, 0xce, 0x5a, 0x38, 0x14, 0x0b, 0x6d, 0x8e, 0x6c, 0x12, 0xb2, 0x07, 0x73, 0x99, 0x30, 0x9b, 99 0x78, 0xec, 0x6f, 0xf1, 0xcf, 0xca, 0x66, 0x17, 0x2c, 0xb6, 0xd0, 0xee, 0xf1, 0x1e, 0x5f, 0xf8, 100 0x32, 0xf0, 0x18, 0x88, 0x02, 0x7a, 0x6d, 0x91, 0x8a, 0xd3, 0x07, 0xdf, 0xf6, 0xde, 0x16, 0xde, 101 0xe5, 0xa1, 0xb7, 0x26, 0x46, 0xcf, 0xfa, 0xeb, 0xde, 0x60, 0xea, 0x8c, 0xb6, 0x6c, 0x0e, 0xe8, 102 0xdd, 0xb6, 0x30, 0xaa, 0xc4, 0x94, 0x49, 0xde, 0x4c, 0xa8, 0xaa, 0xa8, 0x5a, 0xa2, 0x6a, 0x46, 103 0xaf, 0xdf, 0x00, 0x9e, 0x27, 0xfa, 0x9d, 0x51, 0x5e, 0xc2, 0x59, 0x97, 0x73, 0xda, 0xee, 0x7d, 104 0xee, 0xc8, 0x35, 0xe2, 0x4a, 0xdc, 0x9e, 0xbe, 0xc2, 0x58, 0xbd, 0xd4, 0x46, 0x5e, 0xc0, 0xaa, 105 0x30, 0x36, 0x47, 0x75, 0x18, 0xa3, 0x94, 0x70, 0xdc, 0x92, 0x1b, 0x9a, 0x55, 0xad, 0x6a, 0x5e, 106 0x7f, 0x0b, 0xb8, 0xb3, 0xb4, 0x57, 0xff, 0x94, 0x58, 0x9f, 0xff, 0x2a, 0x6c, 0x46, 0xfd, 0x8d, 107 0xf8, 0xfc, 0x98, 0xd9, 0x40, 0x68, 0x62, 0x50, 0xc4, 0x41, 0x07, 0x1f, 0xeb, 0xe7, 0xf4, 0x34, 108 0x99, 0xb4, 0xeb, 0xff, 0x3c, 0xcd, 0xd3, 0x72, 0x6a, 0x4f, 0xea, 0x2b, 0x0f, 0x3f, 0x01, 0x00, 109 0x00, 0xff, 0xff, 0xc5, 0xb3, 0xab, 0xc9, 0x5f, 0x01, 0x00, 0x00, 110} 111