forked from vitessio/vitess
-
Notifications
You must be signed in to change notification settings - Fork 0
/
replicationdata.pb.go
121 lines (103 loc) · 4.42 KB
/
replicationdata.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
// Code generated by protoc-gen-go.
// source: replicationdata.proto
// DO NOT EDIT!
/*
Package replicationdata is a generated protocol buffer package.
It is generated from these files:
replicationdata.proto
It has these top-level messages:
Status
*/
package replicationdata
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import 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.ProtoPackageIsVersion2 // please upgrade the proto package
// Status is the replication status for MySQL (returned by 'show slave status'
// and parsed into a Position and fields).
type Status struct {
Position string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"`
SlaveIoRunning bool `protobuf:"varint,2,opt,name=slave_io_running,json=slaveIoRunning" json:"slave_io_running,omitempty"`
SlaveSqlRunning bool `protobuf:"varint,3,opt,name=slave_sql_running,json=slaveSqlRunning" json:"slave_sql_running,omitempty"`
SecondsBehindMaster uint32 `protobuf:"varint,4,opt,name=seconds_behind_master,json=secondsBehindMaster" json:"seconds_behind_master,omitempty"`
MasterHost string `protobuf:"bytes,5,opt,name=master_host,json=masterHost" json:"master_host,omitempty"`
MasterPort int32 `protobuf:"varint,6,opt,name=master_port,json=masterPort" json:"master_port,omitempty"`
MasterConnectRetry int32 `protobuf:"varint,7,opt,name=master_connect_retry,json=masterConnectRetry" json:"master_connect_retry,omitempty"`
}
func (m *Status) Reset() { *m = Status{} }
func (m *Status) String() string { return proto.CompactTextString(m) }
func (*Status) ProtoMessage() {}
func (*Status) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *Status) GetPosition() string {
if m != nil {
return m.Position
}
return ""
}
func (m *Status) GetSlaveIoRunning() bool {
if m != nil {
return m.SlaveIoRunning
}
return false
}
func (m *Status) GetSlaveSqlRunning() bool {
if m != nil {
return m.SlaveSqlRunning
}
return false
}
func (m *Status) GetSecondsBehindMaster() uint32 {
if m != nil {
return m.SecondsBehindMaster
}
return 0
}
func (m *Status) GetMasterHost() string {
if m != nil {
return m.MasterHost
}
return ""
}
func (m *Status) GetMasterPort() int32 {
if m != nil {
return m.MasterPort
}
return 0
}
func (m *Status) GetMasterConnectRetry() int32 {
if m != nil {
return m.MasterConnectRetry
}
return 0
}
func init() {
proto.RegisterType((*Status)(nil), "replicationdata.Status")
}
func init() { proto.RegisterFile("replicationdata.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 241 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0xd0, 0xc1, 0x4a, 0x03, 0x31,
0x10, 0xc6, 0x71, 0x52, 0xed, 0x5a, 0x47, 0xb4, 0x1a, 0x2d, 0x04, 0x2f, 0x2e, 0x9e, 0x82, 0x07,
0x11, 0x7d, 0x03, 0xbd, 0xe8, 0x41, 0x90, 0xf4, 0x01, 0x42, 0xba, 0x1b, 0x6c, 0x60, 0xcd, 0x6c,
0x33, 0x53, 0xc1, 0xd7, 0xf1, 0x49, 0xa5, 0x49, 0xbb, 0x48, 0x8f, 0xf9, 0xfe, 0xbf, 0x43, 0x18,
0x98, 0x25, 0xdf, 0x77, 0xa1, 0x71, 0x1c, 0x30, 0xb6, 0x8e, 0xdd, 0x7d, 0x9f, 0x90, 0x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