663 lines
21 KiB
Go
663 lines
21 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.36.11
|
||
// protoc v7.35.1
|
||
// source: module/ec/address/proto/address.proto
|
||
|
||
package address
|
||
|
||
import (
|
||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
reflect "reflect"
|
||
sync "sync"
|
||
unsafe "unsafe"
|
||
)
|
||
|
||
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 AddressItem struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // ID
|
||
Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
|
||
Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // 手机号
|
||
Country string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"` // 国家
|
||
Province string `protobuf:"bytes,5,opt,name=province,proto3" json:"province,omitempty"` // 省
|
||
City string `protobuf:"bytes,6,opt,name=city,proto3" json:"city,omitempty"` // 市
|
||
Area string `protobuf:"bytes,7,opt,name=area,proto3" json:"area,omitempty"` // 区
|
||
Detail string `protobuf:"bytes,8,opt,name=detail,proto3" json:"detail,omitempty"` // 详情地址
|
||
Contact string `protobuf:"bytes,9,opt,name=contact,proto3" json:"contact,omitempty"` // 联系人
|
||
Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"`
|
||
Pics string `protobuf:"bytes,11,opt,name=pics,proto3" json:"pics,omitempty"`
|
||
Status int32 `protobuf:"varint,12,opt,name=status,proto3" json:"status,omitempty"` // 状态 -1为删除,1为正常,2为设置成默认
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AddressItem) Reset() {
|
||
*x = AddressItem{}
|
||
mi := &file_module_ec_address_proto_address_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AddressItem) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AddressItem) ProtoMessage() {}
|
||
|
||
func (x *AddressItem) ProtoReflect() protoreflect.Message {
|
||
mi := &file_module_ec_address_proto_address_proto_msgTypes[0]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use AddressItem.ProtoReflect.Descriptor instead.
|
||
func (*AddressItem) Descriptor() ([]byte, []int) {
|
||
return file_module_ec_address_proto_address_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *AddressItem) GetId() int64 {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AddressItem) GetIdentity() string {
|
||
if x != nil {
|
||
return x.Identity
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AddressItem) GetPhone() string {
|
||
if x != nil {
|
||
return x.Phone
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AddressItem) GetCountry() string {
|
||
if x != nil {
|
||
return x.Country
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AddressItem) GetProvince() string {
|
||
if x != nil {
|
||
return x.Province
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AddressItem) GetCity() string {
|
||
if x != nil {
|
||
return x.City
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AddressItem) GetArea() string {
|
||
if x != nil {
|
||
return x.Area
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AddressItem) GetDetail() string {
|
||
if x != nil {
|
||
return x.Detail
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AddressItem) GetContact() string {
|
||
if x != nil {
|
||
return x.Contact
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AddressItem) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AddressItem) GetPics() string {
|
||
if x != nil {
|
||
return x.Pics
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AddressItem) GetStatus() int32 {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type AddressCreateRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"` // 手机号
|
||
Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` // 国家
|
||
Province string `protobuf:"bytes,3,opt,name=province,proto3" json:"province,omitempty"` // 省
|
||
City string `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty"` // 市
|
||
Area string `protobuf:"bytes,5,opt,name=area,proto3" json:"area,omitempty"` // 区
|
||
Detail string `protobuf:"bytes,6,opt,name=detail,proto3" json:"detail,omitempty"` // 详情地址
|
||
Contact string `protobuf:"bytes,7,opt,name=contact,proto3" json:"contact,omitempty"` // 联系人
|
||
Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` // 名称
|
||
Pics string `protobuf:"bytes,9,opt,name=pics,proto3" json:"pics,omitempty"` // 图片
|
||
Status int32 `protobuf:"varint,10,opt,name=status,proto3" json:"status,omitempty"` // 状态 -1为删除,1为正常,2为设置成默认
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AddressCreateRequest) Reset() {
|
||
*x = AddressCreateRequest{}
|
||
mi := &file_module_ec_address_proto_address_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AddressCreateRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AddressCreateRequest) ProtoMessage() {}
|
||
|
||
func (x *AddressCreateRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_module_ec_address_proto_address_proto_msgTypes[1]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use AddressCreateRequest.ProtoReflect.Descriptor instead.
|
||
func (*AddressCreateRequest) Descriptor() ([]byte, []int) {
|
||
return file_module_ec_address_proto_address_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *AddressCreateRequest) GetPhone() string {
|
||
if x != nil {
|
||
return x.Phone
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AddressCreateRequest) GetCountry() string {
|
||
if x != nil {
|
||
return x.Country
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AddressCreateRequest) GetProvince() string {
|
||
if x != nil {
|
||
return x.Province
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AddressCreateRequest) GetCity() string {
|
||
if x != nil {
|
||
return x.City
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AddressCreateRequest) GetArea() string {
|
||
if x != nil {
|
||
return x.Area
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AddressCreateRequest) GetDetail() string {
|
||
if x != nil {
|
||
return x.Detail
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AddressCreateRequest) GetContact() string {
|
||
if x != nil {
|
||
return x.Contact
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AddressCreateRequest) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AddressCreateRequest) GetPics() string {
|
||
if x != nil {
|
||
return x.Pics
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AddressCreateRequest) GetStatus() int32 {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type FetchRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
PageNo int64 `protobuf:"varint,1,opt,name=page_no,json=pageNo,proto3" json:"page_no,omitempty"` // 页数
|
||
PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 每页记录数
|
||
Params map[string]string `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // 条件参数,key=val,eg key:category_id=?,vlaue=11
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FetchRequest) Reset() {
|
||
*x = FetchRequest{}
|
||
mi := &file_module_ec_address_proto_address_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FetchRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FetchRequest) ProtoMessage() {}
|
||
|
||
func (x *FetchRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_module_ec_address_proto_address_proto_msgTypes[2]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use FetchRequest.ProtoReflect.Descriptor instead.
|
||
func (*FetchRequest) Descriptor() ([]byte, []int) {
|
||
return file_module_ec_address_proto_address_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *FetchRequest) GetPageNo() int64 {
|
||
if x != nil {
|
||
return x.PageNo
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *FetchRequest) GetPageSize() int64 {
|
||
if x != nil {
|
||
return x.PageSize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *FetchRequest) GetParams() map[string]string {
|
||
if x != nil {
|
||
return x.Params
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type IdentRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 唯一ID
|
||
Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // 唯一码
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *IdentRequest) Reset() {
|
||
*x = IdentRequest{}
|
||
mi := &file_module_ec_address_proto_address_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *IdentRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*IdentRequest) ProtoMessage() {}
|
||
|
||
func (x *IdentRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_module_ec_address_proto_address_proto_msgTypes[3]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use IdentRequest.ProtoReflect.Descriptor instead.
|
||
func (*IdentRequest) Descriptor() ([]byte, []int) {
|
||
return file_module_ec_address_proto_address_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *IdentRequest) GetId() int64 {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *IdentRequest) GetIdentity() string {
|
||
if x != nil {
|
||
return x.Identity
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type StatusReply struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
|
||
Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // 标识码
|
||
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` //状态说明
|
||
Timeseq int64 `protobuf:"varint,4,opt,name=timeseq,proto3" json:"timeseq,omitempty"` // 响应时间序列
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *StatusReply) Reset() {
|
||
*x = StatusReply{}
|
||
mi := &file_module_ec_address_proto_address_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *StatusReply) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*StatusReply) ProtoMessage() {}
|
||
|
||
func (x *StatusReply) ProtoReflect() protoreflect.Message {
|
||
mi := &file_module_ec_address_proto_address_proto_msgTypes[4]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use StatusReply.ProtoReflect.Descriptor instead.
|
||
func (*StatusReply) Descriptor() ([]byte, []int) {
|
||
return file_module_ec_address_proto_address_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *StatusReply) GetCode() int32 {
|
||
if x != nil {
|
||
return x.Code
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *StatusReply) GetIdentity() string {
|
||
if x != nil {
|
||
return x.Identity
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StatusReply) GetMessage() string {
|
||
if x != nil {
|
||
return x.Message
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StatusReply) GetTimeseq() int64 {
|
||
if x != nil {
|
||
return x.Timeseq
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type AddressListReply struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Data []*AddressItem `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // 地址列表
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AddressListReply) Reset() {
|
||
*x = AddressListReply{}
|
||
mi := &file_module_ec_address_proto_address_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AddressListReply) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AddressListReply) ProtoMessage() {}
|
||
|
||
func (x *AddressListReply) ProtoReflect() protoreflect.Message {
|
||
mi := &file_module_ec_address_proto_address_proto_msgTypes[5]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use AddressListReply.ProtoReflect.Descriptor instead.
|
||
func (*AddressListReply) Descriptor() ([]byte, []int) {
|
||
return file_module_ec_address_proto_address_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *AddressListReply) GetData() []*AddressItem {
|
||
if x != nil {
|
||
return x.Data
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type AddressDeleteRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Id []int64 `protobuf:"varint,1,rep,packed,name=id,proto3" json:"id,omitempty"` // ID
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AddressDeleteRequest) Reset() {
|
||
*x = AddressDeleteRequest{}
|
||
mi := &file_module_ec_address_proto_address_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AddressDeleteRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AddressDeleteRequest) ProtoMessage() {}
|
||
|
||
func (x *AddressDeleteRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_module_ec_address_proto_address_proto_msgTypes[6]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use AddressDeleteRequest.ProtoReflect.Descriptor instead.
|
||
func (*AddressDeleteRequest) Descriptor() ([]byte, []int) {
|
||
return file_module_ec_address_proto_address_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *AddressDeleteRequest) GetId() []int64 {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return nil
|
||
}
|
||
|
||
var File_module_ec_address_proto_address_proto protoreflect.FileDescriptor
|
||
|
||
const file_module_ec_address_proto_address_proto_rawDesc = "" +
|
||
"\n" +
|
||
"%module/ec/address/proto/address.proto\x12\aaddress\"\x9f\x02\n" +
|
||
"\vAddressItem\x12\x0e\n" +
|
||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
|
||
"\bidentity\x18\x02 \x01(\tR\bidentity\x12\x14\n" +
|
||
"\x05phone\x18\x03 \x01(\tR\x05phone\x12\x18\n" +
|
||
"\acountry\x18\x04 \x01(\tR\acountry\x12\x1a\n" +
|
||
"\bprovince\x18\x05 \x01(\tR\bprovince\x12\x12\n" +
|
||
"\x04city\x18\x06 \x01(\tR\x04city\x12\x12\n" +
|
||
"\x04area\x18\a \x01(\tR\x04area\x12\x16\n" +
|
||
"\x06detail\x18\b \x01(\tR\x06detail\x12\x18\n" +
|
||
"\acontact\x18\t \x01(\tR\acontact\x12\x12\n" +
|
||
"\x04name\x18\n" +
|
||
" \x01(\tR\x04name\x12\x12\n" +
|
||
"\x04pics\x18\v \x01(\tR\x04pics\x12\x16\n" +
|
||
"\x06status\x18\f \x01(\x05R\x06status\"\xfc\x01\n" +
|
||
"\x14AddressCreateRequest\x12\x14\n" +
|
||
"\x05phone\x18\x01 \x01(\tR\x05phone\x12\x18\n" +
|
||
"\acountry\x18\x02 \x01(\tR\acountry\x12\x1a\n" +
|
||
"\bprovince\x18\x03 \x01(\tR\bprovince\x12\x12\n" +
|
||
"\x04city\x18\x04 \x01(\tR\x04city\x12\x12\n" +
|
||
"\x04area\x18\x05 \x01(\tR\x04area\x12\x16\n" +
|
||
"\x06detail\x18\x06 \x01(\tR\x06detail\x12\x18\n" +
|
||
"\acontact\x18\a \x01(\tR\acontact\x12\x12\n" +
|
||
"\x04name\x18\b \x01(\tR\x04name\x12\x12\n" +
|
||
"\x04pics\x18\t \x01(\tR\x04pics\x12\x16\n" +
|
||
"\x06status\x18\n" +
|
||
" \x01(\x05R\x06status\"\xba\x01\n" +
|
||
"\fFetchRequest\x12\x17\n" +
|
||
"\apage_no\x18\x01 \x01(\x03R\x06pageNo\x12\x1b\n" +
|
||
"\tpage_size\x18\x02 \x01(\x03R\bpageSize\x129\n" +
|
||
"\x06params\x18\x03 \x03(\v2!.address.FetchRequest.ParamsEntryR\x06params\x1a9\n" +
|
||
"\vParamsEntry\x12\x10\n" +
|
||
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
||
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\":\n" +
|
||
"\fIdentRequest\x12\x0e\n" +
|
||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
|
||
"\bidentity\x18\x02 \x01(\tR\bidentity\"q\n" +
|
||
"\vStatusReply\x12\x12\n" +
|
||
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x1a\n" +
|
||
"\bidentity\x18\x02 \x01(\tR\bidentity\x12\x18\n" +
|
||
"\amessage\x18\x03 \x01(\tR\amessage\x12\x18\n" +
|
||
"\atimeseq\x18\x04 \x01(\x03R\atimeseq\"<\n" +
|
||
"\x10AddressListReply\x12(\n" +
|
||
"\x04data\x18\x01 \x03(\v2\x14.address.AddressItemR\x04data\"&\n" +
|
||
"\x14AddressDeleteRequest\x12\x0e\n" +
|
||
"\x02id\x18\x01 \x03(\x03R\x02id2\xb6\x02\n" +
|
||
"\aLibrary\x12?\n" +
|
||
"\x06Create\x12\x1d.address.AddressCreateRequest\x1a\x14.address.StatusReply\"\x00\x126\n" +
|
||
"\x06Modify\x12\x14.address.AddressItem\x1a\x14.address.StatusReply\"\x00\x124\n" +
|
||
"\x03Get\x12\x15.address.IdentRequest\x1a\x14.address.AddressItem\"\x00\x12;\n" +
|
||
"\x05Fetch\x12\x15.address.IdentRequest\x1a\x19.address.AddressListReply\"\x00\x12?\n" +
|
||
"\x06Delete\x12\x1d.address.AddressDeleteRequest\x1a\x14.address.StatusReply\"\x00B'Z%bsm/full/module/ec/address/pb;addressb\x06proto3"
|
||
|
||
var (
|
||
file_module_ec_address_proto_address_proto_rawDescOnce sync.Once
|
||
file_module_ec_address_proto_address_proto_rawDescData []byte
|
||
)
|
||
|
||
func file_module_ec_address_proto_address_proto_rawDescGZIP() []byte {
|
||
file_module_ec_address_proto_address_proto_rawDescOnce.Do(func() {
|
||
file_module_ec_address_proto_address_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_ec_address_proto_address_proto_rawDesc), len(file_module_ec_address_proto_address_proto_rawDesc)))
|
||
})
|
||
return file_module_ec_address_proto_address_proto_rawDescData
|
||
}
|
||
|
||
var file_module_ec_address_proto_address_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
||
var file_module_ec_address_proto_address_proto_goTypes = []any{
|
||
(*AddressItem)(nil), // 0: address.AddressItem
|
||
(*AddressCreateRequest)(nil), // 1: address.AddressCreateRequest
|
||
(*FetchRequest)(nil), // 2: address.FetchRequest
|
||
(*IdentRequest)(nil), // 3: address.IdentRequest
|
||
(*StatusReply)(nil), // 4: address.StatusReply
|
||
(*AddressListReply)(nil), // 5: address.AddressListReply
|
||
(*AddressDeleteRequest)(nil), // 6: address.AddressDeleteRequest
|
||
nil, // 7: address.FetchRequest.ParamsEntry
|
||
}
|
||
var file_module_ec_address_proto_address_proto_depIdxs = []int32{
|
||
7, // 0: address.FetchRequest.params:type_name -> address.FetchRequest.ParamsEntry
|
||
0, // 1: address.AddressListReply.data:type_name -> address.AddressItem
|
||
1, // 2: address.Library.Create:input_type -> address.AddressCreateRequest
|
||
0, // 3: address.Library.Modify:input_type -> address.AddressItem
|
||
3, // 4: address.Library.Get:input_type -> address.IdentRequest
|
||
3, // 5: address.Library.Fetch:input_type -> address.IdentRequest
|
||
6, // 6: address.Library.Delete:input_type -> address.AddressDeleteRequest
|
||
4, // 7: address.Library.Create:output_type -> address.StatusReply
|
||
4, // 8: address.Library.Modify:output_type -> address.StatusReply
|
||
0, // 9: address.Library.Get:output_type -> address.AddressItem
|
||
5, // 10: address.Library.Fetch:output_type -> address.AddressListReply
|
||
4, // 11: address.Library.Delete:output_type -> address.StatusReply
|
||
7, // [7:12] is the sub-list for method output_type
|
||
2, // [2:7] is the sub-list for method input_type
|
||
2, // [2:2] is the sub-list for extension type_name
|
||
2, // [2:2] is the sub-list for extension extendee
|
||
0, // [0:2] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_module_ec_address_proto_address_proto_init() }
|
||
func file_module_ec_address_proto_address_proto_init() {
|
||
if File_module_ec_address_proto_address_proto != nil {
|
||
return
|
||
}
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_ec_address_proto_address_proto_rawDesc), len(file_module_ec_address_proto_address_proto_rawDesc)),
|
||
NumEnums: 0,
|
||
NumMessages: 8,
|
||
NumExtensions: 0,
|
||
NumServices: 1,
|
||
},
|
||
GoTypes: file_module_ec_address_proto_address_proto_goTypes,
|
||
DependencyIndexes: file_module_ec_address_proto_address_proto_depIdxs,
|
||
MessageInfos: file_module_ec_address_proto_address_proto_msgTypes,
|
||
}.Build()
|
||
File_module_ec_address_proto_address_proto = out.File
|
||
file_module_ec_address_proto_address_proto_goTypes = nil
|
||
file_module_ec_address_proto_address_proto_depIdxs = nil
|
||
}
|