// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.32.0
// 	protoc        v3.12.4
// source: bgs/low/pb/client/global_extensions/service_options.proto

package protocol

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	_ "google.golang.org/protobuf/types/descriptorpb"
	reflect "reflect"
	sync "sync"
)

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 BGSServiceOptions_ServiceType int32

const (
	BGSServiceOptions_SERVICE_TYPE_RPC             BGSServiceOptions_ServiceType = 0
	BGSServiceOptions_SERVICE_TYPE_RPC_DIRECT      BGSServiceOptions_ServiceType = 1
	BGSServiceOptions_SERVICE_TYPE_EVENT           BGSServiceOptions_ServiceType = 2
	BGSServiceOptions_SERVICE_TYPE_EVENT_BROADCAST BGSServiceOptions_ServiceType = 3
)

// Enum value maps for BGSServiceOptions_ServiceType.
var (
	BGSServiceOptions_ServiceType_name = map[int32]string{
		0: "SERVICE_TYPE_RPC",
		1: "SERVICE_TYPE_RPC_DIRECT",
		2: "SERVICE_TYPE_EVENT",
		3: "SERVICE_TYPE_EVENT_BROADCAST",
	}
	BGSServiceOptions_ServiceType_value = map[string]int32{
		"SERVICE_TYPE_RPC":             0,
		"SERVICE_TYPE_RPC_DIRECT":      1,
		"SERVICE_TYPE_EVENT":           2,
		"SERVICE_TYPE_EVENT_BROADCAST": 3,
	}
)

func (x BGSServiceOptions_ServiceType) Enum() *BGSServiceOptions_ServiceType {
	p := new(BGSServiceOptions_ServiceType)
	*p = x
	return p
}

