package notifications 

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "github.com/chef/automate/components/automate-grpc/protoc-gen-policy/api"
import _ "github.com/chef/automate/components/automate-grpc/protoc-gen-policy/iam"
import _ "google.golang.org/genproto/googleapis/api/annotations"

import (
	context "golang.org/x/net/context"
	grpc "google.golang.org/grpc"
)

var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

const _ = proto.ProtoPackageIsVersion2 

type Rule_Event int32

const (
	Rule_CCRFailure        Rule_Event = 0
	Rule_CCRSuccess        Rule_Event = 1
	Rule_ComplianceFailure Rule_Event = 2
	Rule_ComplianceSuccess Rule_Event = 3
	Rule_Assets            Rule_Event = 4
)

var Rule_Event_name = map[int32]string{
	0: "CCRFailure",
	1: "CCRSuccess",
	2: "ComplianceFailure",
	3: "ComplianceSuccess",
	4: "Assets",
}
var Rule_Event_value = map[string]int32{
	"CCRFailure":        0,
	"CCRSuccess":        1,
	"ComplianceFailure": 2,
	"ComplianceSuccess": 3,
	"Assets":            4,
}

func (x Rule_Event) String() string {
	return proto.EnumName(Rule_Event_name, int32(x))
}
func (Rule_Event) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{3, 0}
}

type SlackAlert struct {
	Url                  string   `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *SlackAlert) Reset()         { *m = SlackAlert{} }
func (m *SlackAlert) String() string { return proto.CompactTextString(m) }
func (*SlackAlert) ProtoMessage()    {}
func (*SlackAlert) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{0}
}
func (m *SlackAlert) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SlackAlert.Unmarshal(m, b)
}
func (m *SlackAlert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SlackAlert.Marshal(b, m, deterministic)
}
func (dst *SlackAlert) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SlackAlert.Merge(dst, src)
}
func (m *SlackAlert) XXX_Size() int {
	return xxx_messageInfo_SlackAlert.Size(m)
}
func (m *SlackAlert) XXX_DiscardUnknown() {
	xxx_messageInfo_SlackAlert.DiscardUnknown(m)
}

var xxx_messageInfo_SlackAlert proto.InternalMessageInfo

func (m *SlackAlert) GetUrl() string {
	if m != nil {
		return m.Url
	}
	return ""
}

type WebhookAlert struct {
	Url                  string   `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *WebhookAlert) Reset()         { *m = WebhookAlert{} }
func (m *WebhookAlert) String() string { return proto.CompactTextString(m) }
func (*WebhookAlert) ProtoMessage()    {}
func (*WebhookAlert) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{1}
}
func (m *WebhookAlert) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_WebhookAlert.Unmarshal(m, b)
}
func (m *WebhookAlert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_WebhookAlert.Marshal(b, m, deterministic)
}
func (dst *WebhookAlert) XXX_Merge(src proto.Message) {
	xxx_messageInfo_WebhookAlert.Merge(dst, src)
}
func (m *WebhookAlert) XXX_Size() int {
	return xxx_messageInfo_WebhookAlert.Size(m)
}
func (m *WebhookAlert) XXX_DiscardUnknown() {
	xxx_messageInfo_WebhookAlert.DiscardUnknown(m)
}

var xxx_messageInfo_WebhookAlert proto.InternalMessageInfo

func (m *WebhookAlert) GetUrl() string {
	if m != nil {
		return m.Url
	}
	return ""
}

type ServiceNowAlert struct {
	Url                  string   `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	SecretId             string   `protobuf:"bytes,2,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ServiceNowAlert) Reset()         { *m = ServiceNowAlert{} }
func (m *ServiceNowAlert) String() string { return proto.CompactTextString(m) }
func (*ServiceNowAlert) ProtoMessage()    {}
func (*ServiceNowAlert) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{2}
}
func (m *ServiceNowAlert) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ServiceNowAlert.Unmarshal(m, b)
}
func (m *ServiceNowAlert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ServiceNowAlert.Marshal(b, m, deterministic)
}
func (dst *ServiceNowAlert) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ServiceNowAlert.Merge(dst, src)
}
func (m *ServiceNowAlert) XXX_Size() int {
	return xxx_messageInfo_ServiceNowAlert.Size(m)
}
func (m *ServiceNowAlert) XXX_DiscardUnknown() {
	xxx_messageInfo_ServiceNowAlert.DiscardUnknown(m)
}

var xxx_messageInfo_ServiceNowAlert proto.InternalMessageInfo

func (m *ServiceNowAlert) GetUrl() string {
	if m != nil {
		return m.Url
	}
	return ""
}

func (m *ServiceNowAlert) GetSecretId() string {
	if m != nil {
		return m.SecretId
	}
	return ""
}

type Rule struct {
	Id    string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name  string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Event Rule_Event `protobuf:"varint,3,opt,name=event,proto3,enum=chef.automate.api.notifications.Rule_Event" json:"event,omitempty"`

	Action               isRule_Action `protobuf_oneof:"action"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (m *Rule) Reset()         { *m = Rule{} }
func (m *Rule) String() string { return proto.CompactTextString(m) }
func (*Rule) ProtoMessage()    {}
func (*Rule) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{3}
}
func (m *Rule) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Rule.Unmarshal(m, b)
}
func (m *Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Rule.Marshal(b, m, deterministic)
}
func (dst *Rule) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Rule.Merge(dst, src)
}
func (m *Rule) XXX_Size() int {
	return xxx_messageInfo_Rule.Size(m)
}
func (m *Rule) XXX_DiscardUnknown() {
	xxx_messageInfo_Rule.DiscardUnknown(m)
}

var xxx_messageInfo_Rule proto.InternalMessageInfo

func (m *Rule) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *Rule) GetName() string {
	if m != nil {
		return m.Name
	}
	return ""
}

func (m *Rule) GetEvent() Rule_Event {
	if m != nil {
		return m.Event
	}
	return Rule_CCRFailure
}

type isRule_Action interface {
	isRule_Action()
}

type Rule_SlackAlert struct {
	SlackAlert *SlackAlert `protobuf:"bytes,4,opt,name=SlackAlert,proto3,oneof"`
}

type Rule_WebhookAlert struct {
	WebhookAlert *WebhookAlert `protobuf:"bytes,5,opt,name=WebhookAlert,proto3,oneof"`
}

type Rule_ServiceNowAlert struct {
	ServiceNowAlert *ServiceNowAlert `protobuf:"bytes,6,opt,name=ServiceNowAlert,proto3,oneof"`
}

func (*Rule_SlackAlert) isRule_Action() {}

func (*Rule_WebhookAlert) isRule_Action() {}

func (*Rule_ServiceNowAlert) isRule_Action() {}

func (m *Rule) GetAction() isRule_Action {
	if m != nil {
		return m.Action
	}
	return nil
}

func (m *Rule) GetSlackAlert() *SlackAlert {
	if x, ok := m.GetAction().(*Rule_SlackAlert); ok {
		return x.SlackAlert
	}
	return nil
}

func (m *Rule) GetWebhookAlert() *WebhookAlert {
	if x, ok := m.GetAction().(*Rule_WebhookAlert); ok {
		return x.WebhookAlert
	}
	return nil
}

func (m *Rule) GetServiceNowAlert() *ServiceNowAlert {
	if x, ok := m.GetAction().(*Rule_ServiceNowAlert); ok {
		return x.ServiceNowAlert
	}
	return nil
}

func (*Rule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
	return _Rule_OneofMarshaler, _Rule_OneofUnmarshaler, _Rule_OneofSizer, []interface{}{
		(*Rule_SlackAlert)(nil),
		(*Rule_WebhookAlert)(nil),
		(*Rule_ServiceNowAlert)(nil),
	}
}

func _Rule_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
	m := msg.(*Rule)

	switch x := m.Action.(type) {
	case *Rule_SlackAlert:
		b.EncodeVarint(4<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.SlackAlert); err != nil {
			return err
		}
	case *Rule_WebhookAlert:
		b.EncodeVarint(5<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.WebhookAlert); err != nil {
			return err
		}
	case *Rule_ServiceNowAlert:
		b.EncodeVarint(6<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.ServiceNowAlert); err != nil {
			return err
		}
	case nil:
	default:
		return fmt.Errorf("Rule.Action has unexpected type %T", x)
	}
	return nil
}

func _Rule_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
	m := msg.(*Rule)
	switch tag {
	case 4: 
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(SlackAlert)
		err := b.DecodeMessage(msg)
		m.Action = &Rule_SlackAlert{msg}
		return true, err
	case 5: 
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(WebhookAlert)
		err := b.DecodeMessage(msg)
		m.Action = &Rule_WebhookAlert{msg}
		return true, err
	case 6: 
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(ServiceNowAlert)
		err := b.DecodeMessage(msg)
		m.Action = &Rule_ServiceNowAlert{msg}
		return true, err
	default:
		return false, nil
	}
}

func _Rule_OneofSizer(msg proto.Message) (n int) {
	m := msg.(*Rule)

	switch x := m.Action.(type) {
	case *Rule_SlackAlert:
		s := proto.Size(x.SlackAlert)
		n += 1 
		n += proto.SizeVarint(uint64(s))
		n += s
	case *Rule_WebhookAlert:
		s := proto.Size(x.WebhookAlert)
		n += 1 
		n += proto.SizeVarint(uint64(s))
		n += s
	case *Rule_ServiceNowAlert:
		s := proto.Size(x.ServiceNowAlert)
		n += 1 
		n += proto.SizeVarint(uint64(s))
		n += s
	case nil:
	default:
		panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
	}
	return n
}

type RuleIdentifier struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RuleIdentifier) Reset()         { *m = RuleIdentifier{} }
func (m *RuleIdentifier) String() string { return proto.CompactTextString(m) }
func (*RuleIdentifier) ProtoMessage()    {}
func (*RuleIdentifier) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{4}
}
func (m *RuleIdentifier) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuleIdentifier.Unmarshal(m, b)
}
func (m *RuleIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuleIdentifier.Marshal(b, m, deterministic)
}
func (dst *RuleIdentifier) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuleIdentifier.Merge(dst, src)
}
func (m *RuleIdentifier) XXX_Size() int {
	return xxx_messageInfo_RuleIdentifier.Size(m)
}
func (m *RuleIdentifier) XXX_DiscardUnknown() {
	xxx_messageInfo_RuleIdentifier.DiscardUnknown(m)
}

var xxx_messageInfo_RuleIdentifier proto.InternalMessageInfo

func (m *RuleIdentifier) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

type RuleUpdateRequest struct {
	Rule                 *Rule    `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"`
	Id                   string   `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RuleUpdateRequest) Reset()         { *m = RuleUpdateRequest{} }
func (m *RuleUpdateRequest) String() string { return proto.CompactTextString(m) }
func (*RuleUpdateRequest) ProtoMessage()    {}
func (*RuleUpdateRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{5}
}
func (m *RuleUpdateRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuleUpdateRequest.Unmarshal(m, b)
}
func (m *RuleUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuleUpdateRequest.Marshal(b, m, deterministic)
}
func (dst *RuleUpdateRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuleUpdateRequest.Merge(dst, src)
}
func (m *RuleUpdateRequest) XXX_Size() int {
	return xxx_messageInfo_RuleUpdateRequest.Size(m)
}
func (m *RuleUpdateRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_RuleUpdateRequest.DiscardUnknown(m)
}

var xxx_messageInfo_RuleUpdateRequest proto.InternalMessageInfo

func (m *RuleUpdateRequest) GetRule() *Rule {
	if m != nil {
		return m.Rule
	}
	return nil
}

func (m *RuleUpdateRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

type RuleListRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RuleListRequest) Reset()         { *m = RuleListRequest{} }
func (m *RuleListRequest) String() string { return proto.CompactTextString(m) }
func (*RuleListRequest) ProtoMessage()    {}
func (*RuleListRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{6}
}
func (m *RuleListRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuleListRequest.Unmarshal(m, b)
}
func (m *RuleListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuleListRequest.Marshal(b, m, deterministic)
}
func (dst *RuleListRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuleListRequest.Merge(dst, src)
}
func (m *RuleListRequest) XXX_Size() int {
	return xxx_messageInfo_RuleListRequest.Size(m)
}
func (m *RuleListRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_RuleListRequest.DiscardUnknown(m)
}

var xxx_messageInfo_RuleListRequest proto.InternalMessageInfo

type RuleUpdateResponse struct {
	Messages             []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RuleUpdateResponse) Reset()         { *m = RuleUpdateResponse{} }
func (m *RuleUpdateResponse) String() string { return proto.CompactTextString(m) }
func (*RuleUpdateResponse) ProtoMessage()    {}
func (*RuleUpdateResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{7}
}
func (m *RuleUpdateResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuleUpdateResponse.Unmarshal(m, b)
}
func (m *RuleUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuleUpdateResponse.Marshal(b, m, deterministic)
}
func (dst *RuleUpdateResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuleUpdateResponse.Merge(dst, src)
}
func (m *RuleUpdateResponse) XXX_Size() int {
	return xxx_messageInfo_RuleUpdateResponse.Size(m)
}
func (m *RuleUpdateResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_RuleUpdateResponse.DiscardUnknown(m)
}

var xxx_messageInfo_RuleUpdateResponse proto.InternalMessageInfo

func (m *RuleUpdateResponse) GetMessages() []string {
	if m != nil {
		return m.Messages
	}
	return nil
}

type RuleDeleteResponse struct {
	Messages             []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RuleDeleteResponse) Reset()         { *m = RuleDeleteResponse{} }
func (m *RuleDeleteResponse) String() string { return proto.CompactTextString(m) }
func (*RuleDeleteResponse) ProtoMessage()    {}
func (*RuleDeleteResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{8}
}
func (m *RuleDeleteResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuleDeleteResponse.Unmarshal(m, b)
}
func (m *RuleDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuleDeleteResponse.Marshal(b, m, deterministic)
}
func (dst *RuleDeleteResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuleDeleteResponse.Merge(dst, src)
}
func (m *RuleDeleteResponse) XXX_Size() int {
	return xxx_messageInfo_RuleDeleteResponse.Size(m)
}
func (m *RuleDeleteResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_RuleDeleteResponse.DiscardUnknown(m)
}

var xxx_messageInfo_RuleDeleteResponse proto.InternalMessageInfo

func (m *RuleDeleteResponse) GetMessages() []string {
	if m != nil {
		return m.Messages
	}
	return nil
}

type RuleAddRequest struct {
	Rule                 *Rule    `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RuleAddRequest) Reset()         { *m = RuleAddRequest{} }
