|
|
|
// Copyright © 2023 OpenIM. All rights reserved.
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
|
|
|
|
// 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"
|
|
|
|
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"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
|
|
|
)
|
|
|
|
|
|
|
|
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)
|
|
|
|
)
|
|
|
|
|
|
|
|
type KeyValues struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key"`
|
|
|
|
Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *KeyValues) Reset() {
|
|
|
|
*x = KeyValues{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_third_third_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *KeyValues) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*KeyValues) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *KeyValues) ProtoReflect() protoreflect.Message {
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use KeyValues.ProtoReflect.Descriptor instead.
|
|
|
|
func (*KeyValues) Descriptor() ([]byte, []int) {
|
|
|
|
return file_third_third_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *KeyValues) GetKey() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Key
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *KeyValues) GetValues() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Values
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
|
|
|
if x != nil {
|
|
|
|
return x.PartNumber
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SignPart) GetUrl() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Url
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SignPart) GetQuery() []*KeyValues {
|
|
|
|
if x != nil {
|
|
|
|
return x.Query
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SignPart) GetHeader() []*KeyValues {
|
|
|
|
if x != nil {
|
|
|
|
return x.Header
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type AuthSignParts 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 *AuthSignParts) Reset() {
|
|
|
|
*x = AuthSignParts{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_third_third_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AuthSignParts) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*AuthSignParts) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AuthSignParts) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_third_third_proto_msgTypes[2]
|
|
|
|
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 AuthSignParts.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AuthSignParts) Descriptor() ([]byte, []int) {
|
|
|
|
return file_third_third_proto_rawDescGZIP(), []int{2}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AuthSignParts) GetUrl() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Url
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AuthSignParts) GetQuery() []*KeyValues {
|
|
|
|
if x != nil {
|
|
|
|
return x.Query
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AuthSignParts) GetHeader() []*KeyValues {
|
|
|
|
if x != nil {
|
|
|
|
return x.Header
|
|
|
|
}
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use PartLimitResp.ProtoReflect.Descriptor instead.
|
|
|
|
func (*PartLimitResp) Descriptor() ([]byte, []int) {
|
|
|
|
return file_third_third_proto_rawDescGZIP(), []int{4}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PartLimitResp) GetMinPartSize() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.MinPartSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PartLimitResp) GetMaxPartSize() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.MaxPartSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PartLimitResp) GetMaxNumSize() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.MaxNumSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type PartSizeReq struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PartSizeReq) Reset() {
|
|
|
|
*x = PartSizeReq{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_third_third_proto_msgTypes[5]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PartSizeReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*PartSizeReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *PartSizeReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_third_third_proto_msgTypes[5]
|
|
|
|
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 PartSizeReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*PartSizeReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_third_third_proto_rawDescGZIP(), []int{5}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PartSizeReq) GetSize() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Size
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type PartSizeResp struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PartSizeResp) Reset() {
|
|
|
|
*x = PartSizeResp{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_third_third_proto_msgTypes[6]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PartSizeResp) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*PartSizeResp) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *PartSizeResp) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_third_third_proto_msgTypes[6]
|
|
|
|
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 PartSizeResp.ProtoReflect.Descriptor instead.
|
|
|
|
func (*PartSizeResp) Descriptor() ([]byte, []int) {
|
|
|
|
return file_third_third_proto_rawDescGZIP(), []int{6}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PartSizeResp) GetSize() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Size
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type InitiateMultipartUploadReq struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
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"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *InitiateMultipartUploadReq) Reset() {
|
|
|
|
*x = InitiateMultipartUploadReq{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_third_third_proto_msgTypes[7]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *InitiateMultipartUploadReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*InitiateMultipartUploadReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *InitiateMultipartUploadReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_third_third_proto_msgTypes[7]
|
|
|
|
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 InitiateMultipartUploadReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*InitiateMultipartUploadReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_third_third_proto_rawDescGZIP(), []int{7}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *InitiateMultipartUploadReq) GetHash() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Hash
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *InitiateMultipartUploadReq) GetSize() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Size
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *InitiateMultipartUploadReq) GetPartSize() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.PartSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
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"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UploadInfo) Reset() {
|
|
|
|
*x = UploadInfo{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_third_third_proto_msgTypes[8]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UploadInfo) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*UploadInfo) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *UploadInfo) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_third_third_proto_msgTypes[8]
|
|
|
|
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 UploadInfo.ProtoReflect.Descriptor instead.
|
|
|
|
func (*UploadInfo) Descriptor() ([]byte, []int) {
|
|
|
|
return file_third_third_proto_rawDescGZIP(), []int{8}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UploadInfo) GetUploadID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.UploadID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UploadInfo) GetPartSize() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.PartSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UploadInfo) GetSign() *AuthSignParts {
|
|
|
|
if x != nil {
|
|
|
|
return x.Sign
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UploadInfo) GetExpireTime() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.ExpireTime
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type InitiateMultipartUploadResp struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url"`
|
|
|
|
Upload *UploadInfo `protobuf:"bytes,2,opt,name=upload,proto3" json:"upload"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *InitiateMultipartUploadResp) Reset() {
|
|
|
|
*x = InitiateMultipartUploadResp{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_third_third_proto_msgTypes[9]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *InitiateMultipartUploadResp) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*InitiateMultipartUploadResp) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *InitiateMultipartUploadResp) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_third_third_proto_msgTypes[9]
|
|
|
|
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 InitiateMultipartUploadResp.ProtoReflect.Descriptor instead.
|
|
|
|
func (*InitiateMultipartUploadResp) Descriptor() ([]byte, []int) {
|
|
|
|
return file_third_third_proto_rawDescGZIP(), []int{9}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *InitiateMultipartUploadResp) GetUrl() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Url
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *InitiateMultipartUploadResp) GetUpload() *UploadInfo {
|
|
|
|
if x != nil {
|
|
|
|
return x.Upload
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type AuthSignReq struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
UploadID string `protobuf:"bytes,1,opt,name=uploadID,proto3" json:"uploadID"`
|
|
|
|
PartNumbers []int32 `protobuf:"varint,2,rep,packed,name=partNumbers,proto3" json:"partNumbers"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AuthSignReq) Reset() {
|
|
|
|
*x = AuthSignReq{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_third_third_proto_msgTypes[10]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AuthSignReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*AuthSignReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AuthSignReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_third_third_proto_msgTypes[10]
|
|
|
|
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 AuthSignReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AuthSignReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_third_third_proto_rawDescGZIP(), []int{10}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AuthSignReq) GetUploadID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.UploadID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AuthSignReq) GetPartNumbers() []int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.PartNumbers
|
|
|
|
}
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use AuthSignResp.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AuthSignResp) Descriptor() ([]byte, []int) {
|
|
|
|
return file_third_third_proto_rawDescGZIP(), []int{11}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AuthSignResp) GetUrl() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Url
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
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{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_third_third_proto_msgTypes[12]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *CompleteMultipartUploadReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*CompleteMultipartUploadReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *CompleteMultipartUploadReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_third_third_proto_msgTypes[12]
|
|
|
|
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 CompleteMultipartUploadReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*CompleteMultipartUploadReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_third_third_proto_rawDescGZIP(), []int{12}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *CompleteMultipartUploadReq) GetUploadID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.UploadID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *CompleteMultipartUploadReq) GetParts() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Parts
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *CompleteMultipartUploadReq) GetName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *CompleteMultipartUploadReq) GetContentType() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ContentType
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *CompleteMultipartUploadReq) GetCause() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Cause
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use CompleteMultipartUploadResp.ProtoReflect.Descriptor instead.
|
|
|
|
func (*CompleteMultipartUploadResp) Descriptor() ([]byte, []int) {
|
|
|
|
return file_third_third_proto_rawDescGZIP(), []int{13}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *CompleteMultipartUploadResp) GetUrl() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Url
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type AccessURLReq struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccessURLReq) Reset() {
|
|
|
|
*x = AccessURLReq{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_third_third_proto_msgTypes[14]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccessURLReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*AccessURLReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AccessURLReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_third_third_proto_msgTypes[14]
|
|
|
|
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 AccessURLReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AccessURLReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_third_third_proto_rawDescGZIP(), []int{14}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccessURLReq) GetName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type AccessURLResp struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url"`
|
|
|
|
ExpireTime int64 `protobuf:"varint,2,opt,name=expireTime,proto3" json:"expireTime"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccessURLResp) Reset() {
|
|
|
|
*x = AccessURLResp{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_third_third_proto_msgTypes[15]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccessURLResp) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*AccessURLResp) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AccessURLResp) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_third_third_proto_msgTypes[15]
|
|
|
|
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 AccessURLResp.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AccessURLResp) Descriptor() ([]byte, []int) {
|
|
|
|
return file_third_third_proto_rawDescGZIP(), []int{15}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccessURLResp) GetUrl() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Url
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccessURLResp) GetExpireTime() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.ExpireTime
|
|
|
|
}
|
|
|
|
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 {
|
|
|
|
mi := &file_third_third_proto_msgTypes[16]
|
|
|
|
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 {
|
|
|
|
mi := &file_third_third_proto_msgTypes[16]
|
|
|
|
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) {
|
|
|
|
return file_third_third_proto_rawDescGZIP(), []int{16}
|
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
|
|
|
mi := &file_third_third_proto_msgTypes[17]
|
|
|
|
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 {
|
|
|
|
mi := &file_third_third_proto_msgTypes[17]
|
|
|
|
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) {
|
|
|
|
return file_third_third_proto_rawDescGZIP(), []int{17}
|
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
|
|
|
mi := &file_third_third_proto_msgTypes[18]
|
|
|
|
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 {
|
|
|
|
mi := &file_third_third_proto_msgTypes[18]
|
|
|
|
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) {
|
|
|
|
return file_third_third_proto_rawDescGZIP(), []int{18}
|
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
|
|
|
mi := &file_third_third_proto_msgTypes[19]
|
|
|
|
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 {
|
|
|
|
mi := &file_third_third_proto_msgTypes[19]
|
|
|
|
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) {
|
|
|
|
return file_third_third_proto_rawDescGZIP(), []int{19}
|
|
|
|
}
|
|
|
|
|
|
|
|
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,
|
|
|
|
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,
|
|
|
|
0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18,
|
|
|
|
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,
|
|
|
|
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, 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,
|
|
|
|
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, 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,
|
|
|
|
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, 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,
|
|
|
|
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, 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,
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
var file_third_third_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
|
|
|
|
var file_third_third_proto_goTypes = []interface{}{
|
|
|
|
(*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
|
|
|
|
}
|
|
|
|
var file_third_third_proto_depIdxs = []int32{
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
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{} {
|
|
|
|
switch v := v.(*KeyValues); i {
|
|
|
|
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{} {
|
|
|
|
switch v := v.(*SignPart); i {
|
|
|
|
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{} {
|
|
|
|
switch v := v.(*AuthSignParts); i {
|
|
|
|
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{} {
|
|
|
|
switch v := v.(*PartLimitReq); i {
|
|
|
|
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{} {
|
|
|
|
switch v := v.(*PartLimitResp); i {
|
|
|
|
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{} {
|
|
|
|
switch v := v.(*PartSizeReq); i {
|
|
|
|
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{} {
|
|
|
|
switch v := v.(*PartSizeResp); i {
|
|
|
|
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{} {
|
|
|
|
switch v := v.(*InitiateMultipartUploadReq); i {
|
|
|
|
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{} {
|
|
|
|
switch v := v.(*UploadInfo); i {
|
|
|
|
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{} {
|
|
|
|
switch v := v.(*InitiateMultipartUploadResp); i {
|
|
|
|
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{} {
|
|
|
|
switch v := v.(*AuthSignReq); i {
|
|
|
|
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{} {
|
|
|
|
switch v := v.(*AuthSignResp); i {
|
|
|
|
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{} {
|
|
|
|
switch v := v.(*CompleteMultipartUploadReq); i {
|
|
|
|
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{} {
|
|
|
|
switch v := v.(*CompleteMultipartUploadResp); i {
|
|
|
|
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{} {
|
|
|
|
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{} {
|
|
|
|
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,
|
|
|
|
NumMessages: 20,
|
|
|
|
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 {
|
|
|
|
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)
|
|
|
|
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}
|
|
|
|
}
|
|
|
|
|
|
|
|
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...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
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...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
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...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
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...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
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...)
|
|
|
|
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 {
|
|
|
|
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)
|
|
|
|
FcmUpdateToken(context.Context, *FcmUpdateTokenReq) (*FcmUpdateTokenResp, error)
|
|
|
|
SetAppBadge(context.Context, *SetAppBadgeReq) (*SetAppBadgeResp, error)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnimplementedThirdServer can be embedded to have forward compatible implementations.
|
|
|
|
type UnimplementedThirdServer struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*UnimplementedThirdServer) PartLimit(context.Context, *PartLimitReq) (*PartLimitResp, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method PartLimit not implemented")
|
|
|
|
}
|
|
|
|
func (*UnimplementedThirdServer) PartSize(context.Context, *PartSizeReq) (*PartSizeResp, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method PartSize not implemented")
|
|
|
|
}
|
|
|
|
func (*UnimplementedThirdServer) InitiateMultipartUpload(context.Context, *InitiateMultipartUploadReq) (*InitiateMultipartUploadResp, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method InitiateMultipartUpload not implemented")
|
|
|
|
}
|
|
|
|
func (*UnimplementedThirdServer) AuthSign(context.Context, *AuthSignReq) (*AuthSignResp, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method AuthSign not implemented")
|
|
|
|
}
|
|
|
|
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")
|
|
|
|
}
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
|
|
|
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)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(ThirdServer).PartSize(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/OpenIMServer.third.third/PartSize",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ThirdServer).PartSize(ctx, req.(*PartSizeReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Third_InitiateMultipartUpload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(InitiateMultipartUploadReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(ThirdServer).InitiateMultipartUpload(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/OpenIMServer.third.third/InitiateMultipartUpload",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ThirdServer).InitiateMultipartUpload(ctx, req.(*InitiateMultipartUploadReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Third_AuthSign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(AuthSignReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(ThirdServer).AuthSign(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/OpenIMServer.third.third/AuthSign",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ThirdServer).AuthSign(ctx, req.(*AuthSignReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Third_CompleteMultipartUpload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(CompleteMultipartUploadReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(ThirdServer).CompleteMultipartUpload(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/OpenIMServer.third.third/CompleteMultipartUpload",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ThirdServer).CompleteMultipartUpload(ctx, req.(*CompleteMultipartUploadReq))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Third_AccessURL_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(AccessURLReq)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(ThirdServer).AccessURL(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/OpenIMServer.third.third/AccessURL",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ThirdServer).AccessURL(ctx, req.(*AccessURLReq))
|
|
|
|
}
|
|
|
|
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: "PartLimit",
|
|
|
|
Handler: _Third_PartLimit_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "PartSize",
|
|
|
|
Handler: _Third_PartSize_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "InitiateMultipartUpload",
|
|
|
|
Handler: _Third_InitiateMultipartUpload_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "AuthSign",
|
|
|
|
Handler: _Third_AuthSign_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "CompleteMultipartUpload",
|
|
|
|
Handler: _Third_CompleteMultipartUpload_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "AccessURL",
|
|
|
|
Handler: _Third_AccessURL_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "FcmUpdateToken",
|
|
|
|
Handler: _Third_FcmUpdateToken_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "SetAppBadge",
|
|
|
|
Handler: _Third_SetAppBadge_Handler,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
|
Metadata: "third/third.proto",
|
|
|
|
}
|