|
@@ -0,0 +1,2108 @@
|
|
|
+// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
+// versions:
|
|
|
+// protoc-gen-go v1.30.0
|
|
|
+// protoc v3.17.3
|
|
|
+// source: card/card.proto
|
|
|
+
|
|
|
+package card
|
|
|
+
|
|
|
+import (
|
|
|
+ _ "google.golang.org/genproto/googleapis/api/annotations"
|
|
|
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
+ reflect "reflect"
|
|
|
+ sync "sync"
|
|
|
+ common "types/common"
|
|
|
+ pagination "types/pagination"
|
|
|
+)
|
|
|
+
|
|
|
+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 OssUploadRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OssUploadRequest) Reset() {
|
|
|
+ *x = OssUploadRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[0]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OssUploadRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*OssUploadRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *OssUploadRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 OssUploadRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*OssUploadRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{0}
|
|
|
+}
|
|
|
+
|
|
|
+type OssUploadReplay struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Body *common.Oss `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OssUploadReplay) Reset() {
|
|
|
+ *x = OssUploadReplay{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[1]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OssUploadReplay) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*OssUploadReplay) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *OssUploadReplay) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 OssUploadReplay.ProtoReflect.Descriptor instead.
|
|
|
+func (*OssUploadReplay) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{1}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OssUploadReplay) GetBody() *common.Oss {
|
|
|
+ if x != nil {
|
|
|
+ return x.Body
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type OCRCardRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OCRCardRequest) Reset() {
|
|
|
+ *x = OCRCardRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[2]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OCRCardRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*OCRCardRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *OCRCardRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 OCRCardRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*OCRCardRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{2}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OCRCardRequest) GetUrl() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Url
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type OCRCardReply struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Body *common.CardBaseBody `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
|
|
|
+ Supplements []*common.CardSupplementBaseBody `protobuf:"bytes,2,rep,name=supplements,proto3" json:"supplements,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OCRCardReply) Reset() {
|
|
|
+ *x = OCRCardReply{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[3]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OCRCardReply) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*OCRCardReply) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *OCRCardReply) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 OCRCardReply.ProtoReflect.Descriptor instead.
|
|
|
+func (*OCRCardReply) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{3}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OCRCardReply) GetBody() *common.CardBaseBody {
|
|
|
+ if x != nil {
|
|
|
+ return x.Body
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OCRCardReply) GetSupplements() []*common.CardSupplementBaseBody {
|
|
|
+ if x != nil {
|
|
|
+ return x.Supplements
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type AddCardByShareTokenRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *AddCardByShareTokenRequest) Reset() {
|
|
|
+ *x = AddCardByShareTokenRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[4]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *AddCardByShareTokenRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*AddCardByShareTokenRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *AddCardByShareTokenRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 AddCardByShareTokenRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*AddCardByShareTokenRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{4}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *AddCardByShareTokenRequest) GetToken() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Token
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type AddCardByShareTokenReply struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *AddCardByShareTokenReply) Reset() {
|
|
|
+ *x = AddCardByShareTokenReply{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[5]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *AddCardByShareTokenReply) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*AddCardByShareTokenReply) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *AddCardByShareTokenReply) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 AddCardByShareTokenReply.ProtoReflect.Descriptor instead.
|
|
|
+func (*AddCardByShareTokenReply) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{5}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *AddCardByShareTokenReply) GetOk() bool {
|
|
|
+ if x != nil {
|
|
|
+ return x.Ok
|
|
|
+ }
|
|
|
+ return false
|
|
|
+}
|
|
|
+
|
|
|
+type CreateShareTokenRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateShareTokenRequest) Reset() {
|
|
|
+ *x = CreateShareTokenRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[6]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateShareTokenRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*CreateShareTokenRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *CreateShareTokenRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 CreateShareTokenRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*CreateShareTokenRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{6}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateShareTokenRequest) GetCardId() uint32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.CardId
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+type CreateShareTokenReply struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
|
+ Expire string `protobuf:"bytes,2,opt,name=expire,proto3" json:"expire,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateShareTokenReply) Reset() {
|
|
|
+ *x = CreateShareTokenReply{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[7]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateShareTokenReply) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*CreateShareTokenReply) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *CreateShareTokenReply) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 CreateShareTokenReply.ProtoReflect.Descriptor instead.
|
|
|
+func (*CreateShareTokenReply) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{7}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateShareTokenReply) GetToken() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Token
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateShareTokenReply) GetExpire() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Expire
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type GetTemplatesRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetTemplatesRequest) Reset() {
|
|
|
+ *x = GetTemplatesRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[8]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetTemplatesRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*GetTemplatesRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *GetTemplatesRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 GetTemplatesRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*GetTemplatesRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{8}
|
|
|
+}
|
|
|
+
|
|
|
+type GetTemplatesReply struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Templates []*common.CardTemplateBody `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetTemplatesReply) Reset() {
|
|
|
+ *x = GetTemplatesReply{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[9]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetTemplatesReply) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*GetTemplatesReply) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *GetTemplatesReply) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 GetTemplatesReply.ProtoReflect.Descriptor instead.
|
|
|
+func (*GetTemplatesReply) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{9}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetTemplatesReply) GetTemplates() []*common.CardTemplateBody {
|
|
|
+ if x != nil {
|
|
|
+ return x.Templates
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type WxRegisterLoginRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WxRegisterLoginRequest) Reset() {
|
|
|
+ *x = WxRegisterLoginRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[10]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WxRegisterLoginRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*WxRegisterLoginRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *WxRegisterLoginRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 WxRegisterLoginRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*WxRegisterLoginRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{10}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WxRegisterLoginRequest) GetCode() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type WxRegisterLoginReply struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WxRegisterLoginReply) Reset() {
|
|
|
+ *x = WxRegisterLoginReply{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[11]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WxRegisterLoginReply) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*WxRegisterLoginReply) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *WxRegisterLoginReply) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 WxRegisterLoginReply.ProtoReflect.Descriptor instead.
|
|
|
+func (*WxRegisterLoginReply) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{11}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WxRegisterLoginReply) GetToken() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Token
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type GetMyCardsRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetMyCardsRequest) Reset() {
|
|
|
+ *x = GetMyCardsRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[12]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetMyCardsRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*GetMyCardsRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *GetMyCardsRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 GetMyCardsRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*GetMyCardsRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{12}
|
|
|
+}
|
|
|
+
|
|
|
+type GetMyCardsReply struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Cards []*common.CardBody `protobuf:"bytes,1,rep,name=cards,proto3" json:"cards,omitempty"`
|
|
|
+ Supplements []*common.CardSupplementBaseBody `protobuf:"bytes,2,rep,name=supplements,proto3" json:"supplements,omitempty"`
|
|
|
+ Templates []*common.CardTemplateBody `protobuf:"bytes,3,rep,name=templates,proto3" json:"templates,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetMyCardsReply) Reset() {
|
|
|
+ *x = GetMyCardsReply{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[13]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetMyCardsReply) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*GetMyCardsReply) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *GetMyCardsReply) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 GetMyCardsReply.ProtoReflect.Descriptor instead.
|
|
|
+func (*GetMyCardsReply) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{13}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetMyCardsReply) GetCards() []*common.CardBody {
|
|
|
+ if x != nil {
|
|
|
+ return x.Cards
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetMyCardsReply) GetSupplements() []*common.CardSupplementBaseBody {
|
|
|
+ if x != nil {
|
|
|
+ return x.Supplements
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetMyCardsReply) GetTemplates() []*common.CardTemplateBody {
|
|
|
+ if x != nil {
|
|
|
+ return x.Templates
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type SearchCardRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Filter *common.CardFilterBody `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
|
|
|
+ Page *pagination.PaginationBody `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SearchCardRequest) Reset() {
|
|
|
+ *x = SearchCardRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[14]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SearchCardRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*SearchCardRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *SearchCardRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 SearchCardRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*SearchCardRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{14}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SearchCardRequest) GetFilter() *common.CardFilterBody {
|
|
|
+ if x != nil {
|
|
|
+ return x.Filter
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SearchCardRequest) GetPage() *pagination.PaginationBody {
|
|
|
+ if x != nil {
|
|
|
+ return x.Page
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type SearchCardReply struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Cards []*common.CardBody `protobuf:"bytes,1,rep,name=cards,proto3" json:"cards,omitempty"`
|
|
|
+ Supplements []*common.CardSupplementBaseBody `protobuf:"bytes,2,rep,name=supplements,proto3" json:"supplements,omitempty"`
|
|
|
+ Total uint32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SearchCardReply) Reset() {
|
|
|
+ *x = SearchCardReply{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[15]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SearchCardReply) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*SearchCardReply) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *SearchCardReply) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 SearchCardReply.ProtoReflect.Descriptor instead.
|
|
|
+func (*SearchCardReply) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{15}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SearchCardReply) GetCards() []*common.CardBody {
|
|
|
+ if x != nil {
|
|
|
+ return x.Cards
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SearchCardReply) GetSupplements() []*common.CardSupplementBaseBody {
|
|
|
+ if x != nil {
|
|
|
+ return x.Supplements
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SearchCardReply) GetTotal() uint32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Total
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+type SaveCardInfoRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
|
|
|
+ Card *common.CardBaseBody `protobuf:"bytes,2,opt,name=card,proto3" json:"card,omitempty"`
|
|
|
+ Supplements []*common.CardSupplementBaseBody `protobuf:"bytes,3,rep,name=supplements,proto3" json:"supplements,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SaveCardInfoRequest) Reset() {
|
|
|
+ *x = SaveCardInfoRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[16]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SaveCardInfoRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*SaveCardInfoRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *SaveCardInfoRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 SaveCardInfoRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*SaveCardInfoRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{16}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SaveCardInfoRequest) GetCardId() uint32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.CardId
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SaveCardInfoRequest) GetCard() *common.CardBaseBody {
|
|
|
+ if x != nil {
|
|
|
+ return x.Card
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SaveCardInfoRequest) GetSupplements() []*common.CardSupplementBaseBody {
|
|
|
+ if x != nil {
|
|
|
+ return x.Supplements
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type SaveCardReply struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SaveCardReply) Reset() {
|
|
|
+ *x = SaveCardReply{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[17]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SaveCardReply) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*SaveCardReply) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *SaveCardReply) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 SaveCardReply.ProtoReflect.Descriptor instead.
|
|
|
+func (*SaveCardReply) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{17}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SaveCardReply) GetOk() bool {
|
|
|
+ if x != nil {
|
|
|
+ return x.Ok
|
|
|
+ }
|
|
|
+ return false
|
|
|
+}
|
|
|
+
|
|
|
+type DelCardInfoRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DelCardInfoRequest) Reset() {
|
|
|
+ *x = DelCardInfoRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[18]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DelCardInfoRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*DelCardInfoRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *DelCardInfoRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 DelCardInfoRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*DelCardInfoRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{18}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DelCardInfoRequest) GetCardId() uint32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.CardId
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+type DelCardReply struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DelCardReply) Reset() {
|
|
|
+ *x = DelCardReply{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[19]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DelCardReply) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*DelCardReply) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *DelCardReply) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_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 DelCardReply.ProtoReflect.Descriptor instead.
|
|
|
+func (*DelCardReply) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{19}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DelCardReply) GetOk() bool {
|
|
|
+ if x != nil {
|
|
|
+ return x.Ok
|
|
|
+ }
|
|
|
+ return false
|
|
|
+}
|
|
|
+
|
|
|
+type GetCardInfoRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetCardInfoRequest) Reset() {
|
|
|
+ *x = GetCardInfoRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[20]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetCardInfoRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*GetCardInfoRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *GetCardInfoRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_proto_msgTypes[20]
|
|
|
+ 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 GetCardInfoRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*GetCardInfoRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{20}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetCardInfoRequest) GetCardId() uint32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.CardId
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+type GetCardInfoReply struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Card *common.CardBaseBody `protobuf:"bytes,1,opt,name=card,proto3" json:"card,omitempty"`
|
|
|
+ Supplements []*common.CardSupplementBaseBody `protobuf:"bytes,2,rep,name=supplements,proto3" json:"supplements,omitempty"`
|
|
|
+ Template *common.CardTemplateBaseBody `protobuf:"bytes,3,opt,name=template,proto3" json:"template,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetCardInfoReply) Reset() {
|
|
|
+ *x = GetCardInfoReply{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[21]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetCardInfoReply) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*GetCardInfoReply) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *GetCardInfoReply) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_proto_msgTypes[21]
|
|
|
+ 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 GetCardInfoReply.ProtoReflect.Descriptor instead.
|
|
|
+func (*GetCardInfoReply) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{21}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetCardInfoReply) GetCard() *common.CardBaseBody {
|
|
|
+ if x != nil {
|
|
|
+ return x.Card
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetCardInfoReply) GetSupplements() []*common.CardSupplementBaseBody {
|
|
|
+ if x != nil {
|
|
|
+ return x.Supplements
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *GetCardInfoReply) GetTemplate() *common.CardTemplateBaseBody {
|
|
|
+ if x != nil {
|
|
|
+ return x.Template
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type CreateCardRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Card *common.CardBaseBody `protobuf:"bytes,1,opt,name=card,proto3" json:"card,omitempty"`
|
|
|
+ Supplements []*common.CardSupplementBaseBody `protobuf:"bytes,2,rep,name=supplements,proto3" json:"supplements,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateCardRequest) Reset() {
|
|
|
+ *x = CreateCardRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[22]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateCardRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*CreateCardRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *CreateCardRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_proto_msgTypes[22]
|
|
|
+ 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 CreateCardRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*CreateCardRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{22}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateCardRequest) GetCard() *common.CardBaseBody {
|
|
|
+ if x != nil {
|
|
|
+ return x.Card
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateCardRequest) GetSupplements() []*common.CardSupplementBaseBody {
|
|
|
+ if x != nil {
|
|
|
+ return x.Supplements
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type CreateCardReply struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateCardReply) Reset() {
|
|
|
+ *x = CreateCardReply{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[23]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateCardReply) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*CreateCardReply) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *CreateCardReply) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_proto_msgTypes[23]
|
|
|
+ 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 CreateCardReply.ProtoReflect.Descriptor instead.
|
|
|
+func (*CreateCardReply) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{23}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateCardReply) GetId() uint32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Id
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+type LoginAccountRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Account *common.AccountBaseBody `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LoginAccountRequest) Reset() {
|
|
|
+ *x = LoginAccountRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[24]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LoginAccountRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*LoginAccountRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *LoginAccountRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_proto_msgTypes[24]
|
|
|
+ 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 LoginAccountRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*LoginAccountRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{24}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LoginAccountRequest) GetAccount() *common.AccountBaseBody {
|
|
|
+ if x != nil {
|
|
|
+ return x.Account
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type LoginAccountReply struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LoginAccountReply) Reset() {
|
|
|
+ *x = LoginAccountReply{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[25]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LoginAccountReply) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*LoginAccountReply) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *LoginAccountReply) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_proto_msgTypes[25]
|
|
|
+ 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 LoginAccountReply.ProtoReflect.Descriptor instead.
|
|
|
+func (*LoginAccountReply) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{25}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LoginAccountReply) GetToken() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Token
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type CreateAccountUserRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Account *common.AccountBaseBody `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateAccountUserRequest) Reset() {
|
|
|
+ *x = CreateAccountUserRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[26]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateAccountUserRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*CreateAccountUserRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *CreateAccountUserRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_proto_msgTypes[26]
|
|
|
+ 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 CreateAccountUserRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*CreateAccountUserRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{26}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateAccountUserRequest) GetAccount() *common.AccountBaseBody {
|
|
|
+ if x != nil {
|
|
|
+ return x.Account
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type CreateAccountUserReply struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateAccountUserReply) Reset() {
|
|
|
+ *x = CreateAccountUserReply{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_card_card_proto_msgTypes[27]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateAccountUserReply) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*CreateAccountUserReply) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *CreateAccountUserReply) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_card_card_proto_msgTypes[27]
|
|
|
+ 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 CreateAccountUserReply.ProtoReflect.Descriptor instead.
|
|
|
+func (*CreateAccountUserReply) Descriptor() ([]byte, []int) {
|
|
|
+ return file_card_card_proto_rawDescGZIP(), []int{27}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateAccountUserReply) GetOk() bool {
|
|
|
+ if x != nil {
|
|
|
+ return x.Ok
|
|
|
+ }
|
|
|
+ return false
|
|
|
+}
|
|
|
+
|
|
|
+var File_card_card_proto protoreflect.FileDescriptor
|
|
|
+
|
|
|
+var file_card_card_proto_rawDesc = []byte{
|
|
|
+ 0x0a, 0x0f, 0x63, 0x61, 0x72, 0x64, 0x2f, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
|
+ 0x6f, 0x12, 0x04, 0x63, 0x61, 0x72, 0x64, 0x1a, 0x28, 0x74, 0x68, 0x69, 0x72, 0x64, 0x5f, 0x70,
|
|
|
+ 0x61, 0x72, 0x74, 0x79, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
|
|
|
+ 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
|
+ 0x6f, 0x1a, 0x14, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
|
|
|
+ 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f,
|
|
|
+ 0x63, 0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x63, 0x6f, 0x6d, 0x6d,
|
|
|
+ 0x6f, 0x6e, 0x2f, 0x61, 0x6c, 0x69, 0x6f, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
|
|
|
+ 0x1b, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x67, 0x69,
|
|
|
+ 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x12, 0x0a, 0x10,
|
|
|
+ 0x4f, 0x73, 0x73, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
+ 0x22, 0x32, 0x0a, 0x0f, 0x4f, 0x73, 0x73, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70,
|
|
|
+ 0x6c, 0x61, 0x79, 0x12, 0x1f, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
+ 0x0b, 0x32, 0x0b, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x73, 0x73, 0x52, 0x04,
|
|
|
+ 0x62, 0x6f, 0x64, 0x79, 0x22, 0x22, 0x0a, 0x0e, 0x4f, 0x43, 0x52, 0x43, 0x61, 0x72, 0x64, 0x52,
|
|
|
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20,
|
|
|
+ 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x7a, 0x0a, 0x0c, 0x4f, 0x43, 0x52, 0x43,
|
|
|
+ 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x28, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79,
|
|
|
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
|
|
|
+ 0x43, 0x61, 0x72, 0x64, 0x42, 0x61, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f,
|
|
|
+ 0x64, 0x79, 0x12, 0x40, 0x0a, 0x0b, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74,
|
|
|
+ 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
|
|
|
+ 0x2e, 0x43, 0x61, 0x72, 0x64, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42,
|
|
|
+ 0x61, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0b, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d,
|
|
|
+ 0x65, 0x6e, 0x74, 0x73, 0x22, 0x32, 0x0a, 0x1a, 0x41, 0x64, 0x64, 0x43, 0x61, 0x72, 0x64, 0x42,
|
|
|
+ 0x79, 0x53, 0x68, 0x61, 0x72, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
+ 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
+ 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x2a, 0x0a, 0x18, 0x41, 0x64, 0x64, 0x43,
|
|
|
+ 0x61, 0x72, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52,
|
|
|
+ 0x65, 0x70, 0x6c, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
|
|
|
+ 0x52, 0x02, 0x6f, 0x6b, 0x22, 0x32, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68,
|
|
|
+ 0x61, 0x72, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
+ 0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
|
|
|
+ 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61,
|
|
|
+ 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c,
|
|
|
+ 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
+ 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72,
|
|
|
+ 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x22,
|
|
|
+ 0x15, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52,
|
|
|
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4b, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6d,
|
|
|
+ 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x36, 0x0a, 0x09, 0x74,
|
|
|
+ 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18,
|
|
|
+ 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x54, 0x65, 0x6d, 0x70,
|
|
|
+ 0x6c, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x09, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61,
|
|
|
+ 0x74, 0x65, 0x73, 0x22, 0x2c, 0x0a, 0x16, 0x57, 0x78, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65,
|
|
|
+ 0x72, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a,
|
|
|
+ 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64,
|
|
|
+ 0x65, 0x22, 0x2c, 0x0a, 0x14, 0x57, 0x78, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4c,
|
|
|
+ 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b,
|
|
|
+ 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22,
|
|
|
+ 0x13, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x79, 0x43, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71,
|
|
|
+ 0x75, 0x65, 0x73, 0x74, 0x22, 0xb3, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4d, 0x79, 0x43, 0x61,
|
|
|
+ 0x72, 0x64, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x63, 0x61, 0x72, 0x64,
|
|
|
+ 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
|
|
|
+ 0x2e, 0x43, 0x61, 0x72, 0x64, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x05, 0x63, 0x61, 0x72, 0x64, 0x73,
|
|
|
+ 0x12, 0x40, 0x0a, 0x0b, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18,
|
|
|
+ 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43,
|
|
|
+ 0x61, 0x72, 0x64, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x73,
|
|
|
+ 0x65, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0b, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e,
|
|
|
+ 0x74, 0x73, 0x12, 0x36, 0x0a, 0x09, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18,
|
|
|
+ 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43,
|
|
|
+ 0x61, 0x72, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x52,
|
|
|
+ 0x09, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x22, 0x73, 0x0a, 0x11, 0x53, 0x65,
|
|
|
+ 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
+ 0x2e, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
+ 0x16, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x46, 0x69, 0x6c,
|
|
|
+ 0x74, 0x65, 0x72, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12,
|
|
|
+ 0x2e, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
|
|
|
+ 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e,
|
|
|
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x22,
|
|
|
+ 0x91, 0x01, 0x0a, 0x0f, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65,
|
|
|
+ 0x70, 0x6c, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x63, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03,
|
|
|
+ 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64,
|
|
|
+ 0x42, 0x6f, 0x64, 0x79, 0x52, 0x05, 0x63, 0x61, 0x72, 0x64, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x73,
|
|
|
+ 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
|
|
|
+ 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x53, 0x75,
|
|
|
+ 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79,
|
|
|
+ 0x52, 0x0b, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x14, 0x0a,
|
|
|
+ 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x74, 0x6f,
|
|
|
+ 0x74, 0x61, 0x6c, 0x22, 0x9a, 0x01, 0x0a, 0x13, 0x53, 0x61, 0x76, 0x65, 0x43, 0x61, 0x72, 0x64,
|
|
|
+ 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x63,
|
|
|
+ 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61,
|
|
|
+ 0x72, 0x64, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x04, 0x63, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
|
+ 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64,
|
|
|
+ 0x42, 0x61, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x63, 0x61, 0x72, 0x64, 0x12, 0x40,
|
|
|
+ 0x0a, 0x0b, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20,
|
|
|
+ 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72,
|
|
|
+ 0x64, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x73, 0x65, 0x42,
|
|
|
+ 0x6f, 0x64, 0x79, 0x52, 0x0b, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73,
|
|
|
+ 0x22, 0x1f, 0x0a, 0x0d, 0x53, 0x61, 0x76, 0x65, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c,
|
|
|
+ 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x6f,
|
|
|
+ 0x6b, 0x22, 0x2d, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f,
|
|
|
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f,
|
|
|
+ 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, 0x64,
|
|
|
+ 0x22, 0x1e, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79,
|
|
|
+ 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x6f, 0x6b,
|
|
|
+ 0x22, 0x2d, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52,
|
|
|
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69,
|
|
|
+ 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, 0x64, 0x22,
|
|
|
+ 0xb8, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52,
|
|
|
+ 0x65, 0x70, 0x6c, 0x79, 0x12, 0x28, 0x0a, 0x04, 0x63, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
+ 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64,
|
|
|
+ 0x42, 0x61, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x63, 0x61, 0x72, 0x64, 0x12, 0x40,
|
|
|
+ 0x0a, 0x0b, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20,
|
|
|
+ 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72,
|
|
|
+ 0x64, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x73, 0x65, 0x42,
|
|
|
+ 0x6f, 0x64, 0x79, 0x52, 0x0b, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73,
|
|
|
+ 0x12, 0x38, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01,
|
|
|
+ 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64,
|
|
|
+ 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x42, 0x61, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79,
|
|
|
+ 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x22, 0x7f, 0x0a, 0x11, 0x43, 0x72,
|
|
|
+ 0x65, 0x61, 0x74, 0x65, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
+ 0x28, 0x0a, 0x04, 0x63, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e,
|
|
|
+ 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x42, 0x61, 0x73, 0x65, 0x42,
|
|
|
+ 0x6f, 0x64, 0x79, 0x52, 0x04, 0x63, 0x61, 0x72, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x73, 0x75, 0x70,
|
|
|
+ 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e,
|
|
|
+ 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x53, 0x75, 0x70, 0x70,
|
|
|
+ 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0b,
|
|
|
+ 0x73, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x21, 0x0a, 0x0f, 0x43,
|
|
|
+ 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x0e,
|
|
|
+ 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0x48,
|
|
|
+ 0x0a, 0x13, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65,
|
|
|
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
|
|
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
|
|
|
+ 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x52,
|
|
|
+ 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x29, 0x0a, 0x11, 0x4c, 0x6f, 0x67, 0x69,
|
|
|
+ 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a,
|
|
|
+ 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f,
|
|
|
+ 0x6b, 0x65, 0x6e, 0x22, 0x4d, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63,
|
|
|
+ 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
+ 0x31, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
|
+ 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e,
|
|
|
+ 0x74, 0x42, 0x61, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75,
|
|
|
+ 0x6e, 0x74, 0x22, 0x28, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f,
|
|
|
+ 0x75, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x0e, 0x0a, 0x02,
|
|
|
+ 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x6f, 0x6b, 0x32, 0xc9, 0x0a, 0x0a,
|
|
|
+ 0x04, 0x43, 0x61, 0x72, 0x64, 0x12, 0x70, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41,
|
|
|
+ 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1e, 0x2e, 0x63, 0x61, 0x72,
|
|
|
+ 0x64, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55,
|
|
|
+ 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x63, 0x61, 0x72,
|
|
|
+ 0x64, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55,
|
|
|
+ 0x73, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17,
|
|
|
+ 0x3a, 0x01, 0x2a, 0x22, 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
|
|
+ 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x60, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69, 0x6e,
|
|
|
+ 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x19, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x4c,
|
|
|
+ 0x6f, 0x67, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
+ 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x41,
|
|
|
+ 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x1c, 0x82, 0xd3, 0xe4,
|
|
|
+ 0x93, 0x02, 0x16, 0x3a, 0x01, 0x2a, 0x22, 0x11, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f,
|
|
|
+ 0x75, 0x6e, 0x74, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x6c, 0x0a, 0x0f, 0x57, 0x78, 0x52,
|
|
|
+ 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x1c, 0x2e, 0x63,
|
|
|
+ 0x61, 0x72, 0x64, 0x2e, 0x57, 0x78, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f,
|
|
|
+ 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x63, 0x61, 0x72,
|
|
|
+ 0x64, 0x2e, 0x57, 0x78, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x69,
|
|
|
+ 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x3a, 0x01,
|
|
|
+ 0x2a, 0x22, 0x14, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x77,
|
|
|
+ 0x78, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x58, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74,
|
|
|
+ 0x65, 0x43, 0x61, 0x72, 0x64, 0x12, 0x17, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x43, 0x72, 0x65,
|
|
|
+ 0x61, 0x74, 0x65, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15,
|
|
|
+ 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x61, 0x72, 0x64,
|
|
|
+ 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x3a, 0x01, 0x2a,
|
|
|
+ 0x22, 0x0f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x61, 0x72, 0x64, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74,
|
|
|
+ 0x65, 0x12, 0x59, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f,
|
|
|
+ 0x12, 0x18, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, 0x72, 0x64, 0x49,
|
|
|
+ 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x63, 0x61, 0x72,
|
|
|
+ 0x64, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x70,
|
|
|
+ 0x6c, 0x79, 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x3a, 0x01, 0x2a, 0x22, 0x0d, 0x2f,
|
|
|
+ 0x76, 0x31, 0x2f, 0x63, 0x61, 0x72, 0x64, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x52, 0x0a, 0x0a,
|
|
|
+ 0x47, 0x65, 0x74, 0x4d, 0x79, 0x43, 0x61, 0x72, 0x64, 0x73, 0x12, 0x17, 0x2e, 0x63, 0x61, 0x72,
|
|
|
+ 0x64, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x79, 0x43, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75,
|
|
|
+ 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x79,
|
|
|
+ 0x43, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x14, 0x82, 0xd3, 0xe4, 0x93,
|
|
|
+ 0x02, 0x0e, 0x3a, 0x01, 0x2a, 0x22, 0x09, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x61, 0x72, 0x64, 0x73,
|
|
|
+ 0x12, 0x50, 0x0a, 0x07, 0x44, 0x65, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x12, 0x18, 0x2e, 0x63, 0x61,
|
|
|
+ 0x72, 0x64, 0x2e, 0x44, 0x65, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65,
|
|
|
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x44, 0x65, 0x6c,
|
|
|
+ 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x17, 0x82, 0xd3, 0xe4, 0x93, 0x02,
|
|
|
+ 0x11, 0x3a, 0x01, 0x2a, 0x22, 0x0c, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x61, 0x72, 0x64, 0x2f, 0x64,
|
|
|
+ 0x65, 0x6c, 0x12, 0x54, 0x0a, 0x08, 0x53, 0x61, 0x76, 0x65, 0x43, 0x61, 0x72, 0x64, 0x12, 0x19,
|
|
|
+ 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e,
|
|
|
+ 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x63, 0x61, 0x72, 0x64,
|
|
|
+ 0x2e, 0x53, 0x61, 0x76, 0x65, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x18,
|
|
|
+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x3a, 0x01, 0x2a, 0x22, 0x0d, 0x2f, 0x76, 0x31, 0x2f, 0x63,
|
|
|
+ 0x61, 0x72, 0x64, 0x2f, 0x73, 0x61, 0x76, 0x65, 0x12, 0x58, 0x0a, 0x0a, 0x53, 0x65, 0x61, 0x72,
|
|
|
+ 0x63, 0x68, 0x43, 0x61, 0x72, 0x64, 0x12, 0x17, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x53, 0x65,
|
|
|
+ 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
|
+ 0x15, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 0x72,
|
|
|
+ 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x3a, 0x01,
|
|
|
+ 0x2a, 0x22, 0x0f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x61, 0x72, 0x64, 0x2f, 0x73, 0x65, 0x61, 0x72,
|
|
|
+ 0x63, 0x68, 0x12, 0x61, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
|
|
|
+ 0x65, 0x73, 0x12, 0x19, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6d,
|
|
|
+ 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e,
|
|
|
+ 0x63, 0x61, 0x72, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65,
|
|
|
+ 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x3a, 0x01,
|
|
|
+ 0x2a, 0x22, 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x61, 0x72, 0x64, 0x2f, 0x74, 0x65, 0x6d, 0x70,
|
|
|
+ 0x6c, 0x61, 0x74, 0x65, 0x73, 0x12, 0x70, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53,
|
|
|
+ 0x68, 0x61, 0x72, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x2e, 0x63, 0x61, 0x72, 0x64,
|
|
|
+ 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x54, 0x6f, 0x6b, 0x65,
|
|
|
+ 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e,
|
|
|
+ 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
|
|
|
+ 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x3a, 0x01, 0x2a,
|
|
|
+ 0x22, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x61, 0x72, 0x64, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
|
|
|
+ 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x76, 0x0a, 0x13, 0x41, 0x64, 0x64, 0x43, 0x61,
|
|
|
+ 0x72, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x20,
|
|
|
+ 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x61, 0x72, 0x64, 0x42, 0x79, 0x53,
|
|
|
+ 0x68, 0x61, 0x72, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
+ 0x1a, 0x1e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x61, 0x72, 0x64, 0x42,
|
|
|
+ 0x79, 0x53, 0x68, 0x61, 0x72, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79,
|
|
|
+ 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x3a, 0x01, 0x2a, 0x22, 0x12, 0x2f, 0x76, 0x31,
|
|
|
+ 0x2f, 0x63, 0x61, 0x72, 0x64, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x62, 0x69, 0x6e, 0x64, 0x12,
|
|
|
+ 0x4c, 0x0a, 0x07, 0x4f, 0x43, 0x52, 0x43, 0x61, 0x72, 0x64, 0x12, 0x14, 0x2e, 0x63, 0x61, 0x72,
|
|
|
+ 0x64, 0x2e, 0x4f, 0x43, 0x52, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
+ 0x1a, 0x12, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x4f, 0x43, 0x52, 0x43, 0x61, 0x72, 0x64, 0x52,
|
|
|
+ 0x65, 0x70, 0x6c, 0x79, 0x22, 0x17, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x11, 0x3a, 0x01, 0x2a, 0x22,
|
|
|
+ 0x0c, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x61, 0x72, 0x64, 0x2f, 0x6f, 0x63, 0x72, 0x12, 0x59, 0x0a,
|
|
|
+ 0x09, 0x4f, 0x73, 0x73, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x16, 0x2e, 0x63, 0x61, 0x72,
|
|
|
+ 0x64, 0x2e, 0x4f, 0x73, 0x73, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
+ 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x4f, 0x73, 0x73, 0x55, 0x70, 0x6c,
|
|
|
+ 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x79, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02,
|
|
|
+ 0x17, 0x3a, 0x01, 0x2a, 0x22, 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x61, 0x72, 0x64, 0x2f, 0x6f,
|
|
|
+ 0x73, 0x73, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x19, 0x0a, 0x04, 0x63, 0x61, 0x72, 0x64,
|
|
|
+ 0x50, 0x01, 0x5a, 0x0f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, 0x61, 0x72, 0x64, 0x3b, 0x63,
|
|
|
+ 0x61, 0x72, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+}
|
|
|
+
|
|
|
+var (
|
|
|
+ file_card_card_proto_rawDescOnce sync.Once
|
|
|
+ file_card_card_proto_rawDescData = file_card_card_proto_rawDesc
|
|
|
+)
|
|
|
+
|
|
|
+func file_card_card_proto_rawDescGZIP() []byte {
|
|
|
+ file_card_card_proto_rawDescOnce.Do(func() {
|
|
|
+ file_card_card_proto_rawDescData = protoimpl.X.CompressGZIP(file_card_card_proto_rawDescData)
|
|
|
+ })
|
|
|
+ return file_card_card_proto_rawDescData
|
|
|
+}
|
|
|
+
|
|
|
+var file_card_card_proto_msgTypes = make([]protoimpl.MessageInfo, 28)
|
|
|
+var file_card_card_proto_goTypes = []interface{}{
|
|
|
+ (*OssUploadRequest)(nil), // 0: card.OssUploadRequest
|
|
|
+ (*OssUploadReplay)(nil), // 1: card.OssUploadReplay
|
|
|
+ (*OCRCardRequest)(nil), // 2: card.OCRCardRequest
|
|
|
+ (*OCRCardReply)(nil), // 3: card.OCRCardReply
|
|
|
+ (*AddCardByShareTokenRequest)(nil), // 4: card.AddCardByShareTokenRequest
|
|
|
+ (*AddCardByShareTokenReply)(nil), // 5: card.AddCardByShareTokenReply
|
|
|
+ (*CreateShareTokenRequest)(nil), // 6: card.CreateShareTokenRequest
|
|
|
+ (*CreateShareTokenReply)(nil), // 7: card.CreateShareTokenReply
|
|
|
+ (*GetTemplatesRequest)(nil), // 8: card.GetTemplatesRequest
|
|
|
+ (*GetTemplatesReply)(nil), // 9: card.GetTemplatesReply
|
|
|
+ (*WxRegisterLoginRequest)(nil), // 10: card.WxRegisterLoginRequest
|
|
|
+ (*WxRegisterLoginReply)(nil), // 11: card.WxRegisterLoginReply
|
|
|
+ (*GetMyCardsRequest)(nil), // 12: card.GetMyCardsRequest
|
|
|
+ (*GetMyCardsReply)(nil), // 13: card.GetMyCardsReply
|
|
|
+ (*SearchCardRequest)(nil), // 14: card.SearchCardRequest
|
|
|
+ (*SearchCardReply)(nil), // 15: card.SearchCardReply
|
|
|
+ (*SaveCardInfoRequest)(nil), // 16: card.SaveCardInfoRequest
|
|
|
+ (*SaveCardReply)(nil), // 17: card.SaveCardReply
|
|
|
+ (*DelCardInfoRequest)(nil), // 18: card.DelCardInfoRequest
|
|
|
+ (*DelCardReply)(nil), // 19: card.DelCardReply
|
|
|
+ (*GetCardInfoRequest)(nil), // 20: card.GetCardInfoRequest
|
|
|
+ (*GetCardInfoReply)(nil), // 21: card.GetCardInfoReply
|
|
|
+ (*CreateCardRequest)(nil), // 22: card.CreateCardRequest
|
|
|
+ (*CreateCardReply)(nil), // 23: card.CreateCardReply
|
|
|
+ (*LoginAccountRequest)(nil), // 24: card.LoginAccountRequest
|
|
|
+ (*LoginAccountReply)(nil), // 25: card.LoginAccountReply
|
|
|
+ (*CreateAccountUserRequest)(nil), // 26: card.CreateAccountUserRequest
|
|
|
+ (*CreateAccountUserReply)(nil), // 27: card.CreateAccountUserReply
|
|
|
+ (*common.Oss)(nil), // 28: common.Oss
|
|
|
+ (*common.CardBaseBody)(nil), // 29: common.CardBaseBody
|
|
|
+ (*common.CardSupplementBaseBody)(nil), // 30: common.CardSupplementBaseBody
|
|
|
+ (*common.CardTemplateBody)(nil), // 31: common.CardTemplateBody
|
|
|
+ (*common.CardBody)(nil), // 32: common.CardBody
|
|
|
+ (*common.CardFilterBody)(nil), // 33: common.CardFilterBody
|
|
|
+ (*pagination.PaginationBody)(nil), // 34: pagination.PaginationBody
|
|
|
+ (*common.CardTemplateBaseBody)(nil), // 35: common.CardTemplateBaseBody
|
|
|
+ (*common.AccountBaseBody)(nil), // 36: common.AccountBaseBody
|
|
|
+}
|
|
|
+var file_card_card_proto_depIdxs = []int32{
|
|
|
+ 28, // 0: card.OssUploadReplay.body:type_name -> common.Oss
|
|
|
+ 29, // 1: card.OCRCardReply.body:type_name -> common.CardBaseBody
|
|
|
+ 30, // 2: card.OCRCardReply.supplements:type_name -> common.CardSupplementBaseBody
|
|
|
+ 31, // 3: card.GetTemplatesReply.templates:type_name -> common.CardTemplateBody
|
|
|
+ 32, // 4: card.GetMyCardsReply.cards:type_name -> common.CardBody
|
|
|
+ 30, // 5: card.GetMyCardsReply.supplements:type_name -> common.CardSupplementBaseBody
|
|
|
+ 31, // 6: card.GetMyCardsReply.templates:type_name -> common.CardTemplateBody
|
|
|
+ 33, // 7: card.SearchCardRequest.filter:type_name -> common.CardFilterBody
|
|
|
+ 34, // 8: card.SearchCardRequest.page:type_name -> pagination.PaginationBody
|
|
|
+ 32, // 9: card.SearchCardReply.cards:type_name -> common.CardBody
|
|
|
+ 30, // 10: card.SearchCardReply.supplements:type_name -> common.CardSupplementBaseBody
|
|
|
+ 29, // 11: card.SaveCardInfoRequest.card:type_name -> common.CardBaseBody
|
|
|
+ 30, // 12: card.SaveCardInfoRequest.supplements:type_name -> common.CardSupplementBaseBody
|
|
|
+ 29, // 13: card.GetCardInfoReply.card:type_name -> common.CardBaseBody
|
|
|
+ 30, // 14: card.GetCardInfoReply.supplements:type_name -> common.CardSupplementBaseBody
|
|
|
+ 35, // 15: card.GetCardInfoReply.template:type_name -> common.CardTemplateBaseBody
|
|
|
+ 29, // 16: card.CreateCardRequest.card:type_name -> common.CardBaseBody
|
|
|
+ 30, // 17: card.CreateCardRequest.supplements:type_name -> common.CardSupplementBaseBody
|
|
|
+ 36, // 18: card.LoginAccountRequest.account:type_name -> common.AccountBaseBody
|
|
|
+ 36, // 19: card.CreateAccountUserRequest.account:type_name -> common.AccountBaseBody
|
|
|
+ 26, // 20: card.Card.CreateAccountUser:input_type -> card.CreateAccountUserRequest
|
|
|
+ 24, // 21: card.Card.LoginAccount:input_type -> card.LoginAccountRequest
|
|
|
+ 10, // 22: card.Card.WxRegisterLogin:input_type -> card.WxRegisterLoginRequest
|
|
|
+ 22, // 23: card.Card.CreateCard:input_type -> card.CreateCardRequest
|
|
|
+ 20, // 24: card.Card.GetCardInfo:input_type -> card.GetCardInfoRequest
|
|
|
+ 12, // 25: card.Card.GetMyCards:input_type -> card.GetMyCardsRequest
|
|
|
+ 18, // 26: card.Card.DelCard:input_type -> card.DelCardInfoRequest
|
|
|
+ 16, // 27: card.Card.SaveCard:input_type -> card.SaveCardInfoRequest
|
|
|
+ 14, // 28: card.Card.SearchCard:input_type -> card.SearchCardRequest
|
|
|
+ 8, // 29: card.Card.GetTemplates:input_type -> card.GetTemplatesRequest
|
|
|
+ 6, // 30: card.Card.CreateShareToken:input_type -> card.CreateShareTokenRequest
|
|
|
+ 4, // 31: card.Card.AddCardByShareToken:input_type -> card.AddCardByShareTokenRequest
|
|
|
+ 2, // 32: card.Card.OCRCard:input_type -> card.OCRCardRequest
|
|
|
+ 0, // 33: card.Card.OssUpload:input_type -> card.OssUploadRequest
|
|
|
+ 27, // 34: card.Card.CreateAccountUser:output_type -> card.CreateAccountUserReply
|
|
|
+ 25, // 35: card.Card.LoginAccount:output_type -> card.LoginAccountReply
|
|
|
+ 11, // 36: card.Card.WxRegisterLogin:output_type -> card.WxRegisterLoginReply
|
|
|
+ 23, // 37: card.Card.CreateCard:output_type -> card.CreateCardReply
|
|
|
+ 21, // 38: card.Card.GetCardInfo:output_type -> card.GetCardInfoReply
|
|
|
+ 13, // 39: card.Card.GetMyCards:output_type -> card.GetMyCardsReply
|
|
|
+ 19, // 40: card.Card.DelCard:output_type -> card.DelCardReply
|
|
|
+ 17, // 41: card.Card.SaveCard:output_type -> card.SaveCardReply
|
|
|
+ 15, // 42: card.Card.SearchCard:output_type -> card.SearchCardReply
|
|
|
+ 9, // 43: card.Card.GetTemplates:output_type -> card.GetTemplatesReply
|
|
|
+ 7, // 44: card.Card.CreateShareToken:output_type -> card.CreateShareTokenReply
|
|
|
+ 5, // 45: card.Card.AddCardByShareToken:output_type -> card.AddCardByShareTokenReply
|
|
|
+ 3, // 46: card.Card.OCRCard:output_type -> card.OCRCardReply
|
|
|
+ 1, // 47: card.Card.OssUpload:output_type -> card.OssUploadReplay
|
|
|
+ 34, // [34:48] is the sub-list for method output_type
|
|
|
+ 20, // [20:34] is the sub-list for method input_type
|
|
|
+ 20, // [20:20] is the sub-list for extension type_name
|
|
|
+ 20, // [20:20] is the sub-list for extension extendee
|
|
|
+ 0, // [0:20] is the sub-list for field type_name
|
|
|
+}
|
|
|
+
|
|
|
+func init() { file_card_card_proto_init() }
|
|
|
+func file_card_card_proto_init() {
|
|
|
+ if File_card_card_proto != nil {
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if !protoimpl.UnsafeEnabled {
|
|
|
+ file_card_card_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*OssUploadRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*OssUploadReplay); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*OCRCardRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*OCRCardReply); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*AddCardByShareTokenRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*AddCardByShareTokenReply); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*CreateShareTokenRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*CreateShareTokenReply); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*GetTemplatesRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*GetTemplatesReply); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*WxRegisterLoginRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*WxRegisterLoginReply); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*GetMyCardsRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*GetMyCardsReply); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*SearchCardRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*SearchCardReply); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*SaveCardInfoRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*SaveCardReply); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*DelCardInfoRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*DelCardReply); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*GetCardInfoRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*GetCardInfoReply); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*CreateCardRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*CreateCardReply); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*LoginAccountRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*LoginAccountReply); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*CreateAccountUserRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_card_card_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*CreateAccountUserReply); 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_card_card_proto_rawDesc,
|
|
|
+ NumEnums: 0,
|
|
|
+ NumMessages: 28,
|
|
|
+ NumExtensions: 0,
|
|
|
+ NumServices: 1,
|
|
|
+ },
|
|
|
+ GoTypes: file_card_card_proto_goTypes,
|
|
|
+ DependencyIndexes: file_card_card_proto_depIdxs,
|
|
|
+ MessageInfos: file_card_card_proto_msgTypes,
|
|
|
+ }.Build()
|
|
|
+ File_card_card_proto = out.File
|
|
|
+ file_card_card_proto_rawDesc = nil
|
|
|
+ file_card_card_proto_goTypes = nil
|
|
|
+ file_card_card_proto_depIdxs = nil
|
|
|
+}
|