func (m *RuleAddRequest) String() string { return proto.CompactTextString(m) }
func (*RuleAddRequest) ProtoMessage()    {}
func (*RuleAddRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{9}
}
func (m *RuleAddRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuleAddRequest.Unmarshal(m, b)
}
func (m *RuleAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuleAddRequest.Marshal(b, m, deterministic)
}
func (dst *RuleAddRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuleAddRequest.Merge(dst, src)
}
func (m *RuleAddRequest) XXX_Size() int {
	return xxx_messageInfo_RuleAddRequest.Size(m)
}
func (m *RuleAddRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_RuleAddRequest.DiscardUnknown(m)
}

var xxx_messageInfo_RuleAddRequest proto.InternalMessageInfo

func (m *RuleAddRequest) GetRule() *Rule {
	if m != nil {
		return m.Rule
	}
	return nil
}

type RuleAddResponse struct {
	Messages             []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	Id                   string   `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RuleAddResponse) Reset()         { *m = RuleAddResponse{} }
func (m *RuleAddResponse) String() string { return proto.CompactTextString(m) }
func (*RuleAddResponse) ProtoMessage()    {}
func (*RuleAddResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{10}
}
func (m *RuleAddResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuleAddResponse.Unmarshal(m, b)
}
func (m *RuleAddResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuleAddResponse.Marshal(b, m, deterministic)
}
func (dst *RuleAddResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuleAddResponse.Merge(dst, src)
}
func (m *RuleAddResponse) XXX_Size() int {
	return xxx_messageInfo_RuleAddResponse.Size(m)
}
func (m *RuleAddResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_RuleAddResponse.DiscardUnknown(m)
}

var xxx_messageInfo_RuleAddResponse proto.InternalMessageInfo

func (m *RuleAddResponse) GetMessages() []string {
	if m != nil {
		return m.Messages
	}
	return nil
}

func (m *RuleAddResponse) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

type RuleGetResponse struct {
	Messages             []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	Rule                 *Rule    `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RuleGetResponse) Reset()         { *m = RuleGetResponse{} }
func (m *RuleGetResponse) String() string { return proto.CompactTextString(m) }
func (*RuleGetResponse) ProtoMessage()    {}
func (*RuleGetResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{11}
}
func (m *RuleGetResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuleGetResponse.Unmarshal(m, b)
}
func (m *RuleGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuleGetResponse.Marshal(b, m, deterministic)
}
func (dst *RuleGetResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuleGetResponse.Merge(dst, src)
}
func (m *RuleGetResponse) XXX_Size() int {
	return xxx_messageInfo_RuleGetResponse.Size(m)
}
func (m *RuleGetResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_RuleGetResponse.DiscardUnknown(m)
}

var xxx_messageInfo_RuleGetResponse proto.InternalMessageInfo

func (m *RuleGetResponse) GetMessages() []string {
	if m != nil {
		return m.Messages
	}
	return nil
}

func (m *RuleGetResponse) GetRule() *Rule {
	if m != nil {
		return m.Rule
	}
	return nil
}

type RuleListResponse struct {
	Messages             []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	Rules                []*Rule  `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RuleListResponse) Reset()         { *m = RuleListResponse{} }
func (m *RuleListResponse) String() string { return proto.CompactTextString(m) }
func (*RuleListResponse) ProtoMessage()    {}
func (*RuleListResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{12}
}
func (m *RuleListResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuleListResponse.Unmarshal(m, b)
}
func (m *RuleListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuleListResponse.Marshal(b, m, deterministic)
}
func (dst *RuleListResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuleListResponse.Merge(dst, src)
}
func (m *RuleListResponse) XXX_Size() int {
	return xxx_messageInfo_RuleListResponse.Size(m)
}
func (m *RuleListResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_RuleListResponse.DiscardUnknown(m)
}

var xxx_messageInfo_RuleListResponse proto.InternalMessageInfo

func (m *RuleListResponse) GetMessages() []string {
	if m != nil {
		return m.Messages
	}
	return nil
}

func (m *RuleListResponse) GetRules() []*Rule {
	if m != nil {
		return m.Rules
	}
	return nil
}

type VersionRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *VersionRequest) Reset()         { *m = VersionRequest{} }
func (m *VersionRequest) String() string { return proto.CompactTextString(m) }
func (*VersionRequest) ProtoMessage()    {}
func (*VersionRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{13}
}
func (m *VersionRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_VersionRequest.Unmarshal(m, b)
}
func (m *VersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_VersionRequest.Marshal(b, m, deterministic)
}
func (dst *VersionRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_VersionRequest.Merge(dst, src)
}
func (m *VersionRequest) XXX_Size() int {
	return xxx_messageInfo_VersionRequest.Size(m)
}
func (m *VersionRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_VersionRequest.DiscardUnknown(m)
}

var xxx_messageInfo_VersionRequest proto.InternalMessageInfo

type VersionResponse struct {
	Version              string   `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *VersionResponse) Reset()         { *m = VersionResponse{} }
