// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.19.0
// source: interservice/user_settings/user_settings.proto

package user_settings

import (
	context "context"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type User struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	Connector     string                 `protobuf:"bytes,2,opt,name=connector,proto3" json:"connector,omitempty" toml:"connector,omitempty" mapstructure:"connector,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *User) Reset() {
	*x = User{}
	mi := &file_interservice_user_settings_user_settings_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *User) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*User) ProtoMessage() {}

func (x *User) ProtoReflect() protoreflect.Message {
	mi := &file_interservice_user_settings_user_settings_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use User.ProtoReflect.Descriptor instead.
func (*User) Descriptor() ([]byte, []int) {
	return file_interservice_user_settings_user_settings_proto_rawDescGZIP(), []int{0}
}

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

func (x *User) GetConnector() string {
	if x != nil {
		return x.Connector
	}
	return ""
}

type GetUserSettingsRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	User          *User                  `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetUserSettingsRequest) Reset() {
	*x = GetUserSettingsRequest{}
	mi := &file_interservice_user_settings_user_settings_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetUserSettingsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetUserSettingsRequest) ProtoMessage() {}

func (x *GetUserSettingsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_interservice_user_settings_user_settings_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetUserSettingsRequest.ProtoReflect.Descriptor instead.
func (*GetUserSettingsRequest) Descriptor() ([]byte, []int) {
	return file_interservice_user_settings_user_settings_proto_rawDescGZIP(), []int{1}
}

func (x *GetUserSettingsRequest) GetUser() *User {
	if x != nil {
		return x.User
	}
	return nil
}

type PutUserSettingsRequest struct {
	state         protoimpl.MessageState       `protogen:"open.v1"`
	User          *User                        `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"`
	Settings      map[string]*UserSettingValue `protobuf:"bytes,2,rep,name=settings,proto3" json:"settings,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" toml:"settings,omitempty" mapstructure:"settings,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PutUserSettingsRequest) Reset() {
	*x = PutUserSettingsRequest{}
	mi := &file_interservice_user_settings_user_settings_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PutUserSettingsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PutUserSettingsRequest) ProtoMessage() {}

func (x *PutUserSettingsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_interservice_user_settings_user_settings_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PutUserSettingsRequest.ProtoReflect.Descriptor instead.
func (*PutUserSettingsRequest) Descriptor() ([]byte, []int) {
	return file_interservice_user_settings_user_settings_proto_rawDescGZIP(), []int{2}
}

func (x *PutUserSettingsRequest) GetUser() *User {
	if x != nil {
		return x.User
	}
	return nil
}

func (x *PutUserSettingsRequest) GetSettings() map[string]*UserSettingValue {
	if x != nil {
		return x.Settings
	}
	return nil
}

type DeleteUserSettingsRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	User          *User                  `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeleteUserSettingsRequest) Reset() {
	*x = DeleteUserSettingsRequest{}
	mi := &file_interservice_user_settings_user_settings_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DeleteUserSettingsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DeleteUserSettingsRequest) ProtoMessage() {}

func (x *DeleteUserSettingsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_interservice_user_settings_user_settings_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DeleteUserSettingsRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserSettingsRequest) Descriptor() ([]byte, []int) {
	return file_interservice_user_settings_user_settings_proto_rawDescGZIP(), []int{3}
}

func (x *DeleteUserSettingsRequest) GetUser() *User {
	if x != nil {
		return x.User
	}
	return nil
}

type GetUserSettingsResponse struct {
	state         protoimpl.MessageState       `protogen:"open.v1"`
	User          *User                        `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"`
	Settings      map[string]*UserSettingValue `protobuf:"bytes,2,rep,name=settings,proto3" json:"settings,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" toml:"settings,omitempty" mapstructure:"settings,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetUserSettingsResponse) Reset() {
	*x = GetUserSettingsResponse{}
	mi := &file_interservice_user_settings_user_settings_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetUserSettingsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetUserSettingsResponse) ProtoMessage() {}

func (x *GetUserSettingsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_interservice_user_settings_user_settings_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetUserSettingsResponse.ProtoReflect.Descriptor instead.
func (*GetUserSettingsResponse) Descriptor() ([]byte, []int) {
	return file_interservice_user_settings_user_settings_proto_rawDescGZIP(), []int{4}
}

func (x *GetUserSettingsResponse) GetUser() *User {
	if x != nil {
		return x.User
	}
	return nil
}

func (x *GetUserSettingsResponse) GetSettings() map[string]*UserSettingValue {
	if x != nil {
		return x.Settings
	}
	return nil
}

type PutUserSettingsResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	User          *User                  `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PutUserSettingsResponse) Reset() {
	*x = PutUserSettingsResponse{}
	mi := &file_interservice_user_settings_user_settings_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PutUserSettingsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PutUserSettingsResponse) ProtoMessage() {}

func (x *PutUserSettingsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_interservice_user_settings_user_settings_proto_msgTypes[5]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PutUserSettingsResponse.ProtoReflect.Descriptor instead.
func (*PutUserSettingsResponse) Descriptor() ([]byte, []int) {
	return file_interservice_user_settings_user_settings_proto_rawDescGZIP(), []int{5}
}

func (x *PutUserSettingsResponse) GetUser() *User {
	if x != nil {
		return x.User
	}
	return nil
}

type UserSettingValue struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	DefaultValue  string                 `protobuf:"bytes,1,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty" toml:"default_value,omitempty" mapstructure:"default_value,omitempty"`
	Value         string                 `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"`
	Enabled       bool                   `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty" toml:"enabled,omitempty" mapstructure:"enabled,omitempty"`
	ValidValues   []string               `protobuf:"bytes,4,rep,name=valid_values,json=validValues,proto3" json:"valid_values,omitempty" toml:"valid_values,omitempty" mapstructure:"valid_values,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UserSettingValue) Reset() {
	*x = UserSettingValue{}
	mi := &file_interservice_user_settings_user_settings_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *UserSettingValue) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*UserSettingValue) ProtoMessage() {}

func (x *UserSettingValue) ProtoReflect() protoreflect.Message {
	mi := &file_interservice_user_settings_user_settings_proto_msgTypes[6]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use UserSettingValue.ProtoReflect.Descriptor instead.
func (*UserSettingValue) Descriptor() ([]byte, []int) {
	return file_interservice_user_settings_user_settings_proto_rawDescGZIP(), []int{6}
}

func (x *UserSettingValue) GetDefaultValue() string {
	if x != nil {
		return x.DefaultValue
	}
	return ""
}

func (x *UserSettingValue) GetValue() string {
	if x != nil {
		return x.Value
	}
	return ""
}

func (x *UserSettingValue) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

func (x *UserSettingValue) GetValidValues() []string {
	if x != nil {
		return x.ValidValues
	}
	return nil
}

var File_interservice_user_settings_user_settings_proto protoreflect.FileDescriptor

const file_interservice_user_settings_user_settings_proto_rawDesc = "" +
	"\n" +
	".interservice/user_settings/user_settings.proto\x12*chef.automate.domain.user_settings.service\x1a\x1bgoogle/protobuf/empty.proto\"8\n" +
	"\x04User\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n" +
	"\tconnector\x18\x02 \x01(\tR\tconnector\"^\n" +
	"\x16GetUserSettingsRequest\x12D\n" +
	"\x04user\x18\x01 \x01(\v20.chef.automate.domain.user_settings.service.UserR\x04user\"\xc7\x02\n" +
	"\x16PutUserSettingsRequest\x12D\n" +
	"\x04user\x18\x01 \x01(\v20.chef.automate.domain.user_settings.service.UserR\x04user\x12l\n" +
	"\bsettings\x18\x02 \x03(\v2P.chef.automate.domain.user_settings.service.PutUserSettingsRequest.SettingsEntryR\bsettings\x1ay\n" +
	"\rSettingsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12R\n" +
	"\x05value\x18\x02 \x01(\v2<.chef.automate.domain.user_settings.service.UserSettingValueR\x05value:\x028\x01\"a\n" +
	"\x19DeleteUserSettingsRequest\x12D\n" +
	"\x04user\x18\x01 \x01(\v20.chef.automate.domain.user_settings.service.UserR\x04user\"\xc9\x02\n" +
	"\x17GetUserSettingsResponse\x12D\n" +
	"\x04user\x18\x01 \x01(\v20.chef.automate.domain.user_settings.service.UserR\x04user\x12m\n" +
	"\bsettings\x18\x02 \x03(\v2Q.chef.automate.domain.user_settings.service.GetUserSettingsResponse.SettingsEntryR\bsettings\x1ay\n" +
	"\rSettingsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12R\n" +
	"\x05value\x18\x02 \x01(\v2<.chef.automate.domain.user_settings.service.UserSettingValueR\x05value:\x028\x01\"_\n" +
	"\x17PutUserSettingsResponse\x12D\n" +
	"\x04user\x18\x01 \x01(\v20.chef.automate.domain.user_settings.service.UserR\x04user\"\x8a\x01\n" +
	"\x10UserSettingValue\x12#\n" +
	"\rdefault_value\x18\x01 \x01(\tR\fdefaultValue\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value\x12\x18\n" +
	"\aenabled\x18\x03 \x01(\bR\aenabled\x12!\n" +
	"\fvalid_values\x18\x04 \x03(\tR\vvalidValues2\xca\x03\n" +
	"\x13UserSettingsService\x12\x9c\x01\n" +
	"\x0fGetUserSettings\x12B.chef.automate.domain.user_settings.service.GetUserSettingsRequest\x1aC.chef.automate.domain.user_settings.service.GetUserSettingsResponse\"\x00\x12\x9c\x01\n" +
	"\x0fPutUserSettings\x12B.chef.automate.domain.user_settings.service.PutUserSettingsRequest\x1aC.chef.automate.domain.user_settings.service.PutUserSettingsResponse\"\x00\x12u\n" +
	"\x12DeleteUserSettings\x12E.chef.automate.domain.user_settings.service.DeleteUserSettingsRequest\x1a\x16.google.protobuf.Empty\"\x00B9Z7github.com/chef/automate/api/interservice/user_settingsb\x06proto3"

var (
	file_interservice_user_settings_user_settings_proto_rawDescOnce sync.Once
	file_interservice_user_settings_user_settings_proto_rawDescData []byte
)

func file_interservice_user_settings_user_settings_proto_rawDescGZIP() []byte {
	file_interservice_user_settings_user_settings_proto_rawDescOnce.Do(func() {
		file_interservice_user_settings_user_settings_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_interservice_user_settings_user_settings_proto_rawDesc), len(file_interservice_user_settings_user_settings_proto_rawDesc)))
	})
	return file_interservice_user_settings_user_settings_proto_rawDescData
}

var file_interservice_user_settings_user_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_interservice_user_settings_user_settings_proto_goTypes = []any{
	(*User)(nil),                      // 0: chef.automate.domain.user_settings.service.User
	(*GetUserSettingsRequest)(nil),    // 1: chef.automate.domain.user_settings.service.GetUserSettingsRequest
	(*PutUserSettingsRequest)(nil),    // 2: chef.automate.domain.user_settings.service.PutUserSettingsRequest
	(*DeleteUserSettingsRequest)(nil), // 3: chef.automate.domain.user_settings.service.DeleteUserSettingsRequest
	(*GetUserSettingsResponse)(nil),   // 4: chef.automate.domain.user_settings.service.GetUserSettingsResponse
	(*PutUserSettingsResponse)(nil),   // 5: chef.automate.domain.user_settings.service.PutUserSettingsResponse
	(*UserSettingValue)(nil),          // 6: chef.automate.domain.user_settings.service.UserSettingValue
	nil,                               // 7: chef.automate.domain.user_settings.service.PutUserSettingsRequest.SettingsEntry
	nil,                               // 8: chef.automate.domain.user_settings.service.GetUserSettingsResponse.SettingsEntry
	(*emptypb.Empty)(nil),             // 9: google.protobuf.Empty
}
var file_interservice_user_settings_user_settings_proto_depIdxs = []int32{
	0,  // 0: chef.automate.domain.user_settings.service.GetUserSettingsRequest.user:type_name -> chef.automate.domain.user_settings.service.User
	0,  // 1: chef.automate.domain.user_settings.service.PutUserSettingsRequest.user:type_name -> chef.automate.domain.user_settings.service.User
	7,  // 2: chef.automate.domain.user_settings.service.PutUserSettingsRequest.settings:type_name -> chef.automate.domain.user_settings.service.PutUserSettingsRequest.SettingsEntry
	0,  // 3: chef.automate.domain.user_settings.service.DeleteUserSettingsRequest.user:type_name -> chef.automate.domain.user_settings.service.User
	0,  // 4: chef.automate.domain.user_settings.service.GetUserSettingsResponse.user:type_name -> chef.automate.domain.user_settings.service.User
	8,  // 5: chef.automate.domain.user_settings.service.GetUserSettingsResponse.settings:type_name -> chef.automate.domain.user_settings.service.GetUserSettingsResponse.SettingsEntry
	0,  // 6: chef.automate.domain.user_settings.service.PutUserSettingsResponse.user:type_name -> chef.automate.domain.user_settings.service.User
	6,  // 7: chef.automate.domain.user_settings.service.PutUserSettingsRequest.SettingsEntry.value:type_name -> chef.automate.domain.user_settings.service.UserSettingValue
	6,  // 8: chef.automate.domain.user_settings.service.GetUserSettingsResponse.SettingsEntry.value:type_name -> chef.automate.domain.user_settings.service.UserSettingValue
	1,  // 9: chef.automate.domain.user_settings.service.UserSettingsService.GetUserSettings:input_type -> chef.automate.domain.user_settings.service.GetUserSettingsRequest
	2,  // 10: chef.automate.domain.user_settings.service.UserSettingsService.PutUserSettings:input_type -> chef.automate.domain.user_settings.service.PutUserSettingsRequest
	3,  // 11: chef.automate.domain.user_settings.service.UserSettingsService.DeleteUserSettings:input_type -> chef.automate.domain.user_settings.service.DeleteUserSettingsRequest
	4,  // 12: chef.automate.domain.user_settings.service.UserSettingsService.GetUserSettings:output_type -> chef.automate.domain.user_settings.service.GetUserSettingsResponse
	5,  // 13: chef.automate.domain.user_settings.service.UserSettingsService.PutUserSettings:output_type -> chef.automate.domain.user_settings.service.PutUserSettingsResponse
	9,  // 14: chef.automate.domain.user_settings.service.UserSettingsService.DeleteUserSettings:output_type -> google.protobuf.Empty
	12, // [12:15] is the sub-list for method output_type
	9,  // [9:12] is the sub-list for method input_type
	9,  // [9:9] is the sub-list for extension type_name
	9,  // [9:9] is the sub-list for extension extendee
	0,  // [0:9] is the sub-list for field type_name
}

func init() { file_interservice_user_settings_user_settings_proto_init() }
func file_interservice_user_settings_user_settings_proto_init() {
	if File_interservice_user_settings_user_settings_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_interservice_user_settings_user_settings_proto_rawDesc), len(file_interservice_user_settings_user_settings_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   9,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_interservice_user_settings_user_settings_proto_goTypes,
		DependencyIndexes: file_interservice_user_settings_user_settings_proto_depIdxs,
		MessageInfos:      file_interservice_user_settings_user_settings_proto_msgTypes,
	}.Build()
	File_interservice_user_settings_user_settings_proto = out.File
	file_interservice_user_settings_user_settings_proto_goTypes = nil
	file_interservice_user_settings_user_settings_proto_depIdxs = nil
}

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

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

// UserSettingsServiceClient is the client API for UserSettingsService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type UserSettingsServiceClient interface {
	GetUserSettings(ctx context.Context, in *GetUserSettingsRequest, opts ...grpc.CallOption) (*GetUserSettingsResponse, error)
	PutUserSettings(ctx context.Context, in *PutUserSettingsRequest, opts ...grpc.CallOption) (*PutUserSettingsResponse, error)
	DeleteUserSettings(ctx context.Context, in *DeleteUserSettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

type userSettingsServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewUserSettingsServiceClient(cc grpc.ClientConnInterface) UserSettingsServiceClient {
	return &userSettingsServiceClient{cc}
}

func (c *userSettingsServiceClient) GetUserSettings(ctx context.Context, in *GetUserSettingsRequest, opts ...grpc.CallOption) (*GetUserSettingsResponse, error) {
	out := new(GetUserSettingsResponse)
	err := c.cc.Invoke(ctx, "/chef.automate.domain.user_settings.service.UserSettingsService/GetUserSettings", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userSettingsServiceClient) PutUserSettings(ctx context.Context, in *PutUserSettingsRequest, opts ...grpc.CallOption) (*PutUserSettingsResponse, error) {
	out := new(PutUserSettingsResponse)
	err := c.cc.Invoke(ctx, "/chef.automate.domain.user_settings.service.UserSettingsService/PutUserSettings", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userSettingsServiceClient) DeleteUserSettings(ctx context.Context, in *DeleteUserSettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/chef.automate.domain.user_settings.service.UserSettingsService/DeleteUserSettings", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// UserSettingsServiceServer is the server API for UserSettingsService service.
type UserSettingsServiceServer interface {
	GetUserSettings(context.Context, *GetUserSettingsRequest) (*GetUserSettingsResponse, error)
	PutUserSettings(context.Context, *PutUserSettingsRequest) (*PutUserSettingsResponse, error)
	DeleteUserSettings(context.Context, *DeleteUserSettingsRequest) (*emptypb.Empty, error)
}

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

func (*UnimplementedUserSettingsServiceServer) GetUserSettings(context.Context, *GetUserSettingsRequest) (*GetUserSettingsResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetUserSettings not implemented")
}
func (*UnimplementedUserSettingsServiceServer) PutUserSettings(context.Context, *PutUserSettingsRequest) (*PutUserSettingsResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method PutUserSettings not implemented")
}
func (*UnimplementedUserSettingsServiceServer) DeleteUserSettings(context.Context, *DeleteUserSettingsRequest) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DeleteUserSettings not implemented")
}

func RegisterUserSettingsServiceServer(s *grpc.Server, srv UserSettingsServiceServer) {
	s.RegisterService(&_UserSettingsService_serviceDesc, srv)
}

func _UserSettingsService_GetUserSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetUserSettingsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserSettingsServiceServer).GetUserSettings(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/chef.automate.domain.user_settings.service.UserSettingsService/GetUserSettings",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserSettingsServiceServer).GetUserSettings(ctx, req.(*GetUserSettingsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserSettingsService_PutUserSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(PutUserSettingsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserSettingsServiceServer).PutUserSettings(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/chef.automate.domain.user_settings.service.UserSettingsService/PutUserSettings",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserSettingsServiceServer).PutUserSettings(ctx, req.(*PutUserSettingsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserSettingsService_DeleteUserSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteUserSettingsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserSettingsServiceServer).DeleteUserSettings(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/chef.automate.domain.user_settings.service.UserSettingsService/DeleteUserSettings",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserSettingsServiceServer).DeleteUserSettings(ctx, req.(*DeleteUserSettingsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _UserSettingsService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "chef.automate.domain.user_settings.service.UserSettingsService",
	HandlerType: (*UserSettingsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUserSettings",
			Handler:    _UserSettingsService_GetUserSettings_Handler,
		},
		{
			MethodName: "PutUserSettings",
			Handler:    _UserSettingsService_PutUserSettings_Handler,
		},
		{
			MethodName: "DeleteUserSettings",
			Handler:    _UserSettingsService_DeleteUserSettings_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "interservice/user_settings/user_settings.proto",
}
