// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.19.0
// source: external/cds/request/root.proto

package request

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"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ContentItems) Reset() {
	*x = ContentItems{}
	mi := &file_external_cds_request_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_request_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_request_root_proto_rawDescGZIP(), []int{0}
}

type InstallContentItem struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	RequestUser   string                 `protobuf:"bytes,2,opt,name=request_user,json=requestUser,proto3" json:"request_user,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *InstallContentItem) Reset() {
	*x = InstallContentItem{}
	mi := &file_external_cds_request_root_proto_msgTypes[1]
	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_request_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 InstallContentItem.ProtoReflect.Descriptor instead.
func (*InstallContentItem) Descriptor() ([]byte, []int) {
	return file_external_cds_request_root_proto_rawDescGZIP(), []int{1}
}

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

func (x *InstallContentItem) GetRequestUser() string {
	if x != nil {
		return x.RequestUser
	}
	return ""
}

type DownloadContentItem struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DownloadContentItem) ProtoMessage() {}

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

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

type Credentials struct {
	state             protoimpl.MessageState `protogen:"open.v1"`
	ClientId          string                 `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret      string                 `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	TenantSpecificUrl string                 `protobuf:"bytes,3,opt,name=tenant_specific_url,json=tenantSpecificUrl,proto3" json:"tenant_specific_url,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *Credentials) Reset() {
	*x = Credentials{}
	mi := &file_external_cds_request_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_request_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_request_root_proto_rawDescGZIP(), []int{3}
}

func (x *Credentials) GetClientId() string {
	if x != nil {
		return x.ClientId
	}
	return ""
}

func (x *Credentials) GetClientSecret() string {
	if x != nil {
		return x.ClientSecret
	}
	return ""
}

func (x *Credentials) GetTenantSpecificUrl() string {
	if x != nil {
		return x.TenantSpecificUrl
	}
	return ""
}

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

func (x *ContentEnabled) Reset() {
	*x = ContentEnabled{}
	mi := &file_external_cds_request_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_request_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_request_root_proto_rawDescGZIP(), []int{4}
}

var File_external_cds_request_root_proto protoreflect.FileDescriptor

const file_external_cds_request_root_proto_rawDesc = "" +
	"\n" +
	"\x1fexternal/cds/request/root.proto\x12\x1dchef.automate.api.cds.request\"\x0e\n" +
	"\fContentItems\"G\n" +
	"\x12InstallContentItem\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12!\n" +
	"\frequest_user\x18\x02 \x01(\tR\vrequestUser\"%\n" +
	"\x13DownloadContentItem\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\"\x7f\n" +
	"\vCredentials\x12\x1b\n" +
	"\tclient_id\x18\x01 \x01(\tR\bclientId\x12#\n" +
	"\rclient_secret\x18\x02 \x01(\tR\fclientSecret\x12.\n" +
	"\x13tenant_specific_url\x18\x03 \x01(\tR\x11tenantSpecificUrl\"\x10\n" +
	"\x0eContentEnabledB3Z1github.com/chef/automate/api/external/cds/requestb\x06proto3"

var (
	file_external_cds_request_root_proto_rawDescOnce sync.Once
	file_external_cds_request_root_proto_rawDescData []byte
)

func file_external_cds_request_root_proto_rawDescGZIP() []byte {
	file_external_cds_request_root_proto_rawDescOnce.Do(func() {
		file_external_cds_request_root_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_external_cds_request_root_proto_rawDesc), len(file_external_cds_request_root_proto_rawDesc)))
	})
	return file_external_cds_request_root_proto_rawDescData
}

var file_external_cds_request_root_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_external_cds_request_root_proto_goTypes = []any{
	(*ContentItems)(nil),        // 0: chef.automate.api.cds.request.ContentItems
	(*InstallContentItem)(nil),  // 1: chef.automate.api.cds.request.InstallContentItem
	(*DownloadContentItem)(nil), // 2: chef.automate.api.cds.request.DownloadContentItem
	(*Credentials)(nil),         // 3: chef.automate.api.cds.request.Credentials
	(*ContentEnabled)(nil),      // 4: chef.automate.api.cds.request.ContentEnabled
}
var file_external_cds_request_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_external_cds_request_root_proto_init() }
func file_external_cds_request_root_proto_init() {
	if File_external_cds_request_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_request_root_proto_rawDesc), len(file_external_cds_request_root_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_external_cds_request_root_proto_goTypes,
		DependencyIndexes: file_external_cds_request_root_proto_depIdxs,
		MessageInfos:      file_external_cds_request_root_proto_msgTypes,
	}.Build()
	File_external_cds_request_root_proto = out.File
	file_external_cds_request_root_proto_goTypes = nil
	file_external_cds_request_root_proto_depIdxs = nil
}
