forked from vitessio/vitess
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vtctldata.pb.go
49 lines (39 loc) · 1.69 KB
/
vtctldata.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
// Code generated by protoc-gen-go.
// source: vtctldata.proto
// DO NOT EDIT!
/*
Package vtctldata is a generated protocol buffer package.
It is generated from these files:
vtctldata.proto
It has these top-level messages:
ExecuteVtctlCommandRequest
ExecuteVtctlCommandResponse
*/
package vtctldata
import proto "github.com/golang/protobuf/proto"
import logutil "github.com/youtube/vitess/go/vt/proto/logutil"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
// ExecuteVtctlCommandRequest is the payload for ExecuteVtctlCommand.
// timeouts are in nanoseconds.
type ExecuteVtctlCommandRequest struct {
Args []string `protobuf:"bytes,1,rep,name=args" json:"args,omitempty"`
ActionTimeout int64 `protobuf:"varint,2,opt,name=action_timeout" json:"action_timeout,omitempty"`
LockTimeout int64 `protobuf:"varint,3,opt,name=lock_timeout" json:"lock_timeout,omitempty"`
}
func (m *ExecuteVtctlCommandRequest) Reset() { *m = ExecuteVtctlCommandRequest{} }
func (m *ExecuteVtctlCommandRequest) String() string { return proto.CompactTextString(m) }
func (*ExecuteVtctlCommandRequest) ProtoMessage() {}
// ExecuteVtctlCommandResponse is streamed back by ExecuteVtctlCommand.
type ExecuteVtctlCommandResponse struct {
Event *logutil.Event `protobuf:"bytes,1,opt,name=event" json:"event,omitempty"`
}
func (m *ExecuteVtctlCommandResponse) Reset() { *m = ExecuteVtctlCommandResponse{} }
func (m *ExecuteVtctlCommandResponse) String() string { return proto.CompactTextString(m) }
func (*ExecuteVtctlCommandResponse) ProtoMessage() {}
func (m *ExecuteVtctlCommandResponse) GetEvent() *logutil.Event {
if m != nil {
return m.Event
}
return nil
}