// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.19.0
// source: automate-grpc/protoc-gen-a2-config/api/a2conf/annotations.proto

package a2conf

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	descriptorpb "google.golang.org/protobuf/types/descriptorpb"
	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 ServiceConfig struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ServiceConfig) ProtoMessage() {}

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

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

var file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_extTypes = []protoimpl.ExtensionInfo{
	{
		ExtendedType:  (*descriptorpb.FieldOptions)(nil),
		ExtensionType: (*Port)(nil),
		Field:         51000,
		Name:          "chef.automate.api.port",
		Tag:           "bytes,51000,opt,name=port",
		Filename:      "automate-grpc/protoc-gen-a2-config/api/a2conf/annotations.proto",
	},
	{
		ExtendedType:  (*descriptorpb.FieldOptions)(nil),
		ExtensionType: (*Secret)(nil),
		Field:         51001,
		Name:          "chef.automate.api.secret",
		Tag:           "bytes,51001,opt,name=secret",
		Filename:      "automate-grpc/protoc-gen-a2-config/api/a2conf/annotations.proto",
	},
	{
		ExtendedType:  (*descriptorpb.MessageOptions)(nil),
		ExtensionType: (*ServiceConfig)(nil),
		Field:         51000,
		Name:          "chef.automate.api.service_config",
		Tag:           "bytes,51000,opt,name=service_config",
		Filename:      "automate-grpc/protoc-gen-a2-config/api/a2conf/annotations.proto",
	},
}

// Extension fields to descriptorpb.FieldOptions.
var (
	// optional chef.automate.api.Port port = 51000;
	E_Port = &file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_extTypes[0]
	// optional chef.automate.api.Secret secret = 51001;
	E_Secret = &file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_extTypes[1]
)

// Extension fields to descriptorpb.MessageOptions.
var (
	// optional chef.automate.api.ServiceConfig service_config = 51000;
	E_ServiceConfig = &file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_extTypes[2]
)

var File_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto protoreflect.FileDescriptor

const file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_rawDesc = "" +
	"\n" +
	"?automate-grpc/protoc-gen-a2-config/api/a2conf/annotations.proto\x12\x11chef.automate.api\x1a8automate-grpc/protoc-gen-a2-config/api/a2conf/port.proto\x1a:automate-grpc/protoc-gen-a2-config/api/a2conf/secret.proto\x1a google/protobuf/descriptor.proto\"#\n" +
	"\rServiceConfig\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name:L\n" +
	"\x04port\x12\x1d.google.protobuf.FieldOptions\x18\xb8\x8e\x03 \x01(\v2\x17.chef.automate.api.PortR\x04port:R\n" +
	"\x06secret\x12\x1d.google.protobuf.FieldOptions\x18\xb9\x8e\x03 \x01(\v2\x19.chef.automate.api.SecretR\x06secret:j\n" +
	"\x0eservice_config\x12\x1f.google.protobuf.MessageOptions\x18\xb8\x8e\x03 \x01(\v2 .chef.automate.api.ServiceConfigR\rserviceConfigBSZQgithub.com/chef/automate/components/automate-grpc/protoc-gen-a2-config/api/a2confb\x06proto3"

var (
	file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_rawDescOnce sync.Once
	file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_rawDescData []byte
)

func file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_rawDescGZIP() []byte {
	file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_rawDescOnce.Do(func() {
		file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_rawDesc), len(file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_rawDesc)))
	})
	return file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_rawDescData
}

var file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_goTypes = []any{
	(*ServiceConfig)(nil),               // 0: chef.automate.api.ServiceConfig
	(*descriptorpb.FieldOptions)(nil),   // 1: google.protobuf.FieldOptions
	(*descriptorpb.MessageOptions)(nil), // 2: google.protobuf.MessageOptions
	(*Port)(nil),                        // 3: chef.automate.api.Port
	(*Secret)(nil),                      // 4: chef.automate.api.Secret
}
var file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_depIdxs = []int32{
	1, // 0: chef.automate.api.port:extendee -> google.protobuf.FieldOptions
	1, // 1: chef.automate.api.secret:extendee -> google.protobuf.FieldOptions
	2, // 2: chef.automate.api.service_config:extendee -> google.protobuf.MessageOptions
	3, // 3: chef.automate.api.port:type_name -> chef.automate.api.Port
	4, // 4: chef.automate.api.secret:type_name -> chef.automate.api.Secret
	0, // 5: chef.automate.api.service_config:type_name -> chef.automate.api.ServiceConfig
	6, // [6:6] is the sub-list for method output_type
	6, // [6:6] is the sub-list for method input_type
	3, // [3:6] is the sub-list for extension type_name
	0, // [0:3] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_init() }
func file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_init() {
	if File_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto != nil {
		return
	}
	file_automate_grpc_protoc_gen_a2_config_api_a2conf_port_proto_init()
	file_automate_grpc_protoc_gen_a2_config_api_a2conf_secret_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_rawDesc), len(file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 3,
			NumServices:   0,
		},
		GoTypes:           file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_goTypes,
		DependencyIndexes: file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_depIdxs,
		MessageInfos:      file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_msgTypes,
		ExtensionInfos:    file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_extTypes,
	}.Build()
	File_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto = out.File
	file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_goTypes = nil
	file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_depIdxs = nil
}
