1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: server.proto
3
4package gitalypb
5
6import (
7	context "context"
8	fmt "fmt"
9	proto "github.com/golang/protobuf/proto"
10	grpc "google.golang.org/grpc"
11	codes "google.golang.org/grpc/codes"
12	status "google.golang.org/grpc/status"
13	math "math"
14)
15
16// Reference imports to suppress errors if they are not otherwise used.
17var _ = proto.Marshal
18var _ = fmt.Errorf
19var _ = math.Inf
20
21// This is a compile-time assertion to ensure that this generated file
22// is compatible with the proto package it is being compiled against.
23// A compilation error at this line likely means your copy of the
24// proto package needs to be updated.
25const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
26
27type ServerInfoRequest struct {
28	XXX_NoUnkeyedLiteral struct{} `json:"-"`
29	XXX_unrecognized     []byte   `json:"-"`
30	XXX_sizecache        int32    `json:"-"`
31}
32
33func (m *ServerInfoRequest) Reset()         { *m = ServerInfoRequest{} }
34func (m *ServerInfoRequest) String() string { return proto.CompactTextString(m) }
35func (*ServerInfoRequest) ProtoMessage()    {}
36func (*ServerInfoRequest) Descriptor() ([]byte, []int) {
37	return fileDescriptor_ad098daeda4239f7, []int{0}
38}
39
40func (m *ServerInfoRequest) XXX_Unmarshal(b []byte) error {
41	return xxx_messageInfo_ServerInfoRequest.Unmarshal(m, b)
42}
43func (m *ServerInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
44	return xxx_messageInfo_ServerInfoRequest.Marshal(b, m, deterministic)
45}
46func (m *ServerInfoRequest) XXX_Merge(src proto.Message) {
47	xxx_messageInfo_ServerInfoRequest.Merge(m, src)
48}
49func (m *ServerInfoRequest) XXX_Size() int {
50	return xxx_messageInfo_ServerInfoRequest.Size(m)
51}
52func (m *ServerInfoRequest) XXX_DiscardUnknown() {
53	xxx_messageInfo_ServerInfoRequest.DiscardUnknown(m)
54}
55
56var xxx_messageInfo_ServerInfoRequest proto.InternalMessageInfo
57
58type ServerInfoResponse struct {
59	ServerVersion        string                              `protobuf:"bytes,1,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
60	GitVersion           string                              `protobuf:"bytes,2,opt,name=git_version,json=gitVersion,proto3" json:"git_version,omitempty"`
61	StorageStatuses      []*ServerInfoResponse_StorageStatus `protobuf:"bytes,3,rep,name=storage_statuses,json=storageStatuses,proto3" json:"storage_statuses,omitempty"`
62	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
63	XXX_unrecognized     []byte                              `json:"-"`
64	XXX_sizecache        int32                               `json:"-"`
65}
66
67func (m *ServerInfoResponse) Reset()         { *m = ServerInfoResponse{} }
68func (m *ServerInfoResponse) String() string { return proto.CompactTextString(m) }
69func (*ServerInfoResponse) ProtoMessage()    {}
70func (*ServerInfoResponse) Descriptor() ([]byte, []int) {
71	return fileDescriptor_ad098daeda4239f7, []int{1}
72}
73
74func (m *ServerInfoResponse) XXX_Unmarshal(b []byte) error {
75	return xxx_messageInfo_ServerInfoResponse.Unmarshal(m, b)
76}
77func (m *ServerInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
78	return xxx_messageInfo_ServerInfoResponse.Marshal(b, m, deterministic)
79}
80func (m *ServerInfoResponse) XXX_Merge(src proto.Message) {
81	xxx_messageInfo_ServerInfoResponse.Merge(m, src)
82}
83func (m *ServerInfoResponse) XXX_Size() int {
84	return xxx_messageInfo_ServerInfoResponse.Size(m)
85}
86func (m *ServerInfoResponse) XXX_DiscardUnknown() {
87	xxx_messageInfo_ServerInfoResponse.DiscardUnknown(m)
88}
89
90var xxx_messageInfo_ServerInfoResponse proto.InternalMessageInfo
91
92func (m *ServerInfoResponse) GetServerVersion() string {
93	if m != nil {
94		return m.ServerVersion
95	}
96	return ""
97}
98
99func (m *ServerInfoResponse) GetGitVersion() string {
100	if m != nil {
101		return m.GitVersion
102	}
103	return ""
104}
105
106func (m *ServerInfoResponse) GetStorageStatuses() []*ServerInfoResponse_StorageStatus {
107	if m != nil {
108		return m.StorageStatuses
109	}
110	return nil
111}
112
113type ServerInfoResponse_StorageStatus struct {
114	StorageName          string   `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
115	Readable             bool     `protobuf:"varint,2,opt,name=readable,proto3" json:"readable,omitempty"`
116	Writeable            bool     `protobuf:"varint,3,opt,name=writeable,proto3" json:"writeable,omitempty"`
117	FsType               string   `protobuf:"bytes,4,opt,name=fs_type,json=fsType,proto3" json:"fs_type,omitempty"`
118	FilesystemId         string   `protobuf:"bytes,5,opt,name=filesystem_id,json=filesystemId,proto3" json:"filesystem_id,omitempty"`
119	ReplicationFactor    uint32   `protobuf:"varint,6,opt,name=replication_factor,json=replicationFactor,proto3" json:"replication_factor,omitempty"`
120	XXX_NoUnkeyedLiteral struct{} `json:"-"`
121	XXX_unrecognized     []byte   `json:"-"`
122	XXX_sizecache        int32    `json:"-"`
123}
124
125func (m *ServerInfoResponse_StorageStatus) Reset()         { *m = ServerInfoResponse_StorageStatus{} }
126func (m *ServerInfoResponse_StorageStatus) String() string { return proto.CompactTextString(m) }
127func (*ServerInfoResponse_StorageStatus) ProtoMessage()    {}
128func (*ServerInfoResponse_StorageStatus) Descriptor() ([]byte, []int) {
129	return fileDescriptor_ad098daeda4239f7, []int{1, 0}
130}
131
132func (m *ServerInfoResponse_StorageStatus) XXX_Unmarshal(b []byte) error {
133	return xxx_messageInfo_ServerInfoResponse_StorageStatus.Unmarshal(m, b)
134}
135func (m *ServerInfoResponse_StorageStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
136	return xxx_messageInfo_ServerInfoResponse_StorageStatus.Marshal(b, m, deterministic)
137}
138func (m *ServerInfoResponse_StorageStatus) XXX_Merge(src proto.Message) {
139	xxx_messageInfo_ServerInfoResponse_StorageStatus.Merge(m, src)
140}
141func (m *ServerInfoResponse_StorageStatus) XXX_Size() int {
142	return xxx_messageInfo_ServerInfoResponse_StorageStatus.Size(m)
143}
144func (m *ServerInfoResponse_StorageStatus) XXX_DiscardUnknown() {
145	xxx_messageInfo_ServerInfoResponse_StorageStatus.DiscardUnknown(m)
146}
147
148var xxx_messageInfo_ServerInfoResponse_StorageStatus proto.InternalMessageInfo
149
150func (m *ServerInfoResponse_StorageStatus) GetStorageName() string {
151	if m != nil {
152		return m.StorageName
153	}
154	return ""
155}
156
157func (m *ServerInfoResponse_StorageStatus) GetReadable() bool {
158	if m != nil {
159		return m.Readable
160	}
161	return false
162}
163
164func (m *ServerInfoResponse_StorageStatus) GetWriteable() bool {
165	if m != nil {
166		return m.Writeable
167	}
168	return false
169}
170
171func (m *ServerInfoResponse_StorageStatus) GetFsType() string {
172	if m != nil {
173		return m.FsType
174	}
175	return ""
176}
177
178func (m *ServerInfoResponse_StorageStatus) GetFilesystemId() string {
179	if m != nil {
180		return m.FilesystemId
181	}
182	return ""
183}
184
185func (m *ServerInfoResponse_StorageStatus) GetReplicationFactor() uint32 {
186	if m != nil {
187		return m.ReplicationFactor
188	}
189	return 0
190}
191
192type DiskStatisticsRequest struct {
193	XXX_NoUnkeyedLiteral struct{} `json:"-"`
194	XXX_unrecognized     []byte   `json:"-"`
195	XXX_sizecache        int32    `json:"-"`
196}
197
198func (m *DiskStatisticsRequest) Reset()         { *m = DiskStatisticsRequest{} }
199func (m *DiskStatisticsRequest) String() string { return proto.CompactTextString(m) }
200func (*DiskStatisticsRequest) ProtoMessage()    {}
201func (*DiskStatisticsRequest) Descriptor() ([]byte, []int) {
202	return fileDescriptor_ad098daeda4239f7, []int{2}
203}
204
205func (m *DiskStatisticsRequest) XXX_Unmarshal(b []byte) error {
206	return xxx_messageInfo_DiskStatisticsRequest.Unmarshal(m, b)
207}
208func (m *DiskStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
209	return xxx_messageInfo_DiskStatisticsRequest.Marshal(b, m, deterministic)
210}
211func (m *DiskStatisticsRequest) XXX_Merge(src proto.Message) {
212	xxx_messageInfo_DiskStatisticsRequest.Merge(m, src)
213}
214func (m *DiskStatisticsRequest) XXX_Size() int {
215	return xxx_messageInfo_DiskStatisticsRequest.Size(m)
216}
217func (m *DiskStatisticsRequest) XXX_DiscardUnknown() {
218	xxx_messageInfo_DiskStatisticsRequest.DiscardUnknown(m)
219}
220
221var xxx_messageInfo_DiskStatisticsRequest proto.InternalMessageInfo
222
223type DiskStatisticsResponse struct {
224	StorageStatuses      []*DiskStatisticsResponse_StorageStatus `protobuf:"bytes,1,rep,name=storage_statuses,json=storageStatuses,proto3" json:"storage_statuses,omitempty"`
225	XXX_NoUnkeyedLiteral struct{}                                `json:"-"`
226	XXX_unrecognized     []byte                                  `json:"-"`
227	XXX_sizecache        int32                                   `json:"-"`
228}
229
230func (m *DiskStatisticsResponse) Reset()         { *m = DiskStatisticsResponse{} }
231func (m *DiskStatisticsResponse) String() string { return proto.CompactTextString(m) }
232func (*DiskStatisticsResponse) ProtoMessage()    {}
233func (*DiskStatisticsResponse) Descriptor() ([]byte, []int) {
234	return fileDescriptor_ad098daeda4239f7, []int{3}
235}
236
237func (m *DiskStatisticsResponse) XXX_Unmarshal(b []byte) error {
238	return xxx_messageInfo_DiskStatisticsResponse.Unmarshal(m, b)
239}
240func (m *DiskStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
241	return xxx_messageInfo_DiskStatisticsResponse.Marshal(b, m, deterministic)
242}
243func (m *DiskStatisticsResponse) XXX_Merge(src proto.Message) {
244	xxx_messageInfo_DiskStatisticsResponse.Merge(m, src)
245}
246func (m *DiskStatisticsResponse) XXX_Size() int {
247	return xxx_messageInfo_DiskStatisticsResponse.Size(m)
248}
249func (m *DiskStatisticsResponse) XXX_DiscardUnknown() {
250	xxx_messageInfo_DiskStatisticsResponse.DiscardUnknown(m)
251}
252
253var xxx_messageInfo_DiskStatisticsResponse proto.InternalMessageInfo
254
255func (m *DiskStatisticsResponse) GetStorageStatuses() []*DiskStatisticsResponse_StorageStatus {
256	if m != nil {
257		return m.StorageStatuses
258	}
259	return nil
260}
261
262type DiskStatisticsResponse_StorageStatus struct {
263	// When both available and used fields are equal 0 that means that
264	// Gitaly was unable to determine storage stats.
265	StorageName          string   `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
266	Available            int64    `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"`
267	Used                 int64    `protobuf:"varint,3,opt,name=used,proto3" json:"used,omitempty"`
268	XXX_NoUnkeyedLiteral struct{} `json:"-"`
269	XXX_unrecognized     []byte   `json:"-"`
270	XXX_sizecache        int32    `json:"-"`
271}
272
273func (m *DiskStatisticsResponse_StorageStatus) Reset()         { *m = DiskStatisticsResponse_StorageStatus{} }
274func (m *DiskStatisticsResponse_StorageStatus) String() string { return proto.CompactTextString(m) }
275func (*DiskStatisticsResponse_StorageStatus) ProtoMessage()    {}
276func (*DiskStatisticsResponse_StorageStatus) Descriptor() ([]byte, []int) {
277	return fileDescriptor_ad098daeda4239f7, []int{3, 0}
278}
279
280func (m *DiskStatisticsResponse_StorageStatus) XXX_Unmarshal(b []byte) error {
281	return xxx_messageInfo_DiskStatisticsResponse_StorageStatus.Unmarshal(m, b)
282}
283func (m *DiskStatisticsResponse_StorageStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
284	return xxx_messageInfo_DiskStatisticsResponse_StorageStatus.Marshal(b, m, deterministic)
285}
286func (m *DiskStatisticsResponse_StorageStatus) XXX_Merge(src proto.Message) {
287	xxx_messageInfo_DiskStatisticsResponse_StorageStatus.Merge(m, src)
288}
289func (m *DiskStatisticsResponse_StorageStatus) XXX_Size() int {
290	return xxx_messageInfo_DiskStatisticsResponse_StorageStatus.Size(m)
291}
292func (m *DiskStatisticsResponse_StorageStatus) XXX_DiscardUnknown() {
293	xxx_messageInfo_DiskStatisticsResponse_StorageStatus.DiscardUnknown(m)
294}
295
296var xxx_messageInfo_DiskStatisticsResponse_StorageStatus proto.InternalMessageInfo
297
298func (m *DiskStatisticsResponse_StorageStatus) GetStorageName() string {
299	if m != nil {
300		return m.StorageName
301	}
302	return ""
303}
304
305func (m *DiskStatisticsResponse_StorageStatus) GetAvailable() int64 {
306	if m != nil {
307		return m.Available
308	}
309	return 0
310}
311
312func (m *DiskStatisticsResponse_StorageStatus) GetUsed() int64 {
313	if m != nil {
314		return m.Used
315	}
316	return 0
317}
318
319func init() {
320	proto.RegisterType((*ServerInfoRequest)(nil), "gitaly.ServerInfoRequest")
321	proto.RegisterType((*ServerInfoResponse)(nil), "gitaly.ServerInfoResponse")
322	proto.RegisterType((*ServerInfoResponse_StorageStatus)(nil), "gitaly.ServerInfoResponse.StorageStatus")
323	proto.RegisterType((*DiskStatisticsRequest)(nil), "gitaly.DiskStatisticsRequest")
324	proto.RegisterType((*DiskStatisticsResponse)(nil), "gitaly.DiskStatisticsResponse")
325	proto.RegisterType((*DiskStatisticsResponse_StorageStatus)(nil), "gitaly.DiskStatisticsResponse.StorageStatus")
326}
327
328func init() { proto.RegisterFile("server.proto", fileDescriptor_ad098daeda4239f7) }
329
330var fileDescriptor_ad098daeda4239f7 = []byte{
331	// 460 bytes of a gzipped FileDescriptorProto
332	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0x5f, 0x6e, 0xd3, 0x40,
333	0x10, 0xc6, 0x65, 0x1c, 0x42, 0x33, 0x49, 0x0a, 0x1d, 0x04, 0x35, 0x56, 0x81, 0x10, 0x84, 0xe4,
334	0x07, 0x6a, 0x8b, 0xd0, 0x13, 0x00, 0x42, 0xea, 0x0b, 0x48, 0x0e, 0x02, 0x89, 0x17, 0x6b, 0x63,
335	0x8f, 0xad, 0x15, 0x8e, 0xd7, 0xec, 0x6c, 0x82, 0x72, 0x08, 0x9e, 0x39, 0x04, 0x07, 0x42, 0xdc,
336	0x82, 0x23, 0xa0, 0xac, 0xf3, 0xaf, 0x90, 0x82, 0xd4, 0x17, 0x6b, 0xf7, 0xfb, 0x66, 0x76, 0x67,
337	0x7f, 0x33, 0x86, 0x1e, 0x93, 0x9e, 0x93, 0x0e, 0x6b, 0xad, 0x8c, 0xc2, 0x76, 0x21, 0x8d, 0x28,
338	0x17, 0x3e, 0x94, 0xb2, 0x32, 0x8d, 0x36, 0xbc, 0x0d, 0x47, 0x63, 0x1b, 0x73, 0x5e, 0xe5, 0x2a,
339	0xa6, 0xcf, 0x33, 0x62, 0x33, 0xfc, 0xea, 0x02, 0xee, 0xaa, 0x5c, 0xab, 0x8a, 0x09, 0x9f, 0xc0,
340	0x61, 0x73, 0x5e, 0x32, 0x27, 0xcd, 0x52, 0x55, 0x9e, 0x33, 0x70, 0x82, 0x4e, 0xdc, 0x6f, 0xd4,
341	0xf7, 0x8d, 0x88, 0x0f, 0xa1, 0x5b, 0x48, 0xb3, 0x89, 0xb9, 0x66, 0x63, 0xa0, 0x90, 0x66, 0x1d,
342	0x30, 0x86, 0x5b, 0x6c, 0x94, 0x16, 0x05, 0x25, 0x6c, 0x84, 0x99, 0x31, 0xb1, 0xe7, 0x0e, 0xdc,
343	0xa0, 0x3b, 0x0a, 0xc2, 0xa6, 0xc4, 0xf0, 0xef, 0xdb, 0xc3, 0x71, 0x93, 0x32, 0xb6, 0x19, 0xf1,
344	0x4d, 0xde, 0xdd, 0x12, 0xfb, 0x3f, 0x1d, 0xe8, 0x5f, 0x08, 0xc1, 0x47, 0xd0, 0x5b, 0x5f, 0x53,
345	0x89, 0x29, 0xad, 0x8a, 0xed, 0xae, 0xb4, 0x37, 0x62, 0x4a, 0xe8, 0xc3, 0x81, 0x26, 0x91, 0x89,
346	0x49, 0x49, 0xb6, 0xce, 0x83, 0x78, 0xb3, 0xc7, 0x13, 0xe8, 0x7c, 0xd1, 0xd2, 0x90, 0x35, 0x5d,
347	0x6b, 0x6e, 0x05, 0x3c, 0x86, 0x1b, 0x39, 0x27, 0x66, 0x51, 0x93, 0xd7, 0xb2, 0xe7, 0xb6, 0x73,
348	0x7e, 0xb7, 0xa8, 0x09, 0x1f, 0x43, 0x3f, 0x97, 0x25, 0xf1, 0x82, 0x0d, 0x4d, 0x13, 0x99, 0x79,
349	0xd7, 0xad, 0xdd, 0xdb, 0x8a, 0xe7, 0x19, 0x9e, 0x02, 0x6a, 0xaa, 0x4b, 0x99, 0x0a, 0x23, 0x55,
350	0x95, 0xe4, 0x22, 0x35, 0x4a, 0x7b, 0xed, 0x81, 0x13, 0xf4, 0xe3, 0xa3, 0x1d, 0xe7, 0xb5, 0x35,
351	0x86, 0xc7, 0x70, 0xe7, 0x95, 0xe4, 0x4f, 0xcb, 0x77, 0x49, 0x36, 0x32, 0xe5, 0x75, 0xa3, 0x7e,
352	0x38, 0x70, 0xf7, 0x4f, 0x67, 0xd5, 0xac, 0x0f, 0x7b, 0x20, 0x3b, 0x16, 0xf2, 0xd3, 0x35, 0xe4,
353	0xfd, 0x99, 0xff, 0x03, 0x9d, 0x5d, 0x81, 0xf3, 0x09, 0x74, 0xc4, 0x5c, 0xc8, 0x72, 0x03, 0xda,
354	0x8d, 0xb7, 0x02, 0x22, 0xb4, 0x66, 0x4c, 0x99, 0x85, 0xec, 0xc6, 0x76, 0x3d, 0xfa, 0xbe, 0x6c,
355	0xa7, 0x1d, 0x82, 0xe5, 0x57, 0xa6, 0x84, 0x2f, 0x01, 0xb6, 0x53, 0x81, 0xf7, 0xf6, 0x4d, 0x8a,
356	0x85, 0xe2, 0xfb, 0x97, 0x0f, 0x11, 0xbe, 0x85, 0xc3, 0x8b, 0xaf, 0xc6, 0xfb, 0x97, 0xd1, 0x68,
357	0x0e, 0x7b, 0xf0, 0x6f, 0x58, 0x7e, 0xeb, 0xd7, 0xb7, 0xc0, 0x79, 0x71, 0xf6, 0x71, 0x54, 0x48,
358	0x53, 0x8a, 0x49, 0x98, 0xaa, 0x69, 0xd4, 0x2c, 0x4f, 0x95, 0x2e, 0xa2, 0x26, 0x39, 0x9a, 0x3f,
359	0x3b, 0x8b, 0xec, 0xff, 0x16, 0x15, 0x6a, 0xa5, 0xd5, 0x93, 0x49, 0xdb, 0x4a, 0xcf, 0x7f, 0x07,
360	0x00, 0x00, 0xff, 0xff, 0x62, 0x79, 0xb4, 0x17, 0xa6, 0x03, 0x00, 0x00,
361}
362
363// Reference imports to suppress errors if they are not otherwise used.
364var _ context.Context
365var _ grpc.ClientConn
366
367// This is a compile-time assertion to ensure that this generated file
368// is compatible with the grpc package it is being compiled against.
369const _ = grpc.SupportPackageIsVersion4
370
371// ServerServiceClient is the client API for ServerService service.
372//
373// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
374type ServerServiceClient interface {
375	ServerInfo(ctx context.Context, in *ServerInfoRequest, opts ...grpc.CallOption) (*ServerInfoResponse, error)
376	DiskStatistics(ctx context.Context, in *DiskStatisticsRequest, opts ...grpc.CallOption) (*DiskStatisticsResponse, error)
377}
378
379type serverServiceClient struct {
380	cc *grpc.ClientConn
381}
382
383func NewServerServiceClient(cc *grpc.ClientConn) ServerServiceClient {
384	return &serverServiceClient{cc}
385}
386
387func (c *serverServiceClient) ServerInfo(ctx context.Context, in *ServerInfoRequest, opts ...grpc.CallOption) (*ServerInfoResponse, error) {
388	out := new(ServerInfoResponse)
389	err := c.cc.Invoke(ctx, "/gitaly.ServerService/ServerInfo", in, out, opts...)
390	if err != nil {
391		return nil, err
392	}
393	return out, nil
394}
395
396func (c *serverServiceClient) DiskStatistics(ctx context.Context, in *DiskStatisticsRequest, opts ...grpc.CallOption) (*DiskStatisticsResponse, error) {
397	out := new(DiskStatisticsResponse)
398	err := c.cc.Invoke(ctx, "/gitaly.ServerService/DiskStatistics", in, out, opts...)
399	if err != nil {
400		return nil, err
401	}
402	return out, nil
403}
404
405// ServerServiceServer is the server API for ServerService service.
406type ServerServiceServer interface {
407	ServerInfo(context.Context, *ServerInfoRequest) (*ServerInfoResponse, error)
408	DiskStatistics(context.Context, *DiskStatisticsRequest) (*DiskStatisticsResponse, error)
409}
410
411// UnimplementedServerServiceServer can be embedded to have forward compatible implementations.
412type UnimplementedServerServiceServer struct {
413}
414
415func (*UnimplementedServerServiceServer) ServerInfo(ctx context.Context, req *ServerInfoRequest) (*ServerInfoResponse, error) {
416	return nil, status.Errorf(codes.Unimplemented, "method ServerInfo not implemented")
417}
418func (*UnimplementedServerServiceServer) DiskStatistics(ctx context.Context, req *DiskStatisticsRequest) (*DiskStatisticsResponse, error) {
419	return nil, status.Errorf(codes.Unimplemented, "method DiskStatistics not implemented")
420}
421
422func RegisterServerServiceServer(s *grpc.Server, srv ServerServiceServer) {
423	s.RegisterService(&_ServerService_serviceDesc, srv)
424}
425
426func _ServerService_ServerInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
427	in := new(ServerInfoRequest)
428	if err := dec(in); err != nil {
429		return nil, err
430	}
431	if interceptor == nil {
432		return srv.(ServerServiceServer).ServerInfo(ctx, in)
433	}
434	info := &grpc.UnaryServerInfo{
435		Server:     srv,
436		FullMethod: "/gitaly.ServerService/ServerInfo",
437	}
438	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
439		return srv.(ServerServiceServer).ServerInfo(ctx, req.(*ServerInfoRequest))
440	}
441	return interceptor(ctx, in, info, handler)
442}
443
444func _ServerService_DiskStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
445	in := new(DiskStatisticsRequest)
446	if err := dec(in); err != nil {
447		return nil, err
448	}
449	if interceptor == nil {
450		return srv.(ServerServiceServer).DiskStatistics(ctx, in)
451	}
452	info := &grpc.UnaryServerInfo{
453		Server:     srv,
454		FullMethod: "/gitaly.ServerService/DiskStatistics",
455	}
456	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
457		return srv.(ServerServiceServer).DiskStatistics(ctx, req.(*DiskStatisticsRequest))
458	}
459	return interceptor(ctx, in, info, handler)
460}
461
462var _ServerService_serviceDesc = grpc.ServiceDesc{
463	ServiceName: "gitaly.ServerService",
464	HandlerType: (*ServerServiceServer)(nil),
465	Methods: []grpc.MethodDesc{
466		{
467			MethodName: "ServerInfo",
468			Handler:    _ServerService_ServerInfo_Handler,
469		},
470		{
471			MethodName: "DiskStatistics",
472			Handler:    _ServerService_DiskStatistics_Handler,
473		},
474	},
475	Streams:  []grpc.StreamDesc{},
476	Metadata: "server.proto",
477}
478