// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.19.0
// source: external/cds/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 ContentItems struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Items         []*ContentItem         `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ContentItems) ProtoMessage() {}

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

func (x *ContentItems) GetItems() []*ContentItem {
	if x != nil {
		return x.Items
	}
	return nil
}

type ContentItem struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	Id             string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name           string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description    string                 `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Type           string                 `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	Version        string                 `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	Platforms      []string               `protobuf:"bytes,6,rep,name=platforms,proto3" json:"platforms,omitempty"`
	CanBeInstalled bool                   `protobuf:"varint,7,opt,name=can_be_installed,json=canBeInstalled,proto3" json:"can_be_installed,omitempty"`
	Filename       string                 `protobuf:"bytes,8,opt,name=filename,proto3" json:"filename,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*ContentItem) ProtoMessage() {}

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

func (x *ContentItem) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

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

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

func (x *ContentItem) GetType() string {
	if x != nil {
		return x.Type
	}
	return ""
}

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

func (x *ContentItem) GetPlatforms() []string {
	if x != nil {
		return x.Platforms
	}
	return nil
}

func (x *ContentItem) GetCanBeInstalled() bool {
	if x != nil {
		return x.CanBeInstalled
	}
	return false
}

func (x *ContentItem) GetFilename() string {
	if x != nil {
		return x.Filename
	}
	return ""
}

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

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

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

func (*InstallContentItem) ProtoMessage() {}

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

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

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

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

func (*Credentials) ProtoMessage() {}

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

type ContentEnabled struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	IsContentEnabled bool                   `protobuf:"varint,1,opt,name=is_content_enabled,json=isContentEnabled,proto3" json:"is_content_enabled,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*ContentEnabled) ProtoMessage() {}

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

func (x *ContentEnabled) GetIsContentEnabled() bool {
	if x != nil {
		return x.IsContentEnabled
	}
	return false
}

var File_external_cds_response_root_proto protoreflect.FileDescriptor

const file_external_cds_response_root_proto_rawDesc = "" +
	"\n" +
	" external/cds/response/root.proto\x12\x1echef.automate.api.cds.response\"Q\n" +
	"\fContentItems\x12A\n" +
	"\x05items\x18\x01 \x03(\v2+.chef.automate.api.cds.response.ContentItemR\x05items\"\xe5\x01\n" +
	"\vContentItem\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x12\n" +
	"\x04type\x18\x04 \x01(\tR\x04type\x12\x18\n" +
	"\aversion\x18\x05 \x01(\tR\aversion\x12\x1c\n" +
	"\tplatforms\x18\x06 \x03(\tR\tplatforms\x12(\n" +
	"\x10can_be_installed\x18\a \x01(\bR\x0ecanBeInstalled\x12\x1a\n" +
	"\bfilename\x18\b \x01(\tR\bfilename\"\x14\n" +
	"\x12InstallContentItem\"\r\n" +
	"\vCredentials\">\n" +
	"\x0eContentEnabled\x12,\n" +
	"\x12is_content_enabled\x18\x01 \x01(\bR\x10isContentEnabledB4Z2github.com/chef/automate/api/external/cds/responseb\x06proto3"

var (
	file_external_cds_response_root_proto_rawDescOnce sync.Once
	file_external_cds_response_root_proto_rawDescData []byte
)

func file_external_cds_response_root_proto_rawDescGZIP() []byte {
	file_external_cds_response_root_proto_rawDescOnce.Do(func() {
		file_external_cds_response_root_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_external_cds_response_root_proto_rawDesc), len(file_external_cds_response_root_proto_rawDesc)))
	})
	return file_external_cds_response_root_proto_rawDescData
}

var file_external_cds_response_root_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_external_cds_response_root_proto_goTypes = []any{
	(*ContentItems)(nil),       // 0: chef.automate.api.cds.response.ContentItems
	(*ContentItem)(nil),        // 1: chef.automate.api.cds.response.ContentItem
	(*InstallContentItem)(nil), // 2: chef.automate.api.cds.response.InstallContentItem
	(*Credentials)(nil),        // 3: chef.automate.api.cds.response.Credentials
	(*ContentEnabled)(nil),     // 4: chef.automate.api.cds.response.ContentEnabled
}
var file_external_cds_response_root_proto_depIdxs = []int32{
	1, // 0: chef.automate.api.cds.response.ContentItems.items:type_name -> chef.automate.api.cds.response.ContentItem
	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_external_cds_response_root_proto_init() }
func file_external_cds_response_root_proto_init() {
	if File_external_cds_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_external_cds_response_root_proto_rawDesc), len(file_external_cds_response_root_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_external_cds_response_root_proto_goTypes,
		DependencyIndexes: file_external_cds_response_root_proto_depIdxs,
		MessageInfos:      file_external_cds_response_root_proto_msgTypes,
	}.Build()
	File_external_cds_response_root_proto = out.File
	file_external_cds_response_root_proto_goTypes = nil
	file_external_cds_response_root_proto_depIdxs = nil
}
