// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.9
// 	protoc        v6.31.1
// source: github.com/buildbarn/bb-storage/pkg/proto/configuration/builder/builder.proto

package builder

import (
	grpc "github.com/buildbarn/bb-storage/pkg/proto/configuration/grpc"
	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 SchedulerConfiguration struct {
	state                 protoimpl.MessageState    `protogen:"open.v1"`
	Endpoint              *grpc.ClientConfiguration `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	AddInstanceNamePrefix string                    `protobuf:"bytes,2,opt,name=add_instance_name_prefix,json=addInstanceNamePrefix,proto3" json:"add_instance_name_prefix,omitempty"`
	unknownFields         protoimpl.UnknownFields
	sizeCache             protoimpl.SizeCache
}

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

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

func (*SchedulerConfiguration) ProtoMessage() {}

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

func (x *SchedulerConfiguration) GetEndpoint() *grpc.ClientConfiguration {
	if x != nil {
		return x.Endpoint
	}
	return nil
}

func (x *SchedulerConfiguration) GetAddInstanceNamePrefix() string {
	if x != nil {
		return x.AddInstanceNamePrefix
	}
	return ""
}

var File_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto protoreflect.FileDescriptor

const file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_rawDesc = "" +
	"\n" +
	"Mgithub.com/buildbarn/bb-storage/pkg/proto/configuration/builder/builder.proto\x12\x1fbuildbarn.configuration.builder\x1aGgithub.com/buildbarn/bb-storage/pkg/proto/configuration/grpc/grpc.proto\"\xa0\x01\n" +
	"\x16SchedulerConfiguration\x12M\n" +
	"\bendpoint\x18\x01 \x01(\v21.buildbarn.configuration.grpc.ClientConfigurationR\bendpoint\x127\n" +
	"\x18add_instance_name_prefix\x18\x02 \x01(\tR\x15addInstanceNamePrefixBPB\rConfigBuilderZ?github.com/buildbarn/bb-storage/pkg/proto/configuration/builderb\x06proto3"

var (
	file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_rawDescOnce sync.Once
	file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_rawDescData []byte
)

func file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_rawDescGZIP() []byte {
	file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_rawDescOnce.Do(func() {
		file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_rawDesc), len(file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_rawDesc)))
	})
	return file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_rawDescData
}

var file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_goTypes = []any{
	(*SchedulerConfiguration)(nil),   // 0: buildbarn.configuration.builder.SchedulerConfiguration
	(*grpc.ClientConfiguration)(nil), // 1: buildbarn.configuration.grpc.ClientConfiguration
}
var file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_depIdxs = []int32{
	1, // 0: buildbarn.configuration.builder.SchedulerConfiguration.endpoint:type_name -> buildbarn.configuration.grpc.ClientConfiguration
	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_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_init()
}
func file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_init() {
	if File_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_rawDesc), len(file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_goTypes,
		DependencyIndexes: file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_depIdxs,
		MessageInfos:      file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_msgTypes,
	}.Build()
	File_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto = out.File
	file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_goTypes = nil
	file_github_com_buildbarn_bb_storage_pkg_proto_configuration_builder_builder_proto_depIdxs = nil
}
