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

package v1

import (
	protocol "github.com/cjbrigato/d4-bnet-mitm/bnet/bgs/protocol"
	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 ContentHandleRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Program *uint32 `protobuf:"fixed32,1,req,name=program" json:"program,omitempty"`
	Stream  *uint32 `protobuf:"fixed32,2,req,name=stream" json:"stream,omitempty"`
	Version *uint32 `protobuf:"fixed32,3,opt,name=version,def=1701729619" json:"version,omitempty"`
}

// Default values for ContentHandleRequest fields.
const (
	Default_ContentHandleRequest_Version = uint32(1701729619)
)

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

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

func (*ContentHandleRequest) ProtoMessage() {}

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

func (x *ContentHandleRequest) GetProgram() uint32 {
	if x != nil && x.Program != nil {
		return *x.Program
	}
	return 0
}

func (x *ContentHandleRequest) GetStream() uint32 {
	if x != nil && x.Stream != nil {
		return *x.Stream
	}
	return 0
}

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

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

	TitleIds []uint32 `protobuf:"varint,1,rep,name=title_ids,json=titleIds" json:"title_ids,omitempty"`
	Usage    *uint32  `protobuf:"varint,2,opt,name=usage" json:"usage,omitempty"`
	Version  *uint32  `protobuf:"varint,3,opt,name=version" json:"version,omitempty"`
}

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

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

func (*GetTitleIconsRequest) ProtoMessage() {}

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

func (x *GetTitleIconsRequest) GetTitleIds() []uint32 {
	if x != nil {
		return x.TitleIds
	}
	return nil
}

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

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

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

	TitleIconContentHandles []*protocol.TitleIconContentHandle `protobuf:"bytes,1,rep,name=title_icon_content_handles,json=titleIconContentHandles" json:"title_icon_content_handles,omitempty"`
}

func (x *GetTitleIconsResponse) Reset() {
	*x = GetTitleIconsResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_bgs_low_pb_client_resource_service_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetTitleIconsResponse) ProtoMessage() {}

func (x *GetTitleIconsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_bgs_low_pb_client_resource_service_proto_msgTypes[2]
	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 GetTitleIconsResponse.ProtoReflect.Descriptor instead.
func (*GetTitleIconsResponse) Descriptor() ([]byte, []int) {
	return file_bgs_low_pb_client_resource_service_proto_rawDescGZIP(), []int{2}
}

func (x *GetTitleIconsResponse) GetTitleIconContentHandles() []*protocol.TitleIconContentHandle {
	if x != nil {
		return x.TitleIconContentHandles
	}
	return nil
}

var File_bgs_low_pb_client_resource_service_proto protoreflect.FileDescriptor

var file_bgs_low_pb_client_resource_service_proto_rawDesc = []byte{
	0x0a, 0x28, 0x62, 0x67, 0x73, 0x2f, 0x6c, 0x6f, 0x77, 0x2f, 0x70, 0x62, 0x2f, 0x63, 0x6c, 0x69,
	0x65, 0x6e, 0x74, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x72,
	0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x62, 0x67, 0x73, 0x2e,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
	0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 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, 0x1a, 0x21, 0x62, 0x67, 0x73, 0x2f, 0x6c, 0x6f, 0x77, 0x2f, 0x70, 0x62, 0x2f,
	0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x72, 0x70, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73,
	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
	0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18,
	0x0a, 0x07, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x02, 0x28, 0x07, 0x52,
	0x07, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x65,
	0x61, 0x6d, 0x18, 0x02, 0x20, 0x02, 0x28, 0x07, 0x52, 0x06, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d,
	0x12, 0x24, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
	0x07, 0x3a, 0x0a, 0x31, 0x37, 0x30, 0x31, 0x37, 0x32, 0x39, 0x36, 0x31, 0x39, 0x52, 0x07, 0x76,
	0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x63, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x54, 0x69, 0x74,
	0x6c, 0x65, 0x49, 0x63, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b,
	0x0a, 0x09, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
	0x0d, 0x52, 0x08, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x75,
	0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x75, 0x73, 0x61, 0x67,
	0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,
	0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x7a, 0x0a, 0x15, 0x47,
	0x65, 0x74, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x49, 0x63, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70,
	0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x1a, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x63,
	0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c,
	0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x67, 0x73, 0x2e, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x49, 0x63, 0x6f,
	0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x17,
	0x74, 0x69, 0x74, 0x6c, 0x65, 0x49, 0x63, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
	0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x32, 0xe8, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x6f,
	0x75, 0x72, 0x63, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x60, 0x0a, 0x10,
	0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65,
	0x12, 0x2f, 0x2e, 0x62, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e,
	0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e,
	0x74, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
	0x74, 0x1a, 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, 0x12, 0x72,
	0x0a, 0x0d, 0x47, 0x65, 0x74, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x49, 0x63, 0x6f, 0x6e, 0x73, 0x12,
	0x2f, 0x2e, 0x62, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x72,
	0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54,
	0x69, 0x74, 0x6c, 0x65, 0x49, 0x63, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
	0x1a, 0x30, 0x2e, 0x62, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e,
	0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
	0x54, 0x69, 0x74, 0x6c, 0x65, 0x49, 0x63, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
	0x73, 0x65, 0x42, 0x42, 0x5a, 0x40, 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, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
	0x63, 0x65, 0x73, 0x2f, 0x76, 0x31,
}

var (
	file_bgs_low_pb_client_resource_service_proto_rawDescOnce sync.Once
	file_bgs_low_pb_client_resource_service_proto_rawDescData = file_bgs_low_pb_client_resource_service_proto_rawDesc
)

func file_bgs_low_pb_client_resource_service_proto_rawDescGZIP() []byte {
	file_bgs_low_pb_client_resource_service_proto_rawDescOnce.Do(func() {
		file_bgs_low_pb_client_resource_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_bgs_low_pb_client_resource_service_proto_rawDescData)
	})
	return file_bgs_low_pb_client_resource_service_proto_rawDescData
}

