| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/cloud/securitycenter/v1p1beta1/source.proto |
| |
| package securitycenter |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| ) |
| |
| // 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 |
| |
| // Cloud Security Command Center's (Cloud SCC) finding source. A finding source |
| // is an entity or a mechanism that can produce a finding. A source is like a |
| // container of findings that come from the same scanner, logger, monitor, etc. |
| type Source struct { |
| // The relative resource name of this source. See: |
| // https://cloud.google.com/apis/design/resource_names#relative_resource_name |
| // Example: |
| // "organizations/{organization_id}/sources/{source_id}" |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // The source's display name. |
| // A source's display name must be unique amongst its siblings, for example, |
| // two sources with the same parent can't share the same display name. |
| // The display name must have a length between 1 and 64 characters |
| // (inclusive). |
| DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` |
| // The description of the source (max of 1024 characters). |
| // Example: |
| // "Cloud Security Scanner is a web security scanner for common |
| // vulnerabilities in App Engine applications. It can automatically |
| // scan and detect four common vulnerabilities, including cross-site-scripting |
| // (XSS), Flash injection, mixed content (HTTP in HTTPS), and |
| // outdated/insecure libraries." |
| Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Source) Reset() { *m = Source{} } |
| func (m *Source) String() string { return proto.CompactTextString(m) } |
| func (*Source) ProtoMessage() {} |
| func (*Source) Descriptor() ([]byte, []int) { |
| return fileDescriptor_96479ffd36eb78cb, []int{0} |
| } |
| |
| func (m *Source) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Source.Unmarshal(m, b) |
| } |
| func (m *Source) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Source.Marshal(b, m, deterministic) |
| } |
| func (m *Source) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Source.Merge(m, src) |
| } |
| func (m *Source) XXX_Size() int { |
| return xxx_messageInfo_Source.Size(m) |
| } |
| func (m *Source) XXX_DiscardUnknown() { |
| xxx_messageInfo_Source.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Source proto.InternalMessageInfo |
| |
| func (m *Source) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *Source) GetDisplayName() string { |
| if m != nil { |
| return m.DisplayName |
| } |
| return "" |
| } |
| |
| func (m *Source) GetDescription() string { |
| if m != nil { |
| return m.Description |
| } |
| return "" |
| } |
| |
| func init() { |
| proto.RegisterType((*Source)(nil), "google.cloud.securitycenter.v1p1beta1.Source") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/cloud/securitycenter/v1p1beta1/source.proto", fileDescriptor_96479ffd36eb78cb) |
| } |
| |
| var fileDescriptor_96479ffd36eb78cb = []byte{ |
| // 327 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xc1, 0x4a, 0x33, 0x31, |
| 0x14, 0x85, 0x99, 0xfe, 0x3f, 0x05, 0x53, 0x57, 0xb3, 0xaa, 0xc5, 0x45, 0x15, 0x0b, 0x75, 0x61, |
| 0xc2, 0xe8, 0x2e, 0xae, 0x6c, 0x17, 0xee, 0xa4, 0x58, 0x2c, 0x22, 0x05, 0x49, 0xd3, 0x10, 0x02, |
| 0xd3, 0xdc, 0x21, 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