// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        (unknown)
// source: pbmulticluster/v2/namespace_exported_services.proto

package multiclusterv2

import (
	_ "github.com/hashicorp/consul/proto-public/pbresource"
	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 NamespaceExportedServices struct {
	state         protoimpl.MessageState      `protogen:"open.v1"`
	Consumers     []*ExportedServicesConsumer `protobuf:"bytes,1,rep,name=consumers,proto3" json:"consumers,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*NamespaceExportedServices) ProtoMessage() {}

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

func (x *NamespaceExportedServices) GetConsumers() []*ExportedServicesConsumer {
	if x != nil {
		return x.Consumers
	}
	return nil
}

var File_pbmulticluster_v2_namespace_exported_services_proto protoreflect.FileDescriptor

const file_pbmulticluster_v2_namespace_exported_services_proto_rawDesc = "" +
	"\n" +
	"3pbmulticluster/v2/namespace_exported_services.proto\x12 hashicorp.consul.multicluster.v2\x1a2pbmulticluster/v2/exported_services_consumer.proto\x1a\x1cpbresource/annotations.proto\"}\n" +
	"\x19NamespaceExportedServices\x12X\n" +
	"\tconsumers\x18\x01 \x03(\v2:.hashicorp.consul.multicluster.v2.ExportedServicesConsumerR\tconsumers:\x06\xa2\x93\x04\x02\b\x03B\xb4\x02\n" +
	"$com.hashicorp.consul.multicluster.v2B\x1eNamespaceExportedServicesProtoP\x01ZIgithub.com/hashicorp/consul/proto-public/pbmulticluster/v2;multiclusterv2\xa2\x02\x03HCM\xaa\x02 Hashicorp.Consul.Multicluster.V2\xca\x02 Hashicorp\\Consul\\Multicluster\\V2\xe2\x02,Hashicorp\\Consul\\Multicluster\\V2\\GPBMetadata\xea\x02#Hashicorp::Consul::Multicluster::V2b\x06proto3"

var (
	file_pbmulticluster_v2_namespace_exported_services_proto_rawDescOnce sync.Once
	file_pbmulticluster_v2_namespace_exported_services_proto_rawDescData []byte
)

func file_pbmulticluster_v2_namespace_exported_services_proto_rawDescGZIP() []byte {
	file_pbmulticluster_v2_namespace_exported_services_proto_rawDescOnce.Do(func() {
		file_pbmulticluster_v2_namespace_exported_services_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_pbmulticluster_v2_namespace_exported_services_proto_rawDesc), len(file_pbmulticluster_v2_namespace_exported_services_proto_rawDesc)))
	})
	return file_pbmulticluster_v2_namespace_exported_services_proto_rawDescData
}

var file_pbmulticluster_v2_namespace_exported_services_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_pbmulticluster_v2_namespace_exported_services_proto_goTypes = []any{
	(*NamespaceExportedServices)(nil), // 0: hashicorp.consul.multicluster.v2.NamespaceExportedServices
	(*ExportedServicesConsumer)(nil),  // 1: hashicorp.consul.multicluster.v2.ExportedServicesConsumer
}
var file_pbmulticluster_v2_namespace_exported_services_proto_depIdxs = []int32{
	1, // 0: hashicorp.consul.multicluster.v2.NamespaceExportedServices.consumers:type_name -> hashicorp.consul.multicluster.v2.ExportedServicesConsumer
	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_pbmulticluster_v2_namespace_exported_services_proto_init() }
func file_pbmulticluster_v2_namespace_exported_services_proto_init() {
	if File_pbmulticluster_v2_namespace_exported_services_proto != nil {
		return
	}
	file_pbmulticluster_v2_exported_services_consumer_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_pbmulticluster_v2_namespace_exported_services_proto_rawDesc), len(file_pbmulticluster_v2_namespace_exported_services_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_pbmulticluster_v2_namespace_exported_services_proto_goTypes,
		DependencyIndexes: file_pbmulticluster_v2_namespace_exported_services_proto_depIdxs,
		MessageInfos:      file_pbmulticluster_v2_namespace_exported_services_proto_msgTypes,
	}.Build()
	File_pbmulticluster_v2_namespace_exported_services_proto = out.File
	file_pbmulticluster_v2_namespace_exported_services_proto_goTypes = nil
	file_pbmulticluster_v2_namespace_exported_services_proto_depIdxs = nil
}
