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

package response

import (
	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 OrgUsers struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Users list
	Users         []*UsersListItem `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*OrgUsers) ProtoMessage() {}

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

func (x *OrgUsers) GetUsers() []*UsersListItem {
	if x != nil {
		return x.Users
	}
	return nil
}

type UsersListItem struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// User username
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// User first name
	FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	// User Last name
	LastName string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	// User email
	Email         string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UsersListItem) ProtoMessage() {}

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

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

func (x *UsersListItem) GetFirstName() string {
	if x != nil {
		return x.FirstName
	}
	return ""
}

func (x *UsersListItem) GetLastName() string {
	if x != nil {
		return x.LastName
	}
	return ""
}

func (x *UsersListItem) GetEmail() string {
	if x != nil {
		return x.Email
	}
	return ""
}

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

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

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

func (*ServerUsers) ProtoMessage() {}

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

func (x *ServerUsers) GetUsers() []*UsersListItem {
	if x != nil {
		return x.Users
	}
	return nil
}

var File_external_infra_proxy_response_users_proto protoreflect.FileDescriptor

const file_external_infra_proxy_response_users_proto_rawDesc = "" +
	"\n" +
	")external/infra_proxy/response/users.proto\x12&chef.automate.api.infra_proxy.response\"W\n" +
	"\bOrgUsers\x12K\n" +
	"\x05users\x18\x01 \x03(\v25.chef.automate.api.infra_proxy.response.UsersListItemR\x05users\"}\n" +
	"\rUsersListItem\x12\x1a\n" +
	"\busername\x18\x01 \x01(\tR\busername\x12\x1d\n" +
	"\n" +
	"first_name\x18\x02 \x01(\tR\tfirstName\x12\x1b\n" +
	"\tlast_name\x18\x03 \x01(\tR\blastName\x12\x14\n" +
	"\x05email\x18\x04 \x01(\tR\x05email\"Z\n" +
	"\vServerUsers\x12K\n" +
	"\x05users\x18\x01 \x03(\v25.chef.automate.api.infra_proxy.response.UsersListItemR\x05usersB<Z:github.com/chef/automate/api/external/infra_proxy/responseb\x06proto3"

var (
	file_external_infra_proxy_response_users_proto_rawDescOnce sync.Once
	file_external_infra_proxy_response_users_proto_rawDescData []byte
)

func file_external_infra_proxy_response_users_proto_rawDescGZIP() []byte {
	file_external_infra_proxy_response_users_proto_rawDescOnce.Do(func() {
		file_external_infra_proxy_response_users_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_external_infra_proxy_response_users_proto_rawDesc), len(file_external_infra_proxy_response_users_proto_rawDesc)))
	})
	return file_external_infra_proxy_response_users_proto_rawDescData
}

var file_external_infra_proxy_response_users_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_external_infra_proxy_response_users_proto_goTypes = []any{
	(*OrgUsers)(nil),      // 0: chef.automate.api.infra_proxy.response.OrgUsers
	(*UsersListItem)(nil), // 1: chef.automate.api.infra_proxy.response.UsersListItem
	(*ServerUsers)(nil),   // 2: chef.automate.api.infra_proxy.response.ServerUsers
}
var file_external_infra_proxy_response_users_proto_depIdxs = []int32{
	1, // 0: chef.automate.api.infra_proxy.response.OrgUsers.users:type_name -> chef.automate.api.infra_proxy.response.UsersListItem
	1, // 1: chef.automate.api.infra_proxy.response.ServerUsers.users:type_name -> chef.automate.api.infra_proxy.response.UsersListItem
	2, // [2:2] is the sub-list for method output_type
	2, // [2:2] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_external_infra_proxy_response_users_proto_init() }
func file_external_infra_proxy_response_users_proto_init() {
	if File_external_infra_proxy_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_infra_proxy_response_users_proto_rawDesc), len(file_external_infra_proxy_response_users_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_external_infra_proxy_response_users_proto_goTypes,
		DependencyIndexes: file_external_infra_proxy_response_users_proto_depIdxs,
		MessageInfos:      file_external_infra_proxy_response_users_proto_msgTypes,
	}.Build()
	File_external_infra_proxy_response_users_proto = out.File
	file_external_infra_proxy_response_users_proto_goTypes = nil
	file_external_infra_proxy_response_users_proto_depIdxs = nil
}