var file_bgs_low_pb_client_resource_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_bgs_low_pb_client_resource_service_proto_goTypes = []interface{}{
	(*ContentHandleRequest)(nil),            // 0: bgs.protocol.resources.v1.ContentHandleRequest
	(*GetTitleIconsRequest)(nil),            // 1: bgs.protocol.resources.v1.GetTitleIconsRequest
	(*GetTitleIconsResponse)(nil),           // 2: bgs.protocol.resources.v1.GetTitleIconsResponse
	(*protocol.TitleIconContentHandle)(nil), // 3: bgs.protocol.TitleIconContentHandle
	(*protocol.ContentHandle)(nil),          // 4: bgs.protocol.ContentHandle
}
var file_bgs_low_pb_client_resource_service_proto_depIdxs = []int32{
	3, // 0: bgs.protocol.resources.v1.GetTitleIconsResponse.title_icon_content_handles:type_name -> bgs.protocol.TitleIconContentHandle
	0, // 1: bgs.protocol.resources.v1.ResourcesService.GetContentHandle:input_type -> bgs.protocol.resources.v1.ContentHandleRequest
	1, // 2: bgs.protocol.resources.v1.ResourcesService.GetTitleIcons:input_type -> bgs.protocol.resources.v1.GetTitleIconsRequest
	4, // 3: bgs.protocol.resources.v1.ResourcesService.GetContentHandle:output_type -> bgs.protocol.ContentHandle
	2, // 4: bgs.protocol.resources.v1.ResourcesService.GetTitleIcons:output_type -> bgs.protocol.resources.v1.GetTitleIconsResponse
	3, // [3:5] is the sub-list for method output_type
	1, // [1:3] 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_resource_service_proto_init() }
func file_bgs_low_pb_client_resource_service_proto_init() {
	if File_bgs_low_pb_client_resource_service_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_bgs_low_pb_client_resource_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*ContentHandleRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_bgs_low_pb_client_resource_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetTitleIconsRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_bgs_low_pb_client_resource_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetTitleIconsResponse); 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_resource_service_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_bgs_low_pb_client_resource_service_proto_goTypes,
		DependencyIndexes: file_bgs_low_pb_client_resource_service_proto_depIdxs,
		MessageInfos:      file_bgs_low_pb_client_resource_service_proto_msgTypes,
	}.Build()
	File_bgs_low_pb_client_resource_service_proto = out.File
	file_bgs_low_pb_client_resource_service_proto_rawDesc = nil
	file_bgs_low_pb_client_resource_service_proto_goTypes = nil
	file_bgs_low_pb_client_resource_service_proto_depIdxs = nil
}