func (m *VersionResponse) String() string { return proto.CompactTextString(m) }
func (*VersionResponse) ProtoMessage()    {}
func (*VersionResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{14}
}
func (m *VersionResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_VersionResponse.Unmarshal(m, b)
}
func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_VersionResponse.Marshal(b, m, deterministic)
}
func (dst *VersionResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_VersionResponse.Merge(dst, src)
}
func (m *VersionResponse) XXX_Size() int {
	return xxx_messageInfo_VersionResponse.Size(m)
}
func (m *VersionResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_VersionResponse.DiscardUnknown(m)
}

var xxx_messageInfo_VersionResponse proto.InternalMessageInfo

func (m *VersionResponse) GetVersion() string {
	if m != nil {
		return m.Version
	}
	return ""
}

type UsernamePassword struct {
	Username             string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *UsernamePassword) Reset()         { *m = UsernamePassword{} }
func (m *UsernamePassword) String() string { return proto.CompactTextString(m) }
func (*UsernamePassword) ProtoMessage()    {}
func (*UsernamePassword) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{15}
}
func (m *UsernamePassword) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_UsernamePassword.Unmarshal(m, b)
}
func (m *UsernamePassword) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_UsernamePassword.Marshal(b, m, deterministic)
}
func (dst *UsernamePassword) XXX_Merge(src proto.Message) {
	xxx_messageInfo_UsernamePassword.Merge(dst, src)
}
func (m *UsernamePassword) XXX_Size() int {
	return xxx_messageInfo_UsernamePassword.Size(m)
}
func (m *UsernamePassword) XXX_DiscardUnknown() {
	xxx_messageInfo_UsernamePassword.DiscardUnknown(m)
}

var xxx_messageInfo_UsernamePassword proto.InternalMessageInfo

func (m *UsernamePassword) GetUsername() string {
	if m != nil {
		return m.Username
	}
	return ""
}

func (m *UsernamePassword) GetPassword() string {
	if m != nil {
		return m.Password
	}
	return ""
}

type SecretId struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *SecretId) Reset()         { *m = SecretId{} }
func (m *SecretId) String() string { return proto.CompactTextString(m) }
func (*SecretId) ProtoMessage()    {}
func (*SecretId) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{16}
}
func (m *SecretId) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SecretId.Unmarshal(m, b)
}
func (m *SecretId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SecretId.Marshal(b, m, deterministic)
}
func (dst *SecretId) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SecretId.Merge(dst, src)
}
func (m *SecretId) XXX_Size() int {
	return xxx_messageInfo_SecretId.Size(m)
}
func (m *SecretId) XXX_DiscardUnknown() {
	xxx_messageInfo_SecretId.DiscardUnknown(m)
}

var xxx_messageInfo_SecretId proto.InternalMessageInfo

func (m *SecretId) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *Empty) Reset()         { *m = Empty{} }
func (m *Empty) String() string { return proto.CompactTextString(m) }
func (*Empty) ProtoMessage()    {}
func (*Empty) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{17}
}
func (m *Empty) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Empty.Unmarshal(m, b)
}
func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
}
func (dst *Empty) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Empty.Merge(dst, src)
}
func (m *Empty) XXX_Size() int {
	return xxx_messageInfo_Empty.Size(m)
}
func (m *Empty) XXX_DiscardUnknown() {
	xxx_messageInfo_Empty.DiscardUnknown(m)
}

var xxx_messageInfo_Empty proto.InternalMessageInfo

type URLValidationRequest struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`

	Credentials          isURLValidationRequest_Credentials `protobuf_oneof:"credentials"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

func (m *URLValidationRequest) Reset()         { *m = URLValidationRequest{} }
func (m *URLValidationRequest) String() string { return proto.CompactTextString(m) }
func (*URLValidationRequest) ProtoMessage()    {}
func (*URLValidationRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{18}
}
func (m *URLValidationRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_URLValidationRequest.Unmarshal(m, b)
}
func (m *URLValidationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_URLValidationRequest.Marshal(b, m, deterministic)
}
func (dst *URLValidationRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_URLValidationRequest.Merge(dst, src)
}
func (m *URLValidationRequest) XXX_Size() int {
	return xxx_messageInfo_URLValidationRequest.Size(m)
}
func (m *URLValidationRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_URLValidationRequest.DiscardUnknown(m)
}

var xxx_messageInfo_URLValidationRequest proto.InternalMessageInfo

func (m *URLValidationRequest) GetUrl() string {
	if m != nil {
		return m.Url
	}
	return ""
}

type isURLValidationRequest_Credentials interface {
	isURLValidationRequest_Credentials()
}

type URLValidationRequest_UsernamePassword struct {
	UsernamePassword *UsernamePassword `protobuf:"bytes,2,opt,name=username_password,json=usernamePassword,proto3,oneof"`
}

type URLValidationRequest_SecretId struct {
	SecretId *SecretId `protobuf:"bytes,3,opt,name=secret_id,json=secretId,proto3,oneof"`
}

type URLValidationRequest_None struct {
	None *Empty `protobuf:"bytes,4,opt,name=none,proto3,oneof"`
}

func (*URLValidationRequest_UsernamePassword) isURLValidationRequest_Credentials() {}

func (*URLValidationRequest_SecretId) isURLValidationRequest_Credentials() {}

func (*URLValidationRequest_None) isURLValidationRequest_Credentials() {}

func (m *URLValidationRequest) GetCredentials() isURLValidationRequest_Credentials {
	if m != nil {
		return m.Credentials
	}
	return nil
}

func (m *URLValidationRequest) GetUsernamePassword() *UsernamePassword {
	if x, ok := m.GetCredentials().(*URLValidationRequest_UsernamePassword); ok {
		return x.UsernamePassword
	}
	return nil
}

func (m *URLValidationRequest) GetSecretId() *SecretId {
	if x, ok := m.GetCredentials().(*URLValidationRequest_SecretId); ok {
		return x.SecretId
	}
	return nil
}

func (m *URLValidationRequest) GetNone() *Empty {
	if x, ok := m.GetCredentials().(*URLValidationRequest_None); ok {
		return x.None
	}
	return nil
}

func (*URLValidationRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
	return _URLValidationRequest_OneofMarshaler, _URLValidationRequest_OneofUnmarshaler, _URLValidationRequest_OneofSizer, []interface{}{
		(*URLValidationRequest_UsernamePassword)(nil),
		(*URLValidationRequest_SecretId)(nil),
		(*URLValidationRequest_None)(nil),
	}
}

func _URLValidationRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
	m := msg.(*URLValidationRequest)

	switch x := m.Credentials.(type) {
	case *URLValidationRequest_UsernamePassword:
		b.EncodeVarint(2<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.UsernamePassword); err != nil {
			return err
		}
	case *URLValidationRequest_SecretId:
		b.EncodeVarint(3<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.SecretId); err != nil {
			return err
		}
	case *URLValidationRequest_None:
		b.EncodeVarint(4<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.None); err != nil {
			return err
		}
	case nil:
	default:
		return fmt.Errorf("URLValidationRequest.Credentials has unexpected type %T", x)
	}
	return nil
}

func _URLValidationRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
	m := msg.(*URLValidationRequest)
	switch tag {
	case 2: 
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(UsernamePassword)
		err := b.DecodeMessage(msg)
		m.Credentials = &URLValidationRequest_UsernamePassword{msg}
		return true, err
	case 3: 
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(SecretId)
		err := b.DecodeMessage(msg)
		m.Credentials = &URLValidationRequest_SecretId{msg}
		return true, err
	case 4: 
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(Empty)
		err := b.DecodeMessage(msg)
		m.Credentials = &URLValidationRequest_None{msg}
		return true, err
	default:
		return false, nil
	}
}

func _URLValidationRequest_OneofSizer(msg proto.Message) (n int) {
	m := msg.(*URLValidationRequest)

	switch x := m.Credentials.(type) {
	case *URLValidationRequest_UsernamePassword:
		s := proto.Size(x.UsernamePassword)
		n += 1 
		n += proto.SizeVarint(uint64(s))
		n += s
	case *URLValidationRequest_SecretId:
		s := proto.Size(x.SecretId)
		n += 1 
		n += proto.SizeVarint(uint64(s))
		n += s
	case *URLValidationRequest_None:
		s := proto.Size(x.None)
		n += 1 
		n += proto.SizeVarint(uint64(s))
		n += s
	case nil:
	default:
		panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
	}
	return n
}

type URLValidationResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *URLValidationResponse) Reset()         { *m = URLValidationResponse{} }
func (m *URLValidationResponse) String() string { return proto.CompactTextString(m) }
func (*URLValidationResponse) ProtoMessage()    {}
func (*URLValidationResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{19}
}
func (m *URLValidationResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_URLValidationResponse.Unmarshal(m, b)
}
func (m *URLValidationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_URLValidationResponse.Marshal(b, m, deterministic)
}
func (dst *URLValidationResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_URLValidationResponse.Merge(dst, src)
}
func (m *URLValidationResponse) XXX_Size() int {
	return xxx_messageInfo_URLValidationResponse.Size(m)
}
func (m *URLValidationResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_URLValidationResponse.DiscardUnknown(m)
}

var xxx_messageInfo_URLValidationResponse proto.InternalMessageInfo

