// Code generated by protoc-gen-go. DO NOT EDIT.
// source: service/cross_official_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 CrossOfficialGetQuestionnairesRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_CrossOfficialGetQuestionnairesRequest proto.InternalMessageInfo

type CrossOfficialGetQuestionnairesResponse 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                 *CrossOfficialGetQuestionnairesResponse_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 *CrossOfficialGetQuestionnairesResponse) Reset() {
	*m = CrossOfficialGetQuestionnairesResponse{}
}
func (m *CrossOfficialGetQuestionnairesResponse) String() string { return proto.CompactTextString(m) }
func (*CrossOfficialGetQuestionnairesResponse) ProtoMessage()    {}
func (*CrossOfficialGetQuestionnairesResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_de1d5394b7be8ead, []int{1}
}

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

var xxx_messageInfo_CrossOfficialGetQuestionnairesResponse proto.InternalMessageInfo

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

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

func (m *CrossOfficialGetQuestionnairesResponse) GetData() *CrossOfficialGetQuestionnairesResponse_Data {
	if m != nil {
		return m.Data
	}
	return nil
}

type CrossOfficialGetQuestionnairesResponse_Data struct {
	Questionnaire        []*CrossQuestionnaire `protobuf:"bytes,1,rep,name=questionnaire,proto3" json:"questionnaire,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

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

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

var xxx_messageInfo_CrossOfficialGetQuestionnairesResponse_Data proto.InternalMessageInfo

func (m *CrossOfficialGetQuestionnairesResponse_Data) GetQuestionnaire() []*CrossQuestionnaire {
	if m != nil {
		return m.Questionnaire
	}
	return nil
}

type CrossQuestionnaire struct {
	Id                   string                   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Url                  string                   `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Award                []*model.GameObjectCount `protobuf:"bytes,3,rep,name=award,proto3" json:"award,omitempty"`
	StartTime            int64                    `protobuf:"zigzag64,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime              int64                    `protobuf:"zigzag64,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (m *CrossQuestionnaire) Reset()         { *m = CrossQuestionnaire{} }
func (m *CrossQuestionnaire) String() string { return proto.CompactTextString(m) }
func (*CrossQuestionnaire) ProtoMessage()    {}
func (*CrossQuestionnaire) Descriptor() ([]byte, []int) {
	return fileDescriptor_de1d5394b7be8ead, []int{2}
}

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

var xxx_messageInfo_CrossQuestionnaire proto.InternalMessageInfo

func (m *CrossQuestionnaire) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *CrossQuestionnaire) GetUrl() string {
	if m != nil {
		return m.Url
	}
	return ""
}

func (m *CrossQuestionnaire) GetAward() []*model.GameObjectCount {
	if m != nil {
		return m.Award
	}
	return nil
}

func (m *CrossQuestionnaire) GetStartTime() int64 {
	if m != nil {
		return m.StartTime
	}
	return 0
}

func (m *CrossQuestionnaire) GetEndTime() int64 {
	if m != nil {
		return m.EndTime
	}
	return 0
}

type CrossOfficialSwitchAgeRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	AgeSwitch            int32    `protobuf:"zigzag32,2,opt,name=age_switch,json=ageSwitch,proto3" json:"age_switch,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *CrossOfficialSwitchAgeRequest) Reset()         { *m = CrossOfficialSwitchAgeRequest{} }
func (m *CrossOfficialSwitchAgeRequest) String() string { return proto.CompactTextString(m) }
func (*CrossOfficialSwitchAgeRequest) ProtoMessage()    {}
func (*CrossOfficialSwitchAgeRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_de1d5394b7be8ead, []int{3}
}

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

var xxx_messageInfo_CrossOfficialSwitchAgeRequest proto.InternalMessageInfo

func (m *CrossOfficialSwitchAgeRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *CrossOfficialSwitchAgeRequest) GetAgeSwitch() int32 {
	if m != nil {
		return m.AgeSwitch
	}
	return 0
}

type CrossOfficialSwitchAgeResponse 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *CrossOfficialSwitchAgeResponse) Reset()         { *m = CrossOfficialSwitchAgeResponse{} }
func (m *CrossOfficialSwitchAgeResponse) String() string { return proto.CompactTextString(m) }
func (*CrossOfficialSwitchAgeResponse) ProtoMessage()    {}
func (*CrossOfficialSwitchAgeResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_de1d5394b7be8ead, []int{4}
}

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

var xxx_messageInfo_CrossOfficialSwitchAgeResponse proto.InternalMessageInfo

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

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

type CrossOfficialGetRoleRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId               string   `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *CrossOfficialGetRoleRequest) Reset()         { *m = CrossOfficialGetRoleRequest{} }
func (m *CrossOfficialGetRoleRequest) String() string { return proto.CompactTextString(m) }
func (*CrossOfficialGetRoleRequest) ProtoMessage()    {}
func (*CrossOfficialGetRoleRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_de1d5394b7be8ead, []int{5}
}

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

