// Code generated by protoc-gen-go. DO NOT EDIT.
// source: service/cross_activity_task_game.proto

package proto

import (
	fmt "fmt"
	math "math"
	context "context"
	proto "github.com/golang/protobuf/proto"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
	model "vikingar/proto/gen-go/model"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

type CrossActivityTaskGetManyTaskTypesRequest struct {
	Ids                  []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *CrossActivityTaskGetManyTaskTypesRequest) Reset() {
	*m = CrossActivityTaskGetManyTaskTypesRequest{}
}
func (m *CrossActivityTaskGetManyTaskTypesRequest) String() string { return proto.CompactTextString(m) }
func (*CrossActivityTaskGetManyTaskTypesRequest) ProtoMessage()    {}
func (*CrossActivityTaskGetManyTaskTypesRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_5212160bd4c23d32, []int{0}
}

func (m *CrossActivityTaskGetManyTaskTypesRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CrossActivityTaskGetManyTaskTypesRequest.Unmarshal(m, b)
}
func (m *CrossActivityTaskGetManyTaskTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CrossActivityTaskGetManyTaskTypesRequest.Marshal(b, m, deterministic)
}
func (m *CrossActivityTaskGetManyTaskTypesRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CrossActivityTaskGetManyTaskTypesRequest.Merge(m, src)
}
func (m *CrossActivityTaskGetManyTaskTypesRequest) XXX_Size() int {
	return xxx_messageInfo_CrossActivityTaskGetManyTaskTypesRequest.Size(m)
}
func (m *CrossActivityTaskGetManyTaskTypesRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_CrossActivityTaskGetManyTaskTypesRequest.DiscardUnknown(m)
}

var xxx_messageInfo_CrossActivityTaskGetManyTaskTypesRequest proto.InternalMessageInfo

func (m *CrossActivityTaskGetManyTaskTypesRequest) GetIds() []string {
	if m != nil {
		return m.Ids
	}
	return nil
}

type CrossActivityTaskGetManyTaskTypesResponse struct {
	Code                 int64                                           `protobuf:"zigzag64,1,opt,name=code,proto3" json:"code,omitempty"`
	Info                 string                                          `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	Data                 *CrossActivityTaskGetManyTaskTypesResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                        `json:"-"`
	XXX_unrecognized     []byte                                          `json:"-"`
	XXX_sizecache        int32                                           `json:"-"`
}

func (m *CrossActivityTaskGetManyTaskTypesResponse) Reset() {
	*m = CrossActivityTaskGetManyTaskTypesResponse{}
}
func (m *CrossActivityTaskGetManyTaskTypesResponse) String() string {
	return proto.CompactTextString(m)
}
func (*CrossActivityTaskGetManyTaskTypesResponse) ProtoMessage() {}
func (*CrossActivityTaskGetManyTaskTypesResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_5212160bd4c23d32, []int{1}
}

func (m *CrossActivityTaskGetManyTaskTypesResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CrossActivityTaskGetManyTaskTypesResponse.Unmarshal(m, b)
}
func (m *CrossActivityTaskGetManyTaskTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CrossActivityTaskGetManyTaskTypesResponse.Marshal(b, m, deterministic)
}
func (m *CrossActivityTaskGetManyTaskTypesResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CrossActivityTaskGetManyTaskTypesResponse.Merge(m, src)
}
func (m *CrossActivityTaskGetManyTaskTypesResponse) XXX_Size() int {
	return xxx_messageInfo_CrossActivityTaskGetManyTaskTypesResponse.Size(m)
}
func (m *CrossActivityTaskGetManyTaskTypesResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_CrossActivityTaskGetManyTaskTypesResponse.DiscardUnknown(m)
}

var xxx_messageInfo_CrossActivityTaskGetManyTaskTypesResponse proto.InternalMessageInfo

func (m *CrossActivityTaskGetManyTaskTypesResponse) GetCode() int64 {
	if m != nil {
		return m.Code
	}
	return 0
}

func (m *CrossActivityTaskGetManyTaskTypesResponse) GetInfo() string {
	if m != nil {
		return m.Info
	}
	return ""
}

func (m *CrossActivityTaskGetManyTaskTypesResponse) GetData() *CrossActivityTaskGetManyTaskTypesResponse_Data {
	if m != nil {
		return m.Data
	}
	return nil
}

type CrossActivityTaskGetManyTaskTypesResponse_Data struct {
	ManyTaskTypes        map[string]*model.CrossActivityTaskTypes `protobuf:"bytes,1,rep,name=many_task_types,json=manyTaskTypes,proto3" json:"many_task_types,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	XXX_NoUnkeyedLiteral struct{}                                 `json:"-"`
	XXX_unrecognized     []byte                                   `json:"-"`
	XXX_sizecache        int32                                    `json:"-"`
}

func (m *CrossActivityTaskGetManyTaskTypesResponse_Data) Reset() {
	*m = CrossActivityTaskGetManyTaskTypesResponse_Data{}
}
func (m *CrossActivityTaskGetManyTaskTypesResponse_Data) String() string {
	return proto.CompactTextString(m)
}
func (*CrossActivityTaskGetManyTaskTypesResponse_Data) ProtoMessage() {}
func (*CrossActivityTaskGetManyTaskTypesResponse_Data) Descriptor() ([]byte, []int) {
	return fileDescriptor_5212160bd4c23d32, []int{1, 0}
}

func (m *CrossActivityTaskGetManyTaskTypesResponse_Data) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CrossActivityTaskGetManyTaskTypesResponse_Data.Unmarshal(m, b)
}
func (m *CrossActivityTaskGetManyTaskTypesResponse_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CrossActivityTaskGetManyTaskTypesResponse_Data.Marshal(b, m, deterministic)
}
func (m *CrossActivityTaskGetManyTaskTypesResponse_Data) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CrossActivityTaskGetManyTaskTypesResponse_Data.Merge(m, src)
}
func (m *CrossActivityTaskGetManyTaskTypesResponse_Data) XXX_Size() int {
	return xxx_messageInfo_CrossActivityTaskGetManyTaskTypesResponse_Data.Size(m)
}
func (m *CrossActivityTaskGetManyTaskTypesResponse_Data) XXX_DiscardUnknown() {
	xxx_messageInfo_CrossActivityTaskGetManyTaskTypesResponse_Data.DiscardUnknown(m)
}