func init() {
	proto.RegisterType((*SlackAlert)(nil), "chef.automate.api.notifications.SlackAlert")
	proto.RegisterType((*WebhookAlert)(nil), "chef.automate.api.notifications.WebhookAlert")
	proto.RegisterType((*ServiceNowAlert)(nil), "chef.automate.api.notifications.ServiceNowAlert")
	proto.RegisterType((*Rule)(nil), "chef.automate.api.notifications.Rule")
	proto.RegisterType((*RuleIdentifier)(nil), "chef.automate.api.notifications.RuleIdentifier")
	proto.RegisterType((*RuleUpdateRequest)(nil), "chef.automate.api.notifications.RuleUpdateRequest")
	proto.RegisterType((*RuleListRequest)(nil), "chef.automate.api.notifications.RuleListRequest")
	proto.RegisterType((*RuleUpdateResponse)(nil), "chef.automate.api.notifications.RuleUpdateResponse")
	proto.RegisterType((*RuleDeleteResponse)(nil), "chef.automate.api.notifications.RuleDeleteResponse")
	proto.RegisterType((*RuleAddRequest)(nil), "chef.automate.api.notifications.RuleAddRequest")
	proto.RegisterType((*RuleAddResponse)(nil), "chef.automate.api.notifications.RuleAddResponse")
	proto.RegisterType((*RuleGetResponse)(nil), "chef.automate.api.notifications.RuleGetResponse")
	proto.RegisterType((*RuleListResponse)(nil), "chef.automate.api.notifications.RuleListResponse")
	proto.RegisterType((*VersionRequest)(nil), "chef.automate.api.notifications.VersionRequest")
	proto.RegisterType((*VersionResponse)(nil), "chef.automate.api.notifications.VersionResponse")
	proto.RegisterType((*UsernamePassword)(nil), "chef.automate.api.notifications.UsernamePassword")
	proto.RegisterType((*SecretId)(nil), "chef.automate.api.notifications.SecretId")
	proto.RegisterType((*Empty)(nil), "chef.automate.api.notifications.Empty")
	proto.RegisterType((*URLValidationRequest)(nil), "chef.automate.api.notifications.URLValidationRequest")
	proto.RegisterType((*URLValidationResponse)(nil), "chef.automate.api.notifications.URLValidationResponse")
	proto.RegisterEnum("chef.automate.api.notifications.Rule_Event", Rule_Event_name, Rule_Event_value)
}

var _ context.Context
var _ grpc.ClientConn

const _ = grpc.SupportPackageIsVersion4

type NotificationsClient interface {
	AddRule(ctx context.Context, in *RuleAddRequest, opts ...grpc.CallOption) (*RuleAddResponse, error)
	DeleteRule(ctx context.Context, in *RuleIdentifier, opts ...grpc.CallOption) (*RuleDeleteResponse, error)
	UpdateRule(ctx context.Context, in *RuleUpdateRequest, opts ...grpc.CallOption) (*RuleUpdateResponse, error)
	GetRule(ctx context.Context, in *RuleIdentifier, opts ...grpc.CallOption) (*RuleGetResponse, error)
	ListRules(ctx context.Context, in *RuleListRequest, opts ...grpc.CallOption) (*RuleListResponse, error)
	ValidateWebhook(ctx context.Context, in *URLValidationRequest, opts ...grpc.CallOption) (*URLValidationResponse, error)
	Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error)
}

type notificationsClient struct {
	cc *grpc.ClientConn
}

func NewNotificationsClient(cc *grpc.ClientConn) NotificationsClient {
	return &notificationsClient{cc}
}

