// 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/content_handle_types.proto

package protocol

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	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 ContentHandle struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Region   *uint32 `protobuf:"fixed32,1,req,name=region" json:"region,omitempty"`
	Usage    *uint32 `protobuf:"fixed32,2,req,name=usage" json:"usage,omitempty"`
	Hash     []byte  `protobuf:"bytes,3,req,name=hash" json:"hash,omitempty"`
	ProtoUrl *string `protobuf:"bytes,4,opt,name=proto_url,json=protoUrl" json:"proto_url,omitempty"`
}

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

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

func (*ContentHandle) ProtoMessage() {}

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

func (x *ContentHandle) GetRegion() uint32 {
	if x != nil && x.Region != nil {
		return *x.Region
	}
	return 0
}

func (x *ContentHandle) GetUsage() uint32 {
	if x != nil && x.Usage != nil {
		return *x.Usage
	}
	return 0
}

func (x *ContentHandle) GetHash() []byte {
	if x != nil {
		return x.Hash
	}
	return nil
}

func (x *ContentHandle) GetProtoUrl() string {
	if x != nil && x.ProtoUrl != nil {
		return *x.ProtoUrl
	}
	return ""
}

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

	TitleId       *uint32        `protobuf:"varint,1,opt,name=title_id,json=titleId" json:"title_id,omitempty"`
	ContentHandle *ContentHandle `protobuf:"bytes,2,opt,name=content_handle,json=contentHandle" json:"content_handle,omitempty"`
}

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

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

func (*TitleIconContentHandle) ProtoMessage() {}

func (x *TitleIconContentHandle) ProtoReflect() protoreflect.Message {
	mi := &file_bgs_low_pb_client_content_handle_types_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 TitleIconContentHandle.ProtoReflect.Descriptor instead.
func (*TitleIconContentHandle) Descriptor() ([]byte, []int) {
	return file_bgs_low_pb_client_content_handle_types_proto_rawDescGZIP(), []int{1}
}

func (x *TitleIconContentHandle) GetTitleId() uint32 {
	if x != nil && x.TitleId != nil {
		return *x.TitleId
	}
	return 0
}

func (x *TitleIconContentHandle) GetContentHandle() *ContentHandle {
	if x != nil {
		return x.ContentHandle
	}
	return nil
}

var File_bgs_low_pb_client_content_handle_types_proto protoreflect.FileDescriptor

var file_bgs_low_pb_client_content_handle_types_proto_rawDesc = []byte{
	0x0a, 0x2c, 0x62, 0x67, 0x73, 0x2f, 0x6c, 0x6f, 0x77, 0x2f, 0x70, 0x62, 0x2f, 0x63, 0x6c, 0x69,
	0x65, 0x6e, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x6e, 0x64,
	0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c,
	0x62, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x6e, 0x0a, 0x0d,
	0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x16, 0x0a,
	0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x02, 0x28, 0x07, 0x52, 0x06, 0x72,
	0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02,
	0x20, 0x02, 0x28, 0x07, 0x52, 0x05, 0x75, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68,
	0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12,
	0x1b, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01,
	0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x55, 0x72, 0x6c, 0x22, 0x77, 0x0a, 0x16,
	0x54, 0x69, 0x74, 0x6c, 0x65, 0x49, 0x63, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
	0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x5f,
	0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x49,
	0x64, 0x12, 0x42, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x6e,
	0x64, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x67, 0x73, 0x2e,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
	0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x48,
	0x61, 0x6e, 0x64, 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_content_handle_types_proto_rawDescOnce sync.Once
	file_bgs_low_pb_client_content_handle_types_proto_rawDescData = file_bgs_low_pb_client_content_handle_types_proto_rawDesc
)

func file_bgs_low_pb_client_content_handle_types_proto_rawDescGZIP() []byte {
	file_bgs_low_pb_client_content_handle_types_proto_rawDescOnce.Do(func() {
		file_bgs_low_pb_client_content_handle_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_bgs_low_pb_client_content_handle_types_proto_rawDescData)
	})
	return file_bgs_low_pb_client_content_handle_types_proto_rawDescData
}

var file_bgs_low_pb_client_content_handle_types_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_bgs_low_pb_client_content_handle_types_proto_goTypes = []interface{}{
	(*ContentHandle)(nil),          // 0: bgs.protocol.ContentHandle
	(*TitleIconContentHandle)(nil), // 1: bgs.protocol.TitleIconContentHandle
}
var file_bgs_low_pb_client_content_handle_types_proto_depIdxs = []int32{
	0, // 0: bgs.protocol.TitleIconContentHandle.content_handle:type_name -> bgs.protocol.ContentHandle
	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_content_handle_types_proto_init() }
func file_bgs_low_pb_client_content_handle_types_proto_init() {
	if File_bgs_low_pb_client_content_handle_types_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_bgs_low_pb_client_content_handle_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*ContentHandle); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_bgs_low_pb_client_content_handle_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*TitleIconContentHandle); 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_content_handle_types_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_bgs_low_pb_client_content_handle_types_proto_goTypes,
		DependencyIndexes: file_bgs_low_pb_client_content_handle_types_proto_depIdxs,
		MessageInfos:      file_bgs_low_pb_client_content_handle_types_proto_msgTypes,
	}.Build()
	File_bgs_low_pb_client_content_handle_types_proto = out.File
	file_bgs_low_pb_client_content_handle_types_proto_rawDesc = nil
	file_bgs_low_pb_client_content_handle_types_proto_goTypes = nil
	file_bgs_low_pb_client_content_handle_types_proto_depIdxs = nil
}
