// Code generated by protoc-gen-go. DO NOT EDIT.
// source: service_config.proto

package pb

import (
	context "context"
	fmt "fmt"
	math "math"

	proto "github.com/golang/protobuf/proto"
	wrappers "github.com/golang/protobuf/ptypes/wrappers"
	_ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

type EmailServiceConfig struct {
	// protocol
	Protocol *wrappers.StringValue `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// email host
	EmailHost *wrappers.StringValue `protobuf:"bytes,2,opt,name=email_host,json=emailHost,proto3" json:"email_host,omitempty"`
	// port
	Port *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=port,proto3" json:"port,omitempty"`
	// display sender
	DisplaySender *wrappers.StringValue `protobuf:"bytes,4,opt,name=display_sender,json=displaySender,proto3" json:"display_sender,omitempty"`
	// email
	Email *wrappers.StringValue `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	// password
	Password *wrappers.StringValue `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"`
	// use ssl or not
	SslEnable            *wrappers.BoolValue `protobuf:"bytes,7,opt,name=ssl_enable,json=sslEnable,proto3" json:"ssl_enable,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (m *EmailServiceConfig) Reset()         { *m = EmailServiceConfig{} }
func (m *EmailServiceConfig) String() string { return proto.CompactTextString(m) }
func (*EmailServiceConfig) ProtoMessage()    {}
func (*EmailServiceConfig) Descriptor() ([]byte, []int) {
	return fileDescriptor_452b382cbc0cfd24, []int{0}
}

func (m *EmailServiceConfig) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_EmailServiceConfig.Unmarshal(m, b)
}
func (m *EmailServiceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_EmailServiceConfig.Marshal(b, m, deterministic)
}
func (m *EmailServiceConfig) XXX_Merge(src proto.Message) {
	xxx_messageInfo_EmailServiceConfig.Merge(m, src)
}
func (m *EmailServiceConfig) XXX_Size() int {
	return xxx_messageInfo_EmailServiceConfig.Size(m)
}
func (m *EmailServiceConfig) XXX_DiscardUnknown() {
	xxx_messageInfo_EmailServiceConfig.DiscardUnknown(m)
}

var xxx_messageInfo_EmailServiceConfig proto.InternalMessageInfo

func (m *EmailServiceConfig) GetProtocol() *wrappers.StringValue {
	if m != nil {
		return m.Protocol
	}
	return nil
}

func (m *EmailServiceConfig) GetEmailHost() *wrappers.StringValue {
	if m != nil {
		return m.EmailHost
	}
	return nil
}

func (m *EmailServiceConfig) GetPort() *wrappers.UInt32Value {
	if m != nil {
		return m.Port
	}
	return nil
}

func (m *EmailServiceConfig) GetDisplaySender() *wrappers.StringValue {
	if m != nil {
		return m.DisplaySender
	}
	return nil
}

func (m *EmailServiceConfig) GetEmail() *wrappers.StringValue {
	if m != nil {
		return m.Email
	}
	return nil
}

func (m *EmailServiceConfig) GetPassword() *wrappers.StringValue {
	if m != nil {
		return m.Password
	}
	return nil
}

func (m *EmailServiceConfig) GetSslEnable() *wrappers.BoolValue {
	if m != nil {
		return m.SslEnable
	}
	return nil
}

type NotificationConfig struct {
	// email service sonfig
	EmailServiceConfig   *EmailServiceConfig `protobuf:"bytes,1,opt,name=email_service_config,json=emailServiceConfig,proto3" json:"email_service_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (m *NotificationConfig) Reset()         { *m = NotificationConfig{} }
func (m *NotificationConfig) String() string { return proto.CompactTextString(m) }
func (*NotificationConfig) ProtoMessage()    {}
func (*NotificationConfig) Descriptor() ([]byte, []int) {
	return fileDescriptor_452b382cbc0cfd24, []int{1}
}

func (m *NotificationConfig) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_NotificationConfig.Unmarshal(m, b)
}
func (m *NotificationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_NotificationConfig.Marshal(b, m, deterministic)
}
func (m *NotificationConfig) XXX_Merge(src proto.Message) {
	xxx_messageInfo_NotificationConfig.Merge(m, src)
}
func (m *NotificationConfig) XXX_Size() int {
	return xxx_messageInfo_NotificationConfig.Size(m)
}
func (m *NotificationConfig) XXX_DiscardUnknown() {
	xxx_messageInfo_NotificationConfig.DiscardUnknown(m)
}

var xxx_messageInfo_NotificationConfig proto.InternalMessageInfo

func (m *NotificationConfig) GetEmailServiceConfig() *EmailServiceConfig {
	if m != nil {
		return m.EmailServiceConfig
	}
	return nil
}

type RuntimeItemConfig struct {
	// runtime name eg.[qingcloud|aliyun|aws|kubernetes]
	Name *wrappers.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// whether runtime is available
	Enable               *wrappers.BoolValue `protobuf:"bytes,2,opt,name=enable,proto3" json:"enable,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (m *RuntimeItemConfig) Reset()         { *m = RuntimeItemConfig{} }
func (m *RuntimeItemConfig) String() string { return proto.CompactTextString(m) }
func (*RuntimeItemConfig) ProtoMessage()    {}
func (*RuntimeItemConfig) Descriptor() ([]byte, []int) {
	return fileDescriptor_452b382cbc0cfd24, []int{2}
}

func (m *RuntimeItemConfig) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuntimeItemConfig.Unmarshal(m, b)
}
func (m *RuntimeItemConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuntimeItemConfig.Marshal(b, m, deterministic)
}
func (m *RuntimeItemConfig) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuntimeItemConfig.Merge(m, src)
}
func (m *RuntimeItemConfig) XXX_Size() int {
	return xxx_messageInfo_RuntimeItemConfig.Size(m)
}
func (m *RuntimeItemConfig) XXX_DiscardUnknown() {
	xxx_messageInfo_RuntimeItemConfig.DiscardUnknown(m)
}

var xxx_messageInfo_RuntimeItemConfig proto.InternalMessageInfo

func (m *RuntimeItemConfig) GetName() *wrappers.StringValue {
	if m != nil {
		return m.Name
	}
	return nil
}

func (m *RuntimeItemConfig) GetEnable() *wrappers.BoolValue {
	if m != nil {
		return m.Enable
	}
	return nil
}

type RuntimeConfig struct {
	// runtime item config
	ConfigSet            []*RuntimeItemConfig `protobuf:"bytes,1,rep,name=config_set,json=configSet,proto3" json:"config_set,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (m *RuntimeConfig) Reset()         { *m = RuntimeConfig{} }
func (m *RuntimeConfig) String() string { return proto.CompactTextString(m) }
func (*RuntimeConfig) ProtoMessage()    {}
func (*RuntimeConfig) Descriptor() ([]byte, []int) {
	return fileDescriptor_452b382cbc0cfd24, []int{3}
}

func (m *RuntimeConfig) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RuntimeConfig.Unmarshal(m, b)
}
func (m *RuntimeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RuntimeConfig.Marshal(b, m, deterministic)
}
func (m *RuntimeConfig) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RuntimeConfig.Merge(m, src)
}
func (m *RuntimeConfig) XXX_Size() int {
	return xxx_messageInfo_RuntimeConfig.Size(m)
}
func (m *RuntimeConfig) XXX_DiscardUnknown() {
	xxx_messageInfo_RuntimeConfig.DiscardUnknown(m)
}

