// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.19.0
// source: interservice/infra_proxy/request/orgs.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 CreateOrg struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Chef organization ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	// Chef organization name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	// Chef organization admin user.
	AdminUser string `protobuf:"bytes,3,opt,name=admin_user,json=adminUser,proto3" json:"admin_user,omitempty" toml:"admin_user,omitempty" mapstructure:"admin_user,omitempty"`
	// Chef organization admin key.
	AdminKey string `protobuf:"bytes,4,opt,name=admin_key,json=adminKey,proto3" json:"admin_key,omitempty" toml:"admin_key,omitempty" mapstructure:"admin_key,omitempty"`
	// Chef Infra Server ID.
	ServerId string `protobuf:"bytes,5,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"`
	// List of projects this chef organization belongs to. May be empty.
	Projects      []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CreateOrg) ProtoMessage() {}

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

func (x *CreateOrg) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

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

func (x *CreateOrg) GetAdminUser() string {
	if x != nil {
		return x.AdminUser
	}
	return ""
}

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

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

func (x *CreateOrg) GetProjects() []string {
	if x != nil {
		return x.Projects
	}
	return nil
}

type UpdateOrg struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Chef organization ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	// Chef organization name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	// Chef organization admin user.
	AdminUser string `protobuf:"bytes,3,opt,name=admin_user,json=adminUser,proto3" json:"admin_user,omitempty" toml:"admin_user,omitempty" mapstructure:"admin_user,omitempty"`
	// Chef Infra Server ID.
	ServerId string `protobuf:"bytes,4,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"`
	// List of projects this chef organization belongs to. May be empty.
	Projects      []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UpdateOrg) ProtoMessage() {}

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

func (x *UpdateOrg) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

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

func (x *UpdateOrg) GetAdminUser() string {
	if x != nil {
		return x.AdminUser
	}
	return ""
}

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

func (x *UpdateOrg) GetProjects() []string {
	if x != nil {
		return x.Projects
	}
	return nil
}

type DeleteOrg struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Chef organization ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	// Chef Infra Server ID.
	ServerId      string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeleteOrg) ProtoMessage() {}

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

func (x *DeleteOrg) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

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

type GetOrgs 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" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetOrgs) ProtoMessage() {}

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

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

type GetOrg struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Chef organization ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	// Chef Infra Server ID.
	ServerId      string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetOrg) ProtoMessage() {}

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

func (x *GetOrg) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

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

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

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

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

func (*ResetOrgAdminKey) ProtoMessage() {}

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

func (x *ResetOrgAdminKey) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

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

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

var File_interservice_infra_proxy_request_orgs_proto protoreflect.FileDescriptor

const file_interservice_infra_proxy_request_orgs_proto_rawDesc = "" +
	"\n" +
	"+interservice/infra_proxy/request/orgs.proto\x12(chef.automate.domain.infra_proxy.request\"\xa4\x01\n" +
	"\tCreateOrg\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\x12\x1d\n" +
	"\n" +
	"admin_user\x18\x03 \x01(\tR\tadminUser\x12\x1b\n" +
	"\tadmin_key\x18\x04 \x01(\tR\badminKey\x12\x1b\n" +
	"\tserver_id\x18\x05 \x01(\tR\bserverId\x12\x1a\n" +
	"\bprojects\x18\x06 \x03(\tR\bprojects\"\x87\x01\n" +
	"\tUpdateOrg\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\x12\x1d\n" +
	"\n" +
	"admin_user\x18\x03 \x01(\tR\tadminUser\x12\x1b\n" +
	"\tserver_id\x18\x04 \x01(\tR\bserverId\x12\x1a\n" +
	"\bprojects\x18\x06 \x03(\tR\bprojects\"8\n" +
	"\tDeleteOrg\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n" +
	"\tserver_id\x18\x02 \x01(\tR\bserverId\"&\n" +
	"\aGetOrgs\x12\x1b\n" +
	"\tserver_id\x18\x01 \x01(\tR\bserverId\"5\n" +
	"\x06GetOrg\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n" +
	"\tserver_id\x18\x02 \x01(\tR\bserverId\"\\\n" +
	"\x10ResetOrgAdminKey\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n" +
	"\tserver_id\x18\x02 \x01(\tR\bserverId\x12\x1b\n" +
	"\tadmin_key\x18\x03 \x01(\tR\badminKeyB?Z=github.com/chef/automate/api/interservice/infra_proxy/requestb\x06proto3"

var (
	file_interservice_infra_proxy_request_orgs_proto_rawDescOnce sync.Once
	file_interservice_infra_proxy_request_orgs_proto_rawDescData []byte
)

func file_interservice_infra_proxy_request_orgs_proto_rawDescGZIP() []byte {
	file_interservice_infra_proxy_request_orgs_proto_rawDescOnce.Do(func() {
		file_interservice_infra_proxy_request_orgs_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_interservice_infra_proxy_request_orgs_proto_rawDesc), len(file_interservice_infra_proxy_request_orgs_proto_rawDesc)))
	})
	return file_interservice_infra_proxy_request_orgs_proto_rawDescData
}

var file_interservice_infra_proxy_request_orgs_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_interservice_infra_proxy_request_orgs_proto_goTypes = []any{
	(*CreateOrg)(nil),        // 0: chef.automate.domain.infra_proxy.request.CreateOrg
	(*UpdateOrg)(nil),        // 1: chef.automate.domain.infra_proxy.request.UpdateOrg
	(*DeleteOrg)(nil),        // 2: chef.automate.domain.infra_proxy.request.DeleteOrg
	(*GetOrgs)(nil),          // 3: chef.automate.domain.infra_proxy.request.GetOrgs
	(*GetOrg)(nil),           // 4: chef.automate.domain.infra_proxy.request.GetOrg
	(*ResetOrgAdminKey)(nil), // 5: chef.automate.domain.infra_proxy.request.ResetOrgAdminKey
}
var file_interservice_infra_proxy_request_orgs_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_interservice_infra_proxy_request_orgs_proto_init() }
func file_interservice_infra_proxy_request_orgs_proto_init() {
	if File_interservice_infra_proxy_request_orgs_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_interservice_infra_proxy_request_orgs_proto_rawDesc), len(file_interservice_infra_proxy_request_orgs_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   6,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_interservice_infra_proxy_request_orgs_proto_goTypes,
		DependencyIndexes: file_interservice_infra_proxy_request_orgs_proto_depIdxs,
		MessageInfos:      file_interservice_infra_proxy_request_orgs_proto_msgTypes,
	}.Build()
	File_interservice_infra_proxy_request_orgs_proto = out.File
	file_interservice_infra_proxy_request_orgs_proto_goTypes = nil
	file_interservice_infra_proxy_request_orgs_proto_depIdxs = nil
}
