-
Notifications
You must be signed in to change notification settings - Fork 1
/
send_message.pb.go
192 lines (172 loc) · 7.34 KB
/
send_message.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: send_message.proto
package custom_sender
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
types "github.com/gogo/protobuf/types"
_ "github.com/easyopsapis/easyops-api-go/protorepo-models/easyops/model/msgsender"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
//
//SendMessage返回
type SendMessageResponse struct {
//
//请求结果数据 e.g.: {"email": ["test@qq.com"], "phone": ["test@qq.com"]}
Data *types.Struct `protobuf:"bytes,1,opt,name=data,proto3" json:"data" form:"data"`
//
//请求错误信息
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg" form:"msg"`
//
//请求返回码
Code int32 `protobuf:"varint,3,opt,name=code,proto3" json:"code" form:"code"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SendMessageResponse) Reset() { *m = SendMessageResponse{} }
func (m *SendMessageResponse) String() string { return proto.CompactTextString(m) }
func (*SendMessageResponse) ProtoMessage() {}
func (*SendMessageResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_be92a216bce57c56, []int{0}
}
func (m *SendMessageResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SendMessageResponse.Unmarshal(m, b)
}
func (m *SendMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SendMessageResponse.Marshal(b, m, deterministic)
}
func (m *SendMessageResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SendMessageResponse.Merge(m, src)
}
func (m *SendMessageResponse) XXX_Size() int {
return xxx_messageInfo_SendMessageResponse.Size(m)
}
func (m *SendMessageResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SendMessageResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SendMessageResponse proto.InternalMessageInfo
func (m *SendMessageResponse) GetData() *types.Struct {
if m != nil {
return m.Data
}
return nil
}
func (m *SendMessageResponse) GetMsg() string {
if m != nil {
return m.Msg
}
return ""
}
func (m *SendMessageResponse) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
//
//SendMessageApi返回
type SendMessageResponseWrapper struct {
//
//返回码
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
//
//返回码解释
CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
//
//错误详情
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
//
//返回数据
Data *SendMessageResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SendMessageResponseWrapper) Reset() { *m = SendMessageResponseWrapper{} }
func (m *SendMessageResponseWrapper) String() string { return proto.CompactTextString(m) }
func (*SendMessageResponseWrapper) ProtoMessage() {}
func (*SendMessageResponseWrapper) Descriptor() ([]byte, []int) {
return fileDescriptor_be92a216bce57c56, []int{1}
}
func (m *SendMessageResponseWrapper) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SendMessageResponseWrapper.Unmarshal(m, b)
}
func (m *SendMessageResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SendMessageResponseWrapper.Marshal(b, m, deterministic)
}
func (m *SendMessageResponseWrapper) XXX_Merge(src proto.Message) {
xxx_messageInfo_SendMessageResponseWrapper.Merge(m, src)
}
func (m *SendMessageResponseWrapper) XXX_Size() int {
return xxx_messageInfo_SendMessageResponseWrapper.Size(m)
}
func (m *SendMessageResponseWrapper) XXX_DiscardUnknown() {
xxx_messageInfo_SendMessageResponseWrapper.DiscardUnknown(m)
}
var xxx_messageInfo_SendMessageResponseWrapper proto.InternalMessageInfo
func (m *SendMessageResponseWrapper) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *SendMessageResponseWrapper) GetCodeExplain() string {
if m != nil {
return m.CodeExplain
}
return ""
}
func (m *SendMessageResponseWrapper) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *SendMessageResponseWrapper) GetData() *SendMessageResponse {
if m != nil {
return m.Data
}
return nil
}
func init() {
proto.RegisterType((*SendMessageResponse)(nil), "custom_sender.SendMessageResponse")
proto.RegisterType((*SendMessageResponseWrapper)(nil), "custom_sender.SendMessageResponseWrapper")
}
func init() { proto.RegisterFile("send_message.proto", fileDescriptor_be92a216bce57c56) }
var fileDescriptor_be92a216bce57c56 = []byte{
// 363 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcd, 0x6a, 0xe3, 0x30,
0x14, 0x85, 0xf1, 0x24, 0x19, 0x88, 0x32, 0x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