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

package request

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"`
	// Chef Organization ID.
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// Chef Infra Server ID.
	ServerId      string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *OrgUsers) Reset() {
	*x = OrgUsers{}
	mi := &file_external_infra_proxy_request_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_request_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_request_users_proto_rawDescGZIP(), []int{0}
}

func (x *OrgUsers) GetOrgId() string {
	if x != nil {
		return x.OrgId
	}
	return ""
}

func (x *OrgUsers) GetServerId() string {
	if x != nil {
		return x.ServerId
	}
	return ""
}

type ServerUsers struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Chef Infra Server ID.
	ServerId string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	// Chef Infra server admin name.
	AdminName string `protobuf:"bytes,2,opt,name=admin_name,json=adminName,proto3" json:"admin_name,omitempty"`
	// Chef Infra server admin key.
	AdminKey      string `protobuf:"bytes,3,opt,name=admin_key,json=adminKey,proto3" json:"admin_key,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ServerUsers) Reset() {
	*x = ServerUsers{}
	mi := &file_external_infra_proxy_request_users_proto_msgTypes[1]
	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_request_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 ServerUsers.ProtoReflect.Descriptor instead.
func (*ServerUsers) Descriptor() ([]byte, []int) {
	return file_external_infra_proxy_request_users_proto_rawDescGZIP(), []int{1}
}

func (x *ServerUsers) GetServerId() string {
	if x != nil {
		return x.ServerId
	}
	return ""
}

func (x *ServerUsers) GetAdminName() string {
	if x != nil {
		return x.AdminName
	}
	return ""
}

func (x *ServerUsers) GetAdminKey() string {
	if x != nil {
		return x.AdminKey
	}
	return ""
}

var File_external_infra_proxy_request_users_proto protoreflect.FileDescriptor

const file_external_infra_proxy_request_users_proto_rawDesc = "" +
	"\n" +
	"(external/infra_proxy/request/users.proto\x12%chef.automate.api.infra_proxy.request\">\n" +
	"\bOrgUsers\x12\x15\n" +
	"\x06org_id\x18\x01 \x01(\tR\x05orgId\x12\x1b\n" +
	"\tserver_id\x18\x02 \x01(\tR\bserverId\"f\n" +
	"\vServerUsers\x12\x1b\n" +
	"\tserver_id\x18\x01 \x01(\tR\bserverId\x12\x1d\n" +
	"\n" +
	"admin_name\x18\x02 \x01(\tR\tadminName\x12\x1b\n" +
	"\tadmin_key\x18\x03 \x01(\tR\badminKeyB;Z9github.com/chef/automate/api/external/infra_proxy/requestb\x06proto3"

var (
	file_external_infra_proxy_request_users_proto_rawDescOnce sync.Once
	file_external_infra_proxy_request_users_proto_rawDescData []byte
)

func file_external_infra_proxy_request_users_proto_rawDescGZIP() []byte {
	file_external_infra_proxy_request_users_proto_rawDescOnce.Do(func() {
		file_external_infra_proxy_request_users_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_external_infra_proxy_request_users_proto_rawDesc), len(file_external_infra_proxy_request_users_proto_rawDesc)))
	})
	return file_external_infra_proxy_request_users_proto_rawDescData
}

var file_external_infra_proxy_request_users_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_external_infra_proxy_request_users_proto_goTypes = []any{
	(*OrgUsers)(nil),    // 0: chef.automate.api.infra_proxy.request.OrgUsers
	(*ServerUsers)(nil), // 1: chef.automate.api.infra_proxy.request.ServerUsers
}
var file_external_infra_proxy_request_users_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_external_infra_proxy_request_users_proto_init() }
func file_external_infra_proxy_request_users_proto_init() {
	if File_external_infra_proxy_request_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_request_users_proto_rawDesc), len(file_external_infra_proxy_request_users_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_external_infra_proxy_request_users_proto_goTypes,
		DependencyIndexes: file_external_infra_proxy_request_users_proto_depIdxs,
		MessageInfos:      file_external_infra_proxy_request_users_proto_msgTypes,
	}.Build()
	File_external_infra_proxy_request_users_proto = out.File
	file_external_infra_proxy_request_users_proto_goTypes = nil
	file_external_infra_proxy_request_users_proto_depIdxs = nil
}
