// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.19.0
// source: external/iam/v2/response/introspect.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 MethodsAllowed struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Get           bool                   `protobuf:"varint,1,opt,name=get,proto3" json:"get,omitempty"`
	Put           bool                   `protobuf:"varint,2,opt,name=put,proto3" json:"put,omitempty"`
	Post          bool                   `protobuf:"varint,3,opt,name=post,proto3" json:"post,omitempty"`
	Delete        bool                   `protobuf:"varint,4,opt,name=delete,proto3" json:"delete,omitempty"`
	Patch         bool                   `protobuf:"varint,5,opt,name=patch,proto3" json:"patch,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*MethodsAllowed) ProtoMessage() {}

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

func (x *MethodsAllowed) GetGet() bool {
	if x != nil {
		return x.Get
	}
	return false
}

func (x *MethodsAllowed) GetPut() bool {
	if x != nil {
		return x.Put
	}
	return false
}

func (x *MethodsAllowed) GetPost() bool {
	if x != nil {
		return x.Post
	}
	return false
}

func (x *MethodsAllowed) GetDelete() bool {
	if x != nil {
		return x.Delete
	}
	return false
}

func (x *MethodsAllowed) GetPatch() bool {
	if x != nil {
		return x.Patch
	}
	return false
}

type IntrospectResp struct {
	state         protoimpl.MessageState     `protogen:"open.v1"`
	Endpoints     map[string]*MethodsAllowed `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*IntrospectResp) ProtoMessage() {}

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

func (x *IntrospectResp) GetEndpoints() map[string]*MethodsAllowed {
	if x != nil {
		return x.Endpoints
	}
	return nil
}

var File_external_iam_v2_response_introspect_proto protoreflect.FileDescriptor

const file_external_iam_v2_response_introspect_proto_rawDesc = "" +
	"\n" +
	")external/iam/v2/response/introspect.proto\x12\x18chef.automate.api.iam.v2\"v\n" +
	"\x0eMethodsAllowed\x12\x10\n" +
	"\x03get\x18\x01 \x01(\bR\x03get\x12\x10\n" +
	"\x03put\x18\x02 \x01(\bR\x03put\x12\x12\n" +
	"\x04post\x18\x03 \x01(\bR\x04post\x12\x16\n" +
	"\x06delete\x18\x04 \x01(\bR\x06delete\x12\x14\n" +
	"\x05patch\x18\x05 \x01(\bR\x05patch\"\xcf\x01\n" +
	"\x0eIntrospectResp\x12U\n" +
	"\tendpoints\x18\x01 \x03(\v27.chef.automate.api.iam.v2.IntrospectResp.EndpointsEntryR\tendpoints\x1af\n" +
	"\x0eEndpointsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12>\n" +
	"\x05value\x18\x02 \x01(\v2(.chef.automate.api.iam.v2.MethodsAllowedR\x05value:\x028\x01B7Z5github.com/chef/automate/api/external/iam/v2/responseb\x06proto3"

var (
	file_external_iam_v2_response_introspect_proto_rawDescOnce sync.Once
	file_external_iam_v2_response_introspect_proto_rawDescData []byte
)

func file_external_iam_v2_response_introspect_proto_rawDescGZIP() []byte {
	file_external_iam_v2_response_introspect_proto_rawDescOnce.Do(func() {
		file_external_iam_v2_response_introspect_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_external_iam_v2_response_introspect_proto_rawDesc), len(file_external_iam_v2_response_introspect_proto_rawDesc)))
	})
	return file_external_iam_v2_response_introspect_proto_rawDescData
}

var file_external_iam_v2_response_introspect_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_external_iam_v2_response_introspect_proto_goTypes = []any{
	(*MethodsAllowed)(nil), // 0: chef.automate.api.iam.v2.MethodsAllowed
	(*IntrospectResp)(nil), // 1: chef.automate.api.iam.v2.IntrospectResp
	nil,                    // 2: chef.automate.api.iam.v2.IntrospectResp.EndpointsEntry
}
var file_external_iam_v2_response_introspect_proto_depIdxs = []int32{
	2, // 0: chef.automate.api.iam.v2.IntrospectResp.endpoints:type_name -> chef.automate.api.iam.v2.IntrospectResp.EndpointsEntry
	0, // 1: chef.automate.api.iam.v2.IntrospectResp.EndpointsEntry.value:type_name -> chef.automate.api.iam.v2.MethodsAllowed
	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_iam_v2_response_introspect_proto_init() }
func file_external_iam_v2_response_introspect_proto_init() {
	if File_external_iam_v2_response_introspect_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_external_iam_v2_response_introspect_proto_rawDesc), len(file_external_iam_v2_response_introspect_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_external_iam_v2_response_introspect_proto_goTypes,
		DependencyIndexes: file_external_iam_v2_response_introspect_proto_depIdxs,
		MessageInfos:      file_external_iam_v2_response_introspect_proto_msgTypes,
	}.Build()
	File_external_iam_v2_response_introspect_proto = out.File
	file_external_iam_v2_response_introspect_proto_goTypes = nil
	file_external_iam_v2_response_introspect_proto_depIdxs = nil
}
