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

package pb

import (
	fmt "fmt"
	math "math"

	proto "github.com/golang/protobuf/proto"
	_ "github.com/golang/protobuf/ptypes/timestamp"
	wrappers "github.com/golang/protobuf/ptypes/wrappers"
	_ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options"
	context "golang.org/x/net/context"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	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 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{
	// 767 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x55, 0xdd, 0x4e, 0xdb, 0x48,
	0x14, 0x96, 0x43, 0x80, 0xe5, 0x84, 0xa0, 0xdd, 0x59, 0xb4, 0xf1, 0x66, 0xb3, 0x6c, 0xd6, 0xbb,
	0x52, 0x11, 0x2a, 0x31, 0x0d, 0x37, 0x2d, 0x45, 0xa2, 0x80, 0x50, 0xca, 0x45, 0x01, 0x25, 0x85,
	0x8b, 0xde,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0x69, 0x0b, 0x4b, 0x32, 0x78, 0xeb, 0x13, 0xb7,
	0x7e, 0xfc, 0x9f, 0x46, 0x03, 0x4a, 0xe3, 0x1b, 0x7e, 0xc7, 0xbe, 0xab, 0xaf, 0xb3, 0x90, 0x1f,
	0xfe, 0x34, 0xbd, 0xb3, 0xe0, 0xd7, 0x9b, 0x99, 0x42, 0xff, 0x0d, 0xea, 0x9d, 0x70, 0xb7, 0x8a,
	0xff, 0x4f, 0x07, 0x69, 0x99, 0xce, 0xce, 0xe5, 0x6e, 0x11, 0xf5, 0x53, 0x5b, 0x36, 0xce, 0x94,
	0xb5, 0x33, 0x5c, 0xad, 0xf6, 0xd5, 0xc7, 0x4f, 0x6f, 0x33, 0x25, 0xa7, 0xe0, 0x9e, 0xdf, 0x73,
	0x87, 0x9d, 0x13, 0xae, 0x20, 0x72, 0xcb, 0x5a, 0x53, 0x02, 0x6b, 0x53, 0x05, 0xd6, 0xd2, 0x08,
	0xac, 0x4d, 0x17, 0x58, 0xfb, 0x06, 0x81, 0x81, 0x16, 0xf8, 0xc1, 0x82, 0xe5, 0x71, 0x9b, 0x42,
	0x77, 0x06, 0xfb, 0x4f, 0x09, 0x4f, 0x71, 0xf5, 0x76, 0xa0, 0x11, 0x7b, 0x72, 0xb9, 0x6b, 0xa3,
	0x3f, 0x12, 0x48, 0x59, 0xc5, 0x26, 0xd1, 0xad, 0xa4, 0xba, 0xce, 0xda, 0x38, 0xa9, 0xe7, 0x86,
	0xe1, 0x0d, 0x85, 0x74, 0xcb, 0x5a, 0xdb, 0xcb, 0x3e, 0xcb, 0xc4, 0xcd, 0xe6, 0x9c, 0xca, 0xcc,
	0xe6, 0xd7, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7b, 0xae, 0xf0, 0x4d, 0x6f, 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)
}

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",
}
