forked from cloudfoundry-attic/garden-linux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
limit_memory.pb.go
55 lines (44 loc) · 1.52 KB
/
limit_memory.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
// Code generated by protoc-gen-gogo.
// source: limit_memory.proto
// DO NOT EDIT!
package garden
import proto "code.google.com/p/gogoprotobuf/proto"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = math.Inf
type LimitMemoryRequest struct {
Handle *string `protobuf:"bytes,1,req,name=handle" json:"handle,omitempty"`
LimitInBytes *uint64 `protobuf:"varint,2,opt,name=limit_in_bytes" json:"limit_in_bytes,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *LimitMemoryRequest) Reset() { *m = LimitMemoryRequest{} }
func (m *LimitMemoryRequest) String() string { return proto.CompactTextString(m) }
func (*LimitMemoryRequest) ProtoMessage() {}
func (m *LimitMemoryRequest) GetHandle() string {
if m != nil && m.Handle != nil {
return *m.Handle
}
return ""
}
func (m *LimitMemoryRequest) GetLimitInBytes() uint64 {
if m != nil && m.LimitInBytes != nil {
return *m.LimitInBytes
}
return 0
}
type LimitMemoryResponse struct {
LimitInBytes *uint64 `protobuf:"varint,1,opt,name=limit_in_bytes" json:"limit_in_bytes,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *LimitMemoryResponse) Reset() { *m = LimitMemoryResponse{} }
func (m *LimitMemoryResponse) String() string { return proto.CompactTextString(m) }
func (*LimitMemoryResponse) ProtoMessage() {}
func (m *LimitMemoryResponse) GetLimitInBytes() uint64 {
if m != nil && m.LimitInBytes != nil {
return *m.LimitInBytes
}
return 0
}
func init() {
}