// 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{
	// 320 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, 0x52, 0x28, 0x69, 0x7a,
	0x1b, 0x02, 0x9d, 0x7b, 0x87, 0x49, 0x5a, 0xf0, 0x7d, 0x5c, 0xf9, 0x28, 0x3e, 0x8a, 0xef, 0x20,
	0x88, 0xc9, 0x4c, 0xe9, 0xac, 0x9c, 0xf5, 0xf9, 0xce, 0x77, 0x73, 0x12, 0xdf, 0x6b, 0x22, 0xbd,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