You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1210 lines
44 KiB
1210 lines
44 KiB
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: third/third.proto
|
|
|
|
package third // import "OpenIM/pkg/proto/third"
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import sdkws "OpenIM/pkg/proto/sdkws"
|
|
|
|
import (
|
|
context "golang.org/x/net/context"
|
|
grpc "google.golang.org/grpc"
|
|
)
|
|
|
|
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
type ApplyPutReq struct {
|
|
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
Size int64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
|
|
Hash string `protobuf:"bytes,3,opt,name=hash" json:"hash,omitempty"`
|
|
FragmentSize int64 `protobuf:"varint,4,opt,name=fragmentSize" json:"fragmentSize,omitempty"`
|
|
CleanTime int64 `protobuf:"varint,5,opt,name=cleanTime" json:"cleanTime,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ApplyPutReq) Reset() { *m = ApplyPutReq{} }
|
|
func (m *ApplyPutReq) String() string { return proto.CompactTextString(m) }
|
|
func (*ApplyPutReq) ProtoMessage() {}
|
|
func (*ApplyPutReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_third_aac767b0c26bb83e, []int{0}
|
|
}
|
|
func (m *ApplyPutReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ApplyPutReq.Unmarshal(m, b)
|
|
}
|
|
func (m *ApplyPutReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ApplyPutReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *ApplyPutReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplyPutReq.Merge(dst, src)
|
|
}
|
|
func (m *ApplyPutReq) XXX_Size() int {
|
|
return xxx_messageInfo_ApplyPutReq.Size(m)
|
|
}
|
|
func (m *ApplyPutReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplyPutReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplyPutReq proto.InternalMessageInfo
|
|
|
|
func (m *ApplyPutReq) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplyPutReq) GetSize() int64 {
|
|
if m != nil {
|
|
return m.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ApplyPutReq) GetHash() string {
|
|
if m != nil {
|
|
return m.Hash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplyPutReq) GetFragmentSize() int64 {
|
|
if m != nil {
|
|
return m.FragmentSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ApplyPutReq) GetCleanTime() int64 {
|
|
if m != nil {
|
|
return m.CleanTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ApplyPutResp struct {
|
|
Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
|
|
PutID string `protobuf:"bytes,2,opt,name=putID" json:"putID,omitempty"`
|
|
FragmentSize int64 `protobuf:"varint,3,opt,name=fragmentSize" json:"fragmentSize,omitempty"`
|
|
// int64 expirationTime = 4;
|
|
PutURLs []string `protobuf:"bytes,5,rep,name=PutURLs" json:"PutURLs,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ApplyPutResp) Reset() { *m = ApplyPutResp{} }
|
|
func (m *ApplyPutResp) String() string { return proto.CompactTextString(m) }
|
|
func (*ApplyPutResp) ProtoMessage() {}
|
|
func (*ApplyPutResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_third_aac767b0c26bb83e, []int{1}
|
|
}
|
|
func (m *ApplyPutResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ApplyPutResp.Unmarshal(m, b)
|
|
}
|
|
func (m *ApplyPutResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ApplyPutResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *ApplyPutResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ApplyPutResp.Merge(dst, src)
|
|
}
|
|
func (m *ApplyPutResp) XXX_Size() int {
|
|
return xxx_messageInfo_ApplyPutResp.Size(m)
|
|
}
|
|
func (m *ApplyPutResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ApplyPutResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ApplyPutResp proto.InternalMessageInfo
|
|
|
|
func (m *ApplyPutResp) GetUrl() string {
|
|
if m != nil {
|
|
return m.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplyPutResp) GetPutID() string {
|
|
if m != nil {
|
|
return m.PutID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ApplyPutResp) GetFragmentSize() int64 {
|
|
if m != nil {
|
|
return m.FragmentSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ApplyPutResp) GetPutURLs() []string {
|
|
if m != nil {
|
|
return m.PutURLs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ConfirmPutReq struct {
|
|
PutID string `protobuf:"bytes,1,opt,name=putID" json:"putID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ConfirmPutReq) Reset() { *m = ConfirmPutReq{} }
|
|
func (m *ConfirmPutReq) String() string { return proto.CompactTextString(m) }
|
|
func (*ConfirmPutReq) ProtoMessage() {}
|
|
func (*ConfirmPutReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_third_aac767b0c26bb83e, []int{2}
|
|
}
|
|
func (m *ConfirmPutReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ConfirmPutReq.Unmarshal(m, b)
|
|
}
|
|
func (m *ConfirmPutReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ConfirmPutReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *ConfirmPutReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ConfirmPutReq.Merge(dst, src)
|
|
}
|
|
func (m *ConfirmPutReq) XXX_Size() int {
|
|
return xxx_messageInfo_ConfirmPutReq.Size(m)
|
|
}
|
|
func (m *ConfirmPutReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ConfirmPutReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ConfirmPutReq proto.InternalMessageInfo
|
|
|
|
func (m *ConfirmPutReq) GetPutID() string {
|
|
if m != nil {
|
|
return m.PutID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ConfirmPutResp struct {
|
|
Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ConfirmPutResp) Reset() { *m = ConfirmPutResp{} }
|
|
func (m *ConfirmPutResp) String() string { return proto.CompactTextString(m) }
|
|
func (*ConfirmPutResp) ProtoMessage() {}
|
|
func (*ConfirmPutResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_third_aac767b0c26bb83e, []int{3}
|
|
}
|
|
func (m *ConfirmPutResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ConfirmPutResp.Unmarshal(m, b)
|
|
}
|
|
func (m *ConfirmPutResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ConfirmPutResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *ConfirmPutResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ConfirmPutResp.Merge(dst, src)
|
|
}
|
|
func (m *ConfirmPutResp) XXX_Size() int {
|
|
return xxx_messageInfo_ConfirmPutResp.Size(m)
|
|
}
|
|
func (m *ConfirmPutResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ConfirmPutResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ConfirmPutResp proto.InternalMessageInfo
|
|
|
|
func (m *ConfirmPutResp) GetUrl() string {
|
|
if m != nil {
|
|
return m.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetUrlReq struct {
|
|
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
Expires int64 `protobuf:"varint,2,opt,name=expires" json:"expires,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetUrlReq) Reset() { *m = GetUrlReq{} }
|
|
func (m *GetUrlReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetUrlReq) ProtoMessage() {}
|
|
func (*GetUrlReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_third_aac767b0c26bb83e, []int{4}
|
|
}
|
|
func (m *GetUrlReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetUrlReq.Unmarshal(m, b)
|
|
}
|
|
func (m *GetUrlReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetUrlReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetUrlReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetUrlReq.Merge(dst, src)
|
|
}
|
|
func (m *GetUrlReq) XXX_Size() int {
|
|
return xxx_messageInfo_GetUrlReq.Size(m)
|
|
}
|
|
func (m *GetUrlReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetUrlReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetUrlReq proto.InternalMessageInfo
|
|
|
|
func (m *GetUrlReq) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetUrlReq) GetExpires() int64 {
|
|
if m != nil {
|
|
return m.Expires
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetUrlResp struct {
|
|
Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
|
|
Size int64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
|
|
Hash string `protobuf:"bytes,3,opt,name=hash" json:"hash,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetUrlResp) Reset() { *m = GetUrlResp{} }
|
|
func (m *GetUrlResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetUrlResp) ProtoMessage() {}
|
|
func (*GetUrlResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_third_aac767b0c26bb83e, []int{5}
|
|
}
|
|
func (m *GetUrlResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetUrlResp.Unmarshal(m, b)
|
|
}
|
|
func (m *GetUrlResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetUrlResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetUrlResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetUrlResp.Merge(dst, src)
|
|
}
|
|
func (m *GetUrlResp) XXX_Size() int {
|
|
return xxx_messageInfo_GetUrlResp.Size(m)
|
|
}
|
|
func (m *GetUrlResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetUrlResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetUrlResp proto.InternalMessageInfo
|
|
|
|
func (m *GetUrlResp) GetUrl() string {
|
|
if m != nil {
|
|
return m.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetUrlResp) GetSize() int64 {
|
|
if m != nil {
|
|
return m.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetUrlResp) GetHash() string {
|
|
if m != nil {
|
|
return m.Hash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetPutReq struct {
|
|
PutID string `protobuf:"bytes,1,opt,name=putID" json:"putID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetPutReq) Reset() { *m = GetPutReq{} }
|
|
func (m *GetPutReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetPutReq) ProtoMessage() {}
|
|
func (*GetPutReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_third_aac767b0c26bb83e, []int{6}
|
|
}
|
|
func (m *GetPutReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetPutReq.Unmarshal(m, b)
|
|
}
|
|
func (m *GetPutReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetPutReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetPutReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetPutReq.Merge(dst, src)
|
|
}
|
|
func (m *GetPutReq) XXX_Size() int {
|
|
return xxx_messageInfo_GetPutReq.Size(m)
|
|
}
|
|
func (m *GetPutReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetPutReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetPutReq proto.InternalMessageInfo
|
|
|
|
func (m *GetPutReq) GetPutID() string {
|
|
if m != nil {
|
|
return m.PutID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetPutFragment struct {
|
|
Size int64 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"`
|
|
Hash string `protobuf:"bytes,2,opt,name=hash" json:"hash,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetPutFragment) Reset() { *m = GetPutFragment{} }
|
|
func (m *GetPutFragment) String() string { return proto.CompactTextString(m) }
|
|
func (*GetPutFragment) ProtoMessage() {}
|
|
func (*GetPutFragment) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_third_aac767b0c26bb83e, []int{7}
|
|
}
|
|
func (m *GetPutFragment) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetPutFragment.Unmarshal(m, b)
|
|
}
|
|
func (m *GetPutFragment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetPutFragment.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetPutFragment) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetPutFragment.Merge(dst, src)
|
|
}
|
|
func (m *GetPutFragment) XXX_Size() int {
|
|
return xxx_messageInfo_GetPutFragment.Size(m)
|
|
}
|
|
func (m *GetPutFragment) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetPutFragment.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetPutFragment proto.InternalMessageInfo
|
|
|
|
func (m *GetPutFragment) GetSize() int64 {
|
|
if m != nil {
|
|
return m.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetPutFragment) GetHash() string {
|
|
if m != nil {
|
|
return m.Hash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetPutResp struct {
|
|
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
Size int64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
|
|
Hash string `protobuf:"bytes,3,opt,name=hash" json:"hash,omitempty"`
|
|
FragmentSize int64 `protobuf:"varint,4,opt,name=fragmentSize" json:"fragmentSize,omitempty"`
|
|
CleanTime int64 `protobuf:"varint,5,opt,name=cleanTime" json:"cleanTime,omitempty"`
|
|
Fragments []*GetPutFragment `protobuf:"bytes,6,rep,name=fragments" json:"fragments,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetPutResp) Reset() { *m = GetPutResp{} }
|
|
func (m *GetPutResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetPutResp) ProtoMessage() {}
|
|
func (*GetPutResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_third_aac767b0c26bb83e, []int{8}
|
|
}
|
|
func (m *GetPutResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetPutResp.Unmarshal(m, b)
|
|
}
|
|
func (m *GetPutResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetPutResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetPutResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetPutResp.Merge(dst, src)
|
|
}
|
|
func (m *GetPutResp) XXX_Size() int {
|
|
return xxx_messageInfo_GetPutResp.Size(m)
|
|
}
|
|
func (m *GetPutResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetPutResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetPutResp proto.InternalMessageInfo
|
|
|
|
func (m *GetPutResp) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetPutResp) GetSize() int64 {
|
|
if m != nil {
|
|
return m.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetPutResp) GetHash() string {
|
|
if m != nil {
|
|
return m.Hash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetPutResp) GetFragmentSize() int64 {
|
|
if m != nil {
|
|
return m.FragmentSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetPutResp) GetCleanTime() int64 {
|
|
if m != nil {
|
|
return m.CleanTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetPutResp) GetFragments() []*GetPutFragment {
|
|
if m != nil {
|
|
return m.Fragments
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetSignalInvitationInfoReq struct {
|
|
ClientMsgID string `protobuf:"bytes,1,opt,name=ClientMsgID" json:"ClientMsgID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetSignalInvitationInfoReq) Reset() { *m = GetSignalInvitationInfoReq{} }
|
|
func (m *GetSignalInvitationInfoReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetSignalInvitationInfoReq) ProtoMessage() {}
|
|
func (*GetSignalInvitationInfoReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_third_aac767b0c26bb83e, []int{9}
|
|
}
|
|
func (m *GetSignalInvitationInfoReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetSignalInvitationInfoReq.Unmarshal(m, b)
|
|
}
|
|
func (m *GetSignalInvitationInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetSignalInvitationInfoReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetSignalInvitationInfoReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetSignalInvitationInfoReq.Merge(dst, src)
|
|
}
|
|
func (m *GetSignalInvitationInfoReq) XXX_Size() int {
|
|
return xxx_messageInfo_GetSignalInvitationInfoReq.Size(m)
|
|
}
|
|
func (m *GetSignalInvitationInfoReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetSignalInvitationInfoReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetSignalInvitationInfoReq proto.InternalMessageInfo
|
|
|
|
func (m *GetSignalInvitationInfoReq) GetClientMsgID() string {
|
|
if m != nil {
|
|
return m.ClientMsgID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetSignalInvitationInfoResp struct {
|
|
InvitationInfo *sdkws.InvitationInfo `protobuf:"bytes,1,opt,name=invitationInfo" json:"invitationInfo,omitempty"`
|
|
OfflinePushInfo *sdkws.OfflinePushInfo `protobuf:"bytes,2,opt,name=offlinePushInfo" json:"offlinePushInfo,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetSignalInvitationInfoResp) Reset() { *m = GetSignalInvitationInfoResp{} }
|
|
func (m *GetSignalInvitationInfoResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetSignalInvitationInfoResp) ProtoMessage() {}
|
|
func (*GetSignalInvitationInfoResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_third_aac767b0c26bb83e, []int{10}
|
|
}
|
|
func (m *GetSignalInvitationInfoResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetSignalInvitationInfoResp.Unmarshal(m, b)
|
|
}
|
|
func (m *GetSignalInvitationInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetSignalInvitationInfoResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetSignalInvitationInfoResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetSignalInvitationInfoResp.Merge(dst, src)
|
|
}
|
|
func (m *GetSignalInvitationInfoResp) XXX_Size() int {
|
|
return xxx_messageInfo_GetSignalInvitationInfoResp.Size(m)
|
|
}
|
|
func (m *GetSignalInvitationInfoResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetSignalInvitationInfoResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetSignalInvitationInfoResp proto.InternalMessageInfo
|
|
|
|
func (m *GetSignalInvitationInfoResp) GetInvitationInfo() *sdkws.InvitationInfo {
|
|
if m != nil {
|
|
return m.InvitationInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetSignalInvitationInfoResp) GetOfflinePushInfo() *sdkws.OfflinePushInfo {
|
|
if m != nil {
|
|
return m.OfflinePushInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetSignalInvitationInfoStartAppReq struct {
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetSignalInvitationInfoStartAppReq) Reset() { *m = GetSignalInvitationInfoStartAppReq{} }
|
|
func (m *GetSignalInvitationInfoStartAppReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetSignalInvitationInfoStartAppReq) ProtoMessage() {}
|
|
func (*GetSignalInvitationInfoStartAppReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_third_aac767b0c26bb83e, []int{11}
|
|
}
|
|
func (m *GetSignalInvitationInfoStartAppReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetSignalInvitationInfoStartAppReq.Unmarshal(m, b)
|
|
}
|
|
func (m *GetSignalInvitationInfoStartAppReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetSignalInvitationInfoStartAppReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetSignalInvitationInfoStartAppReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetSignalInvitationInfoStartAppReq.Merge(dst, src)
|
|
}
|
|
func (m *GetSignalInvitationInfoStartAppReq) XXX_Size() int {
|
|
return xxx_messageInfo_GetSignalInvitationInfoStartAppReq.Size(m)
|
|
}
|
|
func (m *GetSignalInvitationInfoStartAppReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetSignalInvitationInfoStartAppReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetSignalInvitationInfoStartAppReq proto.InternalMessageInfo
|
|
|
|
func (m *GetSignalInvitationInfoStartAppReq) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetSignalInvitationInfoStartAppResp struct {
|
|
InvitationInfo *sdkws.InvitationInfo `protobuf:"bytes,1,opt,name=invitationInfo" json:"invitationInfo,omitempty"`
|
|
OfflinePushInfo *sdkws.OfflinePushInfo `protobuf:"bytes,2,opt,name=offlinePushInfo" json:"offlinePushInfo,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetSignalInvitationInfoStartAppResp) Reset() { *m = GetSignalInvitationInfoStartAppResp{} }
|
|
func (m *GetSignalInvitationInfoStartAppResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetSignalInvitationInfoStartAppResp) ProtoMessage() {}
|
|
func (*GetSignalInvitationInfoStartAppResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_third_aac767b0c26bb83e, []int{12}
|
|
}
|
|
func (m *GetSignalInvitationInfoStartAppResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetSignalInvitationInfoStartAppResp.Unmarshal(m, b)
|
|
}
|
|
func (m *GetSignalInvitationInfoStartAppResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetSignalInvitationInfoStartAppResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetSignalInvitationInfoStartAppResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetSignalInvitationInfoStartAppResp.Merge(dst, src)
|
|
}
|
|
func (m *GetSignalInvitationInfoStartAppResp) XXX_Size() int {
|
|
return xxx_messageInfo_GetSignalInvitationInfoStartAppResp.Size(m)
|
|
}
|
|
func (m *GetSignalInvitationInfoStartAppResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetSignalInvitationInfoStartAppResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetSignalInvitationInfoStartAppResp proto.InternalMessageInfo
|
|
|
|
func (m *GetSignalInvitationInfoStartAppResp) GetInvitationInfo() *sdkws.InvitationInfo {
|
|
if m != nil {
|
|
return m.InvitationInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetSignalInvitationInfoStartAppResp) GetOfflinePushInfo() *sdkws.OfflinePushInfo {
|
|
if m != nil {
|
|
return m.OfflinePushInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FcmUpdateTokenReq struct {
|
|
PlatformID int32 `protobuf:"varint,1,opt,name=PlatformID" json:"PlatformID,omitempty"`
|
|
FcmToken string `protobuf:"bytes,2,opt,name=FcmToken" json:"FcmToken,omitempty"`
|
|
Account string `protobuf:"bytes,3,opt,name=account" json:"account,omitempty"`
|
|
ExpireTime int64 `protobuf:"varint,4,opt,name=expireTime" json:"expireTime,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *FcmUpdateTokenReq) Reset() { *m = FcmUpdateTokenReq{} }
|
|
func (m *FcmUpdateTokenReq) String() string { return proto.CompactTextString(m) }
|
|
func (*FcmUpdateTokenReq) ProtoMessage() {}
|
|
func (*FcmUpdateTokenReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_third_aac767b0c26bb83e, []int{13}
|
|
}
|
|
func (m *FcmUpdateTokenReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_FcmUpdateTokenReq.Unmarshal(m, b)
|
|
}
|
|
func (m *FcmUpdateTokenReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_FcmUpdateTokenReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *FcmUpdateTokenReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_FcmUpdateTokenReq.Merge(dst, src)
|
|
}
|
|
func (m *FcmUpdateTokenReq) XXX_Size() int {
|
|
return xxx_messageInfo_FcmUpdateTokenReq.Size(m)
|
|
}
|
|
func (m *FcmUpdateTokenReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_FcmUpdateTokenReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_FcmUpdateTokenReq proto.InternalMessageInfo
|
|
|
|
func (m *FcmUpdateTokenReq) GetPlatformID() int32 {
|
|
if m != nil {
|
|
return m.PlatformID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FcmUpdateTokenReq) GetFcmToken() string {
|
|
if m != nil {
|
|
return m.FcmToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *FcmUpdateTokenReq) GetAccount() string {
|
|
if m != nil {
|
|
return m.Account
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *FcmUpdateTokenReq) GetExpireTime() int64 {
|
|
if m != nil {
|
|
return m.ExpireTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FcmUpdateTokenResp struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *FcmUpdateTokenResp) Reset() { *m = FcmUpdateTokenResp{} }
|
|
func (m *FcmUpdateTokenResp) String() string { return proto.CompactTextString(m) }
|
|
func (*FcmUpdateTokenResp) ProtoMessage() {}
|
|
func (*FcmUpdateTokenResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_third_aac767b0c26bb83e, []int{14}
|
|
}
|
|
func (m *FcmUpdateTokenResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_FcmUpdateTokenResp.Unmarshal(m, b)
|
|
}
|
|
func (m *FcmUpdateTokenResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_FcmUpdateTokenResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *FcmUpdateTokenResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_FcmUpdateTokenResp.Merge(dst, src)
|
|
}
|
|
func (m *FcmUpdateTokenResp) XXX_Size() int {
|
|
return xxx_messageInfo_FcmUpdateTokenResp.Size(m)
|
|
}
|
|
func (m *FcmUpdateTokenResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_FcmUpdateTokenResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_FcmUpdateTokenResp proto.InternalMessageInfo
|
|
|
|
type SetAppBadgeReq struct {
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
AppUnreadCount int32 `protobuf:"varint,2,opt,name=AppUnreadCount" json:"AppUnreadCount,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SetAppBadgeReq) Reset() { *m = SetAppBadgeReq{} }
|
|
func (m *SetAppBadgeReq) String() string { return proto.CompactTextString(m) }
|
|
func (*SetAppBadgeReq) ProtoMessage() {}
|
|
func (*SetAppBadgeReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_third_aac767b0c26bb83e, []int{15}
|
|
}
|
|
func (m *SetAppBadgeReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SetAppBadgeReq.Unmarshal(m, b)
|
|
}
|
|
func (m *SetAppBadgeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SetAppBadgeReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *SetAppBadgeReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SetAppBadgeReq.Merge(dst, src)
|
|
}
|
|
func (m *SetAppBadgeReq) XXX_Size() int {
|
|
return xxx_messageInfo_SetAppBadgeReq.Size(m)
|
|
}
|
|
func (m *SetAppBadgeReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SetAppBadgeReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SetAppBadgeReq proto.InternalMessageInfo
|
|
|
|
func (m *SetAppBadgeReq) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SetAppBadgeReq) GetAppUnreadCount() int32 {
|
|
if m != nil {
|
|
return m.AppUnreadCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SetAppBadgeResp struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SetAppBadgeResp) Reset() { *m = SetAppBadgeResp{} }
|
|
func (m *SetAppBadgeResp) String() string { return proto.CompactTextString(m) }
|
|
func (*SetAppBadgeResp) ProtoMessage() {}
|
|
func (*SetAppBadgeResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_third_aac767b0c26bb83e, []int{16}
|
|
}
|
|
func (m *SetAppBadgeResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SetAppBadgeResp.Unmarshal(m, b)
|
|
}
|
|
func (m *SetAppBadgeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SetAppBadgeResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *SetAppBadgeResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SetAppBadgeResp.Merge(dst, src)
|
|
}
|
|
func (m *SetAppBadgeResp) XXX_Size() int {
|
|
return xxx_messageInfo_SetAppBadgeResp.Size(m)
|
|
}
|
|
func (m *SetAppBadgeResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SetAppBadgeResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SetAppBadgeResp proto.InternalMessageInfo
|
|
|
|
func init() {
|
|
proto.RegisterType((*ApplyPutReq)(nil), "OpenIMServer.third.ApplyPutReq")
|
|
proto.RegisterType((*ApplyPutResp)(nil), "OpenIMServer.third.ApplyPutResp")
|
|
proto.RegisterType((*ConfirmPutReq)(nil), "OpenIMServer.third.ConfirmPutReq")
|
|
proto.RegisterType((*ConfirmPutResp)(nil), "OpenIMServer.third.ConfirmPutResp")
|
|
proto.RegisterType((*GetUrlReq)(nil), "OpenIMServer.third.GetUrlReq")
|
|
proto.RegisterType((*GetUrlResp)(nil), "OpenIMServer.third.GetUrlResp")
|
|
proto.RegisterType((*GetPutReq)(nil), "OpenIMServer.third.GetPutReq")
|
|
proto.RegisterType((*GetPutFragment)(nil), "OpenIMServer.third.GetPutFragment")
|
|
proto.RegisterType((*GetPutResp)(nil), "OpenIMServer.third.GetPutResp")
|
|
proto.RegisterType((*GetSignalInvitationInfoReq)(nil), "OpenIMServer.third.GetSignalInvitationInfoReq")
|
|
proto.RegisterType((*GetSignalInvitationInfoResp)(nil), "OpenIMServer.third.GetSignalInvitationInfoResp")
|
|
proto.RegisterType((*GetSignalInvitationInfoStartAppReq)(nil), "OpenIMServer.third.GetSignalInvitationInfoStartAppReq")
|
|
proto.RegisterType((*GetSignalInvitationInfoStartAppResp)(nil), "OpenIMServer.third.GetSignalInvitationInfoStartAppResp")
|
|
proto.RegisterType((*FcmUpdateTokenReq)(nil), "OpenIMServer.third.FcmUpdateTokenReq")
|
|
proto.RegisterType((*FcmUpdateTokenResp)(nil), "OpenIMServer.third.FcmUpdateTokenResp")
|
|
proto.RegisterType((*SetAppBadgeReq)(nil), "OpenIMServer.third.SetAppBadgeReq")
|
|
proto.RegisterType((*SetAppBadgeResp)(nil), "OpenIMServer.third.SetAppBadgeResp")
|
|
}
|
|
|
|
// 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
|
|
|
|
// Client API for Third service
|
|
|
|
type ThirdClient interface {
|
|
ApplyPut(ctx context.Context, in *ApplyPutReq, opts ...grpc.CallOption) (*ApplyPutResp, error)
|
|
GetPut(ctx context.Context, in *GetPutReq, opts ...grpc.CallOption) (*GetPutResp, error)
|
|
ConfirmPut(ctx context.Context, in *ConfirmPutReq, opts ...grpc.CallOption) (*ConfirmPutResp, error)
|
|
GetUrl(ctx context.Context, in *GetUrlReq, opts ...grpc.CallOption) (*GetUrlResp, error)
|
|
GetSignalInvitationInfo(ctx context.Context, in *GetSignalInvitationInfoReq, opts ...grpc.CallOption) (*GetSignalInvitationInfoResp, error)
|
|
GetSignalInvitationInfoStartApp(ctx context.Context, in *GetSignalInvitationInfoStartAppReq, opts ...grpc.CallOption) (*GetSignalInvitationInfoStartAppResp, error)
|
|
FcmUpdateToken(ctx context.Context, in *FcmUpdateTokenReq, opts ...grpc.CallOption) (*FcmUpdateTokenResp, error)
|
|
SetAppBadge(ctx context.Context, in *SetAppBadgeReq, opts ...grpc.CallOption) (*SetAppBadgeResp, error)
|
|
}
|
|
|
|
type thirdClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewThirdClient(cc *grpc.ClientConn) ThirdClient {
|
|
return &thirdClient{cc}
|
|
}
|
|
|
|
func (c *thirdClient) ApplyPut(ctx context.Context, in *ApplyPutReq, opts ...grpc.CallOption) (*ApplyPutResp, error) {
|
|
out := new(ApplyPutResp)
|
|
err := grpc.Invoke(ctx, "/OpenIMServer.third.third/ApplyPut", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *thirdClient) GetPut(ctx context.Context, in *GetPutReq, opts ...grpc.CallOption) (*GetPutResp, error) {
|
|
out := new(GetPutResp)
|
|
err := grpc.Invoke(ctx, "/OpenIMServer.third.third/GetPut", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *thirdClient) ConfirmPut(ctx context.Context, in *ConfirmPutReq, opts ...grpc.CallOption) (*ConfirmPutResp, error) {
|
|
out := new(ConfirmPutResp)
|
|
err := grpc.Invoke(ctx, "/OpenIMServer.third.third/ConfirmPut", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *thirdClient) GetUrl(ctx context.Context, in *GetUrlReq, opts ...grpc.CallOption) (*GetUrlResp, error) {
|
|
out := new(GetUrlResp)
|
|
err := grpc.Invoke(ctx, "/OpenIMServer.third.third/GetUrl", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *thirdClient) GetSignalInvitationInfo(ctx context.Context, in *GetSignalInvitationInfoReq, opts ...grpc.CallOption) (*GetSignalInvitationInfoResp, error) {
|
|
out := new(GetSignalInvitationInfoResp)
|
|
err := grpc.Invoke(ctx, "/OpenIMServer.third.third/GetSignalInvitationInfo", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *thirdClient) GetSignalInvitationInfoStartApp(ctx context.Context, in *GetSignalInvitationInfoStartAppReq, opts ...grpc.CallOption) (*GetSignalInvitationInfoStartAppResp, error) {
|
|
out := new(GetSignalInvitationInfoStartAppResp)
|
|
err := grpc.Invoke(ctx, "/OpenIMServer.third.third/GetSignalInvitationInfoStartApp", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *thirdClient) FcmUpdateToken(ctx context.Context, in *FcmUpdateTokenReq, opts ...grpc.CallOption) (*FcmUpdateTokenResp, error) {
|
|
out := new(FcmUpdateTokenResp)
|
|
err := grpc.Invoke(ctx, "/OpenIMServer.third.third/FcmUpdateToken", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *thirdClient) SetAppBadge(ctx context.Context, in *SetAppBadgeReq, opts ...grpc.CallOption) (*SetAppBadgeResp, error) {
|
|
out := new(SetAppBadgeResp)
|
|
err := grpc.Invoke(ctx, "/OpenIMServer.third.third/SetAppBadge", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// Server API for Third service
|
|
|
|
type ThirdServer interface {
|
|
ApplyPut(context.Context, *ApplyPutReq) (*ApplyPutResp, error)
|
|
GetPut(context.Context, *GetPutReq) (*GetPutResp, error)
|
|
ConfirmPut(context.Context, *ConfirmPutReq) (*ConfirmPutResp, error)
|
|
GetUrl(context.Context, *GetUrlReq) (*GetUrlResp, error)
|
|
GetSignalInvitationInfo(context.Context, *GetSignalInvitationInfoReq) (*GetSignalInvitationInfoResp, error)
|
|
GetSignalInvitationInfoStartApp(context.Context, *GetSignalInvitationInfoStartAppReq) (*GetSignalInvitationInfoStartAppResp, error)
|
|
FcmUpdateToken(context.Context, *FcmUpdateTokenReq) (*FcmUpdateTokenResp, error)
|
|
SetAppBadge(context.Context, *SetAppBadgeReq) (*SetAppBadgeResp, error)
|
|
}
|
|
|
|
func RegisterThirdServer(s *grpc.Server, srv ThirdServer) {
|
|
s.RegisterService(&_Third_serviceDesc, srv)
|
|
}
|
|
|
|
func _Third_ApplyPut_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ApplyPutReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ThirdServer).ApplyPut(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/OpenIMServer.third.third/ApplyPut",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ThirdServer).ApplyPut(ctx, req.(*ApplyPutReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Third_GetPut_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetPutReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ThirdServer).GetPut(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/OpenIMServer.third.third/GetPut",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ThirdServer).GetPut(ctx, req.(*GetPutReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Third_ConfirmPut_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ConfirmPutReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ThirdServer).ConfirmPut(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/OpenIMServer.third.third/ConfirmPut",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ThirdServer).ConfirmPut(ctx, req.(*ConfirmPutReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Third_GetUrl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetUrlReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ThirdServer).GetUrl(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/OpenIMServer.third.third/GetUrl",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ThirdServer).GetUrl(ctx, req.(*GetUrlReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Third_GetSignalInvitationInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetSignalInvitationInfoReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ThirdServer).GetSignalInvitationInfo(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/OpenIMServer.third.third/GetSignalInvitationInfo",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ThirdServer).GetSignalInvitationInfo(ctx, req.(*GetSignalInvitationInfoReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Third_GetSignalInvitationInfoStartApp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetSignalInvitationInfoStartAppReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ThirdServer).GetSignalInvitationInfoStartApp(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/OpenIMServer.third.third/GetSignalInvitationInfoStartApp",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ThirdServer).GetSignalInvitationInfoStartApp(ctx, req.(*GetSignalInvitationInfoStartAppReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Third_FcmUpdateToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(FcmUpdateTokenReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ThirdServer).FcmUpdateToken(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/OpenIMServer.third.third/FcmUpdateToken",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ThirdServer).FcmUpdateToken(ctx, req.(*FcmUpdateTokenReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Third_SetAppBadge_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SetAppBadgeReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ThirdServer).SetAppBadge(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/OpenIMServer.third.third/SetAppBadge",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ThirdServer).SetAppBadge(ctx, req.(*SetAppBadgeReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _Third_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "OpenIMServer.third.third",
|
|
HandlerType: (*ThirdServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "ApplyPut",
|
|
Handler: _Third_ApplyPut_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetPut",
|
|
Handler: _Third_GetPut_Handler,
|
|
},
|
|
{
|
|
MethodName: "ConfirmPut",
|
|
Handler: _Third_ConfirmPut_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetUrl",
|
|
Handler: _Third_GetUrl_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetSignalInvitationInfo",
|
|
Handler: _Third_GetSignalInvitationInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetSignalInvitationInfoStartApp",
|
|
Handler: _Third_GetSignalInvitationInfoStartApp_Handler,
|
|
},
|
|
{
|
|
MethodName: "FcmUpdateToken",
|
|
Handler: _Third_FcmUpdateToken_Handler,
|
|
},
|
|
{
|
|
MethodName: "SetAppBadge",
|
|
Handler: _Third_SetAppBadge_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "third/third.proto",
|
|
}
|
|
|
|
func init() { proto.RegisterFile("third/third.proto", fileDescriptor_third_aac767b0c26bb83e) }
|
|
|
|
var fileDescriptor_third_aac767b0c26bb83e = []byte{
|
|
// 754 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0xdf, 0x6e, 0xd3, 0x3e,
|
|
0x18, 0x55, 0xda, 0xb5, 0x5b, 0xbf, 0xee, 0xd7, 0xfd, 0x66, 0x4d, 0x10, 0x85, 0xb1, 0x75, 0x9e,
|
|
0x36, 0x7a, 0xb3, 0x56, 0x1a, 0x12, 0x7f, 0x04, 0x42, 0x6c, 0x43, 0x9d, 0x8a, 0xa8, 0x56, 0xa5,
|
|
0x2b, 0x17, 0xdc, 0xa0, 0xd0, 0xba,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