| // 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{ |
| // 324 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x41, 0x4a, 0x03, 0x31, |
| 0x14, 0x86, 0x99, 0x2a, 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, |
| 0xbc, 0x21, 0x49, 0x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