var xxx_messageInfo_CrossOfficialGetRoleRequest proto.InternalMessageInfo

func (m *CrossOfficialGetRoleRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *CrossOfficialGetRoleRequest) GetUserId() string {
	if m != nil {
		return m.UserId
	}
	return ""
}

type CrossOfficialGetRoleResponse 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                 *CrossOfficialGetRoleResponse_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 *CrossOfficialGetRoleResponse) Reset()         { *m = CrossOfficialGetRoleResponse{} }
func (m *CrossOfficialGetRoleResponse) String() string { return proto.CompactTextString(m) }
func (*CrossOfficialGetRoleResponse) ProtoMessage()    {}
func (*CrossOfficialGetRoleResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_de1d5394b7be8ead, []int{6}
}

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

var xxx_messageInfo_CrossOfficialGetRoleResponse proto.InternalMessageInfo

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

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

func (m *CrossOfficialGetRoleResponse) GetData() *CrossOfficialGetRoleResponse_Data {
	if m != nil {
		return m.Data
	}
	return nil
}

type CrossOfficialGetRoleResponse_Data struct {
	AgeSwitch            int32    `protobuf:"zigzag32,1,opt,name=age_switch,json=ageSwitch,proto3" json:"age_switch,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_CrossOfficialGetRoleResponse_Data proto.InternalMessageInfo

func (m *CrossOfficialGetRoleResponse_Data) GetAgeSwitch() int32 {
	if m != nil {
		return m.AgeSwitch
	}
	return 0
}

func init() {
	proto.RegisterType((*CrossOfficialGetQuestionnairesRequest)(nil), "proto.CrossOfficialGetQuestionnairesRequest")
	proto.RegisterType((*CrossOfficialGetQuestionnairesResponse)(nil), "proto.CrossOfficialGetQuestionnairesResponse")
	proto.RegisterType((*CrossOfficialGetQuestionnairesResponse_Data)(nil), "proto.CrossOfficialGetQuestionnairesResponse.Data")
	proto.RegisterType((*CrossQuestionnaire)(nil), "proto.CrossQuestionnaire")
	proto.RegisterType((*CrossOfficialSwitchAgeRequest)(nil), "proto.CrossOfficialSwitchAgeRequest")
	proto.RegisterType((*CrossOfficialSwitchAgeResponse)(nil), "proto.CrossOfficialSwitchAgeResponse")
	proto.RegisterType((*CrossOfficialGetRoleRequest)(nil), "proto.CrossOfficialGetRoleRequest")
	proto.RegisterType((*CrossOfficialGetRoleResponse)(nil), "proto.CrossOfficialGetRoleResponse")
	proto.RegisterType((*CrossOfficialGetRoleResponse_Data)(nil), "proto.CrossOfficialGetRoleResponse.Data")
}

func init() { proto.RegisterFile("service/cross_official_game.proto", fileDescriptor_de1d5394b7be8ead) }

var fileDescriptor_de1d5394b7be8ead = []byte{
	// 486 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xdd, 0x6e, 0xd3, 0x4c,
	0x10, 0xd5, 0xe6, 0xa7, 0xf9, 0x32, 0xd5, 0x07, 0x65, 0x2e, 0x88, 0x1b, 0x08, 0x0a, 0x86, 0x80,
	0x2f, 0x4a, 0x2a, 0x85, 0x5b, 0x24, 0x14, 0x15, 0x35, 0x70, 0x43, 0xc5, 0x16, 0xae, 0xad, 0xad,
	0x77, 0x12, 0x16, 0xc5, 0xde, 0x76, 0x77, 0x93, 0xbe, 0x0d, 0x2f, 0xc0, 0x3b, 0xf0, 0x2e, 0xbc,
	0x09, 0xf2, 0xda, 0xa0, 0x38, 0x6d, 0x68, 0x72, 0xe5, 0x5d, 0xcf, 0x99, 0x33, 0x33, 0x67, 0xce,
	0xc2, 0x53, 0x4b, 0x66, 0xa9,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 0x99, 0xf1, 0x9f, 0x99, 0xf1, 0xf9, 0x6d, 0x89, 0xeb, 0x46, 0xec, 0x0e, 0xee,
	0x40, 0x15, 0x05, 0x2e, 0xf6, 0x3c, 0xea, 0xf5, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x89, 0x71,
	0x7e, 0x3f, 0xca, 0x04, 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

// OfficialServiceClient is the client API for OfficialService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type OfficialServiceClient interface {
	GetActiveQuestionnaires(ctx context.Context, in *CrossOfficialGetQuestionnairesRequest, opts ...grpc.CallOption) (*CrossOfficialGetQuestionnairesResponse, error)
	GetRole(ctx context.Context, in *CrossOfficialGetRoleRequest, opts ...grpc.CallOption) (*CrossOfficialGetRoleResponse, error)
	SetUserAgeSwitch(ctx context.Context, in *CrossOfficialSwitchAgeRequest, opts ...grpc.CallOption) (*CrossOfficialSwitchAgeResponse, error)
}

type officialServiceClient struct {
	cc *grpc.ClientConn
}

func NewOfficialServiceClient(cc *grpc.ClientConn) OfficialServiceClient {
	return &officialServiceClient{cc}
}

func (c *officialServiceClient) GetActiveQuestionnaires(ctx context.Context, in *CrossOfficialGetQuestionnairesRequest, opts ...grpc.CallOption) (*CrossOfficialGetQuestionnairesResponse, error) {
	out := new(CrossOfficialGetQuestionnairesResponse)
	err := c.cc.Invoke(ctx, "/proto.OfficialService/GetActiveQuestionnaires", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *officialServiceClient) GetRole(ctx context.Context, in *CrossOfficialGetRoleRequest, opts ...grpc.CallOption) (*CrossOfficialGetRoleResponse, error) {
	out := new(CrossOfficialGetRoleResponse)
	err := c.cc.Invoke(ctx, "/proto.OfficialService/GetRole", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *officialServiceClient) SetUserAgeSwitch(ctx context.Context, in *CrossOfficialSwitchAgeRequest, opts ...grpc.CallOption) (*CrossOfficialSwitchAgeResponse, error) {
	out := new(CrossOfficialSwitchAgeResponse)
	err := c.cc.Invoke(ctx, "/proto.OfficialService/SetUserAgeSwitch", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// OfficialServiceServer is the server API for OfficialService service.
type OfficialServiceServer interface {
	GetActiveQuestionnaires(context.Context, *CrossOfficialGetQuestionnairesRequest) (*CrossOfficialGetQuestionnairesResponse, error)
	GetRole(context.Context, *CrossOfficialGetRoleRequest) (*CrossOfficialGetRoleResponse, error)
	SetUserAgeSwitch(context.Context, *CrossOfficialSwitchAgeRequest) (*CrossOfficialSwitchAgeResponse, error)
}

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

func (*UnimplementedOfficialServiceServer) GetActiveQuestionnaires(ctx context.Context, req *CrossOfficialGetQuestionnairesRequest) (*CrossOfficialGetQuestionnairesResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetActiveQuestionnaires not implemented")
}
func (*UnimplementedOfficialServiceServer) GetRole(ctx context.Context, req *CrossOfficialGetRoleRequest) (*CrossOfficialGetRoleResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetRole not implemented")
}
func (*UnimplementedOfficialServiceServer) SetUserAgeSwitch(ctx context.Context, req *CrossOfficialSwitchAgeRequest) (*CrossOfficialSwitchAgeResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method SetUserAgeSwitch not implemented")
}

func RegisterOfficialServiceServer(s *grpc.Server, srv OfficialServiceServer) {
	s.RegisterService(&_OfficialService_serviceDesc, srv)
}

func _OfficialService_GetActiveQuestionnaires_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CrossOfficialGetQuestionnairesRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OfficialServiceServer).GetActiveQuestionnaires(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.OfficialService/GetActiveQuestionnaires",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OfficialServiceServer).GetActiveQuestionnaires(ctx, req.(*CrossOfficialGetQuestionnairesRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _OfficialService_GetRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CrossOfficialGetRoleRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OfficialServiceServer).GetRole(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.OfficialService/GetRole",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OfficialServiceServer).GetRole(ctx, req.(*CrossOfficialGetRoleRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _OfficialService_SetUserAgeSwitch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CrossOfficialSwitchAgeRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OfficialServiceServer).SetUserAgeSwitch(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.OfficialService/SetUserAgeSwitch",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OfficialServiceServer).SetUserAgeSwitch(ctx, req.(*CrossOfficialSwitchAgeRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _OfficialService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "proto.OfficialService",
	HandlerType: (*OfficialServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetActiveQuestionnaires",
			Handler:    _OfficialService_GetActiveQuestionnaires_Handler,
		},
		{
			MethodName: "GetRole",
			Handler:    _OfficialService_GetRole_Handler,
		},
		{
			MethodName: "SetUserAgeSwitch",
			Handler:    _OfficialService_SetUserAgeSwitch_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service/cross_official_game.proto",
}
