forked from pydio/cells
-
Notifications
You must be signed in to change notification settings - Fork 0
/
storage.pb.go
121 lines (100 loc) · 4.4 KB
/
storage.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. DO NOT EDIT.
// source: storage.proto
/*
Package storage is a generated protocol buffer package.
It is generated from these files:
storage.proto
It has these top-level messages:
ProposeRequest
ProposeResponse
LookupRequest
LookupResponse
*/
package storage
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
type ProposeRequest struct {
Key string `protobuf:"bytes,1,opt,name=Key" json:"Key,omitempty"`
Value []byte `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
}
func (m *ProposeRequest) Reset() { *m = ProposeRequest{} }
func (m *ProposeRequest) String() string { return proto.CompactTextString(m) }
func (*ProposeRequest) ProtoMessage() {}
func (*ProposeRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *ProposeRequest) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
func (m *ProposeRequest) GetValue() []byte {
if m != nil {
return m.Value
}
return nil
}
type ProposeResponse struct {
}
func (m *ProposeResponse) Reset() { *m = ProposeResponse{} }
func (m *ProposeResponse) String() string { return proto.CompactTextString(m) }
func (*ProposeResponse) ProtoMessage() {}
func (*ProposeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
type LookupRequest struct {
Key string `protobuf:"bytes,1,opt,name=Key" json:"Key,omitempty"`
}
func (m *LookupRequest) Reset() { *m = LookupRequest{} }
func (m *LookupRequest) String() string { return proto.CompactTextString(m) }
func (*LookupRequest) ProtoMessage() {}
func (*LookupRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *LookupRequest) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
type LookupResponse struct {
Value []byte `protobuf:"bytes,1,opt,name=Value,proto3" json:"Value,omitempty"`
}
func (m *LookupResponse) Reset() { *m = LookupResponse{} }
func (m *LookupResponse) String() string { return proto.CompactTextString(m) }
func (*LookupResponse) ProtoMessage() {}
func (*LookupResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
func (m *LookupResponse) GetValue() []byte {
if m != nil {
return m.Value
}
return nil
}
func init() {
proto.RegisterType((*ProposeRequest)(nil), "storage.ProposeRequest")
proto.RegisterType((*ProposeResponse)(nil), "storage.ProposeResponse")
proto.RegisterType((*LookupRequest)(nil), "storage.LookupRequest")
proto.RegisterType((*LookupResponse)(nil), "storage.LookupResponse")
}
func init() { proto.RegisterFile("storage.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 193 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2d, 0x2e, 0xc9, 0x2f,
0x4a, 0x4c, 0x4f, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x87, 0x72, 0x95, 0x2c, 0xb8,
0xf8, 0x02, 0x8a, 0xf2, 0x0b, 0xf2, 0x8b, 0x53, 0x83, 0x52, 0x0b, 0x4b, 0x53, 0x8b, 0x4b, 0x84,
0x04, 0xb8, 0x98, 0xbd, 0x53, 0x2b, 0x25, 0x18, 0x15, 0x18, 0x35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