Files
open-im-server/pkg/proto/third/third.pb.go
T

2045 lines
69 KiB
Go
Raw Normal View History

2023-06-30 09:45:02 +08:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.29.1
// protoc v4.22.0
// source: third/third.proto
package third
import (
context "context"
2023-07-13 16:51:52 +08:00
reflect "reflect"
sync "sync"
2023-06-30 09:45:02 +08:00
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
2023-07-12 15:31:24 +08:00
type KeyValues struct {
2023-06-30 09:45:02 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-12 15:31:24 +08:00
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key"`
Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values"`
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *KeyValues) Reset() {
*x = KeyValues{}
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled {
mi := &file_third_third_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-12 15:31:24 +08:00
func (x *KeyValues) String() string {
2023-06-30 09:45:02 +08:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-12 15:31:24 +08:00
func (*KeyValues) ProtoMessage() {}
2023-06-30 09:45:02 +08:00
2023-07-12 15:31:24 +08:00
func (x *KeyValues) ProtoReflect() protoreflect.Message {
2023-06-30 09:45:02 +08:00
mi := &file_third_third_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-07-12 15:31:24 +08:00
// Deprecated: Use KeyValues.ProtoReflect.Descriptor instead.
func (*KeyValues) Descriptor() ([]byte, []int) {
2023-06-30 09:45:02 +08:00
return file_third_third_proto_rawDescGZIP(), []int{0}
}
2023-07-12 15:31:24 +08:00
func (x *KeyValues) GetKey() string {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.Key
2023-06-30 09:45:02 +08:00
}
return ""
}
2023-07-12 15:31:24 +08:00
func (x *KeyValues) GetValues() []string {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.Values
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
return nil
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
type SignPart struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PartNumber int32 `protobuf:"varint,1,opt,name=partNumber,proto3" json:"partNumber"`
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url"`
Query []*KeyValues `protobuf:"bytes,3,rep,name=query,proto3" json:"query"`
Header []*KeyValues `protobuf:"bytes,4,rep,name=header,proto3" json:"header"`
}
func (x *SignPart) Reset() {
*x = SignPart{}
if protoimpl.UnsafeEnabled {
mi := &file_third_third_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2023-06-30 09:45:02 +08:00
}
}
2023-07-12 15:31:24 +08:00
func (x *SignPart) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SignPart) ProtoMessage() {}
func (x *SignPart) ProtoReflect() protoreflect.Message {
mi := &file_third_third_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SignPart.ProtoReflect.Descriptor instead.
func (*SignPart) Descriptor() ([]byte, []int) {
return file_third_third_proto_rawDescGZIP(), []int{1}
}
func (x *SignPart) GetPartNumber() int32 {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.PartNumber
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
return 0
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *SignPart) GetUrl() string {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.Url
2023-06-30 09:45:02 +08:00
}
return ""
}
2023-07-12 15:31:24 +08:00
func (x *SignPart) GetQuery() []*KeyValues {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.Query
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
return nil
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *SignPart) GetHeader() []*KeyValues {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.Header
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
return nil
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
type AuthSignParts struct {
2023-06-30 09:45:02 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-12 15:31:24 +08:00
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url"`
Query []*KeyValues `protobuf:"bytes,2,rep,name=query,proto3" json:"query"`
Header []*KeyValues `protobuf:"bytes,3,rep,name=header,proto3" json:"header"`
Parts []*SignPart `protobuf:"bytes,4,rep,name=parts,proto3" json:"parts"`
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *AuthSignParts) Reset() {
*x = AuthSignParts{}
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled {
2023-07-12 15:31:24 +08:00
mi := &file_third_third_proto_msgTypes[2]
2023-06-30 09:45:02 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-12 15:31:24 +08:00
func (x *AuthSignParts) String() string {
2023-06-30 09:45:02 +08:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-12 15:31:24 +08:00
func (*AuthSignParts) ProtoMessage() {}
2023-06-30 09:45:02 +08:00
2023-07-12 15:31:24 +08:00
func (x *AuthSignParts) ProtoReflect() protoreflect.Message {
mi := &file_third_third_proto_msgTypes[2]
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-07-12 15:31:24 +08:00
// Deprecated: Use AuthSignParts.ProtoReflect.Descriptor instead.
func (*AuthSignParts) Descriptor() ([]byte, []int) {
return file_third_third_proto_rawDescGZIP(), []int{2}
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *AuthSignParts) GetUrl() string {
2023-06-30 09:45:02 +08:00
if x != nil {
return x.Url
}
return ""
}
2023-07-12 15:31:24 +08:00
func (x *AuthSignParts) GetQuery() []*KeyValues {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.Query
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
return nil
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *AuthSignParts) GetHeader() []*KeyValues {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.Header
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
return nil
}
func (x *AuthSignParts) GetParts() []*SignPart {
if x != nil {
return x.Parts
}
return nil
}
type PartLimitReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *PartLimitReq) Reset() {
*x = PartLimitReq{}
if protoimpl.UnsafeEnabled {
mi := &file_third_third_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PartLimitReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PartLimitReq) ProtoMessage() {}
func (x *PartLimitReq) ProtoReflect() protoreflect.Message {
mi := &file_third_third_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PartLimitReq.ProtoReflect.Descriptor instead.
func (*PartLimitReq) Descriptor() ([]byte, []int) {
return file_third_third_proto_rawDescGZIP(), []int{3}
}
type PartLimitResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MinPartSize int64 `protobuf:"varint,1,opt,name=minPartSize,proto3" json:"minPartSize"`
MaxPartSize int64 `protobuf:"varint,2,opt,name=maxPartSize,proto3" json:"maxPartSize"`
MaxNumSize int32 `protobuf:"varint,3,opt,name=maxNumSize,proto3" json:"maxNumSize"`
}
func (x *PartLimitResp) Reset() {
*x = PartLimitResp{}
if protoimpl.UnsafeEnabled {
mi := &file_third_third_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PartLimitResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PartLimitResp) ProtoMessage() {}
func (x *PartLimitResp) ProtoReflect() protoreflect.Message {
mi := &file_third_third_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
// Deprecated: Use PartLimitResp.ProtoReflect.Descriptor instead.
func (*PartLimitResp) Descriptor() ([]byte, []int) {
return file_third_third_proto_rawDescGZIP(), []int{4}
}
func (x *PartLimitResp) GetMinPartSize() int64 {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.MinPartSize
2023-06-30 09:45:02 +08:00
}
return 0
}
2023-07-12 15:31:24 +08:00
func (x *PartLimitResp) GetMaxPartSize() int64 {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.MaxPartSize
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
return 0
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *PartLimitResp) GetMaxNumSize() int32 {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.MaxNumSize
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
return 0
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
type PartSizeReq struct {
2023-06-30 09:45:02 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-12 15:31:24 +08:00
Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size"`
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *PartSizeReq) Reset() {
*x = PartSizeReq{}
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled {
2023-07-12 15:31:24 +08:00
mi := &file_third_third_proto_msgTypes[5]
2023-06-30 09:45:02 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-12 15:31:24 +08:00
func (x *PartSizeReq) String() string {
2023-06-30 09:45:02 +08:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-12 15:31:24 +08:00
func (*PartSizeReq) ProtoMessage() {}
2023-06-30 09:45:02 +08:00
2023-07-12 15:31:24 +08:00
func (x *PartSizeReq) ProtoReflect() protoreflect.Message {
mi := &file_third_third_proto_msgTypes[5]
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-07-12 15:31:24 +08:00
// Deprecated: Use PartSizeReq.ProtoReflect.Descriptor instead.
func (*PartSizeReq) Descriptor() ([]byte, []int) {
return file_third_third_proto_rawDescGZIP(), []int{5}
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *PartSizeReq) GetSize() int64 {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.Size
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
return 0
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
type PartSizeResp struct {
2023-06-30 09:45:02 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-12 15:31:24 +08:00
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size"`
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *PartSizeResp) Reset() {
*x = PartSizeResp{}
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled {
2023-07-12 15:31:24 +08:00
mi := &file_third_third_proto_msgTypes[6]
2023-06-30 09:45:02 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-12 15:31:24 +08:00
func (x *PartSizeResp) String() string {
2023-06-30 09:45:02 +08:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-12 15:31:24 +08:00
func (*PartSizeResp) ProtoMessage() {}
2023-06-30 09:45:02 +08:00
2023-07-12 15:31:24 +08:00
func (x *PartSizeResp) ProtoReflect() protoreflect.Message {
mi := &file_third_third_proto_msgTypes[6]
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-07-12 15:31:24 +08:00
// Deprecated: Use PartSizeResp.ProtoReflect.Descriptor instead.
func (*PartSizeResp) Descriptor() ([]byte, []int) {
return file_third_third_proto_rawDescGZIP(), []int{6}
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *PartSizeResp) GetSize() int64 {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.Size
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
return 0
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
type InitiateMultipartUploadReq struct {
2023-06-30 09:45:02 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-12 15:31:24 +08:00
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash"`
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size"`
PartSize int64 `protobuf:"varint,3,opt,name=partSize,proto3" json:"partSize"`
MaxParts int32 `protobuf:"varint,4,opt,name=maxParts,proto3" json:"maxParts"`
Cause string `protobuf:"bytes,5,opt,name=cause,proto3" json:"cause"`
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name"`
ContentType string `protobuf:"bytes,7,opt,name=contentType,proto3" json:"contentType"`
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *InitiateMultipartUploadReq) Reset() {
*x = InitiateMultipartUploadReq{}
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled {
2023-07-12 15:31:24 +08:00
mi := &file_third_third_proto_msgTypes[7]
2023-06-30 09:45:02 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-12 15:31:24 +08:00
func (x *InitiateMultipartUploadReq) String() string {
2023-06-30 09:45:02 +08:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-12 15:31:24 +08:00
func (*InitiateMultipartUploadReq) ProtoMessage() {}
2023-06-30 09:45:02 +08:00
2023-07-12 15:31:24 +08:00
func (x *InitiateMultipartUploadReq) ProtoReflect() protoreflect.Message {
mi := &file_third_third_proto_msgTypes[7]
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-07-12 15:31:24 +08:00
// Deprecated: Use InitiateMultipartUploadReq.ProtoReflect.Descriptor instead.
func (*InitiateMultipartUploadReq) Descriptor() ([]byte, []int) {
return file_third_third_proto_rawDescGZIP(), []int{7}
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *InitiateMultipartUploadReq) GetHash() string {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.Hash
2023-06-30 09:45:02 +08:00
}
return ""
}
2023-07-12 15:31:24 +08:00
func (x *InitiateMultipartUploadReq) GetSize() int64 {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.Size
2023-06-30 09:45:02 +08:00
}
return 0
}
2023-07-12 15:31:24 +08:00
func (x *InitiateMultipartUploadReq) GetPartSize() int64 {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.PartSize
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
return 0
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *InitiateMultipartUploadReq) GetMaxParts() int32 {
if x != nil {
return x.MaxParts
}
return 0
}
func (x *InitiateMultipartUploadReq) GetCause() string {
if x != nil {
return x.Cause
}
return ""
}
func (x *InitiateMultipartUploadReq) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *InitiateMultipartUploadReq) GetContentType() string {
if x != nil {
return x.ContentType
}
return ""
}
type UploadInfo struct {
2023-06-30 09:45:02 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-12 15:31:24 +08:00
UploadID string `protobuf:"bytes,1,opt,name=uploadID,proto3" json:"uploadID"`
PartSize int64 `protobuf:"varint,2,opt,name=partSize,proto3" json:"partSize"`
Sign *AuthSignParts `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign"`
ExpireTime int64 `protobuf:"varint,4,opt,name=expireTime,proto3" json:"expireTime"`
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *UploadInfo) Reset() {
*x = UploadInfo{}
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled {
2023-07-12 15:31:24 +08:00
mi := &file_third_third_proto_msgTypes[8]
2023-06-30 09:45:02 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-12 15:31:24 +08:00
func (x *UploadInfo) String() string {
2023-06-30 09:45:02 +08:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-12 15:31:24 +08:00
func (*UploadInfo) ProtoMessage() {}
2023-06-30 09:45:02 +08:00
2023-07-12 15:31:24 +08:00
func (x *UploadInfo) ProtoReflect() protoreflect.Message {
mi := &file_third_third_proto_msgTypes[8]
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-07-12 15:31:24 +08:00
// Deprecated: Use UploadInfo.ProtoReflect.Descriptor instead.
func (*UploadInfo) Descriptor() ([]byte, []int) {
return file_third_third_proto_rawDescGZIP(), []int{8}
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *UploadInfo) GetUploadID() string {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.UploadID
2023-06-30 09:45:02 +08:00
}
return ""
}
2023-07-12 15:31:24 +08:00
func (x *UploadInfo) GetPartSize() int64 {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.PartSize
2023-06-30 09:45:02 +08:00
}
return 0
}
2023-07-12 15:31:24 +08:00
func (x *UploadInfo) GetSign() *AuthSignParts {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.Sign
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
return nil
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *UploadInfo) GetExpireTime() int64 {
if x != nil {
return x.ExpireTime
}
return 0
}
type InitiateMultipartUploadResp struct {
2023-06-30 09:45:02 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-12 15:31:24 +08:00
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url"`
Upload *UploadInfo `protobuf:"bytes,2,opt,name=upload,proto3" json:"upload"`
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *InitiateMultipartUploadResp) Reset() {
*x = InitiateMultipartUploadResp{}
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled {
2023-07-12 15:31:24 +08:00
mi := &file_third_third_proto_msgTypes[9]
2023-06-30 09:45:02 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-12 15:31:24 +08:00
func (x *InitiateMultipartUploadResp) String() string {
2023-06-30 09:45:02 +08:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-12 15:31:24 +08:00
func (*InitiateMultipartUploadResp) ProtoMessage() {}
2023-06-30 09:45:02 +08:00
2023-07-12 15:31:24 +08:00
func (x *InitiateMultipartUploadResp) ProtoReflect() protoreflect.Message {
mi := &file_third_third_proto_msgTypes[9]
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-07-12 15:31:24 +08:00
// Deprecated: Use InitiateMultipartUploadResp.ProtoReflect.Descriptor instead.
func (*InitiateMultipartUploadResp) Descriptor() ([]byte, []int) {
return file_third_third_proto_rawDescGZIP(), []int{9}
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *InitiateMultipartUploadResp) GetUrl() string {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.Url
2023-06-30 09:45:02 +08:00
}
return ""
}
2023-07-12 15:31:24 +08:00
func (x *InitiateMultipartUploadResp) GetUpload() *UploadInfo {
if x != nil {
return x.Upload
}
return nil
}
type AuthSignReq struct {
2023-06-30 09:45:02 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-12 15:31:24 +08:00
UploadID string `protobuf:"bytes,1,opt,name=uploadID,proto3" json:"uploadID"`
PartNumbers []int32 `protobuf:"varint,2,rep,packed,name=partNumbers,proto3" json:"partNumbers"`
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *AuthSignReq) Reset() {
*x = AuthSignReq{}
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled {
2023-07-12 15:31:24 +08:00
mi := &file_third_third_proto_msgTypes[10]
2023-06-30 09:45:02 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-12 15:31:24 +08:00
func (x *AuthSignReq) String() string {
2023-06-30 09:45:02 +08:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-12 15:31:24 +08:00
func (*AuthSignReq) ProtoMessage() {}
2023-06-30 09:45:02 +08:00
2023-07-12 15:31:24 +08:00
func (x *AuthSignReq) ProtoReflect() protoreflect.Message {
mi := &file_third_third_proto_msgTypes[10]
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-07-12 15:31:24 +08:00
// Deprecated: Use AuthSignReq.ProtoReflect.Descriptor instead.
func (*AuthSignReq) Descriptor() ([]byte, []int) {
return file_third_third_proto_rawDescGZIP(), []int{10}
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *AuthSignReq) GetUploadID() string {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.UploadID
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
return ""
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *AuthSignReq) GetPartNumbers() []int32 {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.PartNumbers
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
return nil
}
type AuthSignResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url"`
Query []*KeyValues `protobuf:"bytes,2,rep,name=query,proto3" json:"query"`
Header []*KeyValues `protobuf:"bytes,3,rep,name=header,proto3" json:"header"`
Parts []*SignPart `protobuf:"bytes,4,rep,name=parts,proto3" json:"parts"`
}
func (x *AuthSignResp) Reset() {
*x = AuthSignResp{}
if protoimpl.UnsafeEnabled {
mi := &file_third_third_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AuthSignResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AuthSignResp) ProtoMessage() {}
func (x *AuthSignResp) ProtoReflect() protoreflect.Message {
mi := &file_third_third_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
// Deprecated: Use AuthSignResp.ProtoReflect.Descriptor instead.
func (*AuthSignResp) Descriptor() ([]byte, []int) {
return file_third_third_proto_rawDescGZIP(), []int{11}
}
func (x *AuthSignResp) GetUrl() string {
2023-06-30 09:45:02 +08:00
if x != nil {
return x.Url
}
return ""
}
2023-07-12 15:31:24 +08:00
func (x *AuthSignResp) GetQuery() []*KeyValues {
if x != nil {
return x.Query
}
return nil
}
func (x *AuthSignResp) GetHeader() []*KeyValues {
if x != nil {
return x.Header
}
return nil
}
func (x *AuthSignResp) GetParts() []*SignPart {
if x != nil {
return x.Parts
}
return nil
}
type CompleteMultipartUploadReq struct {
2023-06-30 09:45:02 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-12 15:31:24 +08:00
UploadID string `protobuf:"bytes,1,opt,name=uploadID,proto3" json:"uploadID"`
Parts []string `protobuf:"bytes,2,rep,name=parts,proto3" json:"parts"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
ContentType string `protobuf:"bytes,4,opt,name=contentType,proto3" json:"contentType"`
Cause string `protobuf:"bytes,5,opt,name=cause,proto3" json:"cause"`
}
func (x *CompleteMultipartUploadReq) Reset() {
*x = CompleteMultipartUploadReq{}
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled {
2023-07-12 15:31:24 +08:00
mi := &file_third_third_proto_msgTypes[12]
2023-06-30 09:45:02 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-12 15:31:24 +08:00
func (x *CompleteMultipartUploadReq) String() string {
2023-06-30 09:45:02 +08:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-12 15:31:24 +08:00
func (*CompleteMultipartUploadReq) ProtoMessage() {}
2023-06-30 09:45:02 +08:00
2023-07-12 15:31:24 +08:00
func (x *CompleteMultipartUploadReq) ProtoReflect() protoreflect.Message {
mi := &file_third_third_proto_msgTypes[12]
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-07-12 15:31:24 +08:00
// Deprecated: Use CompleteMultipartUploadReq.ProtoReflect.Descriptor instead.
func (*CompleteMultipartUploadReq) Descriptor() ([]byte, []int) {
return file_third_third_proto_rawDescGZIP(), []int{12}
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *CompleteMultipartUploadReq) GetUploadID() string {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.UploadID
2023-06-30 09:45:02 +08:00
}
return ""
}
2023-07-12 15:31:24 +08:00
func (x *CompleteMultipartUploadReq) GetParts() []string {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.Parts
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
return nil
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *CompleteMultipartUploadReq) GetName() string {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.Name
2023-06-30 09:45:02 +08:00
}
return ""
}
2023-07-12 15:31:24 +08:00
func (x *CompleteMultipartUploadReq) GetContentType() string {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.ContentType
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
return ""
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *CompleteMultipartUploadReq) GetCause() string {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.Cause
2023-06-30 09:45:02 +08:00
}
return ""
}
2023-07-12 15:31:24 +08:00
type CompleteMultipartUploadResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url"`
}
func (x *CompleteMultipartUploadResp) Reset() {
*x = CompleteMultipartUploadResp{}
if protoimpl.UnsafeEnabled {
mi := &file_third_third_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2023-06-30 09:45:02 +08:00
}
}
2023-07-12 15:31:24 +08:00
func (x *CompleteMultipartUploadResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CompleteMultipartUploadResp) ProtoMessage() {}
func (x *CompleteMultipartUploadResp) ProtoReflect() protoreflect.Message {
mi := &file_third_third_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
return mi.MessageOf(x)
}
// Deprecated: Use CompleteMultipartUploadResp.ProtoReflect.Descriptor instead.
func (*CompleteMultipartUploadResp) Descriptor() ([]byte, []int) {
return file_third_third_proto_rawDescGZIP(), []int{13}
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *CompleteMultipartUploadResp) GetUrl() string {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.Url
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
return ""
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
type AccessURLReq struct {
2023-06-30 09:45:02 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-12 15:31:24 +08:00
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"`
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *AccessURLReq) Reset() {
*x = AccessURLReq{}
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled {
2023-07-12 15:31:24 +08:00
mi := &file_third_third_proto_msgTypes[14]
2023-06-30 09:45:02 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-12 15:31:24 +08:00
func (x *AccessURLReq) String() string {
2023-06-30 09:45:02 +08:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-12 15:31:24 +08:00
func (*AccessURLReq) ProtoMessage() {}
2023-06-30 09:45:02 +08:00
2023-07-12 15:31:24 +08:00
func (x *AccessURLReq) ProtoReflect() protoreflect.Message {
mi := &file_third_third_proto_msgTypes[14]
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-07-12 15:31:24 +08:00
// Deprecated: Use AccessURLReq.ProtoReflect.Descriptor instead.
func (*AccessURLReq) Descriptor() ([]byte, []int) {
return file_third_third_proto_rawDescGZIP(), []int{14}
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *AccessURLReq) GetName() string {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.Name
2023-06-30 09:45:02 +08:00
}
return ""
}
2023-07-12 15:31:24 +08:00
type AccessURLResp struct {
2023-06-30 09:45:02 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-12 15:31:24 +08:00
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url"`
ExpireTime int64 `protobuf:"varint,2,opt,name=expireTime,proto3" json:"expireTime"`
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *AccessURLResp) Reset() {
*x = AccessURLResp{}
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled {
2023-07-12 15:31:24 +08:00
mi := &file_third_third_proto_msgTypes[15]
2023-06-30 09:45:02 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-12 15:31:24 +08:00
func (x *AccessURLResp) String() string {
2023-06-30 09:45:02 +08:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-12 15:31:24 +08:00
func (*AccessURLResp) ProtoMessage() {}
2023-06-30 09:45:02 +08:00
2023-07-12 15:31:24 +08:00
func (x *AccessURLResp) ProtoReflect() protoreflect.Message {
mi := &file_third_third_proto_msgTypes[15]
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-07-12 15:31:24 +08:00
// Deprecated: Use AccessURLResp.ProtoReflect.Descriptor instead.
func (*AccessURLResp) Descriptor() ([]byte, []int) {
return file_third_third_proto_rawDescGZIP(), []int{15}
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (x *AccessURLResp) GetUrl() string {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.Url
2023-06-30 09:45:02 +08:00
}
return ""
}
2023-07-12 15:31:24 +08:00
func (x *AccessURLResp) GetExpireTime() int64 {
2023-06-30 09:45:02 +08:00
if x != nil {
2023-07-12 15:31:24 +08:00
return x.ExpireTime
2023-06-30 09:45:02 +08:00
}
return 0
}
type FcmUpdateTokenReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PlatformID int32 `protobuf:"varint,1,opt,name=platformID,proto3" json:"platformID"`
FcmToken string `protobuf:"bytes,2,opt,name=fcmToken,proto3" json:"fcmToken"`
Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account"`
ExpireTime int64 `protobuf:"varint,4,opt,name=expireTime,proto3" json:"expireTime"`
}
func (x *FcmUpdateTokenReq) Reset() {
*x = FcmUpdateTokenReq{}
if protoimpl.UnsafeEnabled {
2023-07-12 15:31:24 +08:00
mi := &file_third_third_proto_msgTypes[16]
2023-06-30 09:45:02 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FcmUpdateTokenReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FcmUpdateTokenReq) ProtoMessage() {}
func (x *FcmUpdateTokenReq) ProtoReflect() protoreflect.Message {
2023-07-12 15:31:24 +08:00
mi := &file_third_third_proto_msgTypes[16]
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FcmUpdateTokenReq.ProtoReflect.Descriptor instead.
func (*FcmUpdateTokenReq) Descriptor() ([]byte, []int) {
2023-07-12 15:31:24 +08:00
return file_third_third_proto_rawDescGZIP(), []int{16}
2023-06-30 09:45:02 +08:00
}
func (x *FcmUpdateTokenReq) GetPlatformID() int32 {
if x != nil {
return x.PlatformID
}
return 0
}
func (x *FcmUpdateTokenReq) GetFcmToken() string {
if x != nil {
return x.FcmToken
}
return ""
}
func (x *FcmUpdateTokenReq) GetAccount() string {
if x != nil {
return x.Account
}
return ""
}
func (x *FcmUpdateTokenReq) GetExpireTime() int64 {
if x != nil {
return x.ExpireTime
}
return 0
}
type FcmUpdateTokenResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *FcmUpdateTokenResp) Reset() {
*x = FcmUpdateTokenResp{}
if protoimpl.UnsafeEnabled {
2023-07-12 15:31:24 +08:00
mi := &file_third_third_proto_msgTypes[17]
2023-06-30 09:45:02 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FcmUpdateTokenResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FcmUpdateTokenResp) ProtoMessage() {}
func (x *FcmUpdateTokenResp) ProtoReflect() protoreflect.Message {
2023-07-12 15:31:24 +08:00
mi := &file_third_third_proto_msgTypes[17]
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FcmUpdateTokenResp.ProtoReflect.Descriptor instead.
func (*FcmUpdateTokenResp) Descriptor() ([]byte, []int) {
2023-07-12 15:31:24 +08:00
return file_third_third_proto_rawDescGZIP(), []int{17}
2023-06-30 09:45:02 +08:00
}
type SetAppBadgeReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
AppUnreadCount int32 `protobuf:"varint,2,opt,name=appUnreadCount,proto3" json:"appUnreadCount"`
}
func (x *SetAppBadgeReq) Reset() {
*x = SetAppBadgeReq{}
if protoimpl.UnsafeEnabled {
2023-07-12 15:31:24 +08:00
mi := &file_third_third_proto_msgTypes[18]
2023-06-30 09:45:02 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SetAppBadgeReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetAppBadgeReq) ProtoMessage() {}
func (x *SetAppBadgeReq) ProtoReflect() protoreflect.Message {
2023-07-12 15:31:24 +08:00
mi := &file_third_third_proto_msgTypes[18]
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetAppBadgeReq.ProtoReflect.Descriptor instead.
func (*SetAppBadgeReq) Descriptor() ([]byte, []int) {
2023-07-12 15:31:24 +08:00
return file_third_third_proto_rawDescGZIP(), []int{18}
2023-06-30 09:45:02 +08:00
}
func (x *SetAppBadgeReq) GetUserID() string {
if x != nil {
return x.UserID
}
return ""
}
func (x *SetAppBadgeReq) GetAppUnreadCount() int32 {
if x != nil {
return x.AppUnreadCount
}
return 0
}
type SetAppBadgeResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *SetAppBadgeResp) Reset() {
*x = SetAppBadgeResp{}
if protoimpl.UnsafeEnabled {
2023-07-12 15:31:24 +08:00
mi := &file_third_third_proto_msgTypes[19]
2023-06-30 09:45:02 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SetAppBadgeResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetAppBadgeResp) ProtoMessage() {}
func (x *SetAppBadgeResp) ProtoReflect() protoreflect.Message {
2023-07-12 15:31:24 +08:00
mi := &file_third_third_proto_msgTypes[19]
2023-06-30 09:45:02 +08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetAppBadgeResp.ProtoReflect.Descriptor instead.
func (*SetAppBadgeResp) Descriptor() ([]byte, []int) {
2023-07-12 15:31:24 +08:00
return file_third_third_proto_rawDescGZIP(), []int{19}
2023-06-30 09:45:02 +08:00
}
var File_third_third_proto protoreflect.FileDescriptor
var file_third_third_proto_rawDesc = []byte{
0x0a, 0x11, 0x74, 0x68, 0x69, 0x72, 0x64, 0x2f, 0x74, 0x68, 0x69, 0x72, 0x64, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x12, 0x12, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65,
2023-07-12 15:31:24 +08:00
0x72, 0x2e, 0x74, 0x68, 0x69, 0x72, 0x64, 0x22, 0x35, 0x0a, 0x09, 0x4b, 0x65, 0x79, 0x56, 0x61,
0x6c, 0x75, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0xa8,
0x01, 0x0a, 0x08, 0x53, 0x69, 0x67, 0x6e, 0x50, 0x61, 0x72, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70,
0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
0x0a, 0x70, 0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x75,
0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x33, 0x0a,
0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x4f,
0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x74, 0x68, 0x69, 0x72,
0x64, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x05, 0x71, 0x75, 0x65,
0x72, 0x79, 0x12, 0x35, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65,
0x72, 0x2e, 0x74, 0x68, 0x69, 0x72, 0x64, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65,
0x73, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0xc1, 0x01, 0x0a, 0x0d, 0x41, 0x75,
0x74, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x50, 0x61, 0x72, 0x74, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75,
0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x33, 0x0a,
0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x4f,
0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x74, 0x68, 0x69, 0x72,
0x64, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x05, 0x71, 0x75, 0x65,
0x72, 0x79, 0x12, 0x35, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65,
0x72, 0x2e, 0x74, 0x68, 0x69, 0x72, 0x64, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65,
0x73, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x05, 0x70, 0x61, 0x72,
0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49,
0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x74, 0x68, 0x69, 0x72, 0x64, 0x2e, 0x53, 0x69,
0x67, 0x6e, 0x50, 0x61, 0x72, 0x74, 0x52, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x22, 0x0e, 0x0a,
0x0c, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x22, 0x73, 0x0a,
0x0d, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20,
0x0a, 0x0b, 0x6d, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x03, 0x52, 0x0b, 0x6d, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x74, 0x53, 0x69, 0x7a, 0x65,
0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x50, 0x61, 0x72, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x50, 0x61, 0x72, 0x74, 0x53, 0x69,
0x7a, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x53, 0x69, 0x7a, 0x65,
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x53, 0x69,
0x7a, 0x65, 0x22, 0x21, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65,
0x71, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x22, 0x0a, 0x0c, 0x50, 0x61, 0x72, 0x74, 0x53, 0x69, 0x7a,
0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0xc8, 0x01, 0x0a, 0x1a, 0x49, 0x6e,
0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61, 0x72, 0x74, 0x55,
0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04,
0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65,
0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x72, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01,
0x28, 0x03, 0x52, 0x08, 0x70, 0x61, 0x72, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1a, 0x0a, 0x08,
0x6d, 0x61, 0x78, 0x50, 0x61, 0x72, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
0x6d, 0x61, 0x78, 0x50, 0x61, 0x72, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x75, 0x73,
0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x12, 0x12,
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70,
0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
0x54, 0x79, 0x70, 0x65, 0x22, 0x9b, 0x01, 0x0a, 0x0a, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49,
0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x44, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x44, 0x12,
0x1a, 0x0a, 0x08, 0x70, 0x61, 0x72, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x03, 0x52, 0x08, 0x70, 0x61, 0x72, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x73,
0x69, 0x67, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x4f, 0x70, 0x65, 0x6e,
0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x74, 0x68, 0x69, 0x72, 0x64, 0x2e, 0x41,
0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x50, 0x61, 0x72, 0x74, 0x73, 0x52, 0x04, 0x73, 0x69,
0x67, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65,
0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69,
0x6d, 0x65, 0x22, 0x67, 0x0a, 0x1b, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x4d, 0x75,
0x6c, 0x74, 0x69, 0x70, 0x61, 0x72, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73,
0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
0x75, 0x72, 0x6c, 0x12, 0x36, 0x0a, 0x06, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76,
0x65, 0x72, 0x2e, 0x74, 0x68, 0x69, 0x72, 0x64, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49,
0x6e, 0x66, 0x6f, 0x52, 0x06, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x4b, 0x0a, 0x0b, 0x41,
0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x70,
0x6c, 0x6f, 0x61, 0x64, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x70,
0x6c, 0x6f, 0x61, 0x64, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x4e, 0x75,
0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0b, 0x70, 0x61, 0x72,
0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x22, 0xc0, 0x01, 0x0a, 0x0c, 0x41, 0x75, 0x74,
0x68, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x33, 0x0a, 0x05, 0x71,
0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x4f, 0x70, 0x65,
0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x74, 0x68, 0x69, 0x72, 0x64, 0x2e,
0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79,
0x12, 0x35, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x1d, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e,
0x74, 0x68, 0x69, 0x72, 0x64, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52,
0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73,
0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53,
0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x74, 0x68, 0x69, 0x72, 0x64, 0x2e, 0x53, 0x69, 0x67, 0x6e,
0x50, 0x61, 0x72, 0x74, 0x52, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x22, 0x9a, 0x01, 0x0a, 0x1a,
0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61, 0x72,
0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x70,
0x6c, 0x6f, 0x61, 0x64, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x70,
0x6c, 0x6f, 0x61, 0x64, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x18,
0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04,
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
2023-06-30 09:45:02 +08:00
0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18,
2023-07-12 15:31:24 +08:00
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79,
0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
0x09, 0x52, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x22, 0x2f, 0x0a, 0x1b, 0x43, 0x6f, 0x6d, 0x70,
0x6c, 0x65, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61, 0x72, 0x74, 0x55, 0x70, 0x6c,
0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x22, 0x0a, 0x0c, 0x41, 0x63, 0x63,
0x65, 0x73, 0x73, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x41, 0x0a,
0x0d, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10,
0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c,
0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02,
0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65,
0x22, 0x89, 0x01, 0x0a, 0x11, 0x46, 0x63, 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f,
0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f,
0x72, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x74,
0x66, 0x6f, 0x72, 0x6d, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x63, 0x6d, 0x54, 0x6f, 0x6b,
0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x63, 0x6d, 0x54, 0x6f, 0x6b,
0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a,
0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03,
0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x14, 0x0a, 0x12,
0x46, 0x63, 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65,
0x73, 0x70, 0x22, 0x50, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x41, 0x70, 0x70, 0x42, 0x61, 0x64, 0x67,
0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e,
0x61, 0x70, 0x70, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02,
0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x61, 0x70, 0x70, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43,
0x6f, 0x75, 0x6e, 0x74, 0x22, 0x11, 0x0a, 0x0f, 0x53, 0x65, 0x74, 0x41, 0x70, 0x70, 0x42, 0x61,
0x64, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x32, 0xfa, 0x05, 0x0a, 0x05, 0x74, 0x68, 0x69, 0x72,
0x64, 0x12, 0x50, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x20,
2023-06-30 09:45:02 +08:00
0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x74, 0x68,
2023-07-12 15:31:24 +08:00
0x69, 0x72, 0x64, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71,
0x1a, 0x21, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e,
0x74, 0x68, 0x69, 0x72, 0x64, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52,
0x65, 0x73, 0x70, 0x12, 0x4d, 0x0a, 0x08, 0x50, 0x61, 0x72, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12,
0x1f, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x74,
0x68, 0x69, 0x72, 0x64, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71,
0x1a, 0x20, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e,
0x74, 0x68, 0x69, 0x72, 0x64, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65,
0x73, 0x70, 0x12, 0x7a, 0x0a, 0x17, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x4d, 0x75,
0x6c, 0x74, 0x69, 0x70, 0x61, 0x72, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x2e, 0x2e,
2023-06-30 09:45:02 +08:00
0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x74, 0x68, 0x69,
2023-07-12 15:31:24 +08:00
0x72, 0x64, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69,
0x70, 0x61, 0x72, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x2f, 0x2e,
0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x74, 0x68, 0x69,
0x72, 0x64, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69,
0x70, 0x61, 0x72, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4d,
0x0a, 0x08, 0x41, 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x12, 0x1f, 0x2e, 0x4f, 0x70, 0x65,
0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x74, 0x68, 0x69, 0x72, 0x64, 0x2e,
0x41, 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x4f, 0x70,
2023-06-30 09:45:02 +08:00
0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x74, 0x68, 0x69, 0x72, 0x64,
2023-07-12 15:31:24 +08:00
0x2e, 0x41, 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x7a, 0x0a,
0x17, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61,
0x72, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x2e, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49,
0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x74, 0x68, 0x69, 0x72, 0x64, 0x2e, 0x43, 0x6f,
0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61, 0x72, 0x74, 0x55,
0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x2f, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49,
0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x74, 0x68, 0x69, 0x72, 0x64, 0x2e, 0x43, 0x6f,
0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61, 0x72, 0x74, 0x55,
0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x50, 0x0a, 0x09, 0x41, 0x63, 0x63,
0x65, 0x73, 0x73, 0x55, 0x52, 0x4c, 0x12, 0x20, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53,
0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x74, 0x68, 0x69, 0x72, 0x64, 0x2e, 0x41, 0x63, 0x63, 0x65,
0x73, 0x73, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x1a, 0x21, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49,
0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x74, 0x68, 0x69, 0x72, 0x64, 0x2e, 0x41, 0x63,
0x63, 0x65, 0x73, 0x73, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x5f, 0x0a, 0x0e, 0x46,
0x63, 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x25, 0x2e,
2023-06-30 09:45:02 +08:00
0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x74, 0x68, 0x69,
0x72, 0x64, 0x2e, 0x46, 0x63, 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65,
2023-07-12 15:31:24 +08:00
0x6e, 0x52, 0x65, 0x71, 0x1a, 0x26, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72,
0x76, 0x65, 0x72, 0x2e, 0x74, 0x68, 0x69, 0x72, 0x64, 0x2e, 0x46, 0x63, 0x6d, 0x55, 0x70, 0x64,
0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x56, 0x0a, 0x0b,
0x53, 0x65, 0x74, 0x41, 0x70, 0x70, 0x42, 0x61, 0x64, 0x67, 0x65, 0x12, 0x22, 0x2e, 0x4f, 0x70,
0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x74, 0x68, 0x69, 0x72, 0x64,
0x2e, 0x53, 0x65, 0x74, 0x41, 0x70, 0x70, 0x42, 0x61, 0x64, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a,
0x23, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x74,
0x68, 0x69, 0x72, 0x64, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x70, 0x70, 0x42, 0x61, 0x64, 0x67, 0x65,
0x52, 0x65, 0x73, 0x70, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
0x6f, 0x6d, 0x2f, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x44, 0x4b, 0x2f, 0x4f, 0x70, 0x65,
0x6e, 0x2d, 0x49, 0x4d, 0x2d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x6b, 0x67, 0x2f,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x68, 0x69, 0x72, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
2023-06-30 09:45:02 +08:00
}
var (
file_third_third_proto_rawDescOnce sync.Once
file_third_third_proto_rawDescData = file_third_third_proto_rawDesc
)
func file_third_third_proto_rawDescGZIP() []byte {
file_third_third_proto_rawDescOnce.Do(func() {
file_third_third_proto_rawDescData = protoimpl.X.CompressGZIP(file_third_third_proto_rawDescData)
})
return file_third_third_proto_rawDescData
}
2023-07-12 15:31:24 +08:00
var file_third_third_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
2023-06-30 09:45:02 +08:00
var file_third_third_proto_goTypes = []interface{}{
2023-07-12 15:31:24 +08:00
(*KeyValues)(nil), // 0: OpenIMServer.third.KeyValues
(*SignPart)(nil), // 1: OpenIMServer.third.SignPart
(*AuthSignParts)(nil), // 2: OpenIMServer.third.AuthSignParts
(*PartLimitReq)(nil), // 3: OpenIMServer.third.PartLimitReq
(*PartLimitResp)(nil), // 4: OpenIMServer.third.PartLimitResp
(*PartSizeReq)(nil), // 5: OpenIMServer.third.PartSizeReq
(*PartSizeResp)(nil), // 6: OpenIMServer.third.PartSizeResp
(*InitiateMultipartUploadReq)(nil), // 7: OpenIMServer.third.InitiateMultipartUploadReq
(*UploadInfo)(nil), // 8: OpenIMServer.third.UploadInfo
(*InitiateMultipartUploadResp)(nil), // 9: OpenIMServer.third.InitiateMultipartUploadResp
(*AuthSignReq)(nil), // 10: OpenIMServer.third.AuthSignReq
(*AuthSignResp)(nil), // 11: OpenIMServer.third.AuthSignResp
(*CompleteMultipartUploadReq)(nil), // 12: OpenIMServer.third.CompleteMultipartUploadReq
(*CompleteMultipartUploadResp)(nil), // 13: OpenIMServer.third.CompleteMultipartUploadResp
(*AccessURLReq)(nil), // 14: OpenIMServer.third.AccessURLReq
(*AccessURLResp)(nil), // 15: OpenIMServer.third.AccessURLResp
(*FcmUpdateTokenReq)(nil), // 16: OpenIMServer.third.FcmUpdateTokenReq
(*FcmUpdateTokenResp)(nil), // 17: OpenIMServer.third.FcmUpdateTokenResp
(*SetAppBadgeReq)(nil), // 18: OpenIMServer.third.SetAppBadgeReq
(*SetAppBadgeResp)(nil), // 19: OpenIMServer.third.SetAppBadgeResp
2023-06-30 09:45:02 +08:00
}
var file_third_third_proto_depIdxs = []int32{
2023-07-12 15:31:24 +08:00
0, // 0: OpenIMServer.third.SignPart.query:type_name -> OpenIMServer.third.KeyValues
0, // 1: OpenIMServer.third.SignPart.header:type_name -> OpenIMServer.third.KeyValues
0, // 2: OpenIMServer.third.AuthSignParts.query:type_name -> OpenIMServer.third.KeyValues
0, // 3: OpenIMServer.third.AuthSignParts.header:type_name -> OpenIMServer.third.KeyValues
1, // 4: OpenIMServer.third.AuthSignParts.parts:type_name -> OpenIMServer.third.SignPart
2, // 5: OpenIMServer.third.UploadInfo.sign:type_name -> OpenIMServer.third.AuthSignParts
8, // 6: OpenIMServer.third.InitiateMultipartUploadResp.upload:type_name -> OpenIMServer.third.UploadInfo
0, // 7: OpenIMServer.third.AuthSignResp.query:type_name -> OpenIMServer.third.KeyValues
0, // 8: OpenIMServer.third.AuthSignResp.header:type_name -> OpenIMServer.third.KeyValues
1, // 9: OpenIMServer.third.AuthSignResp.parts:type_name -> OpenIMServer.third.SignPart
3, // 10: OpenIMServer.third.third.PartLimit:input_type -> OpenIMServer.third.PartLimitReq
5, // 11: OpenIMServer.third.third.PartSize:input_type -> OpenIMServer.third.PartSizeReq
7, // 12: OpenIMServer.third.third.InitiateMultipartUpload:input_type -> OpenIMServer.third.InitiateMultipartUploadReq
10, // 13: OpenIMServer.third.third.AuthSign:input_type -> OpenIMServer.third.AuthSignReq
12, // 14: OpenIMServer.third.third.CompleteMultipartUpload:input_type -> OpenIMServer.third.CompleteMultipartUploadReq
14, // 15: OpenIMServer.third.third.AccessURL:input_type -> OpenIMServer.third.AccessURLReq
16, // 16: OpenIMServer.third.third.FcmUpdateToken:input_type -> OpenIMServer.third.FcmUpdateTokenReq
18, // 17: OpenIMServer.third.third.SetAppBadge:input_type -> OpenIMServer.third.SetAppBadgeReq
4, // 18: OpenIMServer.third.third.PartLimit:output_type -> OpenIMServer.third.PartLimitResp
6, // 19: OpenIMServer.third.third.PartSize:output_type -> OpenIMServer.third.PartSizeResp
9, // 20: OpenIMServer.third.third.InitiateMultipartUpload:output_type -> OpenIMServer.third.InitiateMultipartUploadResp
11, // 21: OpenIMServer.third.third.AuthSign:output_type -> OpenIMServer.third.AuthSignResp
13, // 22: OpenIMServer.third.third.CompleteMultipartUpload:output_type -> OpenIMServer.third.CompleteMultipartUploadResp
15, // 23: OpenIMServer.third.third.AccessURL:output_type -> OpenIMServer.third.AccessURLResp
17, // 24: OpenIMServer.third.third.FcmUpdateToken:output_type -> OpenIMServer.third.FcmUpdateTokenResp
19, // 25: OpenIMServer.third.third.SetAppBadge:output_type -> OpenIMServer.third.SetAppBadgeResp
18, // [18:26] is the sub-list for method output_type
10, // [10:18] is the sub-list for method input_type
10, // [10:10] is the sub-list for extension type_name
10, // [10:10] is the sub-list for extension extendee
0, // [0:10] is the sub-list for field type_name
2023-06-30 09:45:02 +08:00
}
func init() { file_third_third_proto_init() }
func file_third_third_proto_init() {
if File_third_third_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_third_third_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2023-07-12 15:31:24 +08:00
switch v := v.(*KeyValues); i {
2023-06-30 09:45:02 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_third_third_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2023-07-12 15:31:24 +08:00
switch v := v.(*SignPart); i {
2023-06-30 09:45:02 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_third_third_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2023-07-12 15:31:24 +08:00
switch v := v.(*AuthSignParts); i {
2023-06-30 09:45:02 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_third_third_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2023-07-12 15:31:24 +08:00
switch v := v.(*PartLimitReq); i {
2023-06-30 09:45:02 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_third_third_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2023-07-12 15:31:24 +08:00
switch v := v.(*PartLimitResp); i {
2023-06-30 09:45:02 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_third_third_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2023-07-12 15:31:24 +08:00
switch v := v.(*PartSizeReq); i {
2023-06-30 09:45:02 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_third_third_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
2023-07-12 15:31:24 +08:00
switch v := v.(*PartSizeResp); i {
2023-06-30 09:45:02 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_third_third_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2023-07-12 15:31:24 +08:00
switch v := v.(*InitiateMultipartUploadReq); i {
2023-06-30 09:45:02 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_third_third_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
2023-07-12 15:31:24 +08:00
switch v := v.(*UploadInfo); i {
2023-06-30 09:45:02 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_third_third_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
2023-07-12 15:31:24 +08:00
switch v := v.(*InitiateMultipartUploadResp); i {
2023-06-30 09:45:02 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_third_third_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2023-07-12 15:31:24 +08:00
switch v := v.(*AuthSignReq); i {
2023-06-30 09:45:02 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_third_third_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2023-07-12 15:31:24 +08:00
switch v := v.(*AuthSignResp); i {
2023-06-30 09:45:02 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_third_third_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2023-07-12 15:31:24 +08:00
switch v := v.(*CompleteMultipartUploadReq); i {
2023-06-30 09:45:02 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_third_third_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
2023-07-12 15:31:24 +08:00
switch v := v.(*CompleteMultipartUploadResp); i {
2023-06-30 09:45:02 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_third_third_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
2023-07-12 15:31:24 +08:00
switch v := v.(*AccessURLReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_third_third_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AccessURLResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_third_third_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FcmUpdateTokenReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_third_third_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FcmUpdateTokenResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_third_third_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SetAppBadgeReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_third_third_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
2023-06-30 09:45:02 +08:00
switch v := v.(*SetAppBadgeResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_third_third_proto_rawDesc,
NumEnums: 0,
2023-07-12 15:31:24 +08:00
NumMessages: 20,
2023-06-30 09:45:02 +08:00
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_third_third_proto_goTypes,
DependencyIndexes: file_third_third_proto_depIdxs,
MessageInfos: file_third_third_proto_msgTypes,
}.Build()
File_third_third_proto = out.File
file_third_third_proto_rawDesc = nil
file_third_third_proto_goTypes = nil
file_third_third_proto_depIdxs = nil
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConnInterface
// 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.SupportPackageIsVersion6
// ThirdClient is the client API for Third service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ThirdClient interface {
2023-07-12 15:31:24 +08:00
PartLimit(ctx context.Context, in *PartLimitReq, opts ...grpc.CallOption) (*PartLimitResp, error)
PartSize(ctx context.Context, in *PartSizeReq, opts ...grpc.CallOption) (*PartSizeResp, error)
InitiateMultipartUpload(ctx context.Context, in *InitiateMultipartUploadReq, opts ...grpc.CallOption) (*InitiateMultipartUploadResp, error)
AuthSign(ctx context.Context, in *AuthSignReq, opts ...grpc.CallOption) (*AuthSignResp, error)
CompleteMultipartUpload(ctx context.Context, in *CompleteMultipartUploadReq, opts ...grpc.CallOption) (*CompleteMultipartUploadResp, error)
AccessURL(ctx context.Context, in *AccessURLReq, opts ...grpc.CallOption) (*AccessURLResp, error)
2023-06-30 09:45:02 +08:00
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.ClientConnInterface
}
func NewThirdClient(cc grpc.ClientConnInterface) ThirdClient {
return &thirdClient{cc}
}
2023-07-12 15:31:24 +08:00
func (c *thirdClient) PartLimit(ctx context.Context, in *PartLimitReq, opts ...grpc.CallOption) (*PartLimitResp, error) {
out := new(PartLimitResp)
err := c.cc.Invoke(ctx, "/OpenIMServer.third.third/PartLimit", in, out, opts...)
2023-06-30 09:45:02 +08:00
if err != nil {
return nil, err
}
return out, nil
}
2023-07-12 15:31:24 +08:00
func (c *thirdClient) PartSize(ctx context.Context, in *PartSizeReq, opts ...grpc.CallOption) (*PartSizeResp, error) {
out := new(PartSizeResp)
err := c.cc.Invoke(ctx, "/OpenIMServer.third.third/PartSize", in, out, opts...)
2023-06-30 09:45:02 +08:00
if err != nil {
return nil, err
}
return out, nil
}
2023-07-12 15:31:24 +08:00
func (c *thirdClient) InitiateMultipartUpload(ctx context.Context, in *InitiateMultipartUploadReq, opts ...grpc.CallOption) (*InitiateMultipartUploadResp, error) {
out := new(InitiateMultipartUploadResp)
err := c.cc.Invoke(ctx, "/OpenIMServer.third.third/InitiateMultipartUpload", in, out, opts...)
2023-06-30 09:45:02 +08:00
if err != nil {
return nil, err
}
return out, nil
}
2023-07-12 15:31:24 +08:00
func (c *thirdClient) AuthSign(ctx context.Context, in *AuthSignReq, opts ...grpc.CallOption) (*AuthSignResp, error) {
out := new(AuthSignResp)
err := c.cc.Invoke(ctx, "/OpenIMServer.third.third/AuthSign", in, out, opts...)
2023-06-30 09:45:02 +08:00
if err != nil {
return nil, err
}
return out, nil
}
2023-07-12 15:31:24 +08:00
func (c *thirdClient) CompleteMultipartUpload(ctx context.Context, in *CompleteMultipartUploadReq, opts ...grpc.CallOption) (*CompleteMultipartUploadResp, error) {
out := new(CompleteMultipartUploadResp)
err := c.cc.Invoke(ctx, "/OpenIMServer.third.third/CompleteMultipartUpload", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *thirdClient) AccessURL(ctx context.Context, in *AccessURLReq, opts ...grpc.CallOption) (*AccessURLResp, error) {
out := new(AccessURLResp)
err := c.cc.Invoke(ctx, "/OpenIMServer.third.third/AccessURL", in, out, opts...)
2023-06-30 09:45:02 +08:00
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 := c.cc.Invoke(ctx, "/OpenIMServer.third.third/FcmUpdateToken", in, out, 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 := c.cc.Invoke(ctx, "/OpenIMServer.third.third/SetAppBadge", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// ThirdServer is the server API for Third service.
type ThirdServer interface {
2023-07-12 15:31:24 +08:00
PartLimit(context.Context, *PartLimitReq) (*PartLimitResp, error)
PartSize(context.Context, *PartSizeReq) (*PartSizeResp, error)
InitiateMultipartUpload(context.Context, *InitiateMultipartUploadReq) (*InitiateMultipartUploadResp, error)
AuthSign(context.Context, *AuthSignReq) (*AuthSignResp, error)
CompleteMultipartUpload(context.Context, *CompleteMultipartUploadReq) (*CompleteMultipartUploadResp, error)
AccessURL(context.Context, *AccessURLReq) (*AccessURLResp, error)
2023-06-30 09:45:02 +08:00
FcmUpdateToken(context.Context, *FcmUpdateTokenReq) (*FcmUpdateTokenResp, error)
SetAppBadge(context.Context, *SetAppBadgeReq) (*SetAppBadgeResp, error)
}
// UnimplementedThirdServer can be embedded to have forward compatible implementations.
type UnimplementedThirdServer struct {
}
2023-07-12 15:31:24 +08:00
func (*UnimplementedThirdServer) PartLimit(context.Context, *PartLimitReq) (*PartLimitResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method PartLimit not implemented")
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (*UnimplementedThirdServer) PartSize(context.Context, *PartSizeReq) (*PartSizeResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method PartSize not implemented")
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (*UnimplementedThirdServer) InitiateMultipartUpload(context.Context, *InitiateMultipartUploadReq) (*InitiateMultipartUploadResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method InitiateMultipartUpload not implemented")
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (*UnimplementedThirdServer) AuthSign(context.Context, *AuthSignReq) (*AuthSignResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method AuthSign not implemented")
2023-06-30 09:45:02 +08:00
}
2023-07-12 15:31:24 +08:00
func (*UnimplementedThirdServer) CompleteMultipartUpload(context.Context, *CompleteMultipartUploadReq) (*CompleteMultipartUploadResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method CompleteMultipartUpload not implemented")
}
func (*UnimplementedThirdServer) AccessURL(context.Context, *AccessURLReq) (*AccessURLResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method AccessURL not implemented")
2023-06-30 09:45:02 +08:00
}
func (*UnimplementedThirdServer) FcmUpdateToken(context.Context, *FcmUpdateTokenReq) (*FcmUpdateTokenResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method FcmUpdateToken not implemented")
}
func (*UnimplementedThirdServer) SetAppBadge(context.Context, *SetAppBadgeReq) (*SetAppBadgeResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method SetAppBadge not implemented")
}
func RegisterThirdServer(s *grpc.Server, srv ThirdServer) {
s.RegisterService(&_Third_serviceDesc, srv)
}
2023-07-12 15:31:24 +08:00
func _Third_PartLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(PartLimitReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ThirdServer).PartLimit(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/OpenIMServer.third.third/PartLimit",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ThirdServer).PartLimit(ctx, req.(*PartLimitReq))
}
return interceptor(ctx, in, info, handler)
}
func _Third_PartSize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(PartSizeReq)
2023-06-30 09:45:02 +08:00
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
2023-07-12 15:31:24 +08:00
return srv.(ThirdServer).PartSize(ctx, in)
2023-06-30 09:45:02 +08:00
}
info := &grpc.UnaryServerInfo{
Server: srv,
2023-07-12 15:31:24 +08:00
FullMethod: "/OpenIMServer.third.third/PartSize",
2023-06-30 09:45:02 +08:00
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2023-07-12 15:31:24 +08:00
return srv.(ThirdServer).PartSize(ctx, req.(*PartSizeReq))
2023-06-30 09:45:02 +08:00
}
return interceptor(ctx, in, info, handler)
}
2023-07-12 15:31:24 +08:00
func _Third_InitiateMultipartUpload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(InitiateMultipartUploadReq)
2023-06-30 09:45:02 +08:00
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
2023-07-12 15:31:24 +08:00
return srv.(ThirdServer).InitiateMultipartUpload(ctx, in)
2023-06-30 09:45:02 +08:00
}
info := &grpc.UnaryServerInfo{
Server: srv,
2023-07-12 15:31:24 +08:00
FullMethod: "/OpenIMServer.third.third/InitiateMultipartUpload",
2023-06-30 09:45:02 +08:00
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2023-07-12 15:31:24 +08:00
return srv.(ThirdServer).InitiateMultipartUpload(ctx, req.(*InitiateMultipartUploadReq))
2023-06-30 09:45:02 +08:00
}
return interceptor(ctx, in, info, handler)
}
2023-07-12 15:31:24 +08:00
func _Third_AuthSign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AuthSignReq)
2023-06-30 09:45:02 +08:00
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
2023-07-12 15:31:24 +08:00
return srv.(ThirdServer).AuthSign(ctx, in)
2023-06-30 09:45:02 +08:00
}
info := &grpc.UnaryServerInfo{
Server: srv,
2023-07-12 15:31:24 +08:00
FullMethod: "/OpenIMServer.third.third/AuthSign",
2023-06-30 09:45:02 +08:00
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2023-07-12 15:31:24 +08:00
return srv.(ThirdServer).AuthSign(ctx, req.(*AuthSignReq))
2023-06-30 09:45:02 +08:00
}
return interceptor(ctx, in, info, handler)
}
2023-07-12 15:31:24 +08:00
func _Third_CompleteMultipartUpload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CompleteMultipartUploadReq)
2023-06-30 09:45:02 +08:00
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
2023-07-12 15:31:24 +08:00
return srv.(ThirdServer).CompleteMultipartUpload(ctx, in)
2023-06-30 09:45:02 +08:00
}
info := &grpc.UnaryServerInfo{
Server: srv,
2023-07-12 15:31:24 +08:00
FullMethod: "/OpenIMServer.third.third/CompleteMultipartUpload",
2023-06-30 09:45:02 +08:00
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2023-07-12 15:31:24 +08:00
return srv.(ThirdServer).CompleteMultipartUpload(ctx, req.(*CompleteMultipartUploadReq))
2023-06-30 09:45:02 +08:00
}
return interceptor(ctx, in, info, handler)
}
2023-07-12 15:31:24 +08:00
func _Third_AccessURL_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AccessURLReq)
2023-06-30 09:45:02 +08:00
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
2023-07-12 15:31:24 +08:00
return srv.(ThirdServer).AccessURL(ctx, in)
2023-06-30 09:45:02 +08:00
}
info := &grpc.UnaryServerInfo{
Server: srv,
2023-07-12 15:31:24 +08:00
FullMethod: "/OpenIMServer.third.third/AccessURL",
2023-06-30 09:45:02 +08:00
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2023-07-12 15:31:24 +08:00
return srv.(ThirdServer).AccessURL(ctx, req.(*AccessURLReq))
2023-06-30 09:45:02 +08:00
}
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{
{
2023-07-12 15:31:24 +08:00
MethodName: "PartLimit",
Handler: _Third_PartLimit_Handler,
},
{
MethodName: "PartSize",
Handler: _Third_PartSize_Handler,
2023-06-30 09:45:02 +08:00
},
{
2023-07-12 15:31:24 +08:00
MethodName: "InitiateMultipartUpload",
Handler: _Third_InitiateMultipartUpload_Handler,
2023-06-30 09:45:02 +08:00
},
{
2023-07-12 15:31:24 +08:00
MethodName: "AuthSign",
Handler: _Third_AuthSign_Handler,
2023-06-30 09:45:02 +08:00
},
{
2023-07-12 15:31:24 +08:00
MethodName: "CompleteMultipartUpload",
Handler: _Third_CompleteMultipartUpload_Handler,
2023-06-30 09:45:02 +08:00
},
{
2023-07-12 15:31:24 +08:00
MethodName: "AccessURL",
Handler: _Third_AccessURL_Handler,
2023-06-30 09:45:02 +08:00
},
{
MethodName: "FcmUpdateToken",
Handler: _Third_FcmUpdateToken_Handler,
},
{
MethodName: "SetAppBadge",
Handler: _Third_SetAppBadge_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "third/third.proto",
}