var xxx_messageInfo_RuntimeConfig proto.InternalMessageInfo

func (m *RuntimeConfig) GetConfigSet() []*RuntimeItemConfig {
	if m != nil {
		return m.ConfigSet
	}
	return nil
}

type BasicConfig struct {
	// platform name
	PlatformName *wrappers.StringValue `protobuf:"bytes,1,opt,name=platform_name,json=platformName,proto3" json:"platform_name,omitempty"`
	// platform url
	PlatformUrl          *wrappers.StringValue `protobuf:"bytes,2,opt,name=platform_url,json=platformUrl,proto3" json:"platform_url,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *BasicConfig) Reset()         { *m = BasicConfig{} }
func (m *BasicConfig) String() string { return proto.CompactTextString(m) }
func (*BasicConfig) ProtoMessage()    {}
func (*BasicConfig) Descriptor() ([]byte, []int) {
	return fileDescriptor_452b382cbc0cfd24, []int{4}
}

func (m *BasicConfig) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_BasicConfig.Unmarshal(m, b)
}
func (m *BasicConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_BasicConfig.Marshal(b, m, deterministic)
}
func (m *BasicConfig) XXX_Merge(src proto.Message) {
	xxx_messageInfo_BasicConfig.Merge(m, src)
}
func (m *BasicConfig) XXX_Size() int {
	return xxx_messageInfo_BasicConfig.Size(m)
}
func (m *BasicConfig) XXX_DiscardUnknown() {
	xxx_messageInfo_BasicConfig.DiscardUnknown(m)
}

var xxx_messageInfo_BasicConfig proto.InternalMessageInfo

func (m *BasicConfig) GetPlatformName() *wrappers.StringValue {
	if m != nil {
		return m.PlatformName
	}
	return nil
}

func (m *BasicConfig) GetPlatformUrl() *wrappers.StringValue {
	if m != nil {
		return m.PlatformUrl
	}
	return nil
}

type SetServiceConfigRequest struct {
	// notification config
	NotificationConfig *NotificationConfig `protobuf:"bytes,1,opt,name=notification_config,json=notificationConfig,proto3" json:"notification_config,omitempty"`
	// runtime config
	RuntimeConfig *RuntimeConfig `protobuf:"bytes,2,opt,name=runtime_config,json=runtimeConfig,proto3" json:"runtime_config,omitempty"`
	// basic config
	BasicConfig          *BasicConfig `protobuf:"bytes,3,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (m *SetServiceConfigRequest) Reset()         { *m = SetServiceConfigRequest{} }
func (m *SetServiceConfigRequest) String() string { return proto.CompactTextString(m) }
func (*SetServiceConfigRequest) ProtoMessage()    {}
func (*SetServiceConfigRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_452b382cbc0cfd24, []int{5}
}

func (m *SetServiceConfigRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SetServiceConfigRequest.Unmarshal(m, b)
}
func (m *SetServiceConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SetServiceConfigRequest.Marshal(b, m, deterministic)
}
func (m *SetServiceConfigRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SetServiceConfigRequest.Merge(m, src)
}
func (m *SetServiceConfigRequest) XXX_Size() int {
	return xxx_messageInfo_SetServiceConfigRequest.Size(m)
}
func (m *SetServiceConfigRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_SetServiceConfigRequest.DiscardUnknown(m)
}

var xxx_messageInfo_SetServiceConfigRequest proto.InternalMessageInfo

func (m *SetServiceConfigRequest) GetNotificationConfig() *NotificationConfig {
	if m != nil {
		return m.NotificationConfig
	}
	return nil
}

func (m *SetServiceConfigRequest) GetRuntimeConfig() *RuntimeConfig {
	if m != nil {
		return m.RuntimeConfig
	}
	return nil
}

func (m *SetServiceConfigRequest) GetBasicConfig() *BasicConfig {
	if m != nil {
		return m.BasicConfig
	}
	return nil
}

type SetServiceConfigResponse struct {
	// set service config ok or not
	IsSucc               *wrappers.BoolValue `protobuf:"bytes,1,opt,name=is_succ,json=isSucc,proto3" json:"is_succ,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (m *SetServiceConfigResponse) Reset()         { *m = SetServiceConfigResponse{} }
func (m *SetServiceConfigResponse) String() string { return proto.CompactTextString(m) }
func (*SetServiceConfigResponse) ProtoMessage()    {}
func (*SetServiceConfigResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_452b382cbc0cfd24, []int{6}
}

func (m *SetServiceConfigResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SetServiceConfigResponse.Unmarshal(m, b)
}
func (m *SetServiceConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SetServiceConfigResponse.Marshal(b, m, deterministic)
}
func (m *SetServiceConfigResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SetServiceConfigResponse.Merge(m, src)
}
func (m *SetServiceConfigResponse) XXX_Size() int {
	return xxx_messageInfo_SetServiceConfigResponse.Size(m)
}
func (m *SetServiceConfigResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_SetServiceConfigResponse.DiscardUnknown(m)
}

var xxx_messageInfo_SetServiceConfigResponse proto.InternalMessageInfo

func (m *SetServiceConfigResponse) GetIsSucc() *wrappers.BoolValue {
	if m != nil {
		return m.IsSucc
	}
	return nil
}

type GetServiceConfigRequest struct {
	// service type eg.[runtime]
	ServiceType          []string `protobuf:"bytes,1,rep,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *GetServiceConfigRequest) Reset()         { *m = GetServiceConfigRequest{} }
func (m *GetServiceConfigRequest) String() string { return proto.CompactTextString(m) }
func (*GetServiceConfigRequest) ProtoMessage()    {}
func (*GetServiceConfigRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_452b382cbc0cfd24, []int{7}
}

func (m *GetServiceConfigRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetServiceConfigRequest.Unmarshal(m, b)
}
func (m *GetServiceConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetServiceConfigRequest.Marshal(b, m, deterministic)
}
func (m *GetServiceConfigRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetServiceConfigRequest.Merge(m, src)
}
func (m *GetServiceConfigRequest) XXX_Size() int {
	return xxx_messageInfo_GetServiceConfigRequest.Size(m)
}
func (m *GetServiceConfigRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetServiceConfigRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetServiceConfigRequest proto.InternalMessageInfo

func (m *GetServiceConfigRequest) GetServiceType() []string {
	if m != nil {
		return m.ServiceType
	}
	return nil
}

type GetServiceConfigResponse struct {
	// notification config
	NotificationConfig *NotificationConfig `protobuf:"bytes,1,opt,name=notification_config,json=notificationConfig,proto3" json:"notification_config,omitempty"`
	// runtime config
	RuntimeConfig *RuntimeConfig `protobuf:"bytes,2,opt,name=runtime_config,json=runtimeConfig,proto3" json:"runtime_config,omitempty"`
	// basic config
	BasicConfig          *BasicConfig `protobuf:"bytes,3,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (m *GetServiceConfigResponse) Reset()         { *m = GetServiceConfigResponse{} }
func (m *GetServiceConfigResponse) String() string { return proto.CompactTextString(m) }
func (*GetServiceConfigResponse) ProtoMessage()    {}
func (*GetServiceConfigResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_452b382cbc0cfd24, []int{8}
}

func (m *GetServiceConfigResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetServiceConfigResponse.Unmarshal(m, b)
}
func (m *GetServiceConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetServiceConfigResponse.Marshal(b, m, deterministic)
}
func (m *GetServiceConfigResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetServiceConfigResponse.Merge(m, src)
}
func (m *GetServiceConfigResponse) XXX_Size() int {
	return xxx_messageInfo_GetServiceConfigResponse.Size(m)
}
func (m *GetServiceConfigResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetServiceConfigResponse.DiscardUnknown(m)
}

var xxx_messageInfo_GetServiceConfigResponse proto.InternalMessageInfo

func (m *GetServiceConfigResponse) GetNotificationConfig() *NotificationConfig {
	if m != nil {
		return m.NotificationConfig
	}
	return nil
}

func (m *GetServiceConfigResponse) GetRuntimeConfig() *RuntimeConfig {
	if m != nil {
		return m.RuntimeConfig
	}
	return nil
}

func (m *GetServiceConfigResponse) GetBasicConfig() *BasicConfig {
	if m != nil {
		return m.BasicConfig
	}
	return nil
}

type ValidateEmailServiceRequest struct {
	// email service config
	EmailServiceConfig   *EmailServiceConfig `protobuf:"bytes,1,opt,name=email_service_config,json=emailServiceConfig,proto3" json:"email_service_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (m *ValidateEmailServiceRequest) Reset()         { *m = ValidateEmailServiceRequest{} }
func (m *ValidateEmailServiceRequest) String() string { return proto.CompactTextString(m) }
func (*ValidateEmailServiceRequest) ProtoMessage()    {}
func (*ValidateEmailServiceRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_452b382cbc0cfd24, []int{9}
}

func (m *ValidateEmailServiceRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ValidateEmailServiceRequest.Unmarshal(m, b)
}
func (m *ValidateEmailServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ValidateEmailServiceRequest.Marshal(b, m, deterministic)
}
func (m *ValidateEmailServiceRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ValidateEmailServiceRequest.Merge(m, src)
}
func (m *ValidateEmailServiceRequest) XXX_Size() int {
	return xxx_messageInfo_ValidateEmailServiceRequest.Size(m)
}
func (m *ValidateEmailServiceRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ValidateEmailServiceRequest.DiscardUnknown(m)
}

var xxx_messageInfo_ValidateEmailServiceRequest proto.InternalMessageInfo

func (m *ValidateEmailServiceRequest) GetEmailServiceConfig() *EmailServiceConfig {
	if m != nil {
		return m.EmailServiceConfig
	}
	return nil
}

type ValidateEmailServiceResponse struct {
	// validate email service ok or not
	IsSucc               *wrappers.BoolValue `protobuf:"bytes,1,opt,name=is_succ,json=isSucc,proto3" json:"is_succ,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (m *ValidateEmailServiceResponse) Reset()         { *m = ValidateEmailServiceResponse{} }
func (m *ValidateEmailServiceResponse) String() string { return proto.CompactTextString(m) }
func (*ValidateEmailServiceResponse) ProtoMessage()    {}
func (*ValidateEmailServiceResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_452b382cbc0cfd24, []int{10}
}

func (m *ValidateEmailServiceResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ValidateEmailServiceResponse.Unmarshal(m, b)
}
func (m *ValidateEmailServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ValidateEmailServiceResponse.Marshal(b, m, deterministic)
}
func (m *ValidateEmailServiceResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ValidateEmailServiceResponse.Merge(m, src)
}
func (m *ValidateEmailServiceResponse) XXX_Size() int {
	return xxx_messageInfo_ValidateEmailServiceResponse.Size(m)
}
func (m *ValidateEmailServiceResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ValidateEmailServiceResponse.DiscardUnknown(m)
}

var xxx_messageInfo_ValidateEmailServiceResponse proto.InternalMessageInfo

func (m *ValidateEmailServiceResponse) GetIsSucc() *wrappers.BoolValue {
	if m != nil {
		return m.IsSucc
	}
	return nil
}

func init() {
	proto.RegisterType((*EmailServiceConfig)(nil), "openpitrix.EmailServiceConfig")
	proto.RegisterType((*NotificationConfig)(nil), "openpitrix.NotificationConfig")
	proto.RegisterType((*RuntimeItemConfig)(nil), "openpitrix.RuntimeItemConfig")
	proto.RegisterType((*RuntimeConfig)(nil), "openpitrix.RuntimeConfig")
	proto.RegisterType((*BasicConfig)(nil), "openpitrix.BasicConfig")
	proto.RegisterType((*SetServiceConfigRequest)(nil), "openpitrix.SetServiceConfigRequest")
	proto.RegisterType((*SetServiceConfigResponse)(nil), "openpitrix.SetServiceConfigResponse")
	proto.RegisterType((*GetServiceConfigRequest)(nil), "openpitrix.GetServiceConfigRequest")
	proto.RegisterType((*GetServiceConfigResponse)(nil), "openpitrix.GetServiceConfigResponse")
	proto.RegisterType((*ValidateEmailServiceRequest)(nil), "openpitrix.ValidateEmailServiceRequest")
	proto.RegisterType((*ValidateEmailServiceResponse)(nil), "openpitrix.ValidateEmailServiceResponse")
}

func init() { proto.RegisterFile("service_config.proto", fileDescriptor_452b382cbc0cfd24) }

var fileDescriptor_452b382cbc0cfd24 = []byte{
	// 750 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x55, 0xd1, 0x4e, 0x13, 0x41,
	0x14, 0xcd, 0x96, 0x02, 0x72, 0x4b, 0x89, 0x8e, 0xc4, 0xae, 0xb5, 0x92, 0xba, 0x9a, 0x48, 0x88,
	0x74, 0xb1, 0xbc, 0x28, 0x92, 0x20, 0x10, 0x52, 0x79, 0x10, 0x48, 0x2b, 0x3c, 0xf8, 0xb2, 0xd9,
	0x6e, 0xa7,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x03, 0x4a, 0xa3, 0x1b, 0xfe, 0xc5, 0xbe, 0xab, 0x1f, 0xb2, 0x90, 0x1f,
	0xfe, 0x34, 0x7d, 0x36, 0xe0, 0xfa, 0xef, 0x99, 0x42, 0xf7, 0x07, 0xf5, 0x8e, 0xb9, 0x5b, 0xc5,
	0x07, 0x93, 0x41, 0x4a, 0xa6, 0xb5, 0x75, 0xbe, 0x5d, 0x44, 0xfd, 0xd4, 0x96, 0xb5, 0x33, 0x65,
	0xe5, 0x0c, 0x93, 0xab, 0x7d, 0xff, 0xed, 0xfb, 0xa7, 0x4c, 0xc9, 0x2a, 0xd8, 0xa7, 0x8f, 0xed,
	0x61, 0xe7, 0xb8, 0xcd, 0xb1, 0xd8, 0x30, 0x56, 0xa4, 0xc0, 0xda, 0x44, 0x81, 0xb5, 0x34, 0x02,
	0x6b, 0x93, 0x05, 0xd6, 0xfe, 0x40, 0xa0, 0xaf, 0x04, 0x7e, 0x35, 0x60, 0x71, 0xd4, 0xa6, 0xd0,
	0xc3, 0xc1, 0xfe, 0x13, 0xc2, 0x53, 0x5c, 0xbe, 0x1a, 0xa8, 0xc5, 0x1e, 0x9d, 0x6f, 0x9b, 0xe8,
	0x56, 0x0c, 0x29, 0xcb, 0xd8, 0xc4, 0xba, 0xa5, 0x54, 0xdb, 0x5a, 0x19, 0x25, 0xf5, 0x54, 0x33,
	0x9c, 0xa1, 0x90, 0x6e, 0x18, 0x2b, 0x3b, 0xd9, 0xd7, 0x99, 0xa8, 0xd9, 0x9c, 0x91, 0x99, 0x59,
	0xff, 0x15, 0x00, 0x00, 0xff, 0xff, 0x92, 0x91, 0xe8, 0x28, 0x4e, 0x09, 0x00, 0x00,
}

// 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

// ServiceConfigClient is the client API for ServiceConfig service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ServiceConfigClient interface {
	// Set service configration
	SetServiceConfig(ctx context.Context, in *SetServiceConfigRequest, opts ...grpc.CallOption) (*SetServiceConfigResponse, error)
	// Get service configration
	GetServiceConfig(ctx context.Context, in *GetServiceConfigRequest, opts ...grpc.CallOption) (*GetServiceConfigResponse, error)
	// Validate email service
	ValidateEmailService(ctx context.Context, in *ValidateEmailServiceRequest, opts ...grpc.CallOption) (*ValidateEmailServiceResponse, error)
}

type serviceConfigClient struct {
	cc *grpc.ClientConn
}

func NewServiceConfigClient(cc *grpc.ClientConn) ServiceConfigClient {
	return &serviceConfigClient{cc}
}

func (c *serviceConfigClient) SetServiceConfig(ctx context.Context, in *SetServiceConfigRequest, opts ...grpc.CallOption) (*SetServiceConfigResponse, error) {
	out := new(SetServiceConfigResponse)
	err := c.cc.Invoke(ctx, "/openpitrix.ServiceConfig/SetServiceConfig", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceConfigClient) GetServiceConfig(ctx context.Context, in *GetServiceConfigRequest, opts ...grpc.CallOption) (*GetServiceConfigResponse, error) {
	out := new(GetServiceConfigResponse)
	err := c.cc.Invoke(ctx, "/openpitrix.ServiceConfig/GetServiceConfig", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceConfigClient) ValidateEmailService(ctx context.Context, in *ValidateEmailServiceRequest, opts ...grpc.CallOption) (*ValidateEmailServiceResponse, error) {
	out := new(ValidateEmailServiceResponse)
	err := c.cc.Invoke(ctx, "/openpitrix.ServiceConfig/ValidateEmailService", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// ServiceConfigServer is the server API for ServiceConfig service.
type ServiceConfigServer interface {
	// Set service configration
	SetServiceConfig(context.Context, *SetServiceConfigRequest) (*SetServiceConfigResponse, error)
	// Get service configration
	GetServiceConfig(context.Context, *GetServiceConfigRequest) (*GetServiceConfigResponse, error)
	// Validate email service
	ValidateEmailService(context.Context, *ValidateEmailServiceRequest) (*ValidateEmailServiceResponse, error)
}

// UnimplementedServiceConfigServer can be embedded to have forward compatible implementations.
type UnimplementedServiceConfigServer struct {
}

func (*UnimplementedServiceConfigServer) SetServiceConfig(ctx context.Context, req *SetServiceConfigRequest) (*SetServiceConfigResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method SetServiceConfig not implemented")
}
func (*UnimplementedServiceConfigServer) GetServiceConfig(ctx context.Context, req *GetServiceConfigRequest) (*GetServiceConfigResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetServiceConfig not implemented")
}
func (*UnimplementedServiceConfigServer) ValidateEmailService(ctx context.Context, req *ValidateEmailServiceRequest) (*ValidateEmailServiceResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ValidateEmailService not implemented")
}

func RegisterServiceConfigServer(s *grpc.Server, srv ServiceConfigServer) {
	s.RegisterService(&_ServiceConfig_serviceDesc, srv)
}

func _ServiceConfig_SetServiceConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SetServiceConfigRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ServiceConfigServer).SetServiceConfig(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/openpitrix.ServiceConfig/SetServiceConfig",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ServiceConfigServer).SetServiceConfig(ctx, req.(*SetServiceConfigRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ServiceConfig_GetServiceConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetServiceConfigRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ServiceConfigServer).GetServiceConfig(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/openpitrix.ServiceConfig/GetServiceConfig",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ServiceConfigServer).GetServiceConfig(ctx, req.(*GetServiceConfigRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ServiceConfig_ValidateEmailService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ValidateEmailServiceRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ServiceConfigServer).ValidateEmailService(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/openpitrix.ServiceConfig/ValidateEmailService",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ServiceConfigServer).ValidateEmailService(ctx, req.(*ValidateEmailServiceRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _ServiceConfig_serviceDesc = grpc.ServiceDesc{
	ServiceName: "openpitrix.ServiceConfig",
	HandlerType: (*ServiceConfigServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SetServiceConfig",
			Handler:    _ServiceConfig_SetServiceConfig_Handler,
		},
		{
			MethodName: "GetServiceConfig",
			Handler:    _ServiceConfig_GetServiceConfig_Handler,
		},
		{
			MethodName: "ValidateEmailService",
			Handler:    _ServiceConfig_ValidateEmailService_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service_config.proto",
}
