// 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/method_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 BGSMethodOptions struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Id                           *uint32                    `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	ClientIdentityRouting        *ClientIdentityRoutingType `protobuf:"varint,2,opt,name=client_identity_routing,json=clientIdentityRouting,enum=bgs.protocol.ClientIdentityRoutingType" json:"client_identity_routing,omitempty"`
	EnableFanout                 *bool                      `protobuf:"varint,3,opt,name=enable_fanout,json=enableFanout" json:"enable_fanout,omitempty"`
	LegacyFanoutReplacement      *string                    `protobuf:"bytes,4,opt,name=legacy_fanout_replacement,json=legacyFanoutReplacement" json:"legacy_fanout_replacement,omitempty"`
	ForwardKey                   *string                    `protobuf:"bytes,5,opt,name=forward_key,json=forwardKey" json:"forward_key,omitempty"`
	Idempotent                   *bool                      `protobuf:"varint,6,opt,name=idempotent" json:"idempotent,omitempty"`
	HandleDestinationUnreachable *bool                      `protobuf:"varint,7,opt,name=handle_destination_unreachable,json=handleDestinationUnreachable" json:"handle_destination_unreachable,omitempty"`
	CustomRegionResolver         *string                    `protobuf:"bytes,8,opt,name=custom_region_resolver,json=customRegionResolver" json:"custom_region_resolver,omitempty"`
	ExplicitRegionRouting        *bool                      `protobuf:"varint,9,opt,name=explicit_region_routing,json=explicitRegionRouting" json:"explicit_region_routing,omitempty"`
	Obsolete                     *bool                      `protobuf:"varint,10,opt,name=obsolete" json:"obsolete,omitempty"`
	ClientRegisterType           *ClientRegisterMethodType  `protobuf:"varint,11,opt,name=client_register_type,json=clientRegisterType,enum=bgs.protocol.ClientRegisterMethodType" json:"client_register_type,omitempty"`
	ForwardKeyProtoFile          *string                    `protobuf:"bytes,12,opt,name=forward_key_proto_file,json=forwardKeyProtoFile" json:"forward_key_proto_file,omitempty"`
}

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

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

func (*BGSMethodOptions) ProtoMessage() {}

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

func (x *BGSMethodOptions) GetId() uint32 {
	if x != nil && x.Id != nil {
		return *x.Id
	}
	return 0
}

func (x *BGSMethodOptions) GetClientIdentityRouting() ClientIdentityRoutingType {
	if x != nil && x.ClientIdentityRouting != nil {
		return *x.ClientIdentityRouting
	}
	return ClientIdentityRoutingType_CLIENT_IDENTITY_ROUTING_DISABLED
}

func (x *BGSMethodOptions) GetEnableFanout() bool {
	if x != nil && x.EnableFanout != nil {
		return *x.EnableFanout
	}
	return false
}

func (x *BGSMethodOptions) GetLegacyFanoutReplacement() string {
	if x != nil && x.LegacyFanoutReplacement != nil {
		return *x.LegacyFanoutReplacement
	}
	return ""
}

func (x *BGSMethodOptions) GetForwardKey() string {
	if x != nil && x.ForwardKey != nil {
		return *x.ForwardKey
	}
	return ""
}

func (x *BGSMethodOptions) GetIdempotent() bool {
	if x != nil && x.Idempotent != nil {
		return *x.Idempotent
	}
	return false
}

func (x *BGSMethodOptions) GetHandleDestinationUnreachable() bool {
	if x != nil && x.HandleDestinationUnreachable != nil {
		return *x.HandleDestinationUnreachable
	}
	return false
}

func (x *BGSMethodOptions) GetCustomRegionResolver() string {
	if x != nil && x.CustomRegionResolver != nil {
		return *x.CustomRegionResolver
	}
	return ""
}

func (x *BGSMethodOptions) GetExplicitRegionRouting() bool {
	if x != nil && x.ExplicitRegionRouting != nil {
		return *x.ExplicitRegionRouting
	}
	return false
}

func (x *BGSMethodOptions) GetObsolete() bool {
	if x != nil && x.Obsolete != nil {
		return *x.Obsolete
	}
	return false
}

func (x *BGSMethodOptions) GetClientRegisterType() ClientRegisterMethodType {
	if x != nil && x.ClientRegisterType != nil {
		return *x.ClientRegisterType
	}
	return ClientRegisterMethodType_REGISTER_CLIENT_NONE
}

func (x *BGSMethodOptions) GetForwardKeyProtoFile() string {
	if x != nil && x.ForwardKeyProtoFile != nil {
		return *x.ForwardKeyProtoFile
	}
	return ""
}

var File_bgs_low_pb_client_global_extensions_method_options_proto protoreflect.FileDescriptor

