// Code generated by protoc-gen-go. DO NOT EDIT.
// source: service/cross_union_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 CrossUnionGetManyRequest struct {
	UnionIds             []string `protobuf:"bytes,1,rep,name=union_ids,json=unionIds,proto3" json:"union_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_CrossUnionGetManyRequest proto.InternalMessageInfo

func (m *CrossUnionGetManyRequest) GetUnionIds() []string {
	if m != nil {
		return m.UnionIds
	}
	return nil
}

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

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

var xxx_messageInfo_CrossUnionGetManyResponse proto.InternalMessageInfo

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

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

func (m *CrossUnionGetManyResponse) GetData() *CrossUnionGetManyResponse_Data {
	if m != nil {
		return m.Data
	}
	return nil
}

type CrossUnionGetManyResponse_Data struct {
	Items                map[string]*model.CrossUnionItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,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 *CrossUnionGetManyResponse_Data) Reset()         { *m = CrossUnionGetManyResponse_Data{} }
func (m *CrossUnionGetManyResponse_Data) String() string { return proto.CompactTextString(m) }
func (*CrossUnionGetManyResponse_Data) ProtoMessage()    {}
func (*CrossUnionGetManyResponse_Data) Descriptor() ([]byte, []int) {
	return fileDescriptor_1ad0bd8b2dae5ecb, []int{1, 0}
}

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

var xxx_messageInfo_CrossUnionGetManyResponse_Data proto.InternalMessageInfo

func (m *CrossUnionGetManyResponse_Data) GetItems() map[string]*model.CrossUnionItem {
	if m != nil {
		return m.Items
	}
	return nil
}

type CrossUnionGetUnionByRoleRequest struct {
	RoleIds              []string `protobuf:"bytes,1,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_CrossUnionGetUnionByRoleRequest proto.InternalMessageInfo

func (m *CrossUnionGetUnionByRoleRequest) GetRoleIds() []string {
	if m != nil {
		return m.RoleIds
	}
	return nil
}

type CrossUnionGetUnionByRoleResponse 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                 *CrossUnionGetUnionByRoleResponse_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 *CrossUnionGetUnionByRoleResponse) Reset()         { *m = CrossUnionGetUnionByRoleResponse{} }
func (m *CrossUnionGetUnionByRoleResponse) String() string { return proto.CompactTextString(m) }
func (*CrossUnionGetUnionByRoleResponse) ProtoMessage()    {}
func (*CrossUnionGetUnionByRoleResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_1ad0bd8b2dae5ecb, []int{3}
}

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

var xxx_messageInfo_CrossUnionGetUnionByRoleResponse proto.InternalMessageInfo

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

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

func (m *CrossUnionGetUnionByRoleResponse) GetData() *CrossUnionGetUnionByRoleResponse_Data {
	if m != nil {
		return m.Data
	}
	return nil
}

type CrossUnionGetUnionByRoleResponse_Data struct {
	Items                map[string]*model.CrossUnionItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,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 *CrossUnionGetUnionByRoleResponse_Data) Reset()         { *m = CrossUnionGetUnionByRoleResponse_Data{} }
func (m *CrossUnionGetUnionByRoleResponse_Data) String() string { return proto.CompactTextString(m) }
func (*CrossUnionGetUnionByRoleResponse_Data) ProtoMessage()    {}
func (*CrossUnionGetUnionByRoleResponse_Data) Descriptor() ([]byte, []int) {
	return fileDescriptor_1ad0bd8b2dae5ecb, []int{3, 0}
}

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

var xxx_messageInfo_CrossUnionGetUnionByRoleResponse_Data proto.InternalMessageInfo

func (m *CrossUnionGetUnionByRoleResponse_Data) GetItems() map[string]*model.CrossUnionItem {
	if m != nil {
		return m.Items
	}
	return nil
}

