// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.19.0
// source: interservice/cfgmgmt/response/actions.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 PolicyCookbooks struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	PolicyName    string                 `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty" toml:"policy_name,omitempty" mapstructure:"policy_name,omitempty"`
	CookbookLocks []*CookbookLock        `protobuf:"bytes,2,rep,name=cookbook_locks,json=cookbookLocks,proto3" json:"cookbook_locks,omitempty" toml:"cookbook_locks,omitempty" mapstructure:"cookbook_locks,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PolicyCookbooks) ProtoMessage() {}

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

func (x *PolicyCookbooks) GetPolicyName() string {
	if x != nil {
		return x.PolicyName
	}
	return ""
}

func (x *PolicyCookbooks) GetCookbookLocks() []*CookbookLock {
	if x != nil {
		return x.CookbookLocks
	}
	return nil
}

type CookbookLock struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	Cookbook         string                 `protobuf:"bytes,1,opt,name=cookbook,proto3" json:"cookbook,omitempty" toml:"cookbook,omitempty" mapstructure:"cookbook,omitempty"`
	PolicyIdentifier string                 `protobuf:"bytes,2,opt,name=policy_identifier,json=policyIdentifier,proto3" json:"policy_identifier,omitempty" toml:"policy_identifier,omitempty" mapstructure:"policy_identifier,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*CookbookLock) ProtoMessage() {}

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

func (x *CookbookLock) GetCookbook() string {
	if x != nil {
		return x.Cookbook
	}
	return ""
}

func (x *CookbookLock) GetPolicyIdentifier() string {
	if x != nil {
		return x.PolicyIdentifier
	}
	return ""
}

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

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

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

func (*PolicyUpdateAction) ProtoMessage() {}

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

var File_interservice_cfgmgmt_response_actions_proto protoreflect.FileDescriptor

const file_interservice_cfgmgmt_response_actions_proto_rawDesc = "" +
	"\n" +
	"+interservice/cfgmgmt/response/actions.proto\x12%chef.automate.domain.cfgmgmt.response\"\x8e\x01\n" +
	"\x0fPolicyCookbooks\x12\x1f\n" +
	"\vpolicy_name\x18\x01 \x01(\tR\n" +
	"policyName\x12Z\n" +
	"\x0ecookbook_locks\x18\x02 \x03(\v23.chef.automate.domain.cfgmgmt.response.CookbookLockR\rcookbookLocks\"W\n" +
	"\fCookbookLock\x12\x1a\n" +
	"\bcookbook\x18\x01 \x01(\tR\bcookbook\x12+\n" +
	"\x11policy_identifier\x18\x02 \x01(\tR\x10policyIdentifier\"\x14\n" +
	"\x12PolicyUpdateActionB<Z:github.com/chef/automate/api/interservice/cfgmgmt/responseb\x06proto3"

var (
	file_interservice_cfgmgmt_response_actions_proto_rawDescOnce sync.Once
	file_interservice_cfgmgmt_response_actions_proto_rawDescData []byte
)

func file_interservice_cfgmgmt_response_actions_proto_rawDescGZIP() []byte {
	file_interservice_cfgmgmt_response_actions_proto_rawDescOnce.Do(func() {
		file_interservice_cfgmgmt_response_actions_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_interservice_cfgmgmt_response_actions_proto_rawDesc), len(file_interservice_cfgmgmt_response_actions_proto_rawDesc)))
	})
	return file_interservice_cfgmgmt_response_actions_proto_rawDescData
}

var file_interservice_cfgmgmt_response_actions_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_interservice_cfgmgmt_response_actions_proto_goTypes = []any{
	(*PolicyCookbooks)(nil),    // 0: chef.automate.domain.cfgmgmt.response.PolicyCookbooks
	(*CookbookLock)(nil),       // 1: chef.automate.domain.cfgmgmt.response.CookbookLock
	(*PolicyUpdateAction)(nil), // 2: chef.automate.domain.cfgmgmt.response.PolicyUpdateAction
}
var file_interservice_cfgmgmt_response_actions_proto_depIdxs = []int32{
	1, // 0: chef.automate.domain.cfgmgmt.response.PolicyCookbooks.cookbook_locks:type_name -> chef.automate.domain.cfgmgmt.response.CookbookLock
	1, // [1:1] is the sub-list for method output_type
	1, // [1:1] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_interservice_cfgmgmt_response_actions_proto_init() }
func file_interservice_cfgmgmt_response_actions_proto_init() {
	if File_interservice_cfgmgmt_response_actions_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_interservice_cfgmgmt_response_actions_proto_rawDesc), len(file_interservice_cfgmgmt_response_actions_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_interservice_cfgmgmt_response_actions_proto_goTypes,
		DependencyIndexes: file_interservice_cfgmgmt_response_actions_proto_depIdxs,
		MessageInfos:      file_interservice_cfgmgmt_response_actions_proto_msgTypes,
	}.Build()
	File_interservice_cfgmgmt_response_actions_proto = out.File
	file_interservice_cfgmgmt_response_actions_proto_goTypes = nil
	file_interservice_cfgmgmt_response_actions_proto_depIdxs = nil
}
