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.
 
 
 

122 lines
5.1 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/cloud/securitycenter/v1beta1/source.proto
  3. package securitycenter // import "google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1"
  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. // Cloud Security Command Center's (Cloud SCC) finding source. A finding source
  18. // is an entity or a mechanism that can produce a finding. A source is like a
  19. // container of findings that come from the same scanner, logger, monitor, etc.
  20. type Source struct {
  21. // The relative resource name of this source. See:
  22. // https://cloud.google.com/apis/design/resource_names#relative_resource_name
  23. // Example:
  24. // "organizations/123/sources/456"
  25. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  26. // The source's display name.
  27. // A source's display name must be unique amongst its siblings, for example,
  28. // two sources with the same parent can't share the same display name.
  29. // The display name must start and end with a letter or digit, may contain
  30. // letters, digits, spaces, hyphens, and underscores, and can be no longer
  31. // than 32 characters. This is captured by the regular expression:
  32. // [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?.
  33. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
  34. // The description of the source (max of 1024 characters).
  35. // Example:
  36. // "Cloud Security Scanner is a web security scanner for common
  37. // vulnerabilities in App Engine applications. It can automatically
  38. // scan and detect four common vulnerabilities, including cross-site-scripting
  39. // (XSS), Flash injection, mixed content (HTTP in HTTPS), and
  40. // outdated/insecure libraries."
  41. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
  42. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  43. XXX_unrecognized []byte `json:"-"`
  44. XXX_sizecache int32 `json:"-"`
  45. }
  46. func (m *Source) Reset() { *m = Source{} }
  47. func (m *Source) String() string { return proto.CompactTextString(m) }
  48. func (*Source) ProtoMessage() {}
  49. func (*Source) Descriptor() ([]byte, []int) {
  50. return fileDescriptor_source_adbcc5410043bfde, []int{0}
  51. }
  52. func (m *Source) XXX_Unmarshal(b []byte) error {
  53. return xxx_messageInfo_Source.Unmarshal(m, b)
  54. }
  55. func (m *Source) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  56. return xxx_messageInfo_Source.Marshal(b, m, deterministic)
  57. }
  58. func (dst *Source) XXX_Merge(src proto.Message) {
  59. xxx_messageInfo_Source.Merge(dst, src)
  60. }
  61. func (m *Source) XXX_Size() int {
  62. return xxx_messageInfo_Source.Size(m)
  63. }
  64. func (m *Source) XXX_DiscardUnknown() {
  65. xxx_messageInfo_Source.DiscardUnknown(m)
  66. }
  67. var xxx_messageInfo_Source proto.InternalMessageInfo
  68. func (m *Source) GetName() string {
  69. if m != nil {
  70. return m.Name
  71. }
  72. return ""
  73. }
  74. func (m *Source) GetDisplayName() string {
  75. if m != nil {
  76. return m.DisplayName
  77. }
  78. return ""
  79. }
  80. func (m *Source) GetDescription() string {
  81. if m != nil {
  82. return m.Description
  83. }
  84. return ""
  85. }
  86. func init() {
  87. proto.RegisterType((*Source)(nil), "google.cloud.securitycenter.v1beta1.Source")
  88. }
  89. func init() {
  90. proto.RegisterFile("google/cloud/securitycenter/v1beta1/source.proto", fileDescriptor_source_adbcc5410043bfde)
  91. }
  92. var fileDescriptor_source_adbcc5410043bfde = []byte{
  93. // 217 bytes of a gzipped FileDescriptorProto
  94. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x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 0x74, 0xf9, 0x56, 0xb9, 0x55,
  106. 0xe0, 0x4d, 0x3c, 0xfa, 0x47, 0x2f, 0xfb, 0x78, 0xa8, 0x33, 0xfd, 0xfc, 0x1f, 0x00, 0x00, 0xff,
  107. 0xff, 0x52, 0x75, 0xca, 0xb1, 0x60, 0x01, 0x00, 0x00,
  108. }