var file_bgs_low_pb_client_global_extensions_method_options_proto_rawDesc = []byte{
	0x0a, 0x38, 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, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 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, 0x1a, 0x31, 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,
	0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3f, 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, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x74, 0x68,
	0x6f, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84,
	0x05, 0x0a, 0x10, 0x42, 0x47, 0x53, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69,
	0x6f, 0x6e, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
	0x02, 0x69, 0x64, 0x12, 0x5f, 0x0a, 0x17, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64,
	0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x02,
	0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x62, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
	0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
	0x74, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x15, 0x63,
	0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x6f, 0x75,
	0x74, 0x69, 0x6e, 0x67, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66,
	0x61, 0x6e, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x65, 0x6e, 0x61,
	0x62, 0x6c, 0x65, 0x46, 0x61, 0x6e, 0x6f, 0x75, 0x74, 0x12, 0x3a, 0x0a, 0x19, 0x6c, 0x65, 0x67,
	0x61, 0x63, 0x79, 0x5f, 0x66, 0x61, 0x6e, 0x6f, 0x75, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x61,
	0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x6c, 0x65,
	0x67, 0x61, 0x63, 0x79, 0x46, 0x61, 0x6e, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63,
	0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64,
	0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x6f, 0x72, 0x77,
	0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6d, 0x70, 0x6f,
	0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6d,
	0x70, 0x6f, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x44, 0x0a, 0x1e, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65,
	0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x6e, 0x72,
	0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1c,
	0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
	0x6e, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x34, 0x0a, 0x16,
	0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65,
	0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x63, 0x75,
	0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76,
	0x65, 0x72, 0x12, 0x36, 0x0a, 0x17, 0x65, 0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x5f, 0x72,
	0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x09, 0x20,
	0x01, 0x28, 0x08, 0x52, 0x15, 0x65, 0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x52, 0x65, 0x67,
	0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x62,
	0x73, 0x6f, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6f, 0x62,
	0x73, 0x6f, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x58, 0x0a, 0x14, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
	0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b,
	0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x62, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
	0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
	0x65, 0x72, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x12, 0x63, 0x6c,
	0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65,
	0x12, 0x33, 0x0a, 0x16, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x5f,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09,
	0x52, 0x13, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x50, 0x72, 0x6f, 0x74,
	0x6f, 0x46, 0x69, 0x6c, 0x65, 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_method_options_proto_rawDescOnce sync.Once
	file_bgs_low_pb_client_global_extensions_method_options_proto_rawDescData = file_bgs_low_pb_client_global_extensions_method_options_proto_rawDesc
)

func file_bgs_low_pb_client_global_extensions_method_options_proto_rawDescGZIP() []byte {
	file_bgs_low_pb_client_global_extensions_method_options_proto_rawDescOnce.Do(func() {
		file_bgs_low_pb_client_global_extensions_method_options_proto_rawDescData = protoimpl.X.CompressGZIP(file_bgs_low_pb_client_global_extensions_method_options_proto_rawDescData)
	})
	return file_bgs_low_pb_client_global_extensions_method_options_proto_rawDescData
}

var file_bgs_low_pb_client_global_extensions_method_options_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_bgs_low_pb_client_global_extensions_method_options_proto_goTypes = []interface{}{
	(*BGSMethodOptions)(nil),       // 0: bgs.protocol.BGSMethodOptions
	(ClientIdentityRoutingType)(0), // 1: bgs.protocol.ClientIdentityRoutingType
	(ClientRegisterMethodType)(0),  // 2: bgs.protocol.ClientRegisterMethodType
}
var file_bgs_low_pb_client_global_extensions_method_options_proto_depIdxs = []int32{
	1, // 0: bgs.protocol.BGSMethodOptions.client_identity_routing:type_name -> bgs.protocol.ClientIdentityRoutingType
	2, // 1: bgs.protocol.BGSMethodOptions.client_register_type:type_name -> bgs.protocol.ClientRegisterMethodType
	2, // [2:2] is the sub-list for method output_type
	2, // [2:2] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_bgs_low_pb_client_global_extensions_method_options_proto_init() }
func file_bgs_low_pb_client_global_extensions_method_options_proto_init() {
	if File_bgs_low_pb_client_global_extensions_method_options_proto != nil {
		return
	}
	file_bgs_low_pb_client_global_extensions_routing_proto_init()
	file_bgs_low_pb_client_global_extensions_register_method_types_proto_init()
	if !protoimpl.UnsafeEnabled {
		file_bgs_low_pb_client_global_extensions_method_options_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*BGSMethodOptions); 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_method_options_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_bgs_low_pb_client_global_extensions_method_options_proto_goTypes,
		DependencyIndexes: file_bgs_low_pb_client_global_extensions_method_options_proto_depIdxs,
		MessageInfos:      file_bgs_low_pb_client_global_extensions_method_options_proto_msgTypes,
	}.Build()
	File_bgs_low_pb_client_global_extensions_method_options_proto = out.File
	file_bgs_low_pb_client_global_extensions_method_options_proto_rawDesc = nil
	file_bgs_low_pb_client_global_extensions_method_options_proto_goTypes = nil
	file_bgs_low_pb_client_global_extensions_method_options_proto_depIdxs = nil
}
