// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.19.0
// source: interservice/infra_proxy/response/environments.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 Environments struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Environments list.
	Environments []*EnvironmentListItem `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty" toml:"environments,omitempty" mapstructure:"environments,omitempty"`
	// Starting page for the results.
	Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"`
	// Total number of records.
	Total         int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Environments) ProtoMessage() {}

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

func (x *Environments) GetEnvironments() []*EnvironmentListItem {
	if x != nil {
		return x.Environments
	}
	return nil
}

func (x *Environments) GetPage() int32 {
	if x != nil {
		return x.Page
	}
	return 0
}

func (x *Environments) GetTotal() int32 {
	if x != nil {
		return x.Total
	}
	return 0
}

type EnvironmentListItem struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Environment name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	// Environment description.
	Description   string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" toml:"description,omitempty" mapstructure:"description,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*EnvironmentListItem) ProtoMessage() {}

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

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

func (x *EnvironmentListItem) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

type Environment struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Environment name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	// Chef object type.
	ChefType string `protobuf:"bytes,2,opt,name=chef_type,json=chefType,proto3" json:"chef_type,omitempty" toml:"chef_type,omitempty" mapstructure:"chef_type,omitempty"`
	// Environment description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" toml:"description,omitempty" mapstructure:"description,omitempty"`
	// Environment JSON class.
	JsonClass string `protobuf:"bytes,4,opt,name=json_class,json=jsonClass,proto3" json:"json_class,omitempty" toml:"json_class,omitempty" mapstructure:"json_class,omitempty"`
	// Environment versined cookbooks constraints.
	CookbookVersions map[string]string `protobuf:"bytes,5,rep,name=cookbook_versions,json=cookbookVersions,proto3" json:"cookbook_versions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" toml:"cookbook_versions,omitempty" mapstructure:"cookbook_versions,omitempty"`
	// Environment default attributes JSON.
	DefaultAttributes string `protobuf:"bytes,6,opt,name=default_attributes,json=defaultAttributes,proto3" json:"default_attributes,omitempty" toml:"default_attributes,omitempty" mapstructure:"default_attributes,omitempty"`
	// Environment override attributes JSON.
	OverrideAttributes string `protobuf:"bytes,7,opt,name=override_attributes,json=overrideAttributes,proto3" json:"override_attributes,omitempty" toml:"override_attributes,omitempty" mapstructure:"override_attributes,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

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

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

func (*Environment) ProtoMessage() {}

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

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

func (x *Environment) GetChefType() string {
	if x != nil {
		return x.ChefType
	}
	return ""
}

func (x *Environment) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *Environment) GetJsonClass() string {
	if x != nil {
		return x.JsonClass
	}
	return ""
}

func (x *Environment) GetCookbookVersions() map[string]string {
	if x != nil {
		return x.CookbookVersions
	}
	return nil
}

func (x *Environment) GetDefaultAttributes() string {
	if x != nil {
		return x.DefaultAttributes
	}
	return ""
}

func (x *Environment) GetOverrideAttributes() string {
	if x != nil {
		return x.OverrideAttributes
	}
	return ""
}

type EnvironmentRecipesList struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Environment recipes list.
	Recipes       []string `protobuf:"bytes,1,rep,name=recipes,proto3" json:"recipes,omitempty" toml:"recipes,omitempty" mapstructure:"recipes,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*EnvironmentRecipesList) ProtoMessage() {}

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

func (x *EnvironmentRecipesList) GetRecipes() []string {
	if x != nil {
		return x.Recipes
	}
	return nil
}

var File_interservice_infra_proxy_response_environments_proto protoreflect.FileDescriptor

