496 lines
15 KiB
Go
496 lines
15 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v4.25.8
|
|
// source: express/express.proto
|
|
|
|
package express
|
|
|
|
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"
|
|
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 Response struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
|
|
Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Response) Reset() {
|
|
*x = Response{}
|
|
mi := &file_express_express_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Response) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Response) ProtoMessage() {}
|
|
|
|
func (x *Response) ProtoReflect() protoreflect.Message {
|
|
mi := &file_express_express_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 Response.ProtoReflect.Descriptor instead.
|
|
func (*Response) Descriptor() ([]byte, []int) {
|
|
return file_express_express_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Response) GetCode() int32 {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Response) GetMsg() string {
|
|
if x != nil {
|
|
return x.Msg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Response) GetData() string {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EmtpyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EmtpyRequest) Reset() {
|
|
*x = EmtpyRequest{}
|
|
mi := &file_express_express_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EmtpyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EmtpyRequest) ProtoMessage() {}
|
|
|
|
func (x *EmtpyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_express_express_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 EmtpyRequest.ProtoReflect.Descriptor instead.
|
|
func (*EmtpyRequest) Descriptor() ([]byte, []int) {
|
|
return file_express_express_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type CreateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
TransitId int32 `protobuf:"varint,3,opt,name=transit_id,json=transitId,proto3" json:"transit_id,omitempty"`
|
|
AppCode string `protobuf:"bytes,4,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
|
AppSecretKey string `protobuf:"bytes,5,opt,name=app_secret_key,json=appSecretKey,proto3" json:"app_secret_key,omitempty"`
|
|
AppUrl string `protobuf:"bytes,6,opt,name=app_url,json=appUrl,proto3" json:"app_url,omitempty"`
|
|
CardNumber string `protobuf:"bytes,7,opt,name=card_number,json=cardNumber,proto3" json:"card_number,omitempty"`
|
|
Province string `protobuf:"bytes,8,opt,name=province,proto3" json:"province,omitempty"`
|
|
City string `protobuf:"bytes,9,opt,name=city,proto3" json:"city,omitempty"`
|
|
County string `protobuf:"bytes,10,opt,name=county,proto3" json:"county,omitempty"`
|
|
Address string `protobuf:"bytes,11,opt,name=address,proto3" json:"address,omitempty"`
|
|
CompanyName string `protobuf:"bytes,12,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"`
|
|
Contact string `protobuf:"bytes,13,opt,name=contact,proto3" json:"contact,omitempty"`
|
|
Mobile string `protobuf:"bytes,14,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
PdfCode string `protobuf:"bytes,15,opt,name=pdf_code,json=pdfCode,proto3" json:"pdf_code,omitempty"`
|
|
Other string `protobuf:"bytes,16,opt,name=other,proto3" json:"other,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateRequest) Reset() {
|
|
*x = CreateRequest{}
|
|
mi := &file_express_express_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_express_express_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 CreateRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateRequest) Descriptor() ([]byte, []int) {
|
|
return file_express_express_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *CreateRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateRequest) GetTransitId() int32 {
|
|
if x != nil {
|
|
return x.TransitId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateRequest) GetAppCode() string {
|
|
if x != nil {
|
|
return x.AppCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateRequest) GetAppSecretKey() string {
|
|
if x != nil {
|
|
return x.AppSecretKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateRequest) GetAppUrl() string {
|
|
if x != nil {
|
|
return x.AppUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateRequest) GetCardNumber() string {
|
|
if x != nil {
|
|
return x.CardNumber
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateRequest) GetProvince() string {
|
|
if x != nil {
|
|
return x.Province
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateRequest) GetCity() string {
|
|
if x != nil {
|
|
return x.City
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateRequest) GetCounty() string {
|
|
if x != nil {
|
|
return x.County
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateRequest) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateRequest) GetCompanyName() string {
|
|
if x != nil {
|
|
return x.CompanyName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateRequest) GetContact() string {
|
|
if x != nil {
|
|
return x.Contact
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateRequest) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateRequest) GetPdfCode() string {
|
|
if x != nil {
|
|
return x.PdfCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateRequest) GetOther() string {
|
|
if x != nil {
|
|
return x.Other
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type IdRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *IdRequest) Reset() {
|
|
*x = IdRequest{}
|
|
mi := &file_express_express_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *IdRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IdRequest) ProtoMessage() {}
|
|
|
|
func (x *IdRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_express_express_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 IdRequest.ProtoReflect.Descriptor instead.
|
|
func (*IdRequest) Descriptor() ([]byte, []int) {
|
|
return file_express_express_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *IdRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type StatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StatusRequest) Reset() {
|
|
*x = StatusRequest{}
|
|
mi := &file_express_express_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StatusRequest) ProtoMessage() {}
|
|
|
|
func (x *StatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_express_express_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 StatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*StatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_express_express_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *StatusRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StatusRequest) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StatusRequest) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_express_express_proto protoreflect.FileDescriptor
|
|
|
|
const file_express_express_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x15express/express.proto\x12\aexpress\x1a\x1cgoogle/api/annotations.proto\"D\n" +
|
|
"\bResponse\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x10\n" +
|
|
"\x03msg\x18\x02 \x01(\tR\x03msg\x12\x12\n" +
|
|
"\x04data\x18\x03 \x01(\tR\x04data\"\x0e\n" +
|
|
"\fEmtpyRequest\"\xb5\x03\n" +
|
|
"\rCreateRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1d\n" +
|
|
"\n" +
|
|
"transit_id\x18\x03 \x01(\x05R\ttransitId\x12\x19\n" +
|
|
"\bapp_code\x18\x04 \x01(\tR\aappCode\x12$\n" +
|
|
"\x0eapp_secret_key\x18\x05 \x01(\tR\fappSecretKey\x12\x17\n" +
|
|
"\aapp_url\x18\x06 \x01(\tR\x06appUrl\x12\x1f\n" +
|
|
"\vcard_number\x18\a \x01(\tR\n" +
|
|
"cardNumber\x12\x1a\n" +
|
|
"\bprovince\x18\b \x01(\tR\bprovince\x12\x12\n" +
|
|
"\x04city\x18\t \x01(\tR\x04city\x12\x16\n" +
|
|
"\x06county\x18\n" +
|
|
" \x01(\tR\x06county\x12\x18\n" +
|
|
"\aaddress\x18\v \x01(\tR\aaddress\x12!\n" +
|
|
"\fcompany_name\x18\f \x01(\tR\vcompanyName\x12\x18\n" +
|
|
"\acontact\x18\r \x01(\tR\acontact\x12\x16\n" +
|
|
"\x06mobile\x18\x0e \x01(\tR\x06mobile\x12\x19\n" +
|
|
"\bpdf_code\x18\x0f \x01(\tR\apdfCode\x12\x14\n" +
|
|
"\x05other\x18\x10 \x01(\tR\x05other\"\x1b\n" +
|
|
"\tIdRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\"O\n" +
|
|
"\rStatusRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\x05R\x06status\x12\x16\n" +
|
|
"\x06reason\x18\x03 \x01(\tR\x06reason2\x93\x04\n" +
|
|
"\aExpress\x12U\n" +
|
|
"\x05Items\x12\x15.express.EmtpyRequest\x1a\x11.express.Response\"\"\x82\xd3\xe4\x93\x02\x1c:\x01*\x12\x17/admin/v3/express/items\x12X\n" +
|
|
"\x06Create\x12\x16.express.CreateRequest\x1a\x11.express.Response\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/admin/v3/express/create\x12T\n" +
|
|
"\x04Edit\x12\x16.express.CreateRequest\x1a\x11.express.Response\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/admin/v3/express/edit\x12P\n" +
|
|
"\x04Info\x12\x12.express.IdRequest\x1a\x11.express.Response\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\x12\x16/admin/v3/express/info\x12U\n" +
|
|
"\x05Names\x12\x15.express.EmtpyRequest\x1a\x11.express.Response\"\"\x82\xd3\xe4\x93\x02\x1c:\x01*\x12\x17/admin/v3/express/names\x12X\n" +
|
|
"\x06Status\x12\x16.express.StatusRequest\x1a\x11.express.Response\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/admin/v3/express/statusB\vZ\t./expressb\x06proto3"
|
|
|
|
var (
|
|
file_express_express_proto_rawDescOnce sync.Once
|
|
file_express_express_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_express_express_proto_rawDescGZIP() []byte {
|
|
file_express_express_proto_rawDescOnce.Do(func() {
|
|
file_express_express_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_express_express_proto_rawDesc), len(file_express_express_proto_rawDesc)))
|
|
})
|
|
return file_express_express_proto_rawDescData
|
|
}
|
|
|
|
var file_express_express_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
|
var file_express_express_proto_goTypes = []any{
|
|
(*Response)(nil), // 0: express.Response
|
|
(*EmtpyRequest)(nil), // 1: express.EmtpyRequest
|
|
(*CreateRequest)(nil), // 2: express.CreateRequest
|
|
(*IdRequest)(nil), // 3: express.IdRequest
|
|
(*StatusRequest)(nil), // 4: express.StatusRequest
|
|
}
|
|
var file_express_express_proto_depIdxs = []int32{
|
|
1, // 0: express.Express.Items:input_type -> express.EmtpyRequest
|
|
2, // 1: express.Express.Create:input_type -> express.CreateRequest
|
|
2, // 2: express.Express.Edit:input_type -> express.CreateRequest
|
|
3, // 3: express.Express.Info:input_type -> express.IdRequest
|
|
1, // 4: express.Express.Names:input_type -> express.EmtpyRequest
|
|
4, // 5: express.Express.Status:input_type -> express.StatusRequest
|
|
0, // 6: express.Express.Items:output_type -> express.Response
|
|
0, // 7: express.Express.Create:output_type -> express.Response
|
|
0, // 8: express.Express.Edit:output_type -> express.Response
|
|
0, // 9: express.Express.Info:output_type -> express.Response
|
|
0, // 10: express.Express.Names:output_type -> express.Response
|
|
0, // 11: express.Express.Status:output_type -> express.Response
|
|
6, // [6:12] is the sub-list for method output_type
|
|
0, // [0:6] is the sub-list for method input_type
|
|
0, // [0:0] is the sub-list for extension type_name
|
|
0, // [0:0] is the sub-list for extension extendee
|
|
0, // [0:0] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_express_express_proto_init() }
|
|
func file_express_express_proto_init() {
|
|
if File_express_express_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_express_express_proto_rawDesc), len(file_express_express_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 5,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_express_express_proto_goTypes,
|
|
DependencyIndexes: file_express_express_proto_depIdxs,
|
|
MessageInfos: file_express_express_proto_msgTypes,
|
|
}.Build()
|
|
File_express_express_proto = out.File
|
|
file_express_express_proto_goTypes = nil
|
|
file_express_express_proto_depIdxs = nil
|
|
}
|