You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

112 lines
4.5 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/cloud/websecurityscanner/v1alpha/crawled_url.proto
  3. package websecurityscanner // import "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "google.golang.org/genproto/googleapis/api/annotations"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. // A CrawledUrl resource represents a URL that was crawled during a ScanRun. Web
  18. // Security Scanner Service crawls the web applications, following all links
  19. // within the scope of sites, to find the URLs to test against.
  20. type CrawledUrl struct {
  21. // Output only.
  22. // The http method of the request that was used to visit the URL, in
  23. // uppercase.
  24. HttpMethod string `protobuf:"bytes,1,opt,name=http_method,json=httpMethod,proto3" json:"http_method,omitempty"`
  25. // Output only.
  26. // The URL that was crawled.
  27. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
  28. // Output only.
  29. // The body of the request that was used to visit the URL.
  30. Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
  31. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  32. XXX_unrecognized []byte `json:"-"`
  33. XXX_sizecache int32 `json:"-"`
  34. }
  35. func (m *CrawledUrl) Reset() { *m = CrawledUrl{} }
  36. func (m *CrawledUrl) String() string { return proto.CompactTextString(m) }
  37. func (*CrawledUrl) ProtoMessage() {}
  38. func (*CrawledUrl) Descriptor() ([]byte, []int) {
  39. return fileDescriptor_crawled_url_48c24e3aa6aa08ad, []int{0}
  40. }
  41. func (m *CrawledUrl) XXX_Unmarshal(b []byte) error {
  42. return xxx_messageInfo_CrawledUrl.Unmarshal(m, b)
  43. }
  44. func (m *CrawledUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  45. return xxx_messageInfo_CrawledUrl.Marshal(b, m, deterministic)
  46. }
  47. func (dst *CrawledUrl) XXX_Merge(src proto.Message) {
  48. xxx_messageInfo_CrawledUrl.Merge(dst, src)
  49. }
  50. func (m *CrawledUrl) XXX_Size() int {
  51. return xxx_messageInfo_CrawledUrl.Size(m)
  52. }
  53. func (m *CrawledUrl) XXX_DiscardUnknown() {
  54. xxx_messageInfo_CrawledUrl.DiscardUnknown(m)
  55. }
  56. var xxx_messageInfo_CrawledUrl proto.InternalMessageInfo
  57. func (m *CrawledUrl) GetHttpMethod() string {
  58. if m != nil {
  59. return m.HttpMethod
  60. }
  61. return ""
  62. }
  63. func (m *CrawledUrl) GetUrl() string {
  64. if m != nil {
  65. return m.Url
  66. }
  67. return ""
  68. }
  69. func (m *CrawledUrl) GetBody() string {
  70. if m != nil {
  71. return m.Body
  72. }
  73. return ""
  74. }
  75. func init() {
  76. proto.RegisterType((*CrawledUrl)(nil), "google.cloud.websecurityscanner.v1alpha.CrawledUrl")
  77. }
  78. func init() {
  79. proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/crawled_url.proto", fileDescriptor_crawled_url_48c24e3aa6aa08ad)
  80. }
  81. var fileDescriptor_crawled_url_48c24e3aa6aa08ad = []byte{
  82. // 235 bytes of a gzipped FileDescriptorProto
  83. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x31, 0x4b, 0x04, 0x31,
  84. 0x10, 0x85, 0x59, 0x4f, 0x04, 0xc7, 0x42, 0x49, 0xb5, 0x88, 0xa0, 0xd8, 0x28, 0x08, 0x09, 0x62,
  85. 0x25, 0x76, 0x67, 0x2d, 0x1c, 0x8a, 0x85, 0x36, 0xc7, 0x6c, 0x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, 0xbc, 0xf2, 0xf0, 0x13, 0x00,
  97. 0x00, 0xff, 0xff, 0x7b, 0x55, 0xd9, 0x73, 0x7d, 0x01, 0x00, 0x00,
  98. }