const file_interservice_infra_proxy_response_environments_proto_rawDesc = "" +
	"\n" +
	"4interservice/infra_proxy/response/environments.proto\x12)chef.automate.domain.infra_proxy.response\"\x9c\x01\n" +
	"\fEnvironments\x12b\n" +
	"\fenvironments\x18\x01 \x03(\v2>.chef.automate.domain.infra_proxy.response.EnvironmentListItemR\fenvironments\x12\x12\n" +
	"\x04page\x18\x02 \x01(\x05R\x04page\x12\x14\n" +
	"\x05total\x18\x03 \x01(\x05R\x05total\"K\n" +
	"\x13EnvironmentListItem\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x02 \x01(\tR\vdescription\"\x9f\x03\n" +
	"\vEnvironment\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n" +
	"\tchef_type\x18\x02 \x01(\tR\bchefType\x12 \n" +
	"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x1d\n" +
	"\n" +
	"json_class\x18\x04 \x01(\tR\tjsonClass\x12y\n" +
	"\x11cookbook_versions\x18\x05 \x03(\v2L.chef.automate.domain.infra_proxy.response.Environment.CookbookVersionsEntryR\x10cookbookVersions\x12-\n" +
	"\x12default_attributes\x18\x06 \x01(\tR\x11defaultAttributes\x12/\n" +
	"\x13override_attributes\x18\a \x01(\tR\x12overrideAttributes\x1aC\n" +
	"\x15CookbookVersionsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"2\n" +
	"\x16EnvironmentRecipesList\x12\x18\n" +
	"\arecipes\x18\x01 \x03(\tR\arecipesB@Z>github.com/chef/automate/api/interservice/infra_proxy/responseb\x06proto3"

var (
	file_interservice_infra_proxy_response_environments_proto_rawDescOnce sync.Once
	file_interservice_infra_proxy_response_environments_proto_rawDescData []byte
)

func file_interservice_infra_proxy_response_environments_proto_rawDescGZIP() []byte {
	file_interservice_infra_proxy_response_environments_proto_rawDescOnce.Do(func() {
		file_interservice_infra_proxy_response_environments_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_interservice_infra_proxy_response_environments_proto_rawDesc), len(file_interservice_infra_proxy_response_environments_proto_rawDesc)))
	})
	return file_interservice_infra_proxy_response_environments_proto_rawDescData
}

var file_interservice_infra_proxy_response_environments_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_interservice_infra_proxy_response_environments_proto_goTypes = []any{
	(*Environments)(nil),           // 0: chef.automate.domain.infra_proxy.response.Environments
	(*EnvironmentListItem)(nil),    // 1: chef.automate.domain.infra_proxy.response.EnvironmentListItem
	(*Environment)(nil),            // 2: chef.automate.domain.infra_proxy.response.Environment
	(*EnvironmentRecipesList)(nil), // 3: chef.automate.domain.infra_proxy.response.EnvironmentRecipesList
	nil,                            // 4: chef.automate.domain.infra_proxy.response.Environment.CookbookVersionsEntry
}
var file_interservice_infra_proxy_response_environments_proto_depIdxs = []int32{
	1, // 0: chef.automate.domain.infra_proxy.response.Environments.environments:type_name -> chef.automate.domain.infra_proxy.response.EnvironmentListItem
	4, // 1: chef.automate.domain.infra_proxy.response.Environment.cookbook_versions:type_name -> chef.automate.domain.infra_proxy.response.Environment.CookbookVersionsEntry
	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_interservice_infra_proxy_response_environments_proto_init() }
func file_interservice_infra_proxy_response_environments_proto_init() {
	if File_interservice_infra_proxy_response_environments_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_response_environments_proto_rawDesc), len(file_interservice_infra_proxy_response_environments_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_interservice_infra_proxy_response_environments_proto_goTypes,
		DependencyIndexes: file_interservice_infra_proxy_response_environments_proto_depIdxs,
		MessageInfos:      file_interservice_infra_proxy_response_environments_proto_msgTypes,
	}.Build()
	File_interservice_infra_proxy_response_environments_proto = out.File
	file_interservice_infra_proxy_response_environments_proto_goTypes = nil
	file_interservice_infra_proxy_response_environments_proto_depIdxs = nil
}