var xxx_messageInfo_CrossActivityTaskGetManyTaskTypesResponse_Data proto.InternalMessageInfo

func (m *CrossActivityTaskGetManyTaskTypesResponse_Data) GetManyTaskTypes() map[string]*model.CrossActivityTaskTypes {
	if m != nil {
		return m.ManyTaskTypes
	}
	return nil
}

func init() {
	proto.RegisterType((*CrossActivityTaskGetManyTaskTypesRequest)(nil), "proto.CrossActivityTaskGetManyTaskTypesRequest")
	proto.RegisterType((*CrossActivityTaskGetManyTaskTypesResponse)(nil), "proto.CrossActivityTaskGetManyTaskTypesResponse")
	proto.RegisterType((*CrossActivityTaskGetManyTaskTypesResponse_Data)(nil), "proto.CrossActivityTaskGetManyTaskTypesResponse.Data")
	proto.RegisterMapType((map[string]*model.CrossActivityTaskTypes)(nil), "proto.CrossActivityTaskGetManyTaskTypesResponse.Data.ManyTaskTypesEntry")
}

func init() {
	proto.RegisterFile("service/cross_activity_task_game.proto", fileDescriptor_5212160bd4c23d32)
}

var fileDescriptor_5212160bd4c23d32 = []byte{
	// 319 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xcf, 0x4a, 0xc4, 0x30,
	0x10, 0xc6, 0xc9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 0x0d, 0x7b, 0x7f, 0x27, 0xbc, 0xe4,
	0x8a, 0x33, 0xd3, 0xc2, 0x7b, 0x25, 0x30, 0xd2, 0xaf, 0xb4, 0x82, 0x9d, 0x82, 0x97, 0xeb, 0xf4,
	0x94, 0xc6, 0xcd, 0x1e, 0x4e, 0x74, 0xf3, 0xaf, 0xf6, 0xe1, 0x97, 0xa3, 0xab, 0x52, 0xd5, 0x1d,
	0xdb, 0x2e, 0x3e, 0x7b, 0x5e, 0x0c, 0x74, 0x13, 0xd2, 0x19, 0xe6, 0xd8, 0x99, 0x08, 0x26, 0x4c,
	0x4b, 0xba, 0x80, 0x71, 0xcb, 0x57, 0x0d, 0x9a, 0x08, 0x9c, 0x68, 0xef, 0xb7, 0x79, 0xec, 0x10,
	0x96, 0x3d, 0x1d, 0x9c, 0x90, 0xe8, 0x85, 0x80, 0xbb, 0x41, 0xdd, 0xdb, 0x4b, 0x43, 0x1b, 0x98,
	0x7e, 0x5f, 0x80, 0xce, 0xfb, 0xaf, 0x6a, 0x7e, 0xb8, 0x77, 0xf4, 0xd7, 0x6c, 0x1e, 0xb6, 0x4c,
	0xc1, 0xe2, 0x3d, 0x00, 0x00, 0xff, 0xff, 0x75, 0xf8, 0xad, 0x41, 0xbd, 0x02, 0x00, 0x00,
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4

// CrossActivityTaskServiceClient is the client API for CrossActivityTaskService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type CrossActivityTaskServiceClient interface {
	//获取活动任务配置
	GetManyTaskTypes(ctx context.Context, in *CrossActivityTaskGetManyTaskTypesRequest, opts ...grpc.CallOption) (*CrossActivityTaskGetManyTaskTypesResponse, error)
}