func (x BGSServiceOptions_ServiceType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (BGSServiceOptions_ServiceType) Descriptor() protoreflect.EnumDescriptor {
	return file_bgs_low_pb_client_global_extensions_service_options_proto_enumTypes[0].Descriptor()
}

func (BGSServiceOptions_ServiceType) Type() protoreflect.EnumType {
	return &file_bgs_low_pb_client_global_extensions_service_options_proto_enumTypes[0]
}

func (x BGSServiceOptions_ServiceType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Do not use.
func (x *BGSServiceOptions_ServiceType) UnmarshalJSON(b []byte) error {
	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
	if err != nil {
		return err
	}
	*x = BGSServiceOptions_ServiceType(num)
	return nil
}

// Deprecated: Use BGSServiceOptions_ServiceType.Descriptor instead.
func (BGSServiceOptions_ServiceType) EnumDescriptor() ([]byte, []int) {
	return file_bgs_low_pb_client_global_extensions_service_options_proto_rawDescGZIP(), []int{0, 0}
}

type BGSServiceOptions struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	DescriptorName        *string                        `protobuf:"bytes,1,opt,name=descriptor_name,json=descriptorName" json:"descriptor_name,omitempty"`
	Version               *uint32                        `protobuf:"varint,4,opt,name=version" json:"version,omitempty"`
	ShardName             *string                        `protobuf:"bytes,5,opt,name=shard_name,json=shardName" json:"shard_name,omitempty"`
	ResolveClientInstance *bool                          `protobuf:"varint,6,opt,name=resolve_client_instance,json=resolveClientInstance" json:"resolve_client_instance,omitempty"`
	Type                  *BGSServiceOptions_ServiceType `protobuf:"varint,7,opt,name=type,enum=bgs.protocol.BGSServiceOptions_ServiceType" json:"type,omitempty"`
	ApiType               *string                        `protobuf:"bytes,8,opt,name=api_type,json=apiType" json:"api_type,omitempty"`
	IsGlobal              *bool                          `protobuf:"varint,9,opt,name=is_global,json=isGlobal" json:"is_global,omitempty"`
}

func (x *BGSServiceOptions) Reset() {
	*x = BGSServiceOptions{}
	if protoimpl.UnsafeEnabled {
		mi := &file_bgs_low_pb_client_global_extensions_service_options_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*BGSServiceOptions) ProtoMessage() {}

func (x *BGSServiceOptions) ProtoReflect() protoreflect.Message {
	mi := &file_bgs_low_pb_client_global_extensions_service_options_proto_msgTypes[0]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BGSServiceOptions.ProtoReflect.Descriptor instead.
func (*BGSServiceOptions) Descriptor() ([]byte, []int) {
	return file_bgs_low_pb_client_global_extensions_service_options_proto_rawDescGZIP(), []int{0}
}

func (x *BGSServiceOptions) GetDescriptorName() string {
	if x != nil && x.DescriptorName != nil {
		return *x.DescriptorName
	}
	return ""
}

func (x *BGSServiceOptions) GetVersion() uint32 {
	if x != nil && x.Version != nil {
		return *x.Version
	}
	return 0
}

func (x *BGSServiceOptions) GetShardName() string {
	if x != nil && x.ShardName != nil {
		return *x.ShardName
	}
	return ""
}

func (x *BGSServiceOptions) GetResolveClientInstance() bool {
	if x != nil && x.ResolveClientInstance != nil {
		return *x.ResolveClientInstance
	}
	return false
}

func (x *BGSServiceOptions) GetType() BGSServiceOptions_ServiceType {
	if x != nil && x.Type != nil {
		return *x.Type
	}
	return BGSServiceOptions_SERVICE_TYPE_RPC
}

func (x *BGSServiceOptions) GetApiType() string {
	if x != nil && x.ApiType != nil {
		return *x.ApiType
	}
	return ""
}

func (x *BGSServiceOptions) GetIsGlobal() bool {
	if x != nil && x.IsGlobal != nil {
		return *x.IsGlobal
	}
	return false
}

type SDKServiceOptions struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Inbound     *bool `protobuf:"varint,1,opt,name=inbound" json:"inbound,omitempty"`
	Outbound    *bool `protobuf:"varint,2,opt,name=outbound" json:"outbound,omitempty"`
	UseClientId *bool `protobuf:"varint,3,opt,name=use_client_id,json=useClientId" json:"use_client_id,omitempty"`
}

func (x *SDKServiceOptions) Reset() {
	*x = SDKServiceOptions{}
	if protoimpl.UnsafeEnabled {
		mi := &file_bgs_low_pb_client_global_extensions_service_options_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*SDKServiceOptions) ProtoMessage() {}

func (x *SDKServiceOptions) ProtoReflect() protoreflect.Message {
	mi := &file_bgs_low_pb_client_global_extensions_service_options_proto_msgTypes[1]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SDKServiceOptions.ProtoReflect.Descriptor instead.
func (*SDKServiceOptions) Descriptor() ([]byte, []int) {
	return file_bgs_low_pb_client_global_extensions_service_options_proto_rawDescGZIP(), []int{1}
}

func (x *SDKServiceOptions) GetInbound() bool {
	if x != nil && x.Inbound != nil {
		return *x.Inbound
	}
	return false
}

func (x *SDKServiceOptions) GetOutbound() bool {
	if x != nil && x.Outbound != nil {
		return *x.Outbound
	}
	return false
}

func (x *SDKServiceOptions) GetUseClientId() bool {
	if x != nil && x.UseClientId != nil {
		return *x.UseClientId
	}
	return false
}

var File_bgs_low_pb_client_global_extensions_service_options_proto protoreflect.FileDescriptor

var file_bgs_low_pb_client_global_extensions_service_options_proto_rawDesc = []byte{
	0x0a, 0x39, 0x62, 0x67, 0x73, 0x2f, 0x6c, 0x6f, 0x77, 0x2f, 0x70, 0x62, 0x2f, 0x63, 0x6c, 0x69,
	0x65, 0x6e, 0x74, 0x2f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
	0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6f, 0x70,
	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x62, 0x67, 0x73,
	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
	0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72,
	0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x03, 0x0a, 0x11,
	0x42, 0x47, 0x53, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
	0x73, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x5f,
	0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x65, 0x73, 0x63,
	0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65,
	0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72,
	0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x6e, 0x61,
	0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x61, 0x72, 0x64, 0x4e,
	0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x17, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x5f, 0x63,
	0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x06,
	0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x43, 0x6c, 0x69,
	0x65, 0x6e, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x3f, 0x0a, 0x04, 0x74,
	0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x67, 0x73, 0x2e,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x47, 0x53, 0x53, 0x65, 0x72, 0x76,
	0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69,
	0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08,
	0x61, 0x70, 0x69, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
	0x61, 0x70, 0x69, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x67, 0x6c,
	0x6f, 0x62, 0x61, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x47, 0x6c,
	0x6f, 0x62, 0x61, 0x6c, 0x22, 0x7a, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54,
	0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54,
	0x59, 0x50, 0x45, 0x5f, 0x52, 0x50, 0x43, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x45, 0x52,
	0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x50, 0x43, 0x5f, 0x44, 0x49,
	0x52, 0x45, 0x43, 0x54, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43,
	0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x12, 0x20,
	0x0a, 0x1c, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45,
	0x56, 0x45, 0x4e, 0x54, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x10, 0x03,
	0x22, 0x6d, 0x0a, 0x11, 0x53, 0x44, 0x4b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70,
	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64,
	0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x12,
	0x1a, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
	0x08, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x75,
	0x73, 0x65, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
	0x28, 0x08, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x42,
	0x35, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6a,
	0x62, 0x72, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x64, 0x34, 0x2d, 0x62, 0x6e, 0x65, 0x74, 0x2d,
	0x6d, 0x69, 0x74, 0x6d, 0x2f, 0x62, 0x6e, 0x65, 0x74, 0x2f, 0x62, 0x67, 0x73, 0x2f, 0x70, 0x72,
	0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
}

var (
	file_bgs_low_pb_client_global_extensions_service_options_proto_rawDescOnce sync.Once
	file_bgs_low_pb_client_global_extensions_service_options_proto_rawDescData = file_bgs_low_pb_client_global_extensions_service_options_proto_rawDesc
)

func file_bgs_low_pb_client_global_extensions_service_options_proto_rawDescGZIP() []byte {
	file_bgs_low_pb_client_global_extensions_service_options_proto_rawDescOnce.Do(func() {
		file_bgs_low_pb_client_global_extensions_service_options_proto_rawDescData = protoimpl.X.CompressGZIP(file_bgs_low_pb_client_global_extensions_service_options_proto_rawDescData)
	})
	return file_bgs_low_pb_client_global_extensions_service_options_proto_rawDescData
}

var file_bgs_low_pb_client_global_extensions_service_options_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_bgs_low_pb_client_global_extensions_service_options_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_bgs_low_pb_client_global_extensions_service_options_proto_goTypes = []interface{}{
	(BGSServiceOptions_ServiceType)(0), // 0: bgs.protocol.BGSServiceOptions.ServiceType
	(*BGSServiceOptions)(nil),          // 1: bgs.protocol.BGSServiceOptions
	(*SDKServiceOptions)(nil),          // 2: bgs.protocol.SDKServiceOptions
}
var file_bgs_low_pb_client_global_extensions_service_options_proto_depIdxs = []int32{
	0, // 0: bgs.protocol.BGSServiceOptions.type:type_name -> bgs.protocol.BGSServiceOptions.ServiceType
	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_bgs_low_pb_client_global_extensions_service_options_proto_init() }
func file_bgs_low_pb_client_global_extensions_service_options_proto_init() {
	if File_bgs_low_pb_client_global_extensions_service_options_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_bgs_low_pb_client_global_extensions_service_options_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*BGSServiceOptions); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_bgs_low_pb_client_global_extensions_service_options_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SDKServiceOptions); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_bgs_low_pb_client_global_extensions_service_options_proto_rawDesc,
			NumEnums:      1,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_bgs_low_pb_client_global_extensions_service_options_proto_goTypes,
		DependencyIndexes: file_bgs_low_pb_client_global_extensions_service_options_proto_depIdxs,
		EnumInfos:         file_bgs_low_pb_client_global_extensions_service_options_proto_enumTypes,
		MessageInfos:      file_bgs_low_pb_client_global_extensions_service_options_proto_msgTypes,
	}.Build()
	File_bgs_low_pb_client_global_extensions_service_options_proto = out.File
	file_bgs_low_pb_client_global_extensions_service_options_proto_rawDesc = nil
	file_bgs_low_pb_client_global_extensions_service_options_proto_goTypes = nil
	file_bgs_low_pb_client_global_extensions_service_options_proto_depIdxs = nil
}
