| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/cloud/websecurityscanner/v1/crawled_url.proto |
| |
| package websecurityscanner |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // A CrawledUrl resource represents a URL that was crawled during a ScanRun. Web |
| // Security Scanner Service crawls the web applications, following all links |
| // within the scope of sites, to find the URLs to test against. |
| type CrawledUrl struct { |
| // Output only. The http method of the request that was used to visit the URL, in |
| // uppercase. |
| HttpMethod string `protobuf:"bytes,1,opt,name=http_method,json=httpMethod,proto3" json:"http_method,omitempty"` |
| // Output only. The URL that was crawled. |
| Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` |
| // Output only. The body of the request that was used to visit the URL. |
| Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CrawledUrl) Reset() { *m = CrawledUrl{} } |
| func (m *CrawledUrl) String() string { return proto.CompactTextString(m) } |
| func (*CrawledUrl) ProtoMessage() {} |
| func (*CrawledUrl) Descriptor() ([]byte, []int) { |
| return fileDescriptor_5942402696e6974a, []int{0} |
| } |
| |
| func (m *CrawledUrl) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CrawledUrl.Unmarshal(m, b) |
| } |
| func (m *CrawledUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CrawledUrl.Marshal(b, m, deterministic) |
| } |
| func (m *CrawledUrl) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CrawledUrl.Merge(m, src) |
| } |
| func (m *CrawledUrl) XXX_Size() int { |
| return xxx_messageInfo_CrawledUrl.Size(m) |
| } |
| func (m *CrawledUrl) XXX_DiscardUnknown() { |
| xxx_messageInfo_CrawledUrl.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CrawledUrl proto.InternalMessageInfo |
| |
| func (m *CrawledUrl) GetHttpMethod() string { |
| if m != nil { |
| return m.HttpMethod |
| } |
| return "" |
| } |
| |
| func (m *CrawledUrl) GetUrl() string { |
| if m != nil { |
| return m.Url |
| } |
| return "" |
| } |
| |
| func (m *CrawledUrl) GetBody() string { |
| if m != nil { |
| return m.Body |
| } |
| return "" |
| } |
| |
| func init() { |
| proto.RegisterType((*CrawledUrl)(nil), "google.cloud.websecurityscanner.v1.CrawledUrl") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/cloud/websecurityscanner/v1/crawled_url.proto", fileDescriptor_5942402696e6974a) |
| } |
| |
| var fileDescriptor_5942402696e6974a = []byte{ |
| // 214 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x49, 0xcf, 0xcf, 0x4f, |
| 0xcf, 0x49, 0xd5, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0x2f, 0x4f, 0x4d, 0x2a, 0x4e, 0x4d, 0x2e, |
| 0x2d, 0xca, 0x2c, 0xa9, 0x2c, 0x4e, 0x4e, 0xcc, 0xcb, 0x4b, 0x2d, 0xd2, 0x2f, 0x33, 0xd4, 0x4f, |
| 0x2e, 0x4a, 0x2c, 0xcf, 0x49, 0x4d, 0x89, 0x2f, 0x2d, 0xca, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, |
| 0x17, 0x52, 0x82, 0xe8, 0xd2, 0x03, 0xeb, 0xd2, 0xc3, 0xd4, 0xa5, 0x57, 0x66, 0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