-
Notifications
You must be signed in to change notification settings - Fork 1
/
replace_translate_states.pb.go
219 lines (196 loc) · 9.31 KB
/
replace_translate_states.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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: replace_translate_states.proto
package stream
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
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
//
//ReplaceTranslateStates返回
type ReplaceTranslateStatesResponse struct {
//
//推送的状态数据列表
States []*ReplaceTranslateStatesResponse_States `protobuf:"bytes,1,rep,name=states,proto3" json:"states" form:"states"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReplaceTranslateStatesResponse) Reset() { *m = ReplaceTranslateStatesResponse{} }
func (m *ReplaceTranslateStatesResponse) String() string { return proto.CompactTextString(m) }
func (*ReplaceTranslateStatesResponse) ProtoMessage() {}
func (*ReplaceTranslateStatesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_5e20d62a097c8c15, []int{0}
}
func (m *ReplaceTranslateStatesResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReplaceTranslateStatesResponse.Unmarshal(m, b)
}
func (m *ReplaceTranslateStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplaceTranslateStatesResponse.Marshal(b, m, deterministic)
}
func (m *ReplaceTranslateStatesResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplaceTranslateStatesResponse.Merge(m, src)
}
func (m *ReplaceTranslateStatesResponse) XXX_Size() int {
return xxx_messageInfo_ReplaceTranslateStatesResponse.Size(m)
}
func (m *ReplaceTranslateStatesResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ReplaceTranslateStatesResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ReplaceTranslateStatesResponse proto.InternalMessageInfo
func (m *ReplaceTranslateStatesResponse) GetStates() []*ReplaceTranslateStatesResponse_States {
if m != nil {
return m.States
}
return nil
}
type ReplaceTranslateStatesResponse_States struct {
//
//状态数据id
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"`
//
//状态数据版本
Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version" form:"version"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReplaceTranslateStatesResponse_States) Reset() { *m = ReplaceTranslateStatesResponse_States{} }
func (m *ReplaceTranslateStatesResponse_States) String() string { return proto.CompactTextString(m) }
func (*ReplaceTranslateStatesResponse_States) ProtoMessage() {}
func (*ReplaceTranslateStatesResponse_States) Descriptor() ([]byte, []int) {
return fileDescriptor_5e20d62a097c8c15, []int{0, 0}
}
func (m *ReplaceTranslateStatesResponse_States) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReplaceTranslateStatesResponse_States.Unmarshal(m, b)
}
func (m *ReplaceTranslateStatesResponse_States) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplaceTranslateStatesResponse_States.Marshal(b, m, deterministic)
}
func (m *ReplaceTranslateStatesResponse_States) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplaceTranslateStatesResponse_States.Merge(m, src)
}
func (m *ReplaceTranslateStatesResponse_States) XXX_Size() int {
return xxx_messageInfo_ReplaceTranslateStatesResponse_States.Size(m)
}
func (m *ReplaceTranslateStatesResponse_States) XXX_DiscardUnknown() {
xxx_messageInfo_ReplaceTranslateStatesResponse_States.DiscardUnknown(m)
}
var xxx_messageInfo_ReplaceTranslateStatesResponse_States proto.InternalMessageInfo
func (m *ReplaceTranslateStatesResponse_States) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *ReplaceTranslateStatesResponse_States) GetVersion() int32 {
if m != nil {
return m.Version
}
return 0
}
//
//ReplaceTranslateStatesApi返回
type ReplaceTranslateStatesResponseWrapper 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 *ReplaceTranslateStatesResponse `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 *ReplaceTranslateStatesResponseWrapper) Reset() { *m = ReplaceTranslateStatesResponseWrapper{} }
func (m *ReplaceTranslateStatesResponseWrapper) String() string { return proto.CompactTextString(m) }
func (*ReplaceTranslateStatesResponseWrapper) ProtoMessage() {}
func (*ReplaceTranslateStatesResponseWrapper) Descriptor() ([]byte, []int) {
return fileDescriptor_5e20d62a097c8c15, []int{1}
}
func (m *ReplaceTranslateStatesResponseWrapper) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReplaceTranslateStatesResponseWrapper.Unmarshal(m, b)
}
func (m *ReplaceTranslateStatesResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplaceTranslateStatesResponseWrapper.Marshal(b, m, deterministic)
}
func (m *ReplaceTranslateStatesResponseWrapper) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplaceTranslateStatesResponseWrapper.Merge(m, src)
}
func (m *ReplaceTranslateStatesResponseWrapper) XXX_Size() int {
return xxx_messageInfo_ReplaceTranslateStatesResponseWrapper.Size(m)
}
func (m *ReplaceTranslateStatesResponseWrapper) XXX_DiscardUnknown() {
xxx_messageInfo_ReplaceTranslateStatesResponseWrapper.DiscardUnknown(m)
}
var xxx_messageInfo_ReplaceTranslateStatesResponseWrapper proto.InternalMessageInfo
func (m *ReplaceTranslateStatesResponseWrapper) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *ReplaceTranslateStatesResponseWrapper) GetCodeExplain() string {
if m != nil {
return m.CodeExplain
}
return ""
}
func (m *ReplaceTranslateStatesResponseWrapper) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *ReplaceTranslateStatesResponseWrapper) GetData() *ReplaceTranslateStatesResponse {
if m != nil {
return m.Data
}
return nil
}
func init() {
proto.RegisterType((*ReplaceTranslateStatesResponse)(nil), "stream.ReplaceTranslateStatesResponse")
proto.RegisterType((*ReplaceTranslateStatesResponse_States)(nil), "stream.ReplaceTranslateStatesResponse.States")
proto.RegisterType((*ReplaceTranslateStatesResponseWrapper)(nil), "stream.ReplaceTranslateStatesResponseWrapper")
}
func init() { proto.RegisterFile("replace_translate_states.proto", fileDescriptor_5e20d62a097c8c15) }
var fileDescriptor_5e20d62a097c8c15 = []byte{
// 334 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08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