// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.19.0
// source: external/iam/v2/response/users.proto

package response

import (
	common "github.com/chef/automate/api/external/iam/v2/common"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	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 CreateUserResp struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	User          *common.User           `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CreateUserResp) ProtoMessage() {}

func (x *CreateUserResp) ProtoReflect() protoreflect.Message {
	mi := &file_external_iam_v2_response_users_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 CreateUserResp.ProtoReflect.Descriptor instead.
func (*CreateUserResp) Descriptor() ([]byte, []int) {
	return file_external_iam_v2_response_users_proto_rawDescGZIP(), []int{0}
}

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

type ListUsersResp struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Users         []*common.User         `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListUsersResp) ProtoMessage() {}

func (x *ListUsersResp) ProtoReflect() protoreflect.Message {
	mi := &file_external_iam_v2_response_users_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 ListUsersResp.ProtoReflect.Descriptor instead.
func (*ListUsersResp) Descriptor() ([]byte, []int) {
	return file_external_iam_v2_response_users_proto_rawDescGZIP(), []int{1}
}

func (x *ListUsersResp) GetUsers() []*common.User {
	if x != nil {
		return x.Users
	}
	return nil
}

type DeleteUserResp struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeleteUserResp) ProtoMessage() {}

func (x *DeleteUserResp) ProtoReflect() protoreflect.Message {
	mi := &file_external_iam_v2_response_users_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 DeleteUserResp.ProtoReflect.Descriptor instead.
func (*DeleteUserResp) Descriptor() ([]byte, []int) {
	return file_external_iam_v2_response_users_proto_rawDescGZIP(), []int{2}
}

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

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

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

func (*GetUserResp) ProtoMessage() {}

func (x *GetUserResp) ProtoReflect() protoreflect.Message {
	mi := &file_external_iam_v2_response_users_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 GetUserResp.ProtoReflect.Descriptor instead.
func (*GetUserResp) Descriptor() ([]byte, []int) {
	return file_external_iam_v2_response_users_proto_rawDescGZIP(), []int{3}
}

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

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

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

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

func (*UpdateUserResp) ProtoMessage() {}

func (x *UpdateUserResp) ProtoReflect() protoreflect.Message {
	mi := &file_external_iam_v2_response_users_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 UpdateUserResp.ProtoReflect.Descriptor instead.
func (*UpdateUserResp) Descriptor() ([]byte, []int) {
	return file_external_iam_v2_response_users_proto_rawDescGZIP(), []int{4}
}

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

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

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

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

func (*UpdateSelfResp) ProtoMessage() {}

func (x *UpdateSelfResp) ProtoReflect() protoreflect.Message {
	mi := &file_external_iam_v2_response_users_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 UpdateSelfResp.ProtoReflect.Descriptor instead.
func (*UpdateSelfResp) Descriptor() ([]byte, []int) {
	return file_external_iam_v2_response_users_proto_rawDescGZIP(), []int{5}
}

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

var File_external_iam_v2_response_users_proto protoreflect.FileDescriptor

const file_external_iam_v2_response_users_proto_rawDesc = "" +
	"\n" +
	"$external/iam/v2/response/users.proto\x12\x18chef.automate.api.iam.v2\x1a\"external/iam/v2/common/users.proto\"D\n" +
	"\x0eCreateUserResp\x122\n" +
	"\x04user\x18\x01 \x01(\v2\x1e.chef.automate.api.iam.v2.UserR\x04user\"E\n" +
	"\rListUsersResp\x124\n" +
	"\x05users\x18\x01 \x03(\v2\x1e.chef.automate.api.iam.v2.UserR\x05users\"\x10\n" +
	"\x0eDeleteUserResp\"A\n" +
	"\vGetUserResp\x122\n" +
	"\x04user\x18\x01 \x01(\v2\x1e.chef.automate.api.iam.v2.UserR\x04user\"D\n" +
	"\x0eUpdateUserResp\x122\n" +
	"\x04user\x18\x01 \x01(\v2\x1e.chef.automate.api.iam.v2.UserR\x04user\"D\n" +
	"\x0eUpdateSelfResp\x122\n" +
	"\x04user\x18\x01 \x01(\v2\x1e.chef.automate.api.iam.v2.UserR\x04userB7Z5github.com/chef/automate/api/external/iam/v2/responseb\x06proto3"

var (
	file_external_iam_v2_response_users_proto_rawDescOnce sync.Once
	file_external_iam_v2_response_users_proto_rawDescData []byte
)

func file_external_iam_v2_response_users_proto_rawDescGZIP() []byte {
	file_external_iam_v2_response_users_proto_rawDescOnce.Do(func() {
		file_external_iam_v2_response_users_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_external_iam_v2_response_users_proto_rawDesc), len(file_external_iam_v2_response_users_proto_rawDesc)))
	})
	return file_external_iam_v2_response_users_proto_rawDescData
}

var file_external_iam_v2_response_users_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_external_iam_v2_response_users_proto_goTypes = []any{
	(*CreateUserResp)(nil), // 0: chef.automate.api.iam.v2.CreateUserResp
	(*ListUsersResp)(nil),  // 1: chef.automate.api.iam.v2.ListUsersResp
	(*DeleteUserResp)(nil), // 2: chef.automate.api.iam.v2.DeleteUserResp
	(*GetUserResp)(nil),    // 3: chef.automate.api.iam.v2.GetUserResp
	(*UpdateUserResp)(nil), // 4: chef.automate.api.iam.v2.UpdateUserResp
	(*UpdateSelfResp)(nil), // 5: chef.automate.api.iam.v2.UpdateSelfResp
	(*common.User)(nil),    // 6: chef.automate.api.iam.v2.User
}
var file_external_iam_v2_response_users_proto_depIdxs = []int32{
	6, // 0: chef.automate.api.iam.v2.CreateUserResp.user:type_name -> chef.automate.api.iam.v2.User
	6, // 1: chef.automate.api.iam.v2.ListUsersResp.users:type_name -> chef.automate.api.iam.v2.User
	6, // 2: chef.automate.api.iam.v2.GetUserResp.user:type_name -> chef.automate.api.iam.v2.User
	6, // 3: chef.automate.api.iam.v2.UpdateUserResp.user:type_name -> chef.automate.api.iam.v2.User
	6, // 4: chef.automate.api.iam.v2.UpdateSelfResp.user:type_name -> chef.automate.api.iam.v2.User
	5, // [5:5] is the sub-list for method output_type
	5, // [5:5] is the sub-list for method input_type
	5, // [5:5] is the sub-list for extension type_name
	5, // [5:5] is the sub-list for extension extendee
	0, // [0:5] is the sub-list for field type_name
}

func init() { file_external_iam_v2_response_users_proto_init() }
func file_external_iam_v2_response_users_proto_init() {
	if File_external_iam_v2_response_users_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_external_iam_v2_response_users_proto_rawDesc), len(file_external_iam_v2_response_users_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   6,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_external_iam_v2_response_users_proto_goTypes,
		DependencyIndexes: file_external_iam_v2_response_users_proto_depIdxs,
		MessageInfos:      file_external_iam_v2_response_users_proto_msgTypes,
	}.Build()
	File_external_iam_v2_response_users_proto = out.File
	file_external_iam_v2_response_users_proto_goTypes = nil
	file_external_iam_v2_response_users_proto_depIdxs = nil
}