func (c *notificationsClient) AddRule(ctx context.Context, in *RuleAddRequest, opts ...grpc.CallOption) (*RuleAddResponse, error) {
	out := new(RuleAddResponse)
	err := c.cc.Invoke(ctx, "/chef.automate.api.notifications.Notifications/AddRule", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *notificationsClient) DeleteRule(ctx context.Context, in *RuleIdentifier, opts ...grpc.CallOption) (*RuleDeleteResponse, error) {
	out := new(RuleDeleteResponse)
	err := c.cc.Invoke(ctx, "/chef.automate.api.notifications.Notifications/DeleteRule", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *notificationsClient) UpdateRule(ctx context.Context, in *RuleUpdateRequest, opts ...grpc.CallOption) (*RuleUpdateResponse, error) {
	out := new(RuleUpdateResponse)
	err := c.cc.Invoke(ctx, "/chef.automate.api.notifications.Notifications/UpdateRule", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *notificationsClient) GetRule(ctx context.Context, in *RuleIdentifier, opts ...grpc.CallOption) (*RuleGetResponse, error) {
	out := new(RuleGetResponse)
	err := c.cc.Invoke(ctx, "/chef.automate.api.notifications.Notifications/GetRule", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *notificationsClient) ListRules(ctx context.Context, in *RuleListRequest, opts ...grpc.CallOption) (*RuleListResponse, error) {
	out := new(RuleListResponse)
	err := c.cc.Invoke(ctx, "/chef.automate.api.notifications.Notifications/ListRules", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *notificationsClient) ValidateWebhook(ctx context.Context, in *URLValidationRequest, opts ...grpc.CallOption) (*URLValidationResponse, error) {
	out := new(URLValidationResponse)
	err := c.cc.Invoke(ctx, "/chef.automate.api.notifications.Notifications/ValidateWebhook", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *notificationsClient) Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error) {
	out := new(VersionResponse)
	err := c.cc.Invoke(ctx, "/chef.automate.api.notifications.Notifications/Version", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

type NotificationsServer interface {
	AddRule(context.Context, *RuleAddRequest) (*RuleAddResponse, error)
	DeleteRule(context.Context, *RuleIdentifier) (*RuleDeleteResponse, error)
	UpdateRule(context.Context, *RuleUpdateRequest) (*RuleUpdateResponse, error)
	GetRule(context.Context, *RuleIdentifier) (*RuleGetResponse, error)
	ListRules(context.Context, *RuleListRequest) (*RuleListResponse, error)
	ValidateWebhook(context.Context, *URLValidationRequest) (*URLValidationResponse, error)
	Version(context.Context, *VersionRequest) (*VersionResponse, error)
}

func RegisterNotificationsServer(s *grpc.Server, srv NotificationsServer) {
	s.RegisterService(&_Notifications_serviceDesc, srv)
}

func _Notifications_AddRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(RuleAddRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(NotificationsServer).AddRule(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/chef.automate.api.notifications.Notifications/AddRule",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(NotificationsServer).AddRule(ctx, req.(*RuleAddRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Notifications_DeleteRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(RuleIdentifier)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(NotificationsServer).DeleteRule(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/chef.automate.api.notifications.Notifications/DeleteRule",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(NotificationsServer).DeleteRule(ctx, req.(*RuleIdentifier))
	}
	return interceptor(ctx, in, info, handler)
}

func _Notifications_UpdateRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(RuleUpdateRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(NotificationsServer).UpdateRule(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/chef.automate.api.notifications.Notifications/UpdateRule",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(NotificationsServer).UpdateRule(ctx, req.(*RuleUpdateRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Notifications_GetRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(RuleIdentifier)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(NotificationsServer).GetRule(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/chef.automate.api.notifications.Notifications/GetRule",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(NotificationsServer).GetRule(ctx, req.(*RuleIdentifier))
	}
	return interceptor(ctx, in, info, handler)
}

func _Notifications_ListRules_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(RuleListRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(NotificationsServer).ListRules(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/chef.automate.api.notifications.Notifications/ListRules",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(NotificationsServer).ListRules(ctx, req.(*RuleListRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Notifications_ValidateWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(URLValidationRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(NotificationsServer).ValidateWebhook(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/chef.automate.api.notifications.Notifications/ValidateWebhook",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(NotificationsServer).ValidateWebhook(ctx, req.(*URLValidationRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Notifications_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(VersionRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(NotificationsServer).Version(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/chef.automate.api.notifications.Notifications/Version",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(NotificationsServer).Version(ctx, req.(*VersionRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _Notifications_serviceDesc = grpc.ServiceDesc{
	ServiceName: "chef.automate.api.notifications.Notifications",
	HandlerType: (*NotificationsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddRule",
			Handler:    _Notifications_AddRule_Handler,
		},
		{
			MethodName: "DeleteRule",
			Handler:    _Notifications_DeleteRule_Handler,
		},
		{
			MethodName: "UpdateRule",
			Handler:    _Notifications_UpdateRule_Handler,
		},
		{
			MethodName: "GetRule",
			Handler:    _Notifications_GetRule_Handler,
		},
		{
			MethodName: "ListRules",
			Handler:    _Notifications_ListRules_Handler,
		},
		{
			MethodName: "ValidateWebhook",
			Handler:    _Notifications_ValidateWebhook_Handler,
		},
		{
			MethodName: "Version",
			Handler:    _Notifications_Version_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "components/automate-gateway/api/notifications/notifications.proto",
}

func init() {
	proto.RegisterFile("components/automate-gateway/api/notifications/notifications.proto", fileDescriptor_notifications_d6f21efe3f986263)
}

var fileDescriptor_notifications_d6f21efe3f986263 = []byte{

	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x41, 0x6f, 0x1b, 0x45,
	0x14, 0xf6, 0xae, 0x1d, 0xc7, 0x7d, 0xa1, 0x8e, 0x33, 0xb4, 0x61, 0xe3, 0x40, 0x6a, 0x8d, 0x00,
	0x85, 0x56, 0xb1, 0xd3, 0x54, 0x20, 0x61, 0x40, 0x6a, 0x12, 0x5a, 0x5c, 0x28, 0x15, 0xda, 0x28,
	0x45, 0x42, 0x88, 0x30, 0xd9, 0x9d, 0x38, 0xab, 0xae, 0x77, 0x96, 0x9d, 0xd9, 0x44, 0x11, 0x70,
	0x09, 0x5c, 0xb0, 0x90, 0x90, 0xe0, 0x17, 0xf0, 0x23, 0xf2, 0x4b, 0xb8, 0x72, 0xe4, 0x86, 0xc4,
	0x81, 0x1b, 0x37, 0x34, 0xb3, 0xb3, 0xb6, 0xd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fc, 0x70, 0x69, 0x27, 0x04, 0x54, 0x39, 0xd2, 0xe7,
	0xbb, 0xcc, 0x85, 0x57, 0x11, 0x9e, 0xec, 0x42, 0x4a, 0x90, 0xe4, 0x1f, 0x2f, 0x8e, 0x39, 0x71,
	0x9c, 0xe8, 0x96, 0xb5, 0xff, 0xa7, 0x01, 0xb3, 0xfa, 0xca, 0xcf, 0x51, 0xfb, 0xd9, 0xe7, 0x42,
	0x8e, 0xda, 0x1f, 0x7b, 0x4d, 0x60, 0x59, 0xdc, 0x8b, 0x70, 0x83, 0x27, 0x4f, 0xea, 0x3d, 0x2f,
	0x38, 0x60, 0x6d, 0xfd, 0x9e, 0xc8, 0x24, 0xdf, 0x82, 0x45, 0x7e, 0xc2, 0x05, 0xed, 0xb5, 0x75,
	0x68, 0x1a, 0xd5, 0x3f, 0xb3, 0x96, 0xd1, 0x52, 0x76, 0x4d, 0x6f, 0x32, 0x28, 0x78, 0x0b, 0x8d,
	0x0b, 0xd6, 0xe0, 0xad, 0xce, 0x67, 0x0f, 0xbb, 0x9e, 0x38, 0x8c, 0xf7, 0x9b, 0x0e, 0xeb, 0xb5,
	0xe4, 0xe1, 0x07, 0xff, 0xfc, 0x5a, 0x57, 0xfa, 0x47, 0xbb, 0x5f, 0x56, 0xff, 0x00, 0xef, 0xfd,
	0x1b, 0x00, 0x00, 0xff, 0xff, 0xcf, 0xda, 0x1c, 0x57, 0x09, 0x0f, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: components/automate-gateway/api/notifications/notifications.proto

package notifications // import "github.com/chef/automate/components/automate-gateway/api/notifications"

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "github.com/chef/automate/components/automate-grpc/protoc-gen-policy/api"
import _ "github.com/chef/automate/components/automate-grpc/protoc-gen-policy/iam"
import _ "google.golang.org/genproto/googleapis/api/annotations"

import (
	context "golang.org/x/net/context"
	grpc "google.golang.org/grpc"
)

// 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.ProtoPackageIsVersion2 // please upgrade the proto package

type Rule_Event int32

const (
	Rule_CCRFailure        Rule_Event = 0
	Rule_CCRSuccess        Rule_Event = 1
	Rule_ComplianceFailure Rule_Event = 2
	Rule_ComplianceSuccess Rule_Event = 3
	Rule_Assets            Rule_Event = 4
)

var Rule_Event_name = map[int32]string{
	0: "CCRFailure",
	1: "CCRSuccess",
	2: "ComplianceFailure",
	3: "ComplianceSuccess",
	4: "Assets",
}
var Rule_Event_value = map[string]int32{
	"CCRFailure":        0,
	"CCRSuccess":        1,
	"ComplianceFailure": 2,
	"ComplianceSuccess": 3,
	"Assets":            4,
}

func (x Rule_Event) String() string {
	return proto.EnumName(Rule_Event_name, int32(x))
}
func (Rule_Event) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{3, 0}
}

type SlackAlert struct {
	Url                  string   `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *SlackAlert) Reset()         { *m = SlackAlert{} }
func (m *SlackAlert) String() string { return proto.CompactTextString(m) }
func (*SlackAlert) ProtoMessage()    {}
func (*SlackAlert) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{0}
}
func (m *SlackAlert) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SlackAlert.Unmarshal(m, b)
}
func (m *SlackAlert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SlackAlert.Marshal(b, m, deterministic)
}
func (dst *SlackAlert) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SlackAlert.Merge(dst, src)
}
func (m *SlackAlert) XXX_Size() int {
	return xxx_messageInfo_SlackAlert.Size(m)
}
func (m *SlackAlert) XXX_DiscardUnknown() {
	xxx_messageInfo_SlackAlert.DiscardUnknown(m)
}

var xxx_messageInfo_SlackAlert proto.InternalMessageInfo

func (m *SlackAlert) GetUrl() string {
	if m != nil {
		return m.Url
	}
	return ""
}

type WebhookAlert struct {
	Url                  string   `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *WebhookAlert) Reset()         { *m = WebhookAlert{} }
func (m *WebhookAlert) String() string { return proto.CompactTextString(m) }
func (*WebhookAlert) ProtoMessage()    {}
func (*WebhookAlert) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{1}
}
func (m *WebhookAlert) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_WebhookAlert.Unmarshal(m, b)
}
func (m *WebhookAlert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_WebhookAlert.Marshal(b, m, deterministic)
}
func (dst *WebhookAlert) XXX_Merge(src proto.Message) {
	xxx_messageInfo_WebhookAlert.Merge(dst, src)
}
func (m *WebhookAlert) XXX_Size() int {
	return xxx_messageInfo_WebhookAlert.Size(m)
}
func (m *WebhookAlert) XXX_DiscardUnknown() {
	xxx_messageInfo_WebhookAlert.DiscardUnknown(m)
}

var xxx_messageInfo_WebhookAlert proto.InternalMessageInfo

func (m *WebhookAlert) GetUrl() string {
	if m != nil {
		return m.Url
	}
	return ""
}

type ServiceNowAlert struct {
	Url                  string   `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	SecretId             string   `protobuf:"bytes,2,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ServiceNowAlert) Reset()         { *m = ServiceNowAlert{} }
func (m *ServiceNowAlert) String() string { return proto.CompactTextString(m) }
func (*ServiceNowAlert) ProtoMessage()    {}
func (*ServiceNowAlert) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{2}
}
func (m *ServiceNowAlert) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ServiceNowAlert.Unmarshal(m, b)
}
func (m *ServiceNowAlert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ServiceNowAlert.Marshal(b, m, deterministic)
}
func (dst *ServiceNowAlert) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ServiceNowAlert.Merge(dst, src)
}
func (m *ServiceNowAlert) XXX_Size() int {
	return xxx_messageInfo_ServiceNowAlert.Size(m)
}
func (m *ServiceNowAlert) XXX_DiscardUnknown() {
	xxx_messageInfo_ServiceNowAlert.DiscardUnknown(m)
}

var xxx_messageInfo_ServiceNowAlert proto.InternalMessageInfo

func (m *ServiceNowAlert) GetUrl() string {
	if m != nil {
		return m.Url
	}
	return ""
}

func (m *ServiceNowAlert) GetSecretId() string {
	if m != nil {
		return m.SecretId
	}
	return ""
}

type Rule struct {
	Id    string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name  string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Event Rule_Event `protobuf:"varint,3,opt,name=event,proto3,enum=chef.automate.api.notifications.Rule_Event" json:"event,omitempty"`
	// Types that are valid to be assigned to Action:
	//	*Rule_SlackAlert
	//	*Rule_WebhookAlert
	//	*Rule_ServiceNowAlert
	Action               isRule_Action `protobuf_oneof:"action"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (m *Rule) Reset()         { *m = Rule{} }
func (m *Rule) String() string { return proto.CompactTextString(m) }
func (*Rule) ProtoMessage()    {}
func (*Rule) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{3}
}
func (m *Rule) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Rule.Unmarshal(m, b)
}
func (m *Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Rule.Marshal(b, m, deterministic)
}
func (dst *Rule) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Rule.Merge(dst, src)
}
func (m *Rule) XXX_Size() int {
	return xxx_messageInfo_Rule.Size(m)
}
func (m *Rule) XXX_DiscardUnknown() {
	xxx_messageInfo_Rule.DiscardUnknown(m)
}

var xxx_messageInfo_Rule proto.InternalMessageInfo

func (m *Rule) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *Rule) GetName() string {
	if m != nil {
		return m.Name
	}
	return ""
}

func (m *Rule) GetEvent() Rule_Event {
	if m != nil {
		return m.Event
	}
	return Rule_CCRFailure
}

type isRule_Action interface {
	isRule_Action()
}

type Rule_SlackAlert struct {
	SlackAlert *SlackAlert `protobuf:"bytes,4,opt,name=SlackAlert,proto3,oneof"`
}

type Rule_WebhookAlert struct {
	WebhookAlert *WebhookAlert `protobuf:"bytes,5,opt,name=WebhookAlert,proto3,oneof"`
}

type Rule_ServiceNowAlert struct {
	ServiceNowAlert *ServiceNowAlert `protobuf:"bytes,6,opt,name=ServiceNowAlert,proto3,oneof"`
}

func (*Rule_SlackAlert) isRule_Action() {}

func (*Rule_WebhookAlert) isRule_Action() {}

func (*Rule_ServiceNowAlert) isRule_Action() {}

func (m *Rule) GetAction() isRule_Action {
	if m != nil {
		return m.Action
	}
	return nil
}

func (m *Rule) GetSlackAlert() *SlackAlert {
	if x, ok := m.GetAction().(*Rule_SlackAlert); ok {
		return x.SlackAlert
	}
	return nil
}

func (m *Rule) GetWebhookAlert() *WebhookAlert {
	if x, ok := m.GetAction().(*Rule_WebhookAlert); ok {
		return x.WebhookAlert
	}
	return nil
}

func (m *Rule) GetServiceNowAlert() *ServiceNowAlert {
	if x, ok := m.GetAction().(*Rule_ServiceNowAlert); ok {
		return x.ServiceNowAlert
	}
	return nil
}

// XXX_OneofFuncs is for the internal use of the proto package.
func (*Rule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
	return _Rule_OneofMarshaler, _Rule_OneofUnmarshaler, _Rule_OneofSizer, []interface{}{
		(*Rule_SlackAlert)(nil),
		(*Rule_WebhookAlert)(nil),
		(*Rule_ServiceNowAlert)(nil),
	}
}

func _Rule_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
	m := msg.(*Rule)
	// action
	switch x := m.Action.(type) {
	case *Rule_SlackAlert:
		b.EncodeVarint(4<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.SlackAlert); err != nil {
			return err
		}
	case *Rule_WebhookAlert:
		b.EncodeVarint(5<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.WebhookAlert); err != nil {
			return err
		}
	case *Rule_ServiceNowAlert:
		b.EncodeVarint(6<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.ServiceNowAlert); err != nil {
			return err
		}
	case nil:
	default:
		return fmt.Errorf("Rule.Action has unexpected type %T", x)
	}
	return nil
}

func _Rule_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
	m := msg.(*Rule)
	switch tag {
	case 4: // action.SlackAlert
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(SlackAlert)
		err := b.DecodeMessage(msg)
		m.Action = &Rule_SlackAlert{msg}
		return true, err
	case 5: // action.WebhookAlert
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(WebhookAlert)
		err := b.DecodeMessage(msg)
		m.Action = &Rule_WebhookAlert{msg}
		return true, err
	case 6: // action.ServiceNowAlert
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(ServiceNowAlert)
		err := b.DecodeMessage(msg)
		m.Action = &Rule_ServiceNowAlert{msg}
		return true, err
	default:
		return false, nil
	}
}

func _Rule_OneofSizer(msg proto.Message) (n int) {
	m := msg.(*Rule)
	// action
	switch x := m.Action.(type) {
	case *Rule_SlackAlert:
		s := proto.Size(x.SlackAlert)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *Rule_WebhookAlert:
		s := proto.Size(x.WebhookAlert)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *Rule_ServiceNowAlert:
		s := proto.Size(x.ServiceNowAlert)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case nil:
	default:
		panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
	}
	return n
}

type RuleIdentifier struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RuleIdentifier) Reset()         { *m = RuleIdentifier{} }
func (m *RuleIdentifier) String() string { return proto.CompactTextString(m) }
func (*RuleIdentifier) ProtoMessage()    {}
func (*RuleIdentifier) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{4}
}
func (m *RuleIdentifier) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuleIdentifier.Unmarshal(m, b)
}
func (m *RuleIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuleIdentifier.Marshal(b, m, deterministic)
}
func (dst *RuleIdentifier) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuleIdentifier.Merge(dst, src)
}
func (m *RuleIdentifier) XXX_Size() int {
	return xxx_messageInfo_RuleIdentifier.Size(m)
}
func (m *RuleIdentifier) XXX_DiscardUnknown() {
	xxx_messageInfo_RuleIdentifier.DiscardUnknown(m)
}

var xxx_messageInfo_RuleIdentifier proto.InternalMessageInfo

func (m *RuleIdentifier) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

type RuleUpdateRequest struct {
	Rule                 *Rule    `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"`
	Id                   string   `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RuleUpdateRequest) Reset()         { *m = RuleUpdateRequest{} }
func (m *RuleUpdateRequest) String() string { return proto.CompactTextString(m) }
func (*RuleUpdateRequest) ProtoMessage()    {}
func (*RuleUpdateRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{5}
}
func (m *RuleUpdateRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuleUpdateRequest.Unmarshal(m, b)
}
func (m *RuleUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuleUpdateRequest.Marshal(b, m, deterministic)
}
func (dst *RuleUpdateRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuleUpdateRequest.Merge(dst, src)
}
func (m *RuleUpdateRequest) XXX_Size() int {
	return xxx_messageInfo_RuleUpdateRequest.Size(m)
}
func (m *RuleUpdateRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_RuleUpdateRequest.DiscardUnknown(m)
}

var xxx_messageInfo_RuleUpdateRequest proto.InternalMessageInfo

func (m *RuleUpdateRequest) GetRule() *Rule {
	if m != nil {
		return m.Rule
	}
	return nil
}

func (m *RuleUpdateRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

type RuleListRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RuleListRequest) Reset()         { *m = RuleListRequest{} }
func (m *RuleListRequest) String() string { return proto.CompactTextString(m) }
func (*RuleListRequest) ProtoMessage()    {}
func (*RuleListRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{6}
}
func (m *RuleListRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuleListRequest.Unmarshal(m, b)
}
func (m *RuleListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuleListRequest.Marshal(b, m, deterministic)
}
func (dst *RuleListRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuleListRequest.Merge(dst, src)
}
func (m *RuleListRequest) XXX_Size() int {
	return xxx_messageInfo_RuleListRequest.Size(m)
}
func (m *RuleListRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_RuleListRequest.DiscardUnknown(m)
}

var xxx_messageInfo_RuleListRequest proto.InternalMessageInfo

type RuleUpdateResponse struct {
	Messages             []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RuleUpdateResponse) Reset()         { *m = RuleUpdateResponse{} }
func (m *RuleUpdateResponse) String() string { return proto.CompactTextString(m) }
func (*RuleUpdateResponse) ProtoMessage()    {}
func (*RuleUpdateResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{7}
}
func (m *RuleUpdateResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuleUpdateResponse.Unmarshal(m, b)
}
func (m *RuleUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuleUpdateResponse.Marshal(b, m, deterministic)
}
func (dst *RuleUpdateResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuleUpdateResponse.Merge(dst, src)
}
func (m *RuleUpdateResponse) XXX_Size() int {
	return xxx_messageInfo_RuleUpdateResponse.Size(m)
}
func (m *RuleUpdateResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_RuleUpdateResponse.DiscardUnknown(m)
}

var xxx_messageInfo_RuleUpdateResponse proto.InternalMessageInfo

func (m *RuleUpdateResponse) GetMessages() []string {
	if m != nil {
		return m.Messages
	}
	return nil
}

type RuleDeleteResponse struct {
	Messages             []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RuleDeleteResponse) Reset()         { *m = RuleDeleteResponse{} }
func (m *RuleDeleteResponse) String() string { return proto.CompactTextString(m) }
func (*RuleDeleteResponse) ProtoMessage()    {}
func (*RuleDeleteResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{8}
}
func (m *RuleDeleteResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuleDeleteResponse.Unmarshal(m, b)
}
func (m *RuleDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuleDeleteResponse.Marshal(b, m, deterministic)
}
func (dst *RuleDeleteResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuleDeleteResponse.Merge(dst, src)
}
func (m *RuleDeleteResponse) XXX_Size() int {
	return xxx_messageInfo_RuleDeleteResponse.Size(m)
}
func (m *RuleDeleteResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_RuleDeleteResponse.DiscardUnknown(m)
}

var xxx_messageInfo_RuleDeleteResponse proto.InternalMessageInfo

func (m *RuleDeleteResponse) GetMessages() []string {
	if m != nil {
		return m.Messages
	}
	return nil
}

type RuleAddRequest struct {
	Rule                 *Rule    `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RuleAddRequest) Reset()         { *m = RuleAddRequest{} }
func (m *RuleAddRequest) String() string { return proto.CompactTextString(m) }
func (*RuleAddRequest) ProtoMessage()    {}
func (*RuleAddRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{9}
}
func (m *RuleAddRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuleAddRequest.Unmarshal(m, b)
}
func (m *RuleAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuleAddRequest.Marshal(b, m, deterministic)
}
func (dst *RuleAddRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuleAddRequest.Merge(dst, src)
}
func (m *RuleAddRequest) XXX_Size() int {
	return xxx_messageInfo_RuleAddRequest.Size(m)
}
func (m *RuleAddRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_RuleAddRequest.DiscardUnknown(m)
}

var xxx_messageInfo_RuleAddRequest proto.InternalMessageInfo

func (m *RuleAddRequest) GetRule() *Rule {
	if m != nil {
		return m.Rule
	}
	return nil
}

type RuleAddResponse struct {
	Messages             []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	Id                   string   `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RuleAddResponse) Reset()         { *m = RuleAddResponse{} }
func (m *RuleAddResponse) String() string { return proto.CompactTextString(m) }
func (*RuleAddResponse) ProtoMessage()    {}
func (*RuleAddResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{10}
}
func (m *RuleAddResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuleAddResponse.Unmarshal(m, b)
}
func (m *RuleAddResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuleAddResponse.Marshal(b, m, deterministic)
}
func (dst *RuleAddResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuleAddResponse.Merge(dst, src)
}
func (m *RuleAddResponse) XXX_Size() int {
	return xxx_messageInfo_RuleAddResponse.Size(m)
}
func (m *RuleAddResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_RuleAddResponse.DiscardUnknown(m)
}

var xxx_messageInfo_RuleAddResponse proto.InternalMessageInfo

func (m *RuleAddResponse) GetMessages() []string {
	if m != nil {
		return m.Messages
	}
	return nil
}

func (m *RuleAddResponse) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

type RuleGetResponse struct {
	Messages             []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	Rule                 *Rule    `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RuleGetResponse) Reset()         { *m = RuleGetResponse{} }
func (m *RuleGetResponse) String() string { return proto.CompactTextString(m) }
func (*RuleGetResponse) ProtoMessage()    {}
func (*RuleGetResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{11}
}
func (m *RuleGetResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuleGetResponse.Unmarshal(m, b)
}
func (m *RuleGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuleGetResponse.Marshal(b, m, deterministic)
}
func (dst *RuleGetResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuleGetResponse.Merge(dst, src)
}
func (m *RuleGetResponse) XXX_Size() int {
	return xxx_messageInfo_RuleGetResponse.Size(m)
}
func (m *RuleGetResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_RuleGetResponse.DiscardUnknown(m)
}

var xxx_messageInfo_RuleGetResponse proto.InternalMessageInfo

func (m *RuleGetResponse) GetMessages() []string {
	if m != nil {
		return m.Messages
	}
	return nil
}

func (m *RuleGetResponse) GetRule() *Rule {
	if m != nil {
		return m.Rule
	}
	return nil
}

type RuleListResponse struct {
	Messages             []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	Rules                []*Rule  `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RuleListResponse) Reset()         { *m = RuleListResponse{} }
func (m *RuleListResponse) String() string { return proto.CompactTextString(m) }
func (*RuleListResponse) ProtoMessage()    {}
func (*RuleListResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{12}
}
func (m *RuleListResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuleListResponse.Unmarshal(m, b)
}
func (m *RuleListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuleListResponse.Marshal(b, m, deterministic)
}
func (dst *RuleListResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuleListResponse.Merge(dst, src)
}
func (m *RuleListResponse) XXX_Size() int {
	return xxx_messageInfo_RuleListResponse.Size(m)
}
func (m *RuleListResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_RuleListResponse.DiscardUnknown(m)
}

var xxx_messageInfo_RuleListResponse proto.InternalMessageInfo

func (m *RuleListResponse) GetMessages() []string {
	if m != nil {
		return m.Messages
	}
	return nil
}

func (m *RuleListResponse) GetRules() []*Rule {
	if m != nil {
		return m.Rules
	}
	return nil
}

type VersionRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *VersionRequest) Reset()         { *m = VersionRequest{} }
func (m *VersionRequest) String() string { return proto.CompactTextString(m) }
func (*VersionRequest) ProtoMessage()    {}
func (*VersionRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{13}
}
func (m *VersionRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_VersionRequest.Unmarshal(m, b)
}
func (m *VersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_VersionRequest.Marshal(b, m, deterministic)
}
func (dst *VersionRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_VersionRequest.Merge(dst, src)
}
func (m *VersionRequest) XXX_Size() int {
	return xxx_messageInfo_VersionRequest.Size(m)
}
func (m *VersionRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_VersionRequest.DiscardUnknown(m)
}

var xxx_messageInfo_VersionRequest proto.InternalMessageInfo

type VersionResponse struct {
	Version              string   `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *VersionResponse) Reset()         { *m = VersionResponse{} }
func (m *VersionResponse) String() string { return proto.CompactTextString(m) }
func (*VersionResponse) ProtoMessage()    {}
func (*VersionResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{14}
}
func (m *VersionResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_VersionResponse.Unmarshal(m, b)
}
func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_VersionResponse.Marshal(b, m, deterministic)
}
func (dst *VersionResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_VersionResponse.Merge(dst, src)
}
func (m *VersionResponse) XXX_Size() int {
	return xxx_messageInfo_VersionResponse.Size(m)
}
func (m *VersionResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_VersionResponse.DiscardUnknown(m)
}

var xxx_messageInfo_VersionResponse proto.InternalMessageInfo

func (m *VersionResponse) GetVersion() string {
	if m != nil {
		return m.Version
	}
	return ""
}

type UsernamePassword struct {
	Username             string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *UsernamePassword) Reset()         { *m = UsernamePassword{} }
func (m *UsernamePassword) String() string { return proto.CompactTextString(m) }
func (*UsernamePassword) ProtoMessage()    {}
func (*UsernamePassword) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{15}
}
func (m *UsernamePassword) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_UsernamePassword.Unmarshal(m, b)
}
func (m *UsernamePassword) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_UsernamePassword.Marshal(b, m, deterministic)
}
func (dst *UsernamePassword) XXX_Merge(src proto.Message) {
	xxx_messageInfo_UsernamePassword.Merge(dst, src)
}
func (m *UsernamePassword) XXX_Size() int {
	return xxx_messageInfo_UsernamePassword.Size(m)
}
func (m *UsernamePassword) XXX_DiscardUnknown() {
	xxx_messageInfo_UsernamePassword.DiscardUnknown(m)
}

var xxx_messageInfo_UsernamePassword proto.InternalMessageInfo

func (m *UsernamePassword) GetUsername() string {
	if m != nil {
		return m.Username
	}
	return ""
}

func (m *UsernamePassword) GetPassword() string {
	if m != nil {
		return m.Password
	}
	return ""
}

type SecretId struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *SecretId) Reset()         { *m = SecretId{} }
func (m *SecretId) String() string { return proto.CompactTextString(m) }
func (*SecretId) ProtoMessage()    {}
func (*SecretId) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{16}
}
func (m *SecretId) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SecretId.Unmarshal(m, b)
}
func (m *SecretId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SecretId.Marshal(b, m, deterministic)
}
func (dst *SecretId) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SecretId.Merge(dst, src)
}
func (m *SecretId) XXX_Size() int {
	return xxx_messageInfo_SecretId.Size(m)
}
func (m *SecretId) XXX_DiscardUnknown() {
	xxx_messageInfo_SecretId.DiscardUnknown(m)
}

var xxx_messageInfo_SecretId proto.InternalMessageInfo

func (m *SecretId) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *Empty) Reset()         { *m = Empty{} }
func (m *Empty) String() string { return proto.CompactTextString(m) }
func (*Empty) ProtoMessage()    {}
func (*Empty) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{17}
}
func (m *Empty) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Empty.Unmarshal(m, b)
}
func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
}
func (dst *Empty) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Empty.Merge(dst, src)
}
func (m *Empty) XXX_Size() int {
	return xxx_messageInfo_Empty.Size(m)
}
func (m *Empty) XXX_DiscardUnknown() {
	xxx_messageInfo_Empty.DiscardUnknown(m)
}

