-
Notifications
You must be signed in to change notification settings - Fork 1
/
stream_translate_states.pb.go
116 lines (103 loc) · 4.67 KB
/
stream_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
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: stream_translate_states.proto
package metadata_center
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
//
//翻译状态数据
type StreamTranslateStates struct {
//
//org
Org int32 `protobuf:"varint,1,opt,name=org,proto3" json:"org" form:"org"`
//
//状态数据变更命令
//upsert:插入/更新指定的状态数据
//delete:删除指定的状态数据
//retain:仅保留指定的状态数据
//
Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command" form:"command"`
//
//状态数据列表
Payload []*StreamTranslatePackage `protobuf:"bytes,3,rep,name=payload,proto3" json:"payload" form:"payload"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StreamTranslateStates) Reset() { *m = StreamTranslateStates{} }
func (m *StreamTranslateStates) String() string { return proto.CompactTextString(m) }
func (*StreamTranslateStates) ProtoMessage() {}
func (*StreamTranslateStates) Descriptor() ([]byte, []int) {
return fileDescriptor_ca6ade5770edfc51, []int{0}
}
func (m *StreamTranslateStates) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StreamTranslateStates.Unmarshal(m, b)
}
func (m *StreamTranslateStates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StreamTranslateStates.Marshal(b, m, deterministic)
}
func (m *StreamTranslateStates) XXX_Merge(src proto.Message) {
xxx_messageInfo_StreamTranslateStates.Merge(m, src)
}
func (m *StreamTranslateStates) XXX_Size() int {
return xxx_messageInfo_StreamTranslateStates.Size(m)
}
func (m *StreamTranslateStates) XXX_DiscardUnknown() {
xxx_messageInfo_StreamTranslateStates.DiscardUnknown(m)
}
var xxx_messageInfo_StreamTranslateStates proto.InternalMessageInfo
func (m *StreamTranslateStates) GetOrg() int32 {
if m != nil {
return m.Org
}
return 0
}
func (m *StreamTranslateStates) GetCommand() string {
if m != nil {
return m.Command
}
return ""
}
func (m *StreamTranslateStates) GetPayload() []*StreamTranslatePackage {
if m != nil {
return m.Payload
}
return nil
}
func init() {
proto.RegisterType((*StreamTranslateStates)(nil), "metadata_center.StreamTranslateStates")
}
func init() { proto.RegisterFile("stream_translate_states.proto", fileDescriptor_ca6ade5770edfc51) }
var fileDescriptor_ca6ade5770edfc51 = []byte{
// 279 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x90, 0xc1, 0x4a, 0xc3, 0x40,
0x10, 0x86, 0x89, 0x41, 0x8b, 0x2b, 0x54, 0x08, 0x08, 0xa1, 0x20, 0x0d, 0xb9, 0x98, 0x83, 0xdd,
0x05, 0xbd, 0x79, 0xcc, 0x4d, 0xbc, 0x48, 0xaa, 0x17, 0x2f, 0x61, 0xb2, 0xd9, 0x6e, 0xc5, 0x6c,
0x26, 0xec, 0x4e, 0x0f, 0x7d, 0x39, 0x1f, 0xa5, 0x0f, 0xd1, 0x27, 0x10, 0x37, 0x09, 0x48, 0xbc,
0xf6, 0x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