// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.19.0
// source: interservice/cfgmgmt/response/root.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 VersionInfo struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	Version       string                 `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"`
	Sha           string                 `protobuf:"bytes,3,opt,name=sha,proto3" json:"sha,omitempty" toml:"sha,omitempty" mapstructure:"sha,omitempty"`
	Built         string                 `protobuf:"bytes,4,opt,name=built,proto3" json:"built,omitempty" toml:"built,omitempty" mapstructure:"built,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*VersionInfo) ProtoMessage() {}

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

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

func (x *VersionInfo) GetVersion() string {
	if x != nil {
		return x.Version
	}
	return ""
}

func (x *VersionInfo) GetSha() string {
	if x != nil {
		return x.Sha
	}
	return ""
}

func (x *VersionInfo) GetBuilt() string {
	if x != nil {
		return x.Built
	}
	return ""
}

// Health message
//
// The config-mgmt-service health is constructed with:
//   - Status:
//     => ok:             Everything is alright
//     => initialization: The service is in its initialization process
//     => warning:        Something might be wrong?
//     => critical:       Something is wrong!
//
// @afiune: Here we can add more health information to the response
type Health struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Status        string                 `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Health) ProtoMessage() {}

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

func (x *Health) GetStatus() string {
	if x != nil {
		return x.Status
	}
	return ""
}

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

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

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

func (*Organizations) ProtoMessage() {}

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

func (x *Organizations) GetOrganizations() []string {
	if x != nil {
		return x.Organizations
	}
	return nil
}

type SourceFQDNS struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	SourceFqdns   []string               `protobuf:"bytes,1,rep,name=source_fqdns,json=sourceFqdns,proto3" json:"source_fqdns,omitempty" toml:"source_fqdns,omitempty" mapstructure:"source_fqdns,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SourceFQDNS) ProtoMessage() {}

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

func (x *SourceFQDNS) GetSourceFqdns() []string {
	if x != nil {
		return x.SourceFqdns
	}
	return nil
}

type ExportData struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Content       []byte                 `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" toml:"content,omitempty" mapstructure:"content,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ExportData) ProtoMessage() {}

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

func (x *ExportData) GetContent() []byte {
	if x != nil {
		return x.Content
	}
	return nil
}

type ReportExportData struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Content       []byte                 `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" toml:"content,omitempty" mapstructure:"content,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ReportExportData) ProtoMessage() {}

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

func (x *ReportExportData) GetContent() []byte {
	if x != nil {
		return x.Content
	}
	return nil
}

var File_interservice_cfgmgmt_response_root_proto protoreflect.FileDescriptor

const file_interservice_cfgmgmt_response_root_proto_rawDesc = "" +
	"\n" +
	"(interservice/cfgmgmt/response/root.proto\x12%chef.automate.domain.cfgmgmt.response\"c\n" +
	"\vVersionInfo\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" +
	"\aversion\x18\x02 \x01(\tR\aversion\x12\x10\n" +
	"\x03sha\x18\x03 \x01(\tR\x03sha\x12\x14\n" +
	"\x05built\x18\x04 \x01(\tR\x05built\" \n" +
	"\x06Health\x12\x16\n" +
	"\x06status\x18\x01 \x01(\tR\x06status\"5\n" +
	"\rOrganizations\x12$\n" +
	"\rorganizations\x18\x01 \x03(\tR\rorganizations\"0\n" +
	"\vSourceFQDNS\x12!\n" +
	"\fsource_fqdns\x18\x01 \x03(\tR\vsourceFqdns\"&\n" +
	"\n" +
	"ExportData\x12\x18\n" +
	"\acontent\x18\x01 \x01(\fR\acontent\",\n" +
	"\x10ReportExportData\x12\x18\n" +
	"\acontent\x18\x01 \x01(\fR\acontentB<Z:github.com/chef/automate/api/interservice/cfgmgmt/responseb\x06proto3"

var (
	file_interservice_cfgmgmt_response_root_proto_rawDescOnce sync.Once
	file_interservice_cfgmgmt_response_root_proto_rawDescData []byte
)

func file_interservice_cfgmgmt_response_root_proto_rawDescGZIP() []byte {
	file_interservice_cfgmgmt_response_root_proto_rawDescOnce.Do(func() {
		file_interservice_cfgmgmt_response_root_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_interservice_cfgmgmt_response_root_proto_rawDesc), len(file_interservice_cfgmgmt_response_root_proto_rawDesc)))
	})
	return file_interservice_cfgmgmt_response_root_proto_rawDescData
}

var file_interservice_cfgmgmt_response_root_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_interservice_cfgmgmt_response_root_proto_goTypes = []any{
	(*VersionInfo)(nil),      // 0: chef.automate.domain.cfgmgmt.response.VersionInfo
	(*Health)(nil),           // 1: chef.automate.domain.cfgmgmt.response.Health
	(*Organizations)(nil),    // 2: chef.automate.domain.cfgmgmt.response.Organizations
	(*SourceFQDNS)(nil),      // 3: chef.automate.domain.cfgmgmt.response.SourceFQDNS
	(*ExportData)(nil),       // 4: chef.automate.domain.cfgmgmt.response.ExportData
	(*ReportExportData)(nil), // 5: chef.automate.domain.cfgmgmt.response.ReportExportData
}
var file_interservice_cfgmgmt_response_root_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_cfgmgmt_response_root_proto_init() }
func file_interservice_cfgmgmt_response_root_proto_init() {
	if File_interservice_cfgmgmt_response_root_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_root_proto_rawDesc), len(file_interservice_cfgmgmt_response_root_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   6,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_interservice_cfgmgmt_response_root_proto_goTypes,
		DependencyIndexes: file_interservice_cfgmgmt_response_root_proto_depIdxs,
		MessageInfos:      file_interservice_cfgmgmt_response_root_proto_msgTypes,
	}.Build()
	File_interservice_cfgmgmt_response_root_proto = out.File
	file_interservice_cfgmgmt_response_root_proto_goTypes = nil
	file_interservice_cfgmgmt_response_root_proto_depIdxs = nil
}