type crossActivityTaskServiceClient struct {
	cc *grpc.ClientConn
}

func NewCrossActivityTaskServiceClient(cc *grpc.ClientConn) CrossActivityTaskServiceClient {
	return &crossActivityTaskServiceClient{cc}
}

func (c *crossActivityTaskServiceClient) GetManyTaskTypes(ctx context.Context, in *CrossActivityTaskGetManyTaskTypesRequest, opts ...grpc.CallOption) (*CrossActivityTaskGetManyTaskTypesResponse, error) {
	out := new(CrossActivityTaskGetManyTaskTypesResponse)
	err := c.cc.Invoke(ctx, "/proto.CrossActivityTaskService/GetManyTaskTypes", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// CrossActivityTaskServiceServer is the server API for CrossActivityTaskService service.
type CrossActivityTaskServiceServer interface {
	//获取活动任务配置
	GetManyTaskTypes(context.Context, *CrossActivityTaskGetManyTaskTypesRequest) (*CrossActivityTaskGetManyTaskTypesResponse, error)
}

// UnimplementedCrossActivityTaskServiceServer can be embedded to have forward compatible implementations.
type UnimplementedCrossActivityTaskServiceServer struct {
}

func (*UnimplementedCrossActivityTaskServiceServer) GetManyTaskTypes(ctx context.Context, req *CrossActivityTaskGetManyTaskTypesRequest) (*CrossActivityTaskGetManyTaskTypesResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetManyTaskTypes not implemented")
}

func RegisterCrossActivityTaskServiceServer(s *grpc.Server, srv CrossActivityTaskServiceServer) {
	s.RegisterService(&_CrossActivityTaskService_serviceDesc, srv)
}

func _CrossActivityTaskService_GetManyTaskTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CrossActivityTaskGetManyTaskTypesRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(CrossActivityTaskServiceServer).GetManyTaskTypes(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.CrossActivityTaskService/GetManyTaskTypes",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(CrossActivityTaskServiceServer).GetManyTaskTypes(ctx, req.(*CrossActivityTaskGetManyTaskTypesRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _CrossActivityTaskService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "proto.CrossActivityTaskService",
	HandlerType: (*CrossActivityTaskServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetManyTaskTypes",
			Handler:    _CrossActivityTaskService_GetManyTaskTypes_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service/cross_activity_task_game.proto",
}
