| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/cloud/securitycenter/v1p1beta1/notification_message.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 SCC's Notification |
| type NotificationMessage struct { |
| // Name of the notification config that generated current notification. |
| NotificationConfigName string `protobuf:"bytes,1,opt,name=notification_config_name,json=notificationConfigName,proto3" json:"notification_config_name,omitempty"` |
| // Notification Event. |
| // |
| // Types that are valid to be assigned to Event: |
| // *NotificationMessage_Finding |
| Event isNotificationMessage_Event `protobuf_oneof:"event"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *NotificationMessage) Reset() { *m = NotificationMessage{} } |
| func (m *NotificationMessage) String() string { return proto.CompactTextString(m) } |
| func (*NotificationMessage) ProtoMessage() {} |
| func (*NotificationMessage) Descriptor() ([]byte, []int) { |
| return fileDescriptor_21f87913e12d845a, []int{0} |
| } |
| |
| func (m *NotificationMessage) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_NotificationMessage.Unmarshal(m, b) |
| } |
| func (m *NotificationMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_NotificationMessage.Marshal(b, m, deterministic) |
| } |
| func (m *NotificationMessage) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_NotificationMessage.Merge(m, src) |
| } |
| func (m *NotificationMessage) XXX_Size() int { |
| return xxx_messageInfo_NotificationMessage.Size(m) |
| } |
| func (m *NotificationMessage) XXX_DiscardUnknown() { |
| xxx_messageInfo_NotificationMessage.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_NotificationMessage proto.InternalMessageInfo |
| |
| func (m *NotificationMessage) GetNotificationConfigName() string { |
| if m != nil { |
| return m.NotificationConfigName |
| } |
| return "" |
| } |
| |
| type isNotificationMessage_Event interface { |
| isNotificationMessage_Event() |
| } |
| |
| type NotificationMessage_Finding struct { |
| Finding *Finding `protobuf:"bytes,2,opt,name=finding,proto3,oneof"` |
| } |
| |
| func (*NotificationMessage_Finding) isNotificationMessage_Event() {} |
| |
| func (m *NotificationMessage) GetEvent() isNotificationMessage_Event { |
| if m != nil { |
| return m.Event |
| } |
| return nil |
| } |
| |
| func (m *NotificationMessage) GetFinding() *Finding { |
| if x, ok := m.GetEvent().(*NotificationMessage_Finding); ok { |
| return x.Finding |
| } |
| return nil |
| } |
| |
| // XXX_OneofWrappers is for the internal use of the proto package. |
| func (*NotificationMessage) XXX_OneofWrappers() []interface{} { |
| return []interface{}{ |
| (*NotificationMessage_Finding)(nil), |
| } |
| } |
| |
| func init() { |
| proto.RegisterType((*NotificationMessage)(nil), "google.cloud.securitycenter.v1p1beta1.NotificationMessage") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/cloud/securitycenter/v1p1beta1/notification_message.proto", fileDescriptor_21f87913e12d845a) |
| } |
| |
| var fileDescriptor_21f87913e12d845a = []byte{ |
| // 321 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xc1, 0x4a, 0x33, 0x31, |
| 0x14, 0x85, 0xff, 0x29, 0xfc, 0x16, 0xc7, 0x5d, 0x05, 0x29, 0xc5, 0x45, 0x11, 0x0a, 0x75, 0x93, |
| 0x30, 0x76, 0x23, 0x71, 0x23, 0x2d, 0xa8, 0x08, 0x96, 0xd2, 0x42, 0x17, 0x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