type CrossUnionCreateRequest struct {
	Union                *model.CrossUnion `protobuf:"bytes,1,opt,name=union,proto3" json:"union,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

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

var xxx_messageInfo_CrossUnionCreateRequest proto.InternalMessageInfo

func (m *CrossUnionCreateRequest) GetUnion() *model.CrossUnion {
	if m != nil {
		return m.Union
	}
	return nil
}

type CrossUnionCreateResponse 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                 *CrossUnionCreateResponse_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 *CrossUnionCreateResponse) Reset()         { *m = CrossUnionCreateResponse{} }
func (m *CrossUnionCreateResponse) String() string { return proto.CompactTextString(m) }
func (*CrossUnionCreateResponse) ProtoMessage()    {}
func (*CrossUnionCreateResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_1ad0bd8b2dae5ecb, []int{5}
}

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

var xxx_messageInfo_CrossUnionCreateResponse proto.InternalMessageInfo

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

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

func (m *CrossUnionCreateResponse) GetData() *CrossUnionCreateResponse_Data {
	if m != nil {
		return m.Data
	}
	return nil
}

type CrossUnionCreateResponse_Data struct {
	Result               int32    `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_CrossUnionCreateResponse_Data proto.InternalMessageInfo

func (m *CrossUnionCreateResponse_Data) GetResult() int32 {
	if m != nil {
		return m.Result
	}
	return 0
}

type CrossUnionHasExistsNameRequest struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_CrossUnionHasExistsNameRequest proto.InternalMessageInfo

func (m *CrossUnionHasExistsNameRequest) GetName() string {
	if m != nil {
		return m.Name
	}
	return ""
}

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

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

var xxx_messageInfo_CrossUnionHasExistsNameResponse proto.InternalMessageInfo

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

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

func (m *CrossUnionHasExistsNameResponse) GetData() *CrossUnionHasExistsNameResponse_Data {
	if m != nil {
		return m.Data
	}
	return nil
}

type CrossUnionHasExistsNameResponse_Data struct {
	Exists               bool     `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_CrossUnionHasExistsNameResponse_Data proto.InternalMessageInfo

func (m *CrossUnionHasExistsNameResponse_Data) GetExists() bool {
	if m != nil {
		return m.Exists
	}
	return false
}

func init() {
	proto.RegisterType((*CrossUnionGetManyRequest)(nil), "proto.CrossUnionGetManyRequest")
	proto.RegisterType((*CrossUnionGetManyResponse)(nil), "proto.CrossUnionGetManyResponse")
	proto.RegisterType((*CrossUnionGetManyResponse_Data)(nil), "proto.CrossUnionGetManyResponse.Data")
	proto.RegisterMapType((map[string]*model.CrossUnionItem)(nil), "proto.CrossUnionGetManyResponse.Data.ItemsEntry")
	proto.RegisterType((*CrossUnionGetUnionByRoleRequest)(nil), "proto.CrossUnionGetUnionByRoleRequest")
	proto.RegisterType((*CrossUnionGetUnionByRoleResponse)(nil), "proto.CrossUnionGetUnionByRoleResponse")
	proto.RegisterType((*CrossUnionGetUnionByRoleResponse_Data)(nil), "proto.CrossUnionGetUnionByRoleResponse.Data")
	proto.RegisterMapType((map[string]*model.CrossUnionItem)(nil), "proto.CrossUnionGetUnionByRoleResponse.Data.ItemsEntry")
	proto.RegisterType((*CrossUnionCreateRequest)(nil), "proto.CrossUnionCreateRequest")
	proto.RegisterType((*CrossUnionCreateResponse)(nil), "proto.CrossUnionCreateResponse")
	proto.RegisterType((*CrossUnionCreateResponse_Data)(nil), "proto.CrossUnionCreateResponse.Data")
	proto.RegisterType((*CrossUnionHasExistsNameRequest)(nil), "proto.CrossUnionHasExistsNameRequest")
	proto.RegisterType((*CrossUnionHasExistsNameResponse)(nil), "proto.CrossUnionHasExistsNameResponse")
	proto.RegisterType((*CrossUnionHasExistsNameResponse_Data)(nil), "proto.CrossUnionHasExistsNameResponse.Data")
}

func init() { proto.RegisterFile("service/cross_union_game.proto", fileDescriptor_1ad0bd8b2dae5ecb) }

var fileDescriptor_1ad0bd8b2dae5ecb = []byte{
	// 529 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x94, 0x41, 0x6f, 0xd3, 0x30,
	0x14, 0xc7, 0x95, 0xb4, 0xe9, 0xda, 0x57, 0x40, 0x60, 0x09, 0x96, 0x15, 0xa9, 0x8d, 0x22, 0xb6,
	0x55, 0x1a, 0x2a, 0x28, 0x20, 0x6d, 0x20, 0x24, 0xd0, 0xc6, 0x80, 0x4a, 0x0c, 0x24, 0x23, 0xae,
	0x4c, 0xa6, 0x79, 0xa0, 0x88, 0x24, 0x1e, 0xb1, 0x3b, 0xd1, 0xef, 0x82, 0x04, 0x27, 0x0e, 0xdc,
	0xf9, 0x52, 0x7c, 0x0a, 0x64, 0x3b, 0x5d, 0x13, 0xda, 0xa8, 0xed, 0x65, 0xa7, 0xd8, 0xcf, 0x7e,
	0xff, 0xe7, 0xff, 0x2f, 0xf6, 0x83, 0xae, 0xc0, 0xec, 0x3c, 0x1a, 0xe1, 0xbd, 0x51, 0xc6, 0x85,
	0x38, 0x1d, 0xa7, 0x11, 0x4f, 0x4f, 0x3f, 0xb3, 0x04, 0x07, 0x67, 0x19, 0x97, 0x9c, 0x38, 0xfa,
	0xd3, 0xd9, 0x4c, 0x78, 0x88, 0x71, 0x71, 0x93, 0x59, 0xf7, 0xf7, 0xc1, 0x3d, 0x52, 0xc1, 0xf7,
	0x2a, 0xf6, 0x12, 0xe5, 0x09, 0x4b, 0x27, 0x14, 0xbf, 0x8e, 0x51, 0x48, 0x72, 0x1b, 0x5a, 0x46,
	0x2f, 0x0a, 0x85, 0x6b, 0x79, 0xb5, 0x7e, 0x8b, 0x36, 0x75, 0x60, 0x18, 0x0a, 0xff, 0xa7, 0x0d,
	0x5b, 0x0b, 0x32, 0xc5, 0x19, 0x4f, 0x05, 0x12, 0x02, 0xf5, 0x11, 0x0f, 0xd1, 0xb5, 0x3c, 0xab,
	0x4f, 0xa8, 0x1e, 0xab, 0x58, 0x94, 0x7e, 0xe2, 0xae, 0xed, 0x59, 0xfd, 0x16, 0xd5, 0x63, 0xf2,
	0x08, 0xea, 0x21, 0x93, 0xcc, 0xad, 0x79, 0x56, 0xbf, 0x1d, 0x6c, 0x9b, 0x43, 0x0d, 0x2a, 0x75,
	0x07, 0xcf, 0x99, 0x64, 0x54, 0xa7, 0x74, 0x7e, 0x58, 0x50, 0x57, 0x53, 0xf2, 0x02, 0x9c, 0x48,
	0x62, 0x62, 0x8e, 0xd8, 0x0e, 0xee, 0xaf, 0x24, 0x32, 0x18, 0xaa, 0x94, 0xe3, 0x54, 0x66, 0x13,
	0x6a, 0xd2, 0x3b, 0x6f, 0x01, 0x66, 0x41, 0x72, 0x1d, 0x6a, 0x5f, 0x70, 0xa2, 0x0d, 0xb4, 0xa8,
	0x1a, 0x92, 0x3d, 0x70, 0xce, 0x59, 0x3c, 0x46, 0x6d, 0xa0, 0x1d, 0xdc, 0x9c, 0xab, 0xa3, 0xb2,
	0xa9, 0xd9, 0xf3, 0xd8, 0x3e, 0xb0, 0xfc, 0x27, 0xd0, 0x2b, 0x1d, 0x42, 0x7f, 0x0f, 0x27, 0x94,
	0xc7, 0x38, 0x45, 0xbc, 0x05, 0xcd, 0x8c, 0xc7, 0x58, 0x20, 0xbc, 0xa1, 0xe6, 0x0a, 0xf0, 0x1f,
	0x1b, 0xbc, 0xea, 0xf4, 0x35, 0x39, 0x3f, 0x2b, 0x71, 0xbe, 0xbb, 0x08, 0xd1, 0x02, 0xf9, 0x22,
	0xee, 0x5f, 0x53, 0xdc, 0x27, 0x65, 0xdc, 0xfb, 0xeb, 0x68, 0x5d, 0x06, 0xf5, 0x43, 0xd8, 0x9c,
	0x2d, 0x1e, 0x65, 0xc8, 0xe4, 0x05, 0xed, 0x5d, 0x70, 0xf4, 0xfd, 0xd5, 0xfa, 0xed, 0xe0, 0xc6,
	0x9c, 0x16, 0x35, 0xeb, 0xfe, 0x77, 0xab, 0xf8, 0x2c, 0xa6, 0x22, 0x6b, 0x32, 0x3f, 0x28, 0x31,
	0xbf, 0x33, 0x57, 0xac, 0x2c, 0x5b, 0x64, 0xdd, 0xcd, 0x51, 0xdf, 0x82, 0x46, 0x86, 0x62, 0x1c,
	0x4b, 0x5d, 0xcb, 0xa1, 0xf9, 0xcc, 0x7f, 0x08, 0xdd, 0x99, 0xcc, 0x2b, 0x26, 0x8e, 0xbf, 0x45,
	0x42, 0x8a, 0x37, 0x2c, 0xb9, 0x70, 0x4a, 0xa0, 0x9e, 0xb2, 0x04, 0x73, 0x90, 0x7a, 0xec, 0xff,
	0xb6, 0x8a, 0xf7, 0xf1, 0xbf, 0xb4, 0x35, 0xbd, 0x3d, 0x2d, 0x79, 0xdb, 0x9b, 0xf3, 0xb6, 0x50,
	0xbd, 0xc2, 0x22, 0xea, 0x8d, 0xba, 0x64, 0x93, 0xe6, 0xb3, 0xe0, 0xaf, 0x0d, 0x57, 0xb4, 0xd2,
	0x3b, 0xd3, 0xdf, 0xc8, 0x10, 0x1a, 0x06, 0x18, 0xe9, 0x56, 0x92, 0xd4, 0xde, 0x3b, 0xbd, 0x25,
	0xa4, 0xc9, 0x6b, 0xd8, 0xc8, 0x5b, 0x02, 0xe9, 0x55, 0x37, 0x0b, 0x23, 0xe6, 0x2d, 0xeb, 0x26,
	0x84, 0xc1, 0xb5, 0xf2, 0x8d, 0x27, 0x3b, 0x4b, 0x9f, 0x84, 0xd1, 0xde, 0x5d, 0xf1, 0xe9, 0x90,
	0x0f, 0x70, 0xb5, 0x04, 0x94, 0x6c, 0x2f, 0x03, 0x6e, 0x0a, 0xec, 0xac, 0xf6, 0x5f, 0x3e, 0x36,
	0xf4, 0xb6, 0x07, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa4, 0xef, 0x77, 0xa7, 0x4d, 0x06, 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

// UnionServiceClient is the client API for UnionService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type UnionServiceClient interface {
	Create(ctx context.Context, in *CrossUnionCreateRequest, opts ...grpc.CallOption) (*CrossUnionCreateResponse, error)
	GetMany(ctx context.Context, in *CrossUnionGetManyRequest, opts ...grpc.CallOption) (*CrossUnionGetManyResponse, error)
	GetUnionByRole(ctx context.Context, in *CrossUnionGetUnionByRoleRequest, opts ...grpc.CallOption) (*CrossUnionGetUnionByRoleResponse, error)
	HasExistsName(ctx context.Context, in *CrossUnionHasExistsNameRequest, opts ...grpc.CallOption) (*CrossUnionHasExistsNameResponse, error)
}

type unionServiceClient struct {
	cc *grpc.ClientConn
}

func NewUnionServiceClient(cc *grpc.ClientConn) UnionServiceClient {
	return &unionServiceClient{cc}
}

func (c *unionServiceClient) Create(ctx context.Context, in *CrossUnionCreateRequest, opts ...grpc.CallOption) (*CrossUnionCreateResponse, error) {
	out := new(CrossUnionCreateResponse)
	err := c.cc.Invoke(ctx, "/proto.UnionService/Create", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *unionServiceClient) GetMany(ctx context.Context, in *CrossUnionGetManyRequest, opts ...grpc.CallOption) (*CrossUnionGetManyResponse, error) {
	out := new(CrossUnionGetManyResponse)
	err := c.cc.Invoke(ctx, "/proto.UnionService/GetMany", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *unionServiceClient) GetUnionByRole(ctx context.Context, in *CrossUnionGetUnionByRoleRequest, opts ...grpc.CallOption) (*CrossUnionGetUnionByRoleResponse, error) {
	out := new(CrossUnionGetUnionByRoleResponse)
	err := c.cc.Invoke(ctx, "/proto.UnionService/GetUnionByRole", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *unionServiceClient) HasExistsName(ctx context.Context, in *CrossUnionHasExistsNameRequest, opts ...grpc.CallOption) (*CrossUnionHasExistsNameResponse, error) {
	out := new(CrossUnionHasExistsNameResponse)
	err := c.cc.Invoke(ctx, "/proto.UnionService/HasExistsName", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// UnionServiceServer is the server API for UnionService service.
type UnionServiceServer interface {
	Create(context.Context, *CrossUnionCreateRequest) (*CrossUnionCreateResponse, error)
	GetMany(context.Context, *CrossUnionGetManyRequest) (*CrossUnionGetManyResponse, error)
	GetUnionByRole(context.Context, *CrossUnionGetUnionByRoleRequest) (*CrossUnionGetUnionByRoleResponse, error)
	HasExistsName(context.Context, *CrossUnionHasExistsNameRequest) (*CrossUnionHasExistsNameResponse, error)
}

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

func (*UnimplementedUnionServiceServer) Create(ctx context.Context, req *CrossUnionCreateRequest) (*CrossUnionCreateResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Create not implemented")
}
func (*UnimplementedUnionServiceServer) GetMany(ctx context.Context, req *CrossUnionGetManyRequest) (*CrossUnionGetManyResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetMany not implemented")
}
func (*UnimplementedUnionServiceServer) GetUnionByRole(ctx context.Context, req *CrossUnionGetUnionByRoleRequest) (*CrossUnionGetUnionByRoleResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetUnionByRole not implemented")
}
func (*UnimplementedUnionServiceServer) HasExistsName(ctx context.Context, req *CrossUnionHasExistsNameRequest) (*CrossUnionHasExistsNameResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method HasExistsName not implemented")
}

func RegisterUnionServiceServer(s *grpc.Server, srv UnionServiceServer) {
	s.RegisterService(&_UnionService_serviceDesc, srv)
}

func _UnionService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CrossUnionCreateRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UnionServiceServer).Create(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.UnionService/Create",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UnionServiceServer).Create(ctx, req.(*CrossUnionCreateRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UnionService_GetMany_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CrossUnionGetManyRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UnionServiceServer).GetMany(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.UnionService/GetMany",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UnionServiceServer).GetMany(ctx, req.(*CrossUnionGetManyRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UnionService_GetUnionByRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CrossUnionGetUnionByRoleRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UnionServiceServer).GetUnionByRole(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.UnionService/GetUnionByRole",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UnionServiceServer).GetUnionByRole(ctx, req.(*CrossUnionGetUnionByRoleRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UnionService_HasExistsName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CrossUnionHasExistsNameRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UnionServiceServer).HasExistsName(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.UnionService/HasExistsName",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UnionServiceServer).HasExistsName(ctx, req.(*CrossUnionHasExistsNameRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _UnionService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "proto.UnionService",
	HandlerType: (*UnionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _UnionService_Create_Handler,
		},
		{
			MethodName: "GetMany",
			Handler:    _UnionService_GetMany_Handler,
		},
		{
			MethodName: "GetUnionByRole",
			Handler:    _UnionService_GetUnionByRole_Handler,
		},
		{
			MethodName: "HasExistsName",
			Handler:    _UnionService_HasExistsName_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service/cross_union_game.proto",
}
