// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.19.0
// source: interservice/compliance/common/common.proto

package common

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 Filter struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Field to filter on.
	Key string `protobuf:"bytes,20,opt,name=key,proto3" json:"key,omitempty" toml:"key,omitempty" mapstructure:"key,omitempty"`
	// Include matches for this filter.(boolean)
	// `true` (default) *includes* all nodes that match this filter.
	// `false` *excludes* all nodes that match this filter.
	Exclude bool `protobuf:"varint,22,opt,name=exclude,proto3" json:"exclude,omitempty" toml:"exclude,omitempty" mapstructure:"exclude,omitempty"`
	// Field values to filter on.
	Values        []string `protobuf:"bytes,23,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Filter) ProtoMessage() {}

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

func (x *Filter) GetKey() string {
	if x != nil {
		return x.Key
	}
	return ""
}

func (x *Filter) GetExclude() bool {
	if x != nil {
		return x.Exclude
	}
	return false
}

func (x *Filter) GetValues() []string {
	if x != nil {
		return x.Values
	}
	return nil
}

type Kv struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Tag key.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" toml:"key,omitempty" mapstructure:"key,omitempty"`
	// Tag value.
	Value         string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Kv) ProtoMessage() {}

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

func (x *Kv) GetKey() string {
	if x != nil {
		return x.Key
	}
	return ""
}

func (x *Kv) GetValue() string {
	if x != nil {
		return x.Value
	}
	return ""
}

var File_interservice_compliance_common_common_proto protoreflect.FileDescriptor

const file_interservice_compliance_common_common_proto_rawDesc = "" +
	"\n" +
	"+interservice/compliance/common/common.proto\x12&chef.automate.domain.compliance.common\"L\n" +
	"\x06Filter\x12\x10\n" +
	"\x03key\x18\x14 \x01(\tR\x03key\x12\x18\n" +
	"\aexclude\x18\x16 \x01(\bR\aexclude\x12\x16\n" +
	"\x06values\x18\x17 \x03(\tR\x06values\",\n" +
	"\x02Kv\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05valueB=Z;github.com/chef/automate/api/interservice/compliance/commonb\x06proto3"

var (
	file_interservice_compliance_common_common_proto_rawDescOnce sync.Once
	file_interservice_compliance_common_common_proto_rawDescData []byte
)

func file_interservice_compliance_common_common_proto_rawDescGZIP() []byte {
	file_interservice_compliance_common_common_proto_rawDescOnce.Do(func() {
		file_interservice_compliance_common_common_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_interservice_compliance_common_common_proto_rawDesc), len(file_interservice_compliance_common_common_proto_rawDesc)))
	})
	return file_interservice_compliance_common_common_proto_rawDescData
}

var file_interservice_compliance_common_common_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_interservice_compliance_common_common_proto_goTypes = []any{
	(*Filter)(nil), // 0: chef.automate.domain.compliance.common.Filter
	(*Kv)(nil),     // 1: chef.automate.domain.compliance.common.Kv
}
var file_interservice_compliance_common_common_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_compliance_common_common_proto_init() }
func file_interservice_compliance_common_common_proto_init() {
	if File_interservice_compliance_common_common_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_interservice_compliance_common_common_proto_rawDesc), len(file_interservice_compliance_common_common_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_interservice_compliance_common_common_proto_goTypes,
		DependencyIndexes: file_interservice_compliance_common_common_proto_depIdxs,
		MessageInfos:      file_interservice_compliance_common_common_proto_msgTypes,
	}.Build()
	File_interservice_compliance_common_common_proto = out.File
	file_interservice_compliance_common_common_proto_goTypes = nil
	file_interservice_compliance_common_common_proto_depIdxs = nil
}
