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

package proto

import (
	context "context"
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
	math "math"
	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 CrossInternalAnnouncementGetLikesRequest struct {
	InternalAnnouncementId string   `protobuf:"bytes,1,opt,name=internal_announcementId,json=internalAnnouncementId,proto3" json:"internal_announcementId,omitempty"`
	XXX_NoUnkeyedLiteral   struct{} `json:"-"`
	XXX_unrecognized       []byte   `json:"-"`
	XXX_sizecache          int32    `json:"-"`
}

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

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

var xxx_messageInfo_CrossInternalAnnouncementGetLikesRequest proto.InternalMessageInfo

func (m *CrossInternalAnnouncementGetLikesRequest) GetInternalAnnouncementId() string {
	if m != nil {
		return m.InternalAnnouncementId
	}
	return ""
}

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

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

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

var xxx_messageInfo_CrossInternalAnnouncementLikeRequest proto.InternalMessageInfo

func (m *CrossInternalAnnouncementLikeRequest) GetInternalAnnouncementId() string {
	if m != nil {
		return m.InternalAnnouncementId
	}
	return ""
}

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

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

var xxx_messageInfo_CrossInternalAnnouncementResponse proto.InternalMessageInfo

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

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

func (m *CrossInternalAnnouncementResponse) GetData() *CrossInternalAnnouncementResponse_Data {
	if m != nil {
		return m.Data
	}
	return nil
}

type CrossInternalAnnouncementResponse_Data struct {
	Likes                int64    `protobuf:"zigzag64,1,opt,name=likes,proto3" json:"likes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_CrossInternalAnnouncementResponse_Data proto.InternalMessageInfo

func (m *CrossInternalAnnouncementResponse_Data) GetLikes() int64 {
	if m != nil {
		return m.Likes
	}
	return 0
}

type CrossInternalAnnouncementGetAllRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_CrossInternalAnnouncementGetAllRequest proto.InternalMessageInfo

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

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

var xxx_messageInfo_CrossInternalAnnouncementGetAllResponse proto.InternalMessageInfo

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

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

func (m *CrossInternalAnnouncementGetAllResponse) GetData() *CrossInternalAnnouncementGetAllResponse_Data {
	if m != nil {
		return m.Data
	}
	return nil
}

type CrossInternalAnnouncementGetAllResponse_Data struct {
	InternalAnnouncements []*model.CrossInternalAnnouncement `protobuf:"bytes,1,rep,name=internal_announcements,json=internalAnnouncements,proto3" json:"internal_announcements,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}                           `json:"-"`
	XXX_unrecognized      []byte                             `json:"-"`
	XXX_sizecache         int32                              `json:"-"`
}

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

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

var xxx_messageInfo_CrossInternalAnnouncementGetAllResponse_Data proto.InternalMessageInfo

func (m *CrossInternalAnnouncementGetAllResponse_Data) GetInternalAnnouncements() []*model.CrossInternalAnnouncement {
	if m != nil {
		return m.InternalAnnouncements
	}
	return nil
}

func init() {
	proto.RegisterType((*CrossInternalAnnouncementGetLikesRequest)(nil), "proto.CrossInternalAnnouncementGetLikesRequest")
	proto.RegisterType((*CrossInternalAnnouncementLikeRequest)(nil), "proto.CrossInternalAnnouncementLikeRequest")
	proto.RegisterType((*CrossInternalAnnouncementResponse)(nil), "proto.CrossInternalAnnouncementResponse")
	proto.RegisterType((*CrossInternalAnnouncementResponse_Data)(nil), "proto.CrossInternalAnnouncementResponse.Data")
	proto.RegisterType((*CrossInternalAnnouncementGetAllRequest)(nil), "proto.CrossInternalAnnouncementGetAllRequest")
	proto.RegisterType((*CrossInternalAnnouncementGetAllResponse)(nil), "proto.CrossInternalAnnouncementGetAllResponse")
	proto.RegisterType((*CrossInternalAnnouncementGetAllResponse_Data)(nil), "proto.CrossInternalAnnouncementGetAllResponse.Data")
}

func init() {
	proto.RegisterFile("service/cross_internal_announcement_game.proto", fileDescriptor_bd694f53eb99901b)
}

var fileDescriptor_bd694f53eb99901b = []byte{
	// 348 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x53, 0xcd, 0x4a, 0xf3, 0x40,
	0x14, 0x25, 0x6d, 0x5a, 0xbe, 0xef, 0x76, 0x77, 0xd1, 0x5a, 0xa2, 0x8b, 0x1a, 0xc4, 0x06, 0xa4,
	0x29, 0xb4, 0x0b, 0xd7, 0x45, 0xa1, 0x14, 0x5c, 0xc5, 0x85, 0x2b, 0x09, 0x63, 0x72, 0x2d, 0xc1,
	0x74, 0xa6, 0x66, 0xa6, 0x3e, 0x95, 0x8f, 0xe2, 0x1b, 0xb9, 0x91, 0x99, 0x44, 0x48, 0x21, 0x6d,
	0x52, 0x5c, 0x65, 0x26, 0x9c, 0x9f, 0x9c, 0x73, 0x73, 0xc1, 0x97, 0x94, 0x7d, 0x24, 0x11, 0x4d,
	0xa2, 0x4c, 0x48, 0x19, 0x26, 0x5c, 0x51, 0xc6, 0x59, 0x1a, 0x32, 0xce, 0xc5, 0x96, 0x47, 0xb4,
	0x26, 0xae, 0xc2, 0x15, 0x5b, 0x93, 0xbf, 0xc9, 0x84, 0x12, 0xd8, 0x31, 0x0f, 0x67, 0xb4, 0x16,
	0x31, 0xa5, 0x87, 0x48, 0x39, 0xde, 0x8d, 0xc0, 0xbb, 0xd3, 0xa0, 0x65, 0x81, 0x99, 0x97, 0x20,
	0x0b, 0x52, 0x0f, 0xc9, 0x1b, 0xc9, 0x80, 0xde, 0xb7, 0x24, 0x15, 0xde, 0xc2, 0x59, 0xa5, 0xd4,
	0x32, 0x1e, 0x58, 0x43, 0xcb, 0xfb, 0x1f, 0xf4, 0x93, 0x0a, 0x95, 0x65, 0xec, 0x86, 0x70, 0xb5,
	0xd7, 0x44, 0x3b, 0xfc, 0xd9, 0xe0, 0xd3, 0x82, 0xcb, 0xbd, 0x0e, 0x01, 0xc9, 0x8d, 0xe0, 0x92,
	0x10, 0xc1, 0x8e, 0x44, 0x4c, 0x46, 0x0b, 0x03, 0x73, 0xd6, 0xef, 0x12, 0xfe, 0x2a, 0x06, 0x2d,
	0xa3, 0x6f, 0xce, 0x38, 0x07, 0x3b, 0x66, 0x8a, 0x0d, 0xda, 0x43, 0xcb, 0xeb, 0x4d, 0xc7, 0x79,
	0x53, 0x7e, 0xad, 0xbe, 0x7f, 0xcf, 0x14, 0x0b, 0x0c, 0xd5, 0xb9, 0x00, 0x5b, 0xdf, 0xf0, 0x04,
	0x3a, 0xa9, 0xae, 0xb0, 0xf0, 0xcc, 0x2f, 0xae, 0x07, 0xd7, 0x87, 0x4a, 0x9f, 0xa7, 0x69, 0xd1,
	0x88, 0xfb, 0x6d, 0xc1, 0xa8, 0x16, 0x7a, 0x64, 0xbc, 0xc5, 0x4e, 0xbc, 0x59, 0x5d, 0xbc, 0x5d,
	0x97, 0x72, 0xc8, 0xb0, 0x08, 0xf9, 0x04, 0xfd, 0xca, 0xb1, 0xe9, 0xd4, 0x6d, 0xaf, 0x37, 0x1d,
	0xd6, 0x36, 0x78, 0x5a, 0x35, 0x57, 0x39, 0xfd, 0x6a, 0xc1, 0x79, 0x15, 0xfe, 0x31, 0xdf, 0x09,
	0x5c, 0x41, 0x37, 0xff, 0x3a, 0x1c, 0x37, 0x4d, 0x61, 0x6a, 0x75, 0xfc, 0xe3, 0x42, 0x23, 0xc1,
	0xbf, 0xdf, 0x65, 0xc0, 0x49, 0x03, 0x6e, 0x79, 0x6d, 0x1c, 0xaf, 0xe9, 0x0f, 0x84, 0xcf, 0x60,
	0x6b, 0x26, 0xde, 0xd4, 0x31, 0x4a, 0x4b, 0xd3, 0x5c, 0xfe, 0xa5, 0x6b, 0x80, 0xb3, 0x9f, 0x00,
	0x00, 0x00, 0xff, 0xff, 0x39, 0xd0, 0x18, 0x5d, 0x54, 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

// InternalAnnouncementServiceClient is the client API for InternalAnnouncementService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type InternalAnnouncementServiceClient interface {
	//获取所有公告
	GetAll(ctx context.Context, in *CrossInternalAnnouncementGetAllRequest, opts ...grpc.CallOption) (*CrossInternalAnnouncementGetAllResponse, error)
	//获取点赞数量
	GetLikes(ctx context.Context, in *CrossInternalAnnouncementGetLikesRequest, opts ...grpc.CallOption) (*CrossInternalAnnouncementResponse, error)
	//点赞
	Like(ctx context.Context, in *CrossInternalAnnouncementLikeRequest, opts ...grpc.CallOption) (*CrossInternalAnnouncementResponse, error)
}

type internalAnnouncementServiceClient struct {
	cc *grpc.ClientConn
}

func NewInternalAnnouncementServiceClient(cc *grpc.ClientConn) InternalAnnouncementServiceClient {
	return &internalAnnouncementServiceClient{cc}
}

func (c *internalAnnouncementServiceClient) GetAll(ctx context.Context, in *CrossInternalAnnouncementGetAllRequest, opts ...grpc.CallOption) (*CrossInternalAnnouncementGetAllResponse, error) {
	out := new(CrossInternalAnnouncementGetAllResponse)
	err := c.cc.Invoke(ctx, "/proto.InternalAnnouncementService/GetAll", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *internalAnnouncementServiceClient) GetLikes(ctx context.Context, in *CrossInternalAnnouncementGetLikesRequest, opts ...grpc.CallOption) (*CrossInternalAnnouncementResponse, error) {
	out := new(CrossInternalAnnouncementResponse)
	err := c.cc.Invoke(ctx, "/proto.InternalAnnouncementService/GetLikes", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *internalAnnouncementServiceClient) Like(ctx context.Context, in *CrossInternalAnnouncementLikeRequest, opts ...grpc.CallOption) (*CrossInternalAnnouncementResponse, error) {
	out := new(CrossInternalAnnouncementResponse)
	err := c.cc.Invoke(ctx, "/proto.InternalAnnouncementService/Like", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// InternalAnnouncementServiceServer is the server API for InternalAnnouncementService service.
type InternalAnnouncementServiceServer interface {
	//获取所有公告
	GetAll(context.Context, *CrossInternalAnnouncementGetAllRequest) (*CrossInternalAnnouncementGetAllResponse, error)
	//获取点赞数量
	GetLikes(context.Context, *CrossInternalAnnouncementGetLikesRequest) (*CrossInternalAnnouncementResponse, error)
	//点赞
	Like(context.Context, *CrossInternalAnnouncementLikeRequest) (*CrossInternalAnnouncementResponse, error)
}

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

func (*UnimplementedInternalAnnouncementServiceServer) GetAll(ctx context.Context, req *CrossInternalAnnouncementGetAllRequest) (*CrossInternalAnnouncementGetAllResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetAll not implemented")
}
func (*UnimplementedInternalAnnouncementServiceServer) GetLikes(ctx context.Context, req *CrossInternalAnnouncementGetLikesRequest) (*CrossInternalAnnouncementResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetLikes not implemented")
}
func (*UnimplementedInternalAnnouncementServiceServer) Like(ctx context.Context, req *CrossInternalAnnouncementLikeRequest) (*CrossInternalAnnouncementResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Like not implemented")
}

func RegisterInternalAnnouncementServiceServer(s *grpc.Server, srv InternalAnnouncementServiceServer) {
	s.RegisterService(&_InternalAnnouncementService_serviceDesc, srv)
}

func _InternalAnnouncementService_GetAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CrossInternalAnnouncementGetAllRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(InternalAnnouncementServiceServer).GetAll(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.InternalAnnouncementService/GetAll",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(InternalAnnouncementServiceServer).GetAll(ctx, req.(*CrossInternalAnnouncementGetAllRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _InternalAnnouncementService_GetLikes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CrossInternalAnnouncementGetLikesRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(InternalAnnouncementServiceServer).GetLikes(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.InternalAnnouncementService/GetLikes",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(InternalAnnouncementServiceServer).GetLikes(ctx, req.(*CrossInternalAnnouncementGetLikesRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _InternalAnnouncementService_Like_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CrossInternalAnnouncementLikeRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(InternalAnnouncementServiceServer).Like(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.InternalAnnouncementService/Like",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(InternalAnnouncementServiceServer).Like(ctx, req.(*CrossInternalAnnouncementLikeRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _InternalAnnouncementService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "proto.InternalAnnouncementService",
	HandlerType: (*InternalAnnouncementServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAll",
			Handler:    _InternalAnnouncementService_GetAll_Handler,
		},
		{
			MethodName: "GetLikes",
			Handler:    _InternalAnnouncementService_GetLikes_Handler,
		},
		{
			MethodName: "Like",
			Handler:    _InternalAnnouncementService_Like_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service/cross_internal_announcement_game.proto",
}