var xxx_messageInfo_Empty proto.InternalMessageInfo

type URLValidationRequest struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Types that are valid to be assigned to Credentials:
	//	*URLValidationRequest_UsernamePassword
	//	*URLValidationRequest_SecretId
	//	*URLValidationRequest_None
	Credentials          isURLValidationRequest_Credentials `protobuf_oneof:"credentials"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

func (m *URLValidationRequest) Reset()         { *m = URLValidationRequest{} }
func (m *URLValidationRequest) String() string { return proto.CompactTextString(m) }
func (*URLValidationRequest) ProtoMessage()    {}
func (*URLValidationRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{18}
}
func (m *URLValidationRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_URLValidationRequest.Unmarshal(m, b)
}
func (m *URLValidationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_URLValidationRequest.Marshal(b, m, deterministic)
}
func (dst *URLValidationRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_URLValidationRequest.Merge(dst, src)
}
func (m *URLValidationRequest) XXX_Size() int {
	return xxx_messageInfo_URLValidationRequest.Size(m)
}
func (m *URLValidationRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_URLValidationRequest.DiscardUnknown(m)
}

var xxx_messageInfo_URLValidationRequest proto.InternalMessageInfo

func (m *URLValidationRequest) GetUrl() string {
	if m != nil {
		return m.Url
	}
	return ""
}

type isURLValidationRequest_Credentials interface {
	isURLValidationRequest_Credentials()
}

type URLValidationRequest_UsernamePassword struct {
	UsernamePassword *UsernamePassword `protobuf:"bytes,2,opt,name=username_password,json=usernamePassword,proto3,oneof"`
}

type URLValidationRequest_SecretId struct {
	SecretId *SecretId `protobuf:"bytes,3,opt,name=secret_id,json=secretId,proto3,oneof"`
}

type URLValidationRequest_None struct {
	None *Empty `protobuf:"bytes,4,opt,name=none,proto3,oneof"`
}

func (*URLValidationRequest_UsernamePassword) isURLValidationRequest_Credentials() {}

func (*URLValidationRequest_SecretId) isURLValidationRequest_Credentials() {}

func (*URLValidationRequest_None) isURLValidationRequest_Credentials() {}

func (m *URLValidationRequest) GetCredentials() isURLValidationRequest_Credentials {
	if m != nil {
		return m.Credentials
	}
	return nil
}

func (m *URLValidationRequest) GetUsernamePassword() *UsernamePassword {
	if x, ok := m.GetCredentials().(*URLValidationRequest_UsernamePassword); ok {
		return x.UsernamePassword
	}
	return nil
}

func (m *URLValidationRequest) GetSecretId() *SecretId {
	if x, ok := m.GetCredentials().(*URLValidationRequest_SecretId); ok {
		return x.SecretId
	}
	return nil
}

func (m *URLValidationRequest) GetNone() *Empty {
	if x, ok := m.GetCredentials().(*URLValidationRequest_None); ok {
		return x.None
	}
	return nil
}

// XXX_OneofFuncs is for the internal use of the proto package.
func (*URLValidationRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
	return _URLValidationRequest_OneofMarshaler, _URLValidationRequest_OneofUnmarshaler, _URLValidationRequest_OneofSizer, []interface{}{
		(*URLValidationRequest_UsernamePassword)(nil),
		(*URLValidationRequest_SecretId)(nil),
		(*URLValidationRequest_None)(nil),
	}
}

func _URLValidationRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
	m := msg.(*URLValidationRequest)
	// credentials
	switch x := m.Credentials.(type) {
	case *URLValidationRequest_UsernamePassword:
		b.EncodeVarint(2<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.UsernamePassword); err != nil {
			return err
		}
	case *URLValidationRequest_SecretId:
		b.EncodeVarint(3<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.SecretId); err != nil {
			return err
		}
	case *URLValidationRequest_None:
		b.EncodeVarint(4<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.None); err != nil {
			return err
		}
	case nil:
	default:
		return fmt.Errorf("URLValidationRequest.Credentials has unexpected type %T", x)
	}
	return nil
}

func _URLValidationRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
	m := msg.(*URLValidationRequest)
	switch tag {
	case 2: // credentials.username_password
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(UsernamePassword)
		err := b.DecodeMessage(msg)
		m.Credentials = &URLValidationRequest_UsernamePassword{msg}
		return true, err
	case 3: // credentials.secret_id
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(SecretId)
		err := b.DecodeMessage(msg)
		m.Credentials = &URLValidationRequest_SecretId{msg}
		return true, err
	case 4: // credentials.none
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(Empty)
		err := b.DecodeMessage(msg)
		m.Credentials = &URLValidationRequest_None{msg}
		return true, err
	default:
		return false, nil
	}
}

func _URLValidationRequest_OneofSizer(msg proto.Message) (n int) {
	m := msg.(*URLValidationRequest)
	// credentials
	switch x := m.Credentials.(type) {
	case *URLValidationRequest_UsernamePassword:
		s := proto.Size(x.UsernamePassword)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *URLValidationRequest_SecretId:
		s := proto.Size(x.SecretId)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *URLValidationRequest_None:
		s := proto.Size(x.None)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case nil:
	default:
		panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
	}
	return n
}

type URLValidationResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *URLValidationResponse) Reset()         { *m = URLValidationResponse{} }
func (m *URLValidationResponse) String() string { return proto.CompactTextString(m) }
func (*URLValidationResponse) ProtoMessage()    {}
func (*URLValidationResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_notifications_d6f21efe3f986263, []int{19}
}
func (m *URLValidationResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_URLValidationResponse.Unmarshal(m, b)
}
func (m *URLValidationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_URLValidationResponse.Marshal(b, m, deterministic)
}
func (dst *URLValidationResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_URLValidationResponse.Merge(dst, src)
}
func (m *URLValidationResponse) XXX_Size() int {
	return xxx_messageInfo_URLValidationResponse.Size(m)
}
func (m *URLValidationResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_URLValidationResponse.DiscardUnknown(m)
}

var xxx_messageInfo_URLValidationResponse proto.InternalMessageInfo

func init() {
	proto.RegisterType((*SlackAlert)(nil), "chef.automate.api.notifications.SlackAlert")
	proto.RegisterType((*WebhookAlert)(nil), "chef.automate.api.notifications.WebhookAlert")
	proto.RegisterType((*ServiceNowAlert)(nil), "chef.automate.api.notifications.ServiceNowAlert")
	proto.RegisterType((*Rule)(nil), "chef.automate.api.notifications.Rule")
	proto.RegisterType((*RuleIdentifier)(nil), "chef.automate.api.notifications.RuleIdentifier")
	proto.RegisterType((*RuleUpdateRequest)(nil), "chef.automate.api.notifications.RuleUpdateRequest")
	proto.RegisterType((*RuleListRequest)(nil), "chef.automate.api.notifications.RuleListRequest")
	proto.RegisterType((*RuleUpdateResponse)(nil), "chef.automate.api.notifications.RuleUpdateResponse")
	proto.RegisterType((*RuleDeleteResponse)(nil), "chef.automate.api.notifications.RuleDeleteResponse")
	proto.RegisterType((*RuleAddRequest)(nil), "chef.automate.api.notifications.RuleAddRequest")
	proto.RegisterType((*RuleAddResponse)(nil), "chef.automate.api.notifications.RuleAddResponse")
	proto.RegisterType((*RuleGetResponse)(nil), "chef.automate.api.notifications.RuleGetResponse")
	proto.RegisterType((*RuleListResponse)(nil), "chef.automate.api.notifications.RuleListResponse")
	proto.RegisterType((*VersionRequest)(nil), "chef.automate.api.notifications.VersionRequest")
	proto.RegisterType((*VersionResponse)(nil), "chef.automate.api.notifications.VersionResponse")
	proto.RegisterType((*UsernamePassword)(nil), "chef.automate.api.notifications.UsernamePassword")
	proto.RegisterType((*SecretId)(nil), "chef.automate.api.notifications.SecretId")
	proto.RegisterType((*Empty)(nil), "chef.automate.api.notifications.Empty")
	proto.RegisterType((*URLValidationRequest)(nil), "chef.automate.api.notifications.URLValidationRequest")
	proto.RegisterType((*URLValidationResponse)(nil), "chef.automate.api.notifications.URLValidationResponse")
	proto.RegisterEnum("chef.automate.api.notifications.Rule_Event", Rule_Event_name, Rule_Event_value)
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4

// NotificationsClient is the client API for Notifications service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type NotificationsClient interface {
	AddRule(ctx context.Context, in *RuleAddRequest, opts ...grpc.CallOption) (*RuleAddResponse, error)
	DeleteRule(ctx context.Context, in *RuleIdentifier, opts ...grpc.CallOption) (*RuleDeleteResponse, error)
	UpdateRule(ctx context.Context, in *RuleUpdateRequest, opts ...grpc.CallOption) (*RuleUpdateResponse, error)
	GetRule(ctx context.Context, in *RuleIdentifier, opts ...grpc.CallOption) (*RuleGetResponse, error)
	ListRules(ctx context.Context, in *RuleListRequest, opts ...grpc.CallOption) (*RuleListResponse, error)
	ValidateWebhook(ctx context.Context, in *URLValidationRequest, opts ...grpc.CallOption) (*URLValidationResponse, error)
	Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error)
}

type notificationsClient struct {
	cc *grpc.ClientConn
}

func NewNotificationsClient(cc *grpc.ClientConn) NotificationsClient {
	return &notificationsClient{cc}
}

func (c *notificationsClient) AddRule(ctx context.Context, in *RuleAddRequest, opts ...grpc.CallOption) (*RuleAddResponse, error) {
	out := new(RuleAddResponse)
	err := c.cc.Invoke(ctx, "/chef.automate.api.notifications.Notifications/AddRule", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *notificationsClient) DeleteRule(ctx context.Context, in *RuleIdentifier, opts ...grpc.CallOption) (*RuleDeleteResponse, error) {
	out := new(RuleDeleteResponse)
	err := c.cc.Invoke(ctx, "/chef.automate.api.notifications.Notifications/DeleteRule", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *notificationsClient) UpdateRule(ctx context.Context, in *RuleUpdateRequest, opts ...grpc.CallOption) (*RuleUpdateResponse, error) {
	out := new(RuleUpdateResponse)
	err := c.cc.Invoke(ctx, "/chef.automate.api.notifications.Notifications/UpdateRule", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *notificationsClient) GetRule(ctx context.Context, in *RuleIdentifier, opts ...grpc.CallOption) (*RuleGetResponse, error) {
	out := new(RuleGetResponse)
	err := c.cc.Invoke(ctx, "/chef.automate.api.notifications.Notifications/GetRule", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *notificationsClient) ListRules(ctx context.Context, in *RuleListRequest, opts ...grpc.CallOption) (*RuleListResponse, error) {
	out := new(RuleListResponse)
	err := c.cc.Invoke(ctx, "/chef.automate.api.notifications.Notifications/ListRules", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *notificationsClient) ValidateWebhook(ctx context.Context, in *URLValidationRequest, opts ...grpc.CallOption) (*URLValidationResponse, error) {
	out := new(URLValidationResponse)
	err := c.cc.Invoke(ctx, "/chef.automate.api.notifications.Notifications/ValidateWebhook", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *notificationsClient) Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error) {
	out := new(VersionResponse)
	err := c.cc.Invoke(ctx, "/chef.automate.api.notifications.Notifications/Version", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// NotificationsServer is the server API for Notifications service.
type NotificationsServer interface {
	AddRule(context.Context, *RuleAddRequest) (*RuleAddResponse, error)
	DeleteRule(context.Context, *RuleIdentifier) (*RuleDeleteResponse, error)
	UpdateRule(context.Context, *RuleUpdateRequest) (*RuleUpdateResponse, error)
	GetRule(context.Context, *RuleIdentifier) (*RuleGetResponse, error)
	ListRules(context.Context, *RuleListRequest) (*RuleListResponse, error)
	ValidateWebhook(context.Context, *URLValidationRequest) (*URLValidationResponse, error)
	Version(context.Context, *VersionRequest) (*VersionResponse, error)
}

func RegisterNotificationsServer(s *grpc.Server, srv NotificationsServer) {
	s.RegisterService(&_Notifications_serviceDesc, srv)
}

func _Notifications_AddRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(RuleAddRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(NotificationsServer).AddRule(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/chef.automate.api.notifications.Notifications/AddRule",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(NotificationsServer).AddRule(ctx, req.(*RuleAddRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Notifications_DeleteRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(RuleIdentifier)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(NotificationsServer).DeleteRule(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/chef.automate.api.notifications.Notifications/DeleteRule",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(NotificationsServer).DeleteRule(ctx, req.(*RuleIdentifier))
	}
	return interceptor(ctx, in, info, handler)
}

func _Notifications_UpdateRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(RuleUpdateRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(NotificationsServer).UpdateRule(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/chef.automate.api.notifications.Notifications/UpdateRule",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(NotificationsServer).UpdateRule(ctx, req.(*RuleUpdateRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Notifications_GetRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(RuleIdentifier)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(NotificationsServer).GetRule(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/chef.automate.api.notifications.Notifications/GetRule",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(NotificationsServer).GetRule(ctx, req.(*RuleIdentifier))
	}
	return interceptor(ctx, in, info, handler)
}

func _Notifications_ListRules_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(RuleListRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(NotificationsServer).ListRules(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/chef.automate.api.notifications.Notifications/ListRules",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(NotificationsServer).ListRules(ctx, req.(*RuleListRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Notifications_ValidateWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(URLValidationRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(NotificationsServer).ValidateWebhook(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/chef.automate.api.notifications.Notifications/ValidateWebhook",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(NotificationsServer).ValidateWebhook(ctx, req.(*URLValidationRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Notifications_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(VersionRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(NotificationsServer).Version(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/chef.automate.api.notifications.Notifications/Version",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(NotificationsServer).Version(ctx, req.(*VersionRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _Notifications_serviceDesc = grpc.ServiceDesc{
	ServiceName: "chef.automate.api.notifications.Notifications",
	HandlerType: (*NotificationsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddRule",
			Handler:    _Notifications_AddRule_Handler,
		},
		{
			MethodName: "DeleteRule",
			Handler:    _Notifications_DeleteRule_Handler,
		},
		{
			MethodName: "UpdateRule",
			Handler:    _Notifications_UpdateRule_Handler,
		},
		{
			MethodName: "GetRule",
			Handler:    _Notifications_GetRule_Handler,
		},
		{
			MethodName: "ListRules",
			Handler:    _Notifications_ListRules_Handler,
		},
		{
			MethodName: "ValidateWebhook",
			Handler:    _Notifications_ValidateWebhook_Handler,
		},
		{
			MethodName: "Version",
			Handler:    _Notifications_Version_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "components/automate-gateway/api/notifications/notifications.proto",
}

func init() {
	proto.RegisterFile("components/automate-gateway/api/notifications/notifications.proto", fileDescriptor_notifications_d6f21efe3f986263)
}

var fileDescriptor_notifications_d6f21efe3f986263 = []byte{
	// 1133 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x41, 0x6f, 0x1b, 0x45,
	0x14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