-
Notifications
You must be signed in to change notification settings - Fork 1
/
list_translate_states.pb.go
170 lines (152 loc) · 7.33 KB
/
list_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
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: list_translate_states.proto
package stream
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
metadata_center "github.com/easyopsapis/easyops-api-go/protorepo-models/easyops/model/metadata_center"
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
//
//ListTranslateStates返回
type ListTranslateStatesResponse struct {
//
//翻译规则列表
States []*metadata_center.StreamTranslatePackage `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 *ListTranslateStatesResponse) Reset() { *m = ListTranslateStatesResponse{} }
func (m *ListTranslateStatesResponse) String() string { return proto.CompactTextString(m) }
func (*ListTranslateStatesResponse) ProtoMessage() {}
func (*ListTranslateStatesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_5d4a6b246eaafe67, []int{0}
}
func (m *ListTranslateStatesResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListTranslateStatesResponse.Unmarshal(m, b)
}
func (m *ListTranslateStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListTranslateStatesResponse.Marshal(b, m, deterministic)
}
func (m *ListTranslateStatesResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListTranslateStatesResponse.Merge(m, src)
}
func (m *ListTranslateStatesResponse) XXX_Size() int {
return xxx_messageInfo_ListTranslateStatesResponse.Size(m)
}
func (m *ListTranslateStatesResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListTranslateStatesResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListTranslateStatesResponse proto.InternalMessageInfo
func (m *ListTranslateStatesResponse) GetStates() []*metadata_center.StreamTranslatePackage {
if m != nil {
return m.States
}
return nil
}
//
//ListTranslateStatesApi返回
type ListTranslateStatesResponseWrapper 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 *ListTranslateStatesResponse `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 *ListTranslateStatesResponseWrapper) Reset() { *m = ListTranslateStatesResponseWrapper{} }
func (m *ListTranslateStatesResponseWrapper) String() string { return proto.CompactTextString(m) }
func (*ListTranslateStatesResponseWrapper) ProtoMessage() {}
func (*ListTranslateStatesResponseWrapper) Descriptor() ([]byte, []int) {
return fileDescriptor_5d4a6b246eaafe67, []int{1}
}
func (m *ListTranslateStatesResponseWrapper) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListTranslateStatesResponseWrapper.Unmarshal(m, b)
}
func (m *ListTranslateStatesResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListTranslateStatesResponseWrapper.Marshal(b, m, deterministic)
}
func (m *ListTranslateStatesResponseWrapper) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListTranslateStatesResponseWrapper.Merge(m, src)
}
func (m *ListTranslateStatesResponseWrapper) XXX_Size() int {
return xxx_messageInfo_ListTranslateStatesResponseWrapper.Size(m)
}
func (m *ListTranslateStatesResponseWrapper) XXX_DiscardUnknown() {
xxx_messageInfo_ListTranslateStatesResponseWrapper.DiscardUnknown(m)
}
var xxx_messageInfo_ListTranslateStatesResponseWrapper proto.InternalMessageInfo
func (m *ListTranslateStatesResponseWrapper) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *ListTranslateStatesResponseWrapper) GetCodeExplain() string {
if m != nil {
return m.CodeExplain
}
return ""
}
func (m *ListTranslateStatesResponseWrapper) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *ListTranslateStatesResponseWrapper) GetData() *ListTranslateStatesResponse {
if m != nil {
return m.Data
}
return nil
}
func init() {
proto.RegisterType((*ListTranslateStatesResponse)(nil), "stream.ListTranslateStatesResponse")
proto.RegisterType((*ListTranslateStatesResponseWrapper)(nil), "stream.ListTranslateStatesResponseWrapper")
}
func init() { proto.RegisterFile("list_translate_states.proto", fileDescriptor_5d4a6b246eaafe67) }
var fileDescriptor_5d4a6b246eaafe67 = []byte{
// 346 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4b, 0xf3, 0x40,
0x10, 0xc6, 0xc9, 0xdb, 0x3f, 0xf0, 0x6e, 0x14, 0x35, 0x07, 0x09, 0xed, 0x21, 0x61, 0x0b, 0x9a,
0x